Virtual console
This article needs more citations. (May 2014) |

A virtual console (VC) – also known as a virtual terminal (VT) – is a conceptual combination of the keyboard and display for a computer user interface. It is a feature of some Unix-like operating systems such as Linux, BSD, illumos, UnixWare, and macOS in which the system console of the computer can be used to switch between multiple virtual consoles to access unrelated user interfaces. Virtual consoles date back at least to Xenix[1] and Concurrent CP/M in the 1980s.[2]
In the Linux console and other platforms, usually the first six virtual consoles provide a text terminal with a login prompt to a Unix shell. The graphical X Window System traditionally starts in the seventh virtual console (tty7), although this is configuration dependent. In Linux, the user switches between them by pressing the Alt key combined with a function key – for example Alt + F1 to access the virtual console number 1. Alt + ← changes to the previous virtual console and Alt + → to the next virtual console. To switch from the X Window System or a Wayland compositor, Ctrl + Alt + F1 works. (Note that users can redefine these default key combinations.)
If several sessions of the X Window System are required to run in parallel, such as in the case of fast user switching or when debugging X programs on a separate X server, each X session usually runs in a separate virtual console.
Implementation details
[edit]Unix systems
[edit]Unix workstations provided virtual terminal capabilities. For instance, Xenix on the Apple Lisa provided three virtual terminals.[3]: 45 In the IBM PC RT, IBM enhanced Unix System V to add multiple full-screen virtual terminals,[4]: 4 doing so in the system's Virtual Resource Manager.[5] Unix System V subsequently provided virtual terminal support using the Virtual Terminal Manager program,[6] this being used to support AT&T's FACE (Framed Access Command Environment[7]) product.[8] In Unix System V Release 4 (SVR4), the vtlmgr program supported the use of hot keys to switch between virtual terminals.[9] Such an approach was employed by the Amiga Unix port of SVR4, utilising a combination of Alt and a function key to select a "virtual screen".[10] Other systems, such as Acorn RISC iX provided virtual terminal navigation facilities.[11]: 36–37
Sun Niagara-based servers running virtualization with Logical Domains get virtual console services from the Control domain.
See also
[edit]- Virtual desktop, works similar to a virtual console, but operates on graphical desktops instead of a command prompt
- System console for the non-virtual console
- Text terminal for the textual interface in general
- Pseudo terminal for even more virtual consoles
- Terminal emulator for an application program that has the same function as a textual virtual console
Notes
[edit]- ↑ "Trusted path mechanism for virtual terminal environments". FreePatentsOnline.com. Retrieved 2008-04-09.
United States Patent 4945468 lists Xenix as prior art in this area. - ↑ Guzaitis, Joe (November 1983). "Concurrent CP/M". BYTE. pp. 257–268. Retrieved 19 March 2016.
- ↑ Monroe, Tim (Summer 1986). "UNIX on Lisa: Part II". The LisaTalk Report. pp. 42–46. Retrieved 9 August 2026.
- ↑ Henry, G. Glenn (1986). IBM RT PC Architecture and Design Decisions (Report). International Business Machines Corporation. pp. 2–5. Retrieved 9 August 2026.
- ↑ Baker, D. C.; Flurry, G. A.; Nguyen, K. D. (1986). Implementation of a Virtual Terminal Subsystem (Report). pp. 134–136. Retrieved 9 August 2026.
- ↑ Simul-Task 386 Version 2.0 User's Guide. AT&T. 1988. pp. 5–6. Retrieved 9 August 2026.
- ↑ User's Guide UNIX® SVR4.2. Prentice-Hall, Inc. 1992. pp. 6–1. ISBN 0-13-017708-3. Retrieved 9 August 2026.
- ↑ UNIX® System V/386 Release 3.2 AT&T FACE Release Notes. AT&T. 1988. p. 7. Retrieved 9 August 2026.
- ↑ UNIX® System V Release 4 Integrated Software Development Guide for Intel Processors. Prentice-Hall, Inc. 1992. pp. 6-41 – 6-42. ISBN 0-13-879479-0. Retrieved 9 August 2026.
- ↑ Amiga® UNIX® System V Release 4 Using Amiga UNIX. Commodore-Amiga Inc. November 1990. pp. viii. Retrieved 9 August 2026.
- ↑ Acorn R140 Operations Guide (PDF). Acorn Computers Limited. December 1988. ISBN 1852500573. Retrieved 17 October 2020.
References
[edit]- FreeBSD Handbook, chapter 3.2 Virtual Consoles and Terminals