Operating System - HP-UX
1753613 Members
6099 Online
108797 Solutions
New Discussion юеВ

Re: how to change a title of a xterm running csh

 
SOLVED
Go to solution
Brian M. Fisher
Honored Contributor
Solution

Re: how to change a title of a xterm running csh

Mike is correct.
Use the following syntax:
/bin/echo "\033];New Title\007"

Brian
<*(((>< er




Perception IS Reality
Boyd Kodama
Frequent Advisor

Re: how to change a title of a xterm running csh

thank you.

I'm all set now.
Without Mondays, there weren't be any Fridays
Alan Riggs
Honored Contributor

Re: how to change a title of a xterm running csh

I like this trick. The escape sequences, unfortunately, do not transfer to hpterm. Does anyone know how to do the same trick with an hpterm?
Brian M. Fisher
Honored Contributor

Re: how to change a title of a xterm running csh

For the HPterm window. The following
example will change the title while in the ksh:
title=mytitle
echo "\033&f0k${#title}D${title}\c"

Brian
<*(((>< er
Perception IS Reality
Alan Riggs
Honored Contributor

Re: how to change a title of a xterm running csh

Thank you, Brian -- I can't assugn points here, so I am opening a new thread to reward you appropriately. (Which I probably should have done originally.)