bug-ncurses
[Top][All Lists]
Advanced

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

Re: terminfo status line for screen-s


From: Thomas Dickey
Subject: Re: terminfo status line for screen-s
Date: Sat, 1 Nov 2014 13:14:46 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Oct 29, 2014 at 08:36:25PM +0000, Craig R. Skinner wrote:
> Add ':hs' (has extra status line) to screen-s

hmm - I had not noticed that (previous discussion had focussed on tsl and fsl).
 
However, it is unclear if _all_ status lines should be noted with "hs".
The relevant text in terminfo(5):

       Some  terminals  have an extra `status line' which is not normally used
       by software (and thus not counted in the terminal's lines capability).

       The simplest case is a status line which is cursor-addressable but  not
       part of the main scrolling region on the screen; the Heathkit H19 has a
       status line of this kind, as would  a  24-line  VT100  with  a  23-line
       scrolling region set up on initialization.  This situation is indicated
       by the hs capability.

tack has a test for the feature (usually tack is correct).

> Like vt100-s, xterm+sl, xterm+sl-twm, sun-s & sun-e-s
> 
> A guess that :es is valid (also for the above as \E sequences appear?):

:es doesn't refer to the sequences used for going to/from the status line,
but to the usability of escape sequences while the cursor is on the status
line.  Again, from terminfo(5):

       status_line_esc_ok            eslok      es        escape can be used
                                                          on the status line

       The boolean capability eslok specifies  that  escape  sequences,  tabs,
       etc., work ordinarily in the status line.
 
Considering how to test this proposed change, I modified as well the screen-bce
entry to inherit from screen-s, and started screen with TERM=xterm.

With that, tack shows that tsl/fsl work properly.  But it comments on some
changes which should be visible in the status line.  Looking for clues in
screen(1), I tried adding
        hardstatus lastline

to my ~/.screenrc, but saw no difference.

So... what configuration details can you provide to help me test (and document)
this change?

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]