On Tue, Apr 10, 2012 at 07:40:48AM -0500, David Champion wrote:
> The XTerm icon escape sequence is not formalized in terminfo, so the
> egregious kludge of hardcoding the escape is necessary in this case.

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.

You may consider this (from screen):

       XT   (bool)  Terminal understands special xterm sequences  (OSC,  mouse
                    tracking).

-- 
Thomas E. Dickey <[email protected]>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature

Reply via email to