s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
7. Console switching
By default, console switching is done using Alt-Fn or Ctrl-Alt-Fn.
Under XFree86 1.3 does not know that Alt is down when you switch to the X window. Thus, you cannot switch immediately to some other VT again but have to release Alt first. In the other direction this should work: the kernel always keeps track of the up/down status of all keys. (As far as possible: on some keyboards some keys do not emit a scancode when pressed (e.g.: the PFn keys of a FOCUS 9000) or released (e.g.: the Pause key of many keyboards).) XFree86 1.3 saves the fonts loaded in the character ROMs when started,
and restores it on a console switch. Thus, the result of One can change VT under program control using the
7.1 Changing the number of Virtual Consoles
This question still comes up from time to time, but the answer is:
you already have enough of them.
Since kernel version 1.1.54, there are between 1 and 63 virtual
consoles. A new one is created as soon as it is opened. It is
removed by the utility For older kernels, change the line
in include/linux/tty.h (don't increase this number beyond 63),
and recompile the kernel.
If they do not exist yet, create the tty devices with
or, better (since it also takes care of owner and permissions),
If you want the new VCs to run When the consoles are allocated dynamically, it is usually easiest
to have only one or two running If you have
in /etc/rc.local , then typing Alt-UpArrow will create a fresh VC
running login (and switch to it). With spawn_console & instead of
spawn_login & you'll have bash running there.
See also open-1.4.tgz and dynamic-vc-1.1.tar.gz .
What action should be taken upon this Spawn_Console keypress
can also be set in (This action can be something entirely different - I just called the key Spawn_Console because that is what I used it for. When used for other purposes it is less confusing to use its synonym KeyboardSignal. For example, some people like to put the lines
in /etc/inittab , and
in their keymap. Now Ctrl-Alt-End will do a system shutdown.)
You can only login as "root" on terminals listed in
Next Previous Contents |