Subject: | Support for cygwin terminal |
It looks like cygwin understands the same escape sequences like xterm
for setting the terminal bar. This works on my machine:
perl -MTerm::Title=set_titlebar -e '$ENV{TERM}="xterm";
set_titlebar("hello"); sleep 100'
(The sleep is there because the standard bashrc has a prompt which
(re)sets the titlebar, showing the cwd there).
I observed this on
CYGWIN_NT-6.0 Kira-PC 1.5.25(0.156/4/2) 2007-12-14 19:21 i686 Cygwin
TERM setting is "cygwin".
Regards,
Slaven