Subject: Bug#3843: dselect resets automargins in xterm and vt220, not console

From: Ian Jackson <[email-masked]>
Date: Sat, 20 Jul 96 11:43 BST

Package: ncurses-base
Version: 1.9.9e-1

To reproduce: start dselect in a mono xterm.  Use ctrl-middlebutton to
check that `Enable Auto Wraparound' is on.  Start dselect and select
Quit.  Check the ctrl-middlebutton menu again.

The same problem exists with TERM=vt220 and a real serial terminal
(though of course it's harder to see the effect there), but not with
TERM=linux on console (2.0.0).

dselect, of course, does not mess about with the automargins settings
at all.  It just makes the standard ncurses enter/exit fullscreen
calls.

Ian.

-chiark:~> dpkg -l 'ncurses*' xbase dpkg | egrep -v '^[pu]n'
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name            Version        Description
+++-===============-==============-============================================
ii  ncurses-base    1.9.9e-1       Video terminal manipulation: Minimum set of 
ii  ncurses-bin     1.9.9e-1       Video terminal manipulation: associated prog
ii  ncurses-term    1.9.9e-1       Video terminal manipulation: additional term
ii  ncurses3.0      1.9.9e-1       Video terminal manipulation: shared librarie
ii  ncurses3.0-dev  1.9.9e-1       Video terminal manipulation: Developer's lib
ii  ncurses3.0-pic  1.9.9e-1       Video terminal manipulation: Shared-library 
ii  xbase           3.1.2-9        XFree86 3.1.2 base distribution.
ii  dpkg            1.2.12         Package maintenance system for Debian Linux
-chiark:~>