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
WebService::MusicBrainz::Track(3pm)			User Contributed Perl Documentation		       WebService::MusicBrainz::Track(3pm)

NAME
WebService::MusicBrainz::Track SYNOPSIS
use WebService::MusicBrainz::Track; my $ws = WebService::MusicBrainz::Track->new(); my $response = $ws->search({ TITLE => 'Same in any language' }); my $track = $response->track(); # grab the first one from list print $track->title(), " - ", $track->artist()->name(), " "; # OUTPUT: Same In Any Language - I Nine DESCRIPTION
This module is used to search the MusicBrainz database about track information. METHODS
new() This method is the constructor and it will call for initialization. query() This method will return the cached WebService::MusicBrainz::Query object. search() This method will search the MusicBrainz database about track related information. The only argument is a hashref to define the search parameters. my $ws = WebService::MusicBrainz::Track->new(); $ws->search({ TITLE => 'when the stars go blue' }); $ws->search({ TITLE => 'blue', OFFSET => 100 }); $ws->search({ ARTIST => 'Ryan Adams', TITLE => 'when the stars go blue' }); $ws->search({ RELEASE => 'Gold', TITLE => 'when the stars go blue' }); $ws->search({ DURATION => 200000, TITLE => 'when the stars go blue' }); $ws->search({ TRACKNUM => 7, TITLE => 'when the stars go blue' }); $ws->search({ ARTISTID => 'c80f38a6-9980-485d-997c-5c1a9cbd0d64', TITLE => 'when the stars go blue' }); $ws->search({ RELEASEID => '433adbc2-382f-4f3a-9ce9-401f221f5b3b', TITLE => 'when the stars go blue' }); $ws->search({ LIMIT => 5, TITLE => 'when the stars go blue' }); $ws->search({ MBID => 'bd08eddf-b811-4653-b56b-892292c291bc', INC => 'artist' }); $ws->search({ MBID => 'bd08eddf-b811-4653-b56b-892292c291bc', INC => 'releases' }); $ws->search({ MBID => 'bd08eddf-b811-4653-b56b-892292c291bc', INC => 'puids' }); $ws->search({ MBID => 'bd08eddf-b811-4653-b56b-892292c291bc', INC => 'artist-rels' }); $ws->search({ MBID => 'bd08eddf-b811-4653-b56b-892292c291bc', INC => 'release-rels' }); $ws->search({ MBID => 'bd08eddf-b811-4653-b56b-892292c291bc', INC => 'track-rels' }); $ws->search({ MBID => 'bd08eddf-b811-4653-b56b-892292c291bc', INC => 'url-rels' }); Multiple INC params can be delimited by whitespace, commas, or + characters. $ws->search({ MBID => 'bd08eddf-b811-4653-b56b-892292c291bc', INC => 'artist url-rels' }); $ws->search({ MBID => 'bd08eddf-b811-4653-b56b-892292c291bc', INC => 'artist,url-rels' }); $ws->search({ MBID => 'bd08eddf-b811-4653-b56b-892292c291bc', INC => 'artist+url-rels' }); AUTHOR
Bob Faist <bob.faist@gmail.com> COPYRIGHT AND LICENSE
Copyright 2006-2007 by Bob Faist This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
http://wiki.musicbrainz.org/XMLWebService perl v5.10.1 2009-12-06 WebService::MusicBrainz::Track(3pm)
All times are GMT -4. The time now is 03:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy