1752509 Members
4747 Online
108788 Solutions
New Discussion юеВ

xterm

 
SOLVED
Go to solution
Shannon Petry
Honored Contributor

xterm

Just wondering if anyone knows of a way to change the title of an xterm on the fly. I know how to launch with -title(-T) and icon name -n, but would like to be able to modify this on the fly.
Thanks!
Microsoft. When do you want a virus today?
4 REPLIES 4
Brian M. Fisher
Honored Contributor
Solution

Re: xterm

Use the following syntax:
/bin/echo "033];New Title007"

Brian
<*(((>< er




Perception IS Reality
Brian M. Fisher
Honored Contributor

Re: xterm

Sorry for the first posting, I forgot about the backslash problem.

/bin/echo "\033];New Title\007"

Brian
<*(((>< er
Perception IS Reality
Andreas Voss
Honored Contributor

Re: xterm

Hi,

To change the title for an Xterm window use either of these commands:

echo "\033]0;mytitle\007"
or:
echo "\033];mytitle^G"

This where mytitle is the the actual title you want to appear on the title
bar.

Cheers

Andrew
John Palmer
Honored Contributor

Re: xterm

There was a forum thread about this about a week ago.

Select Search, Choose 'Search the Forums' and do a boolean search for 'xterm and title'

You can't miss it!

Regards,

John