Re: Terminal Sizing on Startup

Matthew Buckett <[email protected]>
Newsgroups gmane.comp.handhelds.matchbox
Message-ID <[email protected]>
Matthew Allum wrote:
> on Sat, Jun 14, 2003 at 10:59:28AM +0100, Matthew Buckett wrote:
 >
>>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.
>>
> 
> 
> :/
> 
> I need to investigate this, to see if its matchbox at fault or if not
> theres some way I can work around it. 

Forgot to mention this...

xterm not resizing I think is a bug in xterm as I had a similar problem 
when using pwm (http://modeemi.fi/~tuomov/pwm/) and asigning xterms to 
frames automatically that weren't 80x25. rxvt however never had any 
problems.

Buckett
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.