1*16106Sedward# @(#)windowrc 3.4 84/03/02 214804Sedward 3*16106Sedward# Configuration file example for window manager 4*16106Sedward# To be installed in ~/.windowrc 514804Sedward# 6*16106Sedward# Create two unequal sized windows of full screen width. 714804Sedward 814843Sedward# terse # set terse mode 914843Sedward# escape ^A # set escape character 1014843Sedward# buffer 50 # set default buffer size 1114843Sedward # initially, this is 48 1214804Sedward 13*16106Sedward# Make 2 windows 14*16106Sedward# The bottom one is MIN(24, total lines * 3 / 4) lines 15*16106Sedward# The top one is the rest of the screen. 16*16106Sedwardtmp = $nrow * 3 / 4 17*16106Sedwardtmp = $tmp > 24 ? $nrow - 24 - 1 : $nrow - $tmp - 1 18*16106Sedwardwindow row = 0, nrow = $tmp, label = "Top Window" 19*16106Sedwardwindow row = $tmp + 1, label = "Bottom Window" 20*16106Sedwardunset tmp 21*16106Sedward 2214804Sedward%1 # current window is 1 23