11-14-2005
Change Terminal Title
Is it possible to change the title of a Terminal window on Solaris? For example, for a MS Windows command window, one can simply type "title NameofWindow" to change the title for a command window.
I was looking for similar functionality for terminal windows.
Thanks.
Last edited by here2learn; 11-14-2005 at 02:32 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello.
I am trying to figure out how to change the title of my console window. I don't need it to dynamically change with my current directory. I just want to be able to change the name of it, so when I minimize the window I can see which windows are for what purpose.
I've tried using the... (8 Replies)
Discussion started by: medmonson
8 Replies
2. UNIX for Advanced & Expert Users
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
Is there any way to change title of aixterm window online? Also is it possible to freeze first/last few lines online? (1 Reply)
Discussion started by: Soham
1 Replies
4. UNIX Desktop Questions & Answers
Code for the tweak (not my fave 'running process' but the more popular 'working directory') :
case "$TERM" in
xterm*|rxvt*|rxvt-unicode*)
PROMPT_COMMAND='echo -e "\033]0;$TERM: ${PWD}\007"'
;;
*)
;;
esac
Where it works: rxvt (the one I run 'rootless' outside of ... (0 Replies)
Discussion started by: SilversleevesX
0 Replies
5. AIX
Once I type "mail" command, I got to see the mail like below:
> 1 daemon Thu Aug 12 17:31 31/938 "Output from cron job "
My question is, how to do change the default title "Output from cron job " to be more customized title?
Thanks. (4 Replies)
Discussion started by: ngaisteve1
4 Replies
6. Shell Programming and Scripting
I would like to have the directory I am currently in being shown in the title when I open a terminal window in Fedora (selecting "Open in terminal" or using the Terminal from the panel).
Any way that I can do this?
Basically whenever I do "cd", the title should update
I have created this... (1 Reply)
Discussion started by: kristinu
1 Replies
7. Shell Programming and Scripting
Hi,
How to change the value after the symbol '@' ?
$
i.e. @mac1
I want to change it to @prod2
Also need to change the same in the title bar on the top when we open a new terminal. (3 Replies)
Discussion started by: milink
3 Replies
8. UNIX for Dummies Questions & Answers
In ubuntu, I want to update the title of the terminal window with the current directory path. Any ideas how this can be achieved?
---------- Post updated at 02:22 PM ---------- Previous update was at 02:08 PM ----------
Done it
---------- Post updated at 02:30 PM ---------- Previous update... (2 Replies)
Discussion started by: kristinu
2 Replies
9. UNIX for Dummies Questions & Answers
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
10. Post Here to Contact Site Administrators and Moderators
hi,
how do we change the title of a thread after it is created?
Thanks (5 Replies)
Discussion started by: milhan
5 Replies
LEARN ABOUT CENTOS
glutcreatesubwindow
UNTITLED
LOCAL UNTITLED
NAME
glutCreateSubWindow -- Create a subwindow
LIBRARY
OpenGLUT - window
SYNOPSIS
#include <openglut.h>
int
glutCreateSubWindow(int parentID, int x, int y, int w, int h);
PARAMETERS
parentID Parent window identifier
x Horizontal position of subwindow
y Vertical position of subwindow
w Width of subwindow
h Height of subwindow
DESCRIPTION
In almost every regard that is important to you, a subwindow is like a top-level window. It has a window id; it has its own set of event
callbacks; you can render to it; you are notified of its creation; ...
A subwindow lives inside of some other window (possibly a top-level window, possibly another subwindow). Because of this, it generally only
interacts with other windows of your own creation, hence it is not subjected to a window manager. This is the primary source for its differ-
ences from a top-level window:
- There are no borders or decorations.
- There is no title bar, hence no title.
- Requests tend to be acted on a little more directly, without interference from a window manager.
- The subwindow inherits the display mode of its parent.
Like a top-level window, you must register a display callback function if you wish to use glutMainloop().
A notable case where this function can fail is for offscreen windows. A coherent concept of a subwindow of an offscreen window would intro-
duce more complication than is presently believed to be worthwhile. Attempting such a window presently just fails. Failure is denoted by a
0 window id being returned.
Subwindows can be very useful for partitioning a window into GUI elements: They have their own input callbacks, so you don't have to figure
out which window an event is for. Graphics are clipped to the boundaries of your subwindows, so you do not need to worry much about where
your drawing goes. Because windows and subwindows work almost identically from the perspective of a GLUT program, it is relatively easy to
move a cluster of related controls into a separate top-level window---or, conversely, embed what was a top-level window inside of another
window. OpenGLUT can also report some basic statistics about your (sub)window, relieving you of the duty of tracking all of that information
for yourself.
SEE ALSO
glutCreateWindow(3) glutDestroyWindow(3) glutCreateMenuWindow(3)
Epoch