baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: Lee Forrest <lforrestster AT gmail.com>
- To: baslinux AT lists.ibiblio.org
- Subject: [BL] Xterm Split Screen Script
- Date: Fri, 5 Jan 2007 23:28:20 +0000
-----------------
#!/bin/sh
#splitscreen.sh
while true; do
echo
echo
echo "Ctrl-c to exit"
echo
echo "Ctrl-d to kill window with pointer in it"
echo
echo "[1] Top Half"
echo "[2] Bottom Half"
echo "[3] Both"
echo
echo "[4] Left Half"
echo "[5] Right Half"
echo "[6] Both"
echo
echo
read option
case "$option" in
1)
rxvt -ls +sb -g 71x15+0+0 -rv & ;;
2)
rxvt -ls +sb -g 71x15+0-0 -rv & ;;
3)
rxvt -ls +sb -g 71x15+0+0 -rv &
rxvt -ls +sb -g 71x15+0-0 -rv &
;;
4)
rxvt -ls +sb -g 35x30+0+0 -rv & ;;
5)
rxvt -ls +sb -g 35x30-0+0 -rv & ;;
6)
rxvt -ls +sb -g 35x30+0+0 -rv &
rxvt -ls +sb -g 35x30-0+0 -rv &
;;
esac
done
------------
That allows you to fill either half the screen with an xterm,
horizontally or vertically split. Or both halves.
I run it an xterm like this:
/usr/X11R6/bin/rxvt -ls -g 71X30 -rv -title "A" +sb -C
Lee
--
BasicLinux: Small is Beautiful
http://www.basiclinux.com.ru
- [BL] Xterm Split Screen Script, Lee Forrest, 01/06/2007
Archive powered by MHonArc 2.6.24.