Sponsored Content
Top Forums Shell Programming and Scripting How do I Get the Title of My Putty Window (Emulating an XTerm) Post 302350381 by wpeckham on Thursday 3rd of September 2009 03:36:17 PM
Old 09-03-2009
title for xterm windows.

At first glance I thought this would be easy, but tratting the output of any command expressing this code to the XTERM window successfully in 'interesting'. It is far easier to record environment variables and use them to SET the title, I have not been able to capture it yet.

Have you searched for the trick using search engines?

It should be a shell/xterm trick, not specific to putty.

Last edited by wpeckham; 09-03-2009 at 04:41 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

window title..?

how to echo some text onto the window title bar...in exceed client...so that we can know where we are in..in multiple hostnames kinda..thing.. any advice.. (1 Reply)
Discussion started by: tintedwindow
1 Replies

2. UNIX for Advanced & Expert Users

Change putty title window?

Is it possible to change the putty window title from a Unix command line? (12 Replies)
Discussion started by: akbar
12 Replies

3. UNIX for Advanced & Expert Users

putty title window?

I have implemented the solution from mschwage located in post https://www.unix.com/unix-advanced-expert-users/35784-change-putty-title-window.html; ie wt () { echo -n "^2;${@}^G" } This method is awesome!!!! The reason I am sending you this message is to get your assistance with... (3 Replies)
Discussion started by: lwif
3 Replies

4. UNIX for Advanced & Expert Users

PuTTY TITLE

Is it possible to set the PuTTY title to show the current hostname of the terminal opened? I meant to say I would be rlogin between servers, that should be updated in PuTTTY title ? :confused: (4 Replies)
Discussion started by: ./hari.sh
4 Replies

5. Linux

how to insert a title into a window in kshell

hi all, i am using a Ubuntu work station. i have following piece of code that works ok. But i cant figure out a way to insert a string call $Name into the title of the window i am opening. As you can see, i tried two different ways without a success. Can someone please help me out here? :( ... (3 Replies)
Discussion started by: usustarr
3 Replies

6. Red Hat

How to set xterm for Window Titls for PuTTy

Hi, I still cant find step by step manual how to make my putty display let say PWD in its title, read about some xterm, but where it is? Can anybody help me with this. Thx M (4 Replies)
Discussion started by: trento17
4 Replies

7. Shell Programming and Scripting

Remotely setting putty window title

I have successfully used a script to modify putty's window title for many years. It has worked great in a Solaris 10 environment, using, sh, bash and tcsh. But I've never been able to get it to work in linux :( The script relies on sending escape sequences via gnu echo. The version of echo on... (4 Replies)
Discussion started by: tsreyb
4 Replies

8. UNIX for Dummies Questions & Answers

Change putty title name

Hello all, I have a not so unix question for you guys(or maybe it is). I use PUTTY to login to serverA (my putty title shows as serverA.domainname.com) Now from ServerA i do ssh user@ServerB (i have ssh public private key setup)... now my question is when i do ssh and logon to... (20 Replies)
Discussion started by: abdul.irfan2
20 Replies

9. UNIX for Dummies Questions & Answers

Getting command output to putty window title.

Hi, Last 2 weeks I have searched many forums and i haven't found the answer for the question: How to get all command output to Putty title? Needed it for other programs to know when some jobs on a server is done and is it done right or wrong. Plink stdout and stdin wasn't working, i used many... (1 Reply)
Discussion started by: domagaj
1 Replies

10. UNIX for Beginners Questions & Answers

Toggle between xterm window and standard terminal window

Is it possible to toggle back and forth between an xterm invoked from one tty, and a shell invoked from a different tty? I am running Centos 7 with KDE and booting in non-graphic mode. After logging in on the default window (/dev/tty1) , I can then use ALT-F2 to access a new window (/dev/tty2),... (1 Reply)
Discussion started by: rhgscty
1 Replies
XTITLE(1)						      General Commands Manual							 XTITLE(1)

NAME
xtitle - set window title and icon name for an X11 terminal window SYNOPSIS
xtitle [ -tiq ] [ -- ] string ... | [ -V ] [ -h ] DESCRIPTION
Xtitle will set the window title and/or the icon name of the terminal window in which it is run to be its command line arguments. It does this by outputting the appropriate xterm(1) control sequence characters. Unless suppressed, xtitle will also report the settings it has made. OPTIONS
-- Interprets all following arguments as strings instead of options. -h, --help Prints a helpful usage message. -i, --icon Only set the icon name. Default sets both. -t, --title Only set the window title. Default sets both. -v, --verbose Quiet mode. Doesn't report the settings performed. -V, --version Only prints the program version. CAVEATS
Xtitle is known to work with xterm(1) and dtterm(1). The effect of the control sequences in other terminals is not known, though I wouldn't expect any problems. VERSION
1.0.2 AUTHOR
Steve Kinzler, kinzler@cs.indiana.edu, Nov 1993/Nov 1998/Mar 2000/Dec 2009 URL
http://www.cs.indiana.edu/~kinzler/xtitle/ SEE ALSO
xterm(1), dtterm(1) 1.0.2 XTITLE(1)
All times are GMT -4. The time now is 09:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy