Tagged Questions
1
vote
0answers
31 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
54 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
84 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
104 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
429 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
154 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
377 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
224 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
502 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
891 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
600 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
425 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
258 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?
2
votes
1answer
638 views
Framebuffer on OpenBSD?
I am migrating from Linux to OpenBSD, and one of the things I miss from my old OS is how even the consoles looked nice (so nice you could actually watch movies in there) under framebuffer using a ...
0
votes
0answers
239 views
What is the difference between a terminal and a console in unix? [duplicate]
Possible Duplicate:
What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?
What is the difference between a terminal and a ...
3
votes
3answers
301 views
clear command in Konsole
I know about the Linux clear command, but it just moves the previous output from the visible part of terminal window (KDE Konsole). I can still scroll up and see all previous text. Is there similar ...
2
votes
2answers
1k views
256 color in real console
I have in my .bashrc
export TERM=xterm-256color
but this cause blinking all colored text (ls --color, in vim etc.) in real console (CTRL + ALT + F1) .
So is there any possibility to recognize in ...
2
votes
1answer
233 views
Change size of system console as user
At uni, I'm using a terminal to log into a text console of some unix server. As the monitors are 17" and the console is displayed full screen, it's a bit annoying to look at the screen with the ...
6
votes
7answers
5k views
Disable screen blanking on text console
I'm running linux clusters, mostly on SLES10. The servers are mostly blades, accessed via remote console. There is a real console in the server room, but switched off.
I would like to disable the ...
4
votes
2answers
867 views
Remapping caps-lock to escape, and menu to compose, on the linux console
When running X I use a .xmodmaprc to remap certain keys thusly:
! Make it so that both Caps Lock and Escape do Escape
clear Lock
keysym Caps_Lock = Escape
! Remap the menu key as Compose
keysym Menu ...
232
votes
4answers
41k views
What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?
I think these terms almost refer to the same thing, when used loosely:
terminal
shell
tty
console
What exactly do each of these terms refer to?
6
votes
2answers
2k views
Viewing system console messages in GUI
Under Linux, is it possible to view error messages that show up on the text mode terminal while in GUI mode, instead of having to press Ctrl+Alt+F1 or Ctrl+Alt+F2 to view the messages every time and ...