Source-Changes-D archive

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

Re: CVS commit: src/lib/libcurses



On 05/10/2018 14:09, Valery Ushakov wrote:
On Fri, Oct 05, 2018 at 11:59:05 +0000, Roy Marples wrote:

Module Name:	src
Committed By:	roy
Date:		Fri Oct  5 11:59:05 UTC 2018

Modified Files:
	src/lib/libcurses: newwin.c refresh.c

Log Message:
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.

Fixes PR# 30978.

At least GNU termcap had "LP" capability for that:

https://www.gnu.org/software/termutils/manual/termcap-1.3/html_node/termcap_27.html#SEC27

E.g. GNU screen sets LP in its exported TERMCAP variable.

It seems that LP was a GNU termcap extension - it doesn't exist in any official termcap or terminfo listing. It also doesn't exist in ncurses.

Our terminfo database says this:
# (screen3: removed unknown ":xv:LP:G0:" -- esr)

Our termcap has never defined it either after a search through CVS so I think we can remain confident that every terminal we support is fine.

Roy


Home | Main Index | Thread Index | Old Index