-----BEGIN PGP SIGNED MESSAGE-----

On Fri, 10 Sep 1999, Benjamin Low wrote:

> I'm running Debian 2.1, and have an annoying problem with xterm and rxvt
> where often the screen fails to be restored properly after running
> vi/vim/elvis/less/anything else which ordinarily restores the terminal
> screen after exiting.
>
> When I say 'fails to be restored', it's kind of like the current input
> line is moved up the window, mixed in with the previous shell output.

I've noticed the same thing.

More info: When using vi, the cursor begins at (or just below) the last
screen-line used for any insertion-deletion command, unless that command
was undone with U or that command was done on the first line, or a few
other random circumstances.

> I'm guessing this is a termcap issue - I don't know much about
> termcap/terminfo stuff, but from the terminfo man page I see there's a
> restore_cursor capability, amongst others. I've tried setting my TERM
> variable to variations of xterm, xterm-debian, rxvt, etc, but without
> success. 

Possibly vi/less/etc are messing the variable this uses?

> Any suggestions?

Sorry... i have no idea how to fix it.


- -- 
  finger for PGP public key.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBN9nGSL7M/9WKZLW5AQGqyQP/cCBWVLTKPx21b6BVd3OZc749tjm26P5j
iAo6NkxMEgFda2MiGz/qHBPqxIU4iZyI/Ph7AweCI69jz71UtHpIqWXN7ZrG6vbr
O7KKMHWF1WIGwasul/JlMJlSDXSnhM03SnmOKeItQAGcbsjmem7Olo9ZBQmA0unR
uRgi0iCrkPg=
=kmTt
-----END PGP SIGNATURE-----

Reply via email to