Warning, /utilities/konsole/doc/user/README.linux.console is written in an unsupported language. File is not indexed.

0001 Konsole and the Linux console
0002 
0003 
0004 From a technical point of view, the Linux console differs
0005 so substantially from any other terminal, that it impossible
0006 to fully emulate it. This is because the Linux console lives
0007 in kernel space and interfaces by kernel means, which cannot
0008 be simulated by any user space application.
0009 
0010 Contrary to this fact, konsole can be configured to appear
0011 and function console like to a degree that makes it virtually
0012 indistinguishable from the original. To do so, switch off the
0013 menubar, scrollbar and frame, select the Linux colors and font
0014 and set the full screen mode. 
0015 
0016 If you're running the console with the same resolution as
0017 your X display (which you can, thanks to the frame buffer
0018 console), you should get a pixel identical display then,
0019 despite the fact that you're still running an X terminal.
0020 
0021 
0022 * What make the Linux console so unique?
0023 
0024 The central differences between the Linux console and xterm
0025 like emulations are:
0026 
0027 1) The Linux console uses some special devices (vcs,vcsa)
0028    and ioctls for some purposes, for which no correspondent
0029    escape codes exist.
0030 2) The Linux console uses gpm for the mouse.
0031 3) The Linux console does not have an application screen.
0032    Xterm like application switch from a primary screen to
0033    the application screen when running in full screen mode,
0034    keeping the shell session apart from the application.
0035    Application like MC emulation the application screen on
0036    the Linux console using the devices mentioned in 1).
0037 4) The Linux console may use a character map different from
0038    the one used in X11.
0039 5) The TERM environment variable is "linux"
0040 6) A few key codes (F1-F5) differ.
0041 7) The Linux console occupies the whole display.
0042 
0043 Clearly, 1) and 2) make the Linux console so distinct that
0044 an explicit Linux console simulation cannot exist.
0045 
0046 
0047 * Running Konsole in true Linux console mode:
0048 
0049 To some degree, one can run application with Linux console
0050 emulation, too.
0051 
0052 - export TERM=linux to trigger ncurses aware applications
0053   to expect a linux console.
0054 - set the appropriate codec (this is cp437 on my installation)
0055   to get graphical and international characters properly.
0056 [TODO: to control codec via menu settings is work in progress, meaning not available yet.]
0057 - set the Linux keyboard to get the F1-F5 function keys right.
0058 
0059 In general it is NOT advisable to ever modify the above
0060 indicated settings unless you know what you're doing.
0061 
0062 Note that applications then may not react properly on changing
0063 the window size anymore. Often they ignore it completely or
0064 behave strange in other ways. I even saw one application dying
0065 from the shock of noticing that the linux console has simply
0066 changed it's size (Debian's dselect). Since the Linux console
0067 can be resized, this behavior is to be considered a bug in
0068 these applications, i cannot help it.
0069 
0070 Mouse-aware application will most probably not recognize
0071 mouse events (especially mc) since they might try to get
0072 these events from gpm instead.
0073 
0074 MC will not be able to access the special console devices
0075 then and cannot simulate a secondary screen, treating the
0076 emulation as "dummy" with respect to it (^O).
0077 
0078 Some application will also assume that the default background
0079 is black, thereby producing random black background ranges.
0080 
0081 The linux console can some funny quirks with special graphic
0082 characters and i will not teach Konsole all of them. In rare
0083 cases, they might display differently. Affected to my knowledge
0084 are especially non-VT100 extensions taken from the AT&T 4410v1,
0085 these are arrow symbols, a full block and a checker board. Most
0086 other tricks that the linux console is able to do with character
0087 sets are eventually not even used in a single instance, so you
0088 will hardly be disturbed by it.