[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2855: nvi changes xterm settings...



Package: nvi
Version: 1.34-12

Dale Martin writes:
 > Anyone else notcied that nvi turns off "Enable Auto Wraparound" on
 > xterms upon exiting.  It's been driving me carazy that that has
 > "mysteriously" been happening for weeks - I finally made the
 > assoication this morning.  Anyone have any ideas how to fix this
 > "feature", or any recommendations for a better vi clone?

I've also had problems with xterms getting auto-wrap turned off.  And,
yes, nvi triggers this problem

For a while I thought this might be an xterm problem -- or even an
ncurses problem.  All of these coordinate to manage the layout of
characters...  However, less, more and emacs -nw don't trigger this
problem, so you're probably right that it's an nvi problem.

As a start, here's the begining and end of an nvi xterm session (as
reported by cat -v):

(B)07[?47h[?7h[?1h=


^[[K^[[24;1H^[7^[[1;24r^[8^[[2J^[[?47l^[8^[[?7l^[[?1l^[>


Aside: it would be nice if there were a program to map from escape
sequences to terminfo capabilities...  It would be even nicer if the
result could be made an html document with references into appropriate
documentation.

--
Raul


Reply to: