It is currently Thu, 20 Jan 2022 04:58:27 GMT



 
Author Message
 How to change xterm title bar string?

There is a command that does it, allowing you to change the title bar
string of the
current xterm you are using, but I've forgotten the name. I've seen it on
other
Unix implementations as well. Please email me if you know this. Thanks



 Thu, 30 Nov 2000 03:00:00 GMT   
 How to change xterm title bar string?

printf '\033]0;%s\a' "whatever you want"

--
________________________________________________________________________
Alan Coopersmith                        al...@godzilla.EECS.Berkeley.EDU
Univ. of California at Berkeley         http://soar.Berkeley.EDU/~alanc/
aka:   alanc@{CSUA,OCF,CS,BMRC,ucsee.eecs,cory.eecs,server}.Berkeley.EDU



 Thu, 30 Nov 2000 03:00:00 GMT   
 How to change xterm title bar string?

Pan,

In cshell:

alias Header '/usr/5bin/echo "\033]l\!*\033\\\c"'
alias IHeader '/usr/5bin/echo "\033]L\!*\033\\\c"'

Ron



 Thu, 30 Nov 2000 03:00:00 GMT   
 How to change xterm title bar string?

On 14 Jun 1998, pan wrote:

Hi pan

You set the title with: xterm -t yourtitle.

In fact you can set just about anything: colors, fonts, size of window
etc.

For all the available options try: man xterm

Have a nice day

Chris



 Fri, 01 Dec 2000 03:00:00 GMT   
 How to change xterm title bar string?

I have the following in my .cshrc. It causes the xterm title bar to always
reflect user@host:path. Since I dial in, and sometimes us dtterm (which
doesn't support the escape sequence) I have it test for the term.

if ( "$TERM" == "xterm" ) then
        alias       cd                      'cd \!*;echo $cwd;echo -n
"^[]2;$USER@`uname -n`:$cwd^G";setenv PWD `pwd`'
        else
        alias       cd                      'cd \!*;echo $cwd'
endif

NOTE that the "^" are not caret symbols, but imply that the following
character is a control character. In vi you would enter that by (while in the
change/append or insert mode) holding down the control key, and typing "v"
and the key you want to be interpreted as a control char, ie "[" and "G".

--
-MJT
[==========================================]
  Mark J. Turick    mailto:mtur...@gis.net
  mailto:mtur...@mrburns.npt.nuwc.navy.mil
[==========================================]



 Sun, 10 Dec 2000 03:00:00 GMT   
 
   [ 6 post ] 

Similar Threads

1. Change xterm title bar?

2. Changing the title bar for Xterm Windows!!!!

3. Dynamically changing xterm title bar in tcsh

4. Change title bar in xterm?

5. Prompt string to change xterm title?

6. HELP : Set Window Title Bar Strings with XLIB functions

7. HELP : Set Title Bar String with XLIB functions

8. tcsh xterm title bar quoting

9. display the current directory in xterm title bar


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software