XTerm strangeness

Brett Worth brettw at cray.com.au
Fri Oct 19 15:29:08 EST 2001


On Fri, 19 Oct 2001, Matthew Hawkins wrote:

> On Fri, 19 Oct 2001, Brett Worth wrote:
> > This is different from the bahaviour on Solaris and on XFree86 on FreeBSD.
> > With both of those you do get the extra tab stops after the resize.  This
> > is why "ls" in my resized windows have been looking like crap.  Am I
> > missing something?
>
> Hi Brett,
>
> This behaviour isn't limited to xterm.  Happens with rxvt also.  The
> problem is not tab stops, I believe its simply that the actual terminal
> isn't given the resize command, hence although the window is larger, it
> still thinks you have the original-sized terminal.

So you're saying that the window manager is somehow getting the WINCH to the
shell but not the xterm?  I thought the xterm would have to send it on to the
shell being its child.  Plus I dont understand the differing behaviour on
FreeBSD which should be running the same xterm source.

I just tried install the XTerm app-defaults file from my RedHat on the Solaris
box and it still works correctly.  Strange.

> You can see this effect in "ps -awww", or opening a table in the mysql
> client that has enough fields to wrap.

The resize is getting to the shell because pine works in the resized stte with
the new column count.  Its just the tabs that are missing.

> I think you have to use "stty" to resize the terminal, then "reset" to
> fix this irritating behaviour.  Wash/rinse/repeat every time you resize
> the terminal.

Yikes! :-)

Brett

  /) _ _ _/_/ / / /  _ _//
 /_)/</= / / (_(_/()/< ///

 Cray Australia.
 brettw at cray.com +61 2 6295 4023

PGP: 1024R/27EB604F  22A9 A85A 22BD 496B 2443
                     35E5 46F7 0712 27EB 604F





More information about the linux mailing list