Package: ncurses-base
Version: 5.9-1
Severity: wishlist

Hello,

Graphical terminal emulator have a useful specific feature that other do not
have: the window title. But here again, they use different control sequence to
access to it. I think this makes this feature a good candidate for terminfo,
but there exist no capability related to “window title”.

Fortunately, the graphical terminal emulator often miss another feature, the
status line, which has a function very close to the window title. In fact the
window title is perceived as replacing, or implementing a status line for
graphical terminal emulators. Thus, several terminal emulators declared the hs,
tsl and fls capabilities to control the status line: this is the case of
terminator, rxvt-unicode and st, for instance.

So, would it be possible to add hs, tsl, fsl and wsl to the xterm definition?
I think that would be:
    hs,
    tsl=\E]0;,
    fsl=^G,
    wsl=-1,

This is useful to write terminal-independant shell configuration that set the
window title. A common use is to add the working directory to the window title,
for instance.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to