Terminal Emulator |
xterm (Solaris or Mac OS X, X11) |
rxvt (Mac OS X, X11) |
mrxvt (Mac OS X, X11) |
iTerm (Mac OS X) |
Terminal.app (Mac OS X) |
PuTTY (Windows) |
Linux Console |
GNU Screen (Linux Console) |
GNU Screen |
FreeBSD Console |
Caché Terminal |
HyperTerminal (Windows 9x) |
Telnet (Windows 9x) |
cmd.exe (Windows, telnet) |
cmd.exe (Windows, Cygwin Bash Shell) |
Solaris console |
shelltool (Solaris OpenWindows) |
cmdtool (Solaris OpenWindows) |
dtterm (Solaris CDE) |
rxvt (Solaris) |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Terminal-type string (TERM) |
xterm |
xterm |
rxvt |
xterm |
xterm-color |
xterm |
linux |
screen.linux |
screen |
xterm |
vt320 |
ansi |
ansi |
ansi |
cygwin |
sun-color |
sun-cmd |
sun-cmd |
dtterm |
kterm |
\e]0;%s\007 (both WM_NAME and WM_ICON_NAME) |
Yes |
Yes |
Partial (uses WM_ICON_NAME for tab title, doesn't set WM_NAME) |
Yes |
Yes |
Yes |
No (echoes the whole sequence) | N/A |
Partial (iTerm and Terminal.app only, X11: only sets WM_ICON_NAME) |
N/A | No (echoes the whole sequence) |
No (echoes the whole sequence) | No (echoes the whole sequence) | No (echoes the whole sequence) | Yes |
No (echoes the whole sequence) | No |
No | Yes |
Yes |
\e]1;%s\007 (WM_ICON_NAME) |
Yes |
Yes | Yes (uses WM_ICON_NAME for tab title) |
Yes (uses WM_ICON_NAME for both tab and window title if they're the same, or only updates tab title if they're different) |
Yes (sets both tab and window title) |
No (doesn't affect taskbar button) |
No (echoes the whole sequence) | N/A | Partial (iTerm and Terminal.app only) | N/A | No (echoes the whole sequence) | No (echoes the whole sequence) | No (echoes the whole sequence) | No (echoes the whole sequence) | No (doesn't affect taskbar button) | No (echoes the whole sequence) | No | No | Yes |
Yes |
\e]2;%s\007 (WM_NAME) |
Yes |
Yes | No (doesn't set WM_NAME) | Yes |
Yes (sets both tab and window title) | Yes (also affects taskbar button) |
No (echoes the whole sequence) | N/A | No |
N/A | No (echoes the whole sequence) | No (echoes the whole sequence) | No (echoes the whole sequence) | No (echoes the whole sequence) | Yes (also affects taskbar button) | No (echoes the whole sequence) | No | No | Yes |
Yes |
\e]0;%s\e\\ (both WM_NAME and WM_ICON_NAME) | Yes |
Yes | Partial (uses WM_ICON_NAME for tab title, doesn't set WM_NAME) | Yes |
Partial (echoes \) |
Yes |
No (echoes the whole sequence) | N/A | Partial (iTerm and Terminal.app only, X11: only sets WM_ICON_NAME) | N/A | No (echoes the whole sequence) | No (echoes the whole sequence) | No (echoes the whole sequence) | No (echoes the whole sequence) | No (echoes \) | No (echoes the whole sequence) | No | No | No (hangs forever) |
No |
\e]1;%s\e\\ (WM_ICON_NAME) | Yes |
Yes | Yes (uses WM_ICON_NAME for tab title) | Yes (uses WM_ICON_NAME for both tab and window title if they're the same, or only updates tab title if they're different) |
Partial (sets both tab and window title, but echoes \) | No (doesn't affect taskbar button) | No (echoes the whole sequence) | N/A | Partial (iTerm and Terminal.app only) | N/A | No (echoes the whole sequence) | No (echoes the whole sequence) | No (echoes the whole sequence) | No (echoes the whole sequence) | No (echoes \) | No (echoes the whole sequence) | No | No | No (hangs forever) | No |
\e]2;%s\e\\ (WM_NAME) | Yes |
Yes | No (doesn't set WM_NAME) | Yes |
Partial (sets both tab and window title, but echoes \) | Yes (also affects taskbar button) | No (echoes the whole sequence) | N/A | No |
N/A | No (echoes the whole sequence) | No (echoes the whole sequence) | No (echoes the whole sequence) | No (echoes the whole sequence) | No (echoes \) |
No (echoes the whole sequence) | No | No | No (hangs forever) | No |
Supports title querying using xprop |
Yes |
Yes |
Yes |
No |
No |
No |
No |
No |
Partial (when both DISPLAY and WINDOWID are defined, X11 only) |
No |
No |
No |
No |
No |
No |
No |
No (doesn't set WINDOWID) |
No (doesn't set WINDOWID) | Yes |
Yes |