#!/bin/sh # start a new monitor session. ## h=`uname -n | cut -f1 -d.` h='unix' DISPLAY="$h:0.0"; export DISPLAY #--------------------------------------------------------- # fix keyboard. test -f $HOME/.xmodmaprc && xmodmap $HOME/.xmodmaprc & test -f $HOME/.Xdefaults && xrdb -merge $HOME/.Xdefaults & #--------------------------------------------------------- # Start xterms. rxvt options: # # -b 10 size of the inner border (not rxvt) # -fn 10x20 selects comfortable font # -sb give me a scroll-bar # -cr blue blue cursor # -sl 200 200 lines of history # -j jump scrolling # -bd black black border # -bg white white background # # -si output to a window should not automatically reposition the # screen to the bottom of the scrolling region. # # -sk pressing a key while using the scrollbar to review previous # lines of text should cause the window to be repositioned # automatically in the normal position at the bottom of the # scroll region. # # rxvt still doesn't have working pageup/pagedown (9 Nov 2005). termopts="-j -b 10 -sb -si -sk -cr blue -sl 2000 -bd black -bg #ffffff" xterm=/opt/sfw/bin/xterm font="10x20" # regular xterm exec $xterm -g 80x47-0+0 $termopts -fn "$font" -title "Remote" &