|
|
 | | From: | Kilburn | | Subject: | Display problem when existing putty | | Date: | Mon, 27 Dec 2004 08:46:07 +1100 |
|
|
 | I use the nano editor on Gentoo and when I exit the app, the cursor does not go down to the bottom of the putty window. This also happens to 'make menuconfig'. I thought it was nano (1.3.4 - still beta) but this happens on the older 1.2.4 release version as well. Vi always works correctly.
Is there a settings in putty that I am missing.
Kilburn
|
|
 | | From: | Thomas Dickey | | Subject: | Re: Display problem when existing putty | | Date: | Sun, 26 Dec 2004 23:11:58 -0000 |
|
|
 | Kilburn wrote: > I use the nano editor on Gentoo and when I exit the app, the cursor does > not go down to the bottom of the putty window. This also happens to > 'make menuconfig'. I thought it was nano (1.3.4 - still beta) but this > happens on the older 1.2.4 release version as well. Vi always works > correctly.
Do nano and lxdialog (make menuconfig) leave the application's text on the screen, or do they clear it and show the original (before the application). PuTTY implements xterm's alternate screen feature (though its save/restore cursor operations don't work properly - that can cause some other display problems). nano is probably using ncurses (lxdialog does), so they use the rmcup/smcup strings listed in the terminfo (the \E[?4h string is the alternate screen).
"vi" has a mind of its own and doesn't necessarily issue rmcur/smcup.
> Is there a settings in putty that I am missing.
Probably not - it's something to adjust with the terminfo. Using "xterm" for PuTTY is probably incorrect. See the "putty" entry, e.g.,
ftp://invisible-island.net/ncurses/terminfo.src.gz
> Kilburn
-- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
|
|
|