The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Change title of aixterm window online Soham UNIX for Advanced & Expert Users 1 02-01-2008 01:52 PM
putty title window? lwif UNIX for Advanced & Expert Users 3 01-28-2008 05:04 PM
Change Terminal Title here2learn SUN Solaris 8 11-21-2005 10:39 AM
window title..? tintedwindow UNIX for Dummies Questions & Answers 1 08-24-2005 02:06 AM
Change Console Title medmonson UNIX for Dummies Questions & Answers 8 06-09-2004 08:48 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 4.00 average. Display Modes
  #1 (permalink)  
Old 03-01-2007
akbar akbar is offline
Registered User
  
 

Join Date: Feb 2007
Posts: 33
Change putty title window?

Is it possible to change the putty window title from a Unix command line?
  #2 (permalink)  
Old 03-01-2007
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
Not to my knowledge. See, the client is just a window on the Windows system where you are logged in. The unix server has nothing to do with the window properties of the putty session.
  #3 (permalink)  
Old 03-01-2007
anbu23 anbu23 is offline Forum Advisor  
Registered User
  
 

Join Date: Mar 2006
Location: Bangalore,India
Posts: 1,398
Right click the putty title bar and click change settings.Expand window and click appearance and write the text which you want to appear in the windows title text box.

Last edited by anbu23; 03-01-2007 at 03:38 AM..
  #4 (permalink)  
Old 03-01-2007
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,952
Quote:
Originally Posted by anbu23
Right click the putty title bar and click change settings.Expand window and click appearance and write the text which you want to appear in the title bar.
OP had asked for a solution to change it through the command line
and as blowtorch said it shouldnt be possible either.

Good to have the alternative through the client, if not through the command line.
  #5 (permalink)  
Old 03-01-2007
grial's Avatar
grial grial is offline Forum Advisor  
El UNIX es como un toro
  
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Yes it is, but depends on your shell. Just add this to your .profile, for ksh:
Code:
export SERVER=$(hostname)
case "$TERM" in
xterm*|rxvt*)
    PROMPT_COMMAND="\033]0;${SERVER}\007"
    echo $PROMPT_COMMAND
    ;;
*)
    ;;
esac
This will write the server's hostname on the title bar when you log in.
Regards.
  #6 (permalink)  
Old 03-01-2007
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,952
Quote:
Originally Posted by Ygor

That seems to be a broken link!

( 404 )
  #7 (permalink)  
Old 03-01-2007
Ygor's Avatar
Ygor Ygor is offline Forum Staff  
Moderator
  
 

Join Date: Oct 2003
Location: -31.96,115.84
Posts: 1,407
Quote:
Originally Posted by matrixmadhan
That seems to be a broken link!

( 404 )
I noticed that after posting, so have deleted it.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0