Difference between revisions of "Set Cygwin RXVT Window Title"

From PeformIQ Upgrade
Jump to navigation Jump to search
(Created page with '=Here's How= You can always set the xterm title by sending it the string: <pre> Esc ] 0 ; <your title> ^G </pre> You can do it from the xterm application (writing to/dev/tty o...')
 
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
You can always set the xterm title by sending it the string:
You can always set the xterm title by sending it the string:
<pre>
<pre>
Esc ] 0 ;
Esc ] 0 ;<your title> ^G
<your title> ^G
</pre>
</pre>


Line 10: Line 9:
/dev/tty<n> [Cygwin] or /dev/pts/<n> [Linux]).
/dev/tty<n> [Cygwin] or /dev/pts/<n> [Linux]).


=A Shell Script=
<pre>
#!/bin/sh
echo "^][0;hostname^G"
</pre>
[[Category:Cygwin]]
[[Category:Cygwin]]

Latest revision as of 16:05, 3 March 2010

Here's How

You can always set the xterm title by sending it the string:

Esc ] 0 ;<your title> ^G

You can do it from the xterm application (writing to/dev/tty or stdout if its connected, or externally, by writing to /dev/tty<n> [Cygwin] or /dev/pts/<n> [Linux]).

A Shell Script

#!/bin/sh

echo "^][0;hostname^G"