I thought this might draw you out.  Excellent.

* On 10 Apr 2012, Thomas Dickey wrote: 
> man terminfo(5):
> 
>        Some  terminals  with status lines need special sequences to access the
>        status line.  These may be expressed as a string with single  parameter
>        tsl  which takes the cursor to a given zero-origin column on the status
>        line.  The capability fsl must return to the main-screen  cursor  posi‐
>        tions  before the last tsl.  You may need to embed the string values of
>        sc (save cursor) and rc (restore cursor) in tsl and fsl  to  accomplish
>        this.
> 
> Xterm's title sequence does not do this, so it won't be "formalized" as "tsl"
> in the terminal database.

If I understand correctly, this is a direction for people writing
capability descriptors for the terminfo database.  You're saying that
this explains why xterm, et al. don't have tsl and fsl defined, even
though they support the same escape.


> You may consider this (from screen):
> 
>        XT   (bool)  Terminal understands special xterm sequences  (OSC,  mouse
>                     tracking).

You're suggesting using this as an indicator of whether to use de facto,
compiled-in escapes for status/title strings?  I find this capability
defined only in the following terminfos from ncurses-5.7:

apple-utermxt = (bool) 1
apple-uterm-vbxt = (bool) 1
djgppxt = (bool) 1 
f1720xt = (bool) 1
f1720axt = (bool) 1
h19kxt = (bool) 1
h19kermitxt = (bool) 1 
ibm-system1xt = (bool) 1
nextxt = (bool) 1 
osborne-wxt = (bool) 1
osborne1-wxt = (bool) 1
ps300xt = (bool) 1
qnxxt = (bool) 1
qnx4xt = (bool) 1
qnxmxt = (bool) 1
qnxtxt = (bool) 1
qnxt2xt = (bool) 1
qnxt4xt = (bool) 1
qnxtmonoxt = (bool) 1
qnxwxt = (bool) 1
system1xt = (bool) 1
t10xt = (bool) 1
t1061xt = (bool) 1
t1061fxt = (bool) 1
t16xt = (bool) 1 
tek4025-extek4025atek4025extek4027tek4027-extek4105xt = (bool) 1
tek4107xt = (bool) 1
tek4109xt = (bool) 1
tek4207-sxt = (bool) 1
telerayxt = (bool) 1

So that sounds appropriate indeed (for QNX users?) as a second-stage
test between tsl/fsl and checking vs. known xterm-supporting terminal
types.

-- 
David Champion • [email protected] • IT Services • University of Chicago

Attachment: pgpHGRcZHJTU3.pgp
Description: PGP signature

Reply via email to