Terminal Sizing on Startup
Matthew Buckett <[email protected]>
| Newsgroups | gmane.comp.handhelds.matchbox |
|---|---|
| Message-ID | <[email protected]> |
First can I thanks for Matchbox, I use it on small Thinkpad 240 and it
works a treat. It means I don't have to be reaching for the mouse every
minute and is nice and fast too.
I have a small problem in that when I startup a new terminal
rxvt/xterm/etc they don't seem to get the correct window size so curses
programs get confused (vi,less,lynx,top). This does not seem to happen
all the time with rxvt, just sometimes. xterm always fails to resize
correctly. As a workaround I have the following lines in my ~/.bashrc
if [ "$DISPLAY" ]; then
eval `resize`
fi
Which works but seems a bit of an evil hack.
Matthew