NetBSD-Bugs archive

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

Re: PR/30978 CVS commit: src/lib/libcurses



The following reply was made to PR lib/30978; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: PR/30978 CVS commit: src/lib/libcurses
Date: Sat, 6 Oct 2018 04:19:43 +0300

 On Fri, Oct 05, 2018 at 17:25:26 +0300, Valery Ushakov wrote:
 
 > On Fri, Oct 05, 2018 at 12:00:01 +0000, Roy Marples wrote:
 > 
 > >  curses: allow drawing the lowest right hand cell of the terminal
 > >  
 > >  This is a historical behaviour that needs fixing
 > >  If any terminal does scroll when drawing in the lowest right hand cell
 > >  of the terminal then an entry should be made in the terminfo database
 > >  (currently there is no standard code) to state that and define
 > >  __SCROLLWIN as before.
 > 
 > TERM=sun seems to have Concept's :xn: beahvior.  So if you emit a
 > character into the lower-right corner the cursor will wrap and the
 > screen will scroll up.  That is using naive test with running cat(1)
 > and entering characters on Solaris 11 console.
 > 
 > I'd expect our wsemul_sun to do the same but I can only test a bit
 > later.
 
 As I expected the new curses is broken with TERM=sun.  Emitting that
 character into the lower-right corner causes the line to wrap and,
 consequenly, the screen contents to scroll up, messing up the display.
 
 You can test by adding 
 
     options 	WSEMUL_SUN
     options 	WSEMUL_DEFAULT="\"vt100\""
 
 to your config and configuring a new screen by either adding an entry
 to /etc/wscons.conf or with e.g.
 
     wsconscfg -e sun 5
 
 -uwe
 


Home | Main Index | Thread Index | Old Index