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)
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,
I have a linux which I am accessing using putty.I have written some code in TCL-Tk & developed a GUI based app.I knew that it is difficult to open a GUI based app. from putty,but there must be some way to do that.
If anybody knows any such workarounds kindly let me know.
Shell I am using is... (4 Replies)
Hii, i have installed ubuntu in windows without make partitioning by using wubi.. i want to connect ubuntu linux through putty. but I am unable to do that. Please help me.. how to set ip address in putty (3 Replies)
Hi,
I still cant find step by step manual how to make my putty display let say PWD in its title, read about some xterm, but where it is?
Can anybody help me with this.
Thx
M (4 Replies)
Hi everyone ,
Happy new year !
I have a question , hope someone will respond to me .
I will be logging into so many servers in the same putty . So , whenever i loggedoff and loggedin into anonther server , putty window will change accordingly to the server name .
If the above is... (7 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)
hi friends,
This is not a shell scripting related doubt, but still posting so that you can answer it ;) or redirect to correct place in this website.
Many a times i have to open multiple putty sessions by duplicating a session and want to rename their tabs.
For this activity i have to right... (4 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 ULTRIX
resize
resize(1X) MIT X11R4 resize(1X)Name
resize - utility to set TERMCAP and terminal settings to current window size
Syntax
resize [-u] [-s [row col]]
Description
The uitility prints a shell command for setting the TERM and TERMCAP environment variables to indicate the current size of xterm window
from which the command is run. For this output to take effect, resize must either be evaluated as part of the command line (usually done
with a shell alias or function) or else redirected to a file which can then be read in. From the C shell (usually known as /bin/csh), the
following alias could be defined in the user's .cshrc:
% alias rs 'set noglob; `eval resize`'
After resizing the window, the user would type:
% rs
Users of versions of the Bourne shell (usually known as /bin/sh) that do not have command functions will need to send the output to a tem-
porary file and the read it back in with the ``.'' command:
$ resize >/tmp/out
$ . /tmp/out
Options
The following options may be used with resize:
-u This option indicates that Bourne shell commands should be generated even if the user's current shell is not /bin/sh.
-c This option indicates that C shell commands should be generated even if the user's current shell is not /bin/csh.
-s [rows columns]
This option indicates that the Sun console escape sequences will be used instead of the special xterm escape code. If rows and col-
umns are given, resize will ask the xterm to resize itself. However, the window manager may choose to disallow the change.
Restrictions
The -u or -c must appear to the left of -s if both are specified.
There should be some global notion of display size; termcap and terminfo need to be rethought in the context of window systems. (Fixed in
4.3BSD, and ULTRIX-32 1.2)
Files
For the base termcap entry to modify.
User's alias for the command.
See Alsocsh(1), tset(1), xterm(1X)resize(1X)