10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Is it possible to toggle back and forth between an xterm invoked from one tty, and a shell invoked from a different tty?
I am running Centos 7 with KDE and booting in non-graphic mode. After logging in on the default window (/dev/tty1) , I can then use ALT-F2 to access a new window (/dev/tty2),... (1 Reply)
Discussion started by: rhgscty
1 Replies
2. Shell Programming and Scripting
Hi all,
I have a script that opens a xterm window and will prompt for a password.
My intention is, instead of waiting for a password it should get the password from a file.
How can I make this happen.?:confused:
Any help much appreciated. (1 Reply)
Discussion started by: dnam9917
1 Replies
3. Red Hat
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)
Discussion started by: trento17
4 Replies
4. Shell Programming and Scripting
Hello,
I am looking for help to minimize this commande line. The commande is working fine but I tried to make it shorter ... It's about to get rid of some characters.
| sed '/NODE*/d' | cut -d "'" -f 2 | sed '/;;/d' | sed '/
/d' | sed 's///g'
Thanks for your help (8 Replies)
Discussion started by: Aswex
8 Replies
5. Windows & DOS: Issues & Discussions
Right now when I click the maximize button, it only goes about 1/2 of the screen, but I was wondering if there's any way to completely maximize the terminal window?
http://sites.google.com/site/flcl178/Cygwin_Window.png
:confused: (2 Replies)
Discussion started by: LanguidLegend
2 Replies
6. Shell Programming and Scripting
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. UNIX for Dummies Questions & Answers
Hi,
Is there a way to configure a Linux machine so that I can click on any where on the Xterm window to bring it to the front/top. By default, I have to click on the title bar but often the entire title bar is underneath another window.
Thanks in advance!
PS. GNU/Linux (4 Replies)
Discussion started by: pidge66
4 Replies
8. UNIX for Dummies Questions & Answers
Hello,
Anyone knows how to disable color text displayed on xterm window screen? I hate that color making me hard to read when front and background color are similar.
Thanks,
M. (1 Reply)
Discussion started by: modemer
1 Replies
9. UNIX Desktop Questions & Answers
im very new to linux, and i have been running knoppix. I recently decided to go ahead and install knoppix on the hard drive of my laptop and everything went great. It boots up properly, except one problem, the screen size is small. during the boot, it seems the screen goes much farther down then... (5 Replies)
Discussion started by: jestra
5 Replies
10. Shell Programming and Scripting
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
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 Also
csh(1), tset(1), xterm(1X)
resize(1X)