Sponsored Content
Top Forums UNIX for Advanced & Expert Users Change title of aixterm window online Post 302163578 by gus2000 on Friday 1st of February 2008 12:52:12 PM
Old 02-01-2008
This is what I use to change the window title (ksh):

Code:
# Change the Xwindow title to given argument(s); default arg is hostname
function namewin {
  typeset TITLE=${@:-$(hostname|awk -F. '{print $1}')}
  print "\033]0;${TITLE}\007\c"
} #END function namewin

I'm not sure what you mean by "freeze last few lines". You mean like "ls | more"?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Maximizing an xterm or aixterm window?

Is there a way to maximize an xterm window in a ksh script? I've tried a number of approaches, but none seem to have the desired affect. All I want to accomplish is to have the window maximized upon being called in the script...i.e: xterm -T MyNewXterm -e programToOpen & | maximized --or... (1 Reply)
Discussion started by: spieterman
1 Replies

2. 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

3. Solaris

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. (8 Replies)
Discussion started by: here2learn
8 Replies

4. 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

5. 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

6. Shell Programming and Scripting

How do I Get the Title of My Putty Window (Emulating an XTerm)

I have a Perl script that changes the terminal window title and I would like to reset it to the original value when I am done. We are using Putty which emulates xterm. We are not running X-Windows so I can't use something like xprop (can I?). I'm using XTerm control codes to change the title and I... (2 Replies)
Discussion started by: NateTut
2 Replies

7. 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

8. 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

9. 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

10. 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
KXTERM(1)						      General Commands Manual							 KXTERM(1)

NAME
kxterm - the CERN KUIP terminal emulator SYNOPSIS
kxterm [class] [options] DESCRIPTION
kxterm is a terminal emulator combining the best features of the (now defunct) Apollo DM pads (like: input and transcript pads, automatic file backup of transcript pad, string search in pads, etc.) and the Korn shell emacs-style command line editing and command line recall mechanism. For more detailed information about the program, please see the online help available from the kxterm Help menu. kxterm has a number of X resources which can be set by the user; these are listed in the online help and in the file /etc/X11/app-defaults/KXterm, where the default values are set. It should be noted that when kxterm is acting as a client for another application, the desired X resource should be prefixed by "Kx" plus the class name of the application. So for application "Foo" the kxterm resource class would be KxFoo, and one would set KxFoo*background, etc. One can also set the resource class of a kxterm window via the command-line with the class argument. OPTIONS
-font fn Specifies the font used by kxterm. The font fn must be an XLFD (X Logical Font Description), as for example displayed by the xls- fonts program. -geometry geom Specifies the preferred size and position of the kxterm window; see X(7x) for details. -h, -help Show a summary of options. -iconic Specifies that the window manager should start kxterm as an icon. -n iconname Specifies the name of the kxterm window in an iconic state. -name name Specifies both the title and the iconized name of the kxterm window. -pid pid Specifies the process ID of the program that kxterm should act as a client for. -prompt prompt Sets the prompt displayed in the input pad of the program. -tfont fn Specifies the font used by text boxes, the input pad, and the transcript pad of the program. This should probably be a fixed-width font like "courier" or "fixed". -title title Sets the title of the kxterm window to title. SEE ALSO
o xlsfonts(1) - a program to list available fonts on an X server o paw++(1) - a program using kxterm for its command interface o the online help available from kxterm's Help menu AUTHOR
This manual page was written by Kevin McCarty <kmccarty@debian.org> for the Debian GNU/Linux system (but may be used by others). January 24, 2003 KXTERM(1)
All times are GMT -4. The time now is 02:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy