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)
Is it possible to set the PuTTY title to show the current hostname of the terminal opened?
I meant to say I would be rlogin between servers, that should be updated in PuTTTY title ? :confused: (4 Replies)
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)
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)
Hi Guys,
When I use putty and maximize it, then the second half of the emulator window is not utilized and used! I mean the mouse cursor is at the half of the page not at the bottom! i have to once minimize and maximize the window to tell putty that i am going to use the maxmized window...is... (4 Replies)
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)
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)
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
LEARN ABOUT CENTOS
tk::mwm
Mwm(3) User Contributed Perl Documentation Mwm(3)NAME
Tk::Mwm - Communicate with the Motif(tm) window manager.
SYNOPSIS
use Tk::Mwm;
$toplevel->mwmOption?(args)?
$toplevel->mwm(option ?,args?)
DESCRIPTION
Interface to special extentions supported by mwm.
METHODS
$toplevel->mwmDecoration?(?option??=>value? ?,...?)?
When no options are given, this method returns the values of all the decorations options for the toplevel window with the $toplevel.
When only one option is given without specifying the value, the current value of that option is returned. When more than one "option-
value" pairs are passed to this method, the specified values will be assigned to the corresponding options. As a result, the appearance
of the Motif decorations around the toplevel window will be changed. Possible options are: -border, -menu, -maximize, -minimize,
-resizeh and -title. The value must be a Boolean value. The values returned by this command are undefined when the window is not
managed by mwm.
$toplevel->mwmIsmwmrunning
This returns value is true if mwm is running on the screen where the specified window is located, false otherwise.
$toplevel->mwmProtocol
When no additional options are given, this method returns all protocols associated with this toplevel window.
$toplevel->mwmProtocol(activate => protocol_name)
Activate the mwm protocol message in mwm's menu.
$toplevel->MwmProtocol(add => protocol_name, menu_message)
Add a new mwm protocol message for this toplevel window. The message is identified by the string name specified in protocol_name. A
menu item will be added into mwm's menu as specified by menu_message. Once a new mwm protocol message is added to a toplevel, it can
be caught by the TK protocol method. Here is an example:
$toplevel->mwmProtocol('add' => 'MY_PRINT_HELLO', '"Print Hello" _H Ctrl<Key>H');
$toplevel->protocol('MY_PRINT_HELLO' => sub {print "Hello"});
$toplevel->mwmProtocol('deactivate' => protocol_name)
Deactivate the mwm protocol message in mwm's menu.
$toplevel->mwmProtocol('delete' => protocol_name)
Delete the mwm protocol message from mwm's menu. Please note that the window manager protocol handler associated with this protocol (by
the protocol method) is not deleted automatically. You have to delete the protocol handle explicitly. E.g.:
$mw->mwmProtocol('delete' => 'MY_PRINT_HELLO');
$mw->protocol('MY_PRINT_HELLO' => '');
BUGS
This is a Tix extension which perl/Tk has adopted. It has not been tested as perl/Tk's author has not got round to installing a Motif
Window Manager.
On some versions of mwm, the -border will not disappear unless -resizeh is turned off. Also, the -title will not disappear unless all of
-title, -menu, -maximize and -minimize are turned off.
SEE ALSO
Tk::Wm Tk::tixWm Tk::Toplevel
KEYWORDS
window manager, mwm, TIX
AUTHOR
Ioi Kim Lam - ioi@graphics.cis.upenn.edu
perl v5.16.3 2014-06-10 Mwm(3)