Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Terminal/Xterminalk name.

Posted on 2002-06-18
8
Medium Priority
?
335 Views
Last Modified: 2010-04-21
Hi everybody,

when I open new terminal or xterminal window (SunOs 5.8, CDE 1.4) I have any default name, defined by comopany sys. admin. Usualy I have the are many open windows in my desk. When I minimize them all of them looks a same.

My question is:
How I can change a name of existed/opened terminal or xterminal ?

Thank you in advance.
Kug :))
0
Comment
Question by:kug
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7090009
echo -n "^[]0;new title^G"
# depending on OS, xterm and shell you may have to use
echo -n "^[]0;new title^G" > `tty`

# where ^[  is ESC  and  ^G  is bell
0
 

Author Comment

by:kug
ID: 7098363
Ahoffmann,

I tried to run your commands in command in different shells (tcsh, csh, sh) it did nothing :((

Any other suggestions ?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7098632
shell doesn't matter, usually.
The trick is to write the ESC and bell character.

Which terminal do you have? xterm? suncmd?
check with echo $TERM
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:kug
ID: 7098656

I use two type of terminals: dtterm & xterm
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7098685
my suggestion works for xterm, xter, linux, xwsh, iris-ansi
so I guess you didn't write the ESC correctly. How did you do it?
On the shell command line you have to write
   Ctrl-V key    followed by     ESC key
   Ctrl-V key    followed by     Ctrl-G key
0
 

Author Comment

by:kug
ID: 7098721
I think my problem to find a bell button.
I dont sure where is it on my keyboard( I have very strange, UK, one).

0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 400 total points
ID: 7098746
there is no bell button, usually.
It's  Ctrl-G, means hit Ctrl and G
0
 

Author Comment

by:kug
ID: 7098764
Ahffman,

Thank you - right now it work !

Kug :)))))))))
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question