Programmatically set window title

DJ Delorie dj@delorie.com
Tue Jul 4 06:22:00 GMT 2000


> Is there any command (or function) that can be used to set window title?
> I normally set window title under X11 to combination if user, host and
> $PWD and would like to do the same under Cygwin.

cygwin's terminal emulator supports the same escape codes
as xterm does for setting the title:

	ESC ] 0 ; <your title here> ^G

There's also a Win32 API call to set the title from inside a program.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list