09-06-2016
Toggle between xterm window and standard terminal window
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), log in and invoke xterm. I now have graphical window available to me but apparently have lost the original window, unless I close/logout of the xterm window.
My question is, I would like to get back to the non-graphic shell running on /dev/tty1 without closing the xterm window invoked from /dev/tty2, essentially having both available running and the ability to flip back and forth?
I there a way to do this?
Thanks,
rhgscty
10 More Discussions You Might Find Interesting
1. Programming
Hi all,
I've got the problem which I can't resolve with my knowledge :)
For xterm terminal we have resource class XTerm*backarrowKey. If we set it to true, backspace code (ASCII 0x8) will be sent to program. We can get it using e.g. getc() function. If it is disabled getc() returns DEL(0x7F). ... (0 Replies)
Discussion started by: dmitryb
0 Replies
2. 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
3. Windows & DOS: Issues & Discussions
Hello,
We someone help me resolve this problem. I have window 2000 professional, windows 98 and Unixware 7.0.1 on the network. I was able to establish connection with all. However, l was unable to ping window 98 from window 2000 professional. I was able to ping the window 2000 from the window... (10 Replies)
Discussion started by: kayode
10 Replies
4. 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
5. UNIX for Dummies Questions & Answers
To all experts, I need some advice on how I can enter a unix command which is equivalent to the action of minimizing/maximizing an active xterm window. How can I do this (i) when control is in the active xterm window to be minimized/maximized , & (ii) when control is in a xterm window which runs... (0 Replies)
Discussion started by: icemocha75
0 Replies
6. 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
7. 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
8. Homework & Coursework Questions
Hello!
I need to create a file and provide access to two users of the file under the same command in linuxs terminal window.
The question is how can I do it? (3 Replies)
Discussion started by: Messe
3 Replies
9. 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
10. 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
resize(1X) resize(1X)
NAME
resize - set TERMCAP and terminal settings to current xterm window size
SYNOPSIS
resize [-u] [-c] [-s[row col]]
OPTIONS
The following options may be used with resize: This option indicates that Bourne shell commands should be generated even if the user's cur-
rent shell is not /bin/sh. This option indicates that C shell commands should be generated even if the user's current shell is not
/bin/csh. This option indicates that 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.
DESCRIPTION
The resize command prints a shell command for setting the TERM and TERMCAP environment variables to indicate the current size of xterm win-
dow 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
% 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
FILES
for the base termcap entry to modify. user's alias for the command.
BUGS
The -u or -c must appear to the left of -s if both are specified.
SEE ALSO
csh(1), tset(1), xterm(1X)
AUTHORS
Mark Vandevoorde (MIT-Athena), Edward Moy (Berkeley)
Copyright (c) 1984, 1985 by X Consortium
See X(1X) for a complete copyright notice.
resize(1X)