On Tue, Apr 10, 2012 at 05:14:56PM -0500, David Champion wrote: > 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.
yes (kterm has tsl, because it actually implements a status line). > > 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: actually it's in several - other than xterm and rxvt - since I'd added it in 2010 to help out with "screen". There's no reason why it couldn't be added to xterm and rxvt (other than that it was unnecessary for the purpose at that time). -- Thomas E. Dickey <dic...@invisible-island.net> http://invisible-island.net ftp://invisible-island.net
signature.asc
Description: Digital signature