Re: Problem with /usr/X11R6/bin/xterm
Re: Problem with /usr/X11R6/bin/xterm
- Subject: Re: Problem with /usr/X11R6/bin/xterm
- From: Ambrose LI <email@hidden>
- Date: Mon, 6 Dec 2010 12:42:29 -0500
2010/12/6 Cook, Rich <email@hidden>:
> How can I test your theories? Can I trap SIGWINCH or test whether auto-wraparound is set?
>
> http://wealthychef.net/xterm-bug/X11ScreenSnapz001.mov
As a user, to test my theories I would have done the following:
If it's SIGWINCH not propagating, then the following steps should work
around the problem:
- After resizing, enter "eval `resize`" in the shell to reset
environment variables and tty settings. If this fixes things up (for
this xterm) then it's something to do with SIGWINCH (or rather changed
tty settings not being re-read)
- If it does not, enter "exec $SHELL" to relaunch the shell.
If things are still not fixed in that xterm then it is not a SIGWINCH problem.
If it is auto-wraparound being turned off, then echoing a very long
string (longer than the xterm's line width) should just echo back a
single mixed-up line, and either of the following steps should work
around the problem:
1. Run xterm with the -aw option (enter "xterm -aw" in the shell in an
term). If the newly-created xterm does not have the problem, then it's
auto-wraparound turned off.
2. Try the following:
- In an xterm (that has the problem), enter "TERM=vt100-nam" to
pretend that you have a VT100 terminal with auto-wraparound turned off
(VT100 and xterm use mostly the same control codes). If after this
your shell behaves normally it's wraparound
- If it still does not behave normally, enter "exec $SHELL" to
relaunch the shell.
If it still does not behave normally then it's something else.
Note that if you modify or move aside your .Xresources file, you will
need to relaunch X11 for the modification/moving aside to take effect.
I thought it looked more like a wraparound problem, but I think you
mentioned that xterm -aw behaves identically, and if this is the case
then I am stumped.
--
cheers,
-ambrose
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden