On Wed, 7 Feb 1996 15:47:01 -0500
Mark Valery <valery_at_UICC.COM> 
wrote concerning 'FVWM: Changing the xterm title bar label':
> 
> How do I go about changing the label on an existing xterm titlebar
> from within that xterm?
> I'm running 2.0p38
You need to use xterm escape sequences (listed in a file called ctlseqs.ms
which comes with the xterm distribution). For bash I do something like the
following in my shell startup file:
        IDNAME="`whoami`"
        ESC="\033"
        TITLESTRING="\[${ESC}]0;${IDNAME}_at_\h\]"
        PS1="${TITLESTRING}\\$ "
This puts the string "username_at_machine_name" into the title bar. Putting
the escapes in my prompt means it is updated on rlogins, etc.
Ric
 ~~~~~~~~~~~~~~ Richard J. Lister    r.j.lister_at_aston.ac.uk ~~~~~~~~~~~~~~~~
            Research Assistant, Neural Computing Research Group
                  Aston University, Birmingham B4 7ET, UK
 ~~~~~~~~~~~~~~~~~ 
http://www.ncrg.aston.ac.uk/~listerrj/ ~~~~~~~~~~~~~~~~~~
--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Feb 08 1996 - 06:28:03 GMT