Setting PROMPT_COMMAND='echo -ne "\033]0;address@hidden"' works outside screen, I was wondering if it possible to change it dynamically. Make screen change the Xterm title to the current screen title as I switch screen windows, Ctrl –a “ or Ctrl – a a or Ctrl – a 1 From: Khare, Anchal [mailto:address@hidden Sent: Thursday, December 16, 2010 6:12 AM To: Gomes, Charles Cc: address@hidden Subject: Re: Setting Xterm ( putty ) window Tittle to Match Screen Window Title Hi,
I am not quite sure what you need but, if you just want to change the window title of putty you can set the variable PROMPT_COMMAND as you wish.
PROMPT_COMMAND='echo -ne "\033]0;new_title\007"'
hope it helps.
Regards, Anchal Khare
On Fri, Oct 29, 2010 at 11:42 PM, Gomes, Charles <address@hidden> wrote: Hello there guys, screen is just a time saving tool, I can’t thank you guys enough for how many times I got able to just re-attach my console and get back to all my sessions. I just had an idea and was wondering if it’s possible. Can I change the PUTTY/Xterm Title Bar (window caption) accordingly to the Screen Window that I am ? So every time I switch Window on Screen my (Xterm/Putty) caption gets changed to the current Screen Window Name. Thanks _______________________________________________ screen-users mailing list address@hidden http://lists.gnu.org/mailman/listinfo/screen-users
DISCLAIMER: This e-mail, and any attachments
thereto, is intended only for use by the addressee(s)named herein and may
contain legally privileged and/or confidential information. If you are not the
intended recipient of this e-mail, you are hereby notified that any
dissemination, distribution or copying of this e-mail and any
attachments thereto, is strictly
prohibited. If you have received this in error, please immediately notify me and
permanently delete the original and any printout thereof. E-mail transmission cannot be guaranteed
to be secure or error-free. The sender therefore does not accept liability
for any errors or omissions in the contents of this message which arise as a
result of e-mail transmission. NOTICE REGARDING PRIVACY AND
CONFIDENTIALITY Knight Capital Group may, at its discretion, monitor and
review the content of all e-mail communications.
http://www.knight.com
|