Tagged Questions
1
vote
0answers
26 views
vi hangs when run in /dev/console under LXC
I'm running an Arch Linux container from within lxc. The lxc-start command connects to the internal /dev/console, on which I have agetty running using the following command:
/sbin/agetty --noclear -a ...
0
votes
1answer
51 views
Move terminal emulator process from xorg to tty? [duplicate]
Is it possible (and if so, how?) to move a process from a terminal emulator running in X to a different virtual terminal, so that I can restart the X server without killing the process running in the ...
2
votes
1answer
20 views
messages appearing when not desired
I have SSH access to a CentOS box and I have a strange behavior of that box, I have never seen before.
Lets say I am editing a file with vi or displaying tail -f of a file. Every time the server has ...
5
votes
1answer
82 views
Why are multiple command-line terminal consoles available/running at the same time on RHEL systems?
I'm studying for the RHCSA and am trying to wrap my mind around a seemingly basic concept: terminal consoles. I don't understand how/why RHEL systems make 6 terminal consoles (/dev/ttyN) available ...
1
vote
1answer
100 views
Can I use xterm to read/write to a pts without spawning another process (e.g a shell)?
I have a process which reads and writes to a pseudo terminal. I would like to open xterm and have it open a pseudo terminal and leave it open so I can communicate with this process without creating ...
24
votes
1answer
428 views
What happens when Ctrl + Alt + F<Num> is pressed?
I am looking for an explanation of what happens in Linux when this key combination is pressed to change the current terminal. In particular, what software component intercepts this key combination and ...
2
votes
1answer
153 views
How to undo in spreadsheet calculator sc?
spreadsheet calculator sc is a very old console-based program. It does what the name says. I cannot find how to undo an operation in its man page. I currently use it together with RCS, ie. manually ...
1
vote
1answer
368 views
Show current “setterm” values/settings
I know that setterm can be used to adjust parameters such as screen blanking time on a virtual console. How can I show the current setterm settings/values for all parameters?
2
votes
1answer
221 views
Tmux output is slower when vertical splits exist: why?
When I use Tmux and split the window into panes, I notice that programs are quite a bit slower to print out lines of text when there is vertical split (two panes side by side) than when there is a ...
12
votes
2answers
496 views
Can I configure bash to execute “clear” before every command typed in the console?
I would like to configure bash to execute clear command every time I type some command in the terminal (before executing my command). How can I do that?
I'm using Debian Linux.
5
votes
1answer
876 views
What is the difference between a Console, Shell, Terminal, Terminal emulator, Terminal multiplexer, and a Window manager?
For example. What is the difference between a default 'interface/console' of FreeBSD/archlinux, vs Terminal, vs Terminal emulator like Xterm, vs Terminal multiplexer like tmux, vs Window manager like ...
3
votes
1answer
576 views
why there are six getty processes running on my desktop?
My desktop system is:
$ uname -a
Linux xmachine 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:25:36 UTC 2011 i686 i686 i386 GNU/Linux
By running ps a | grep getty, I get this output:
900 tty4 ...
3
votes
1answer
417 views
How can I check which terminal definitions are available?
The bulk of the question is in title, but to elaborate a little:
On most Linuxes I can find /usr/share/terminfo -type f. But on Solaris machine I have nearby - this directory doesn't even exist.
I ...
4
votes
1answer
257 views
Is there any way to have console (rogue) mode programs take over only part of the terminal screen?
I like the command line because it preserves the context of what I'm doing. But if I use a "rogue" mode program like vi or less, the whole screen gets taken over.
Is a middle way possible, where the ...
6
votes
4answers
1k views
How to clear terminal completely?
When we use clear command or Ctrl+L in terminal, it clears terminal but we can still scroll back to view the last used commands. Is there a way to completely clear the terminal?