This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Programmatically set window title



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]