?
Solved

Terminal/Xterminalk name.

Posted on 2002-06-18
8
Medium Priority
?
329 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses
Course of the Month8 days, 12 hours left to enroll

764 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