table of contents
KON(1) | General Commands Manual | KON(1) |
NAME¶
KON - Kanji cONsole emulatorSYNOPSYS¶
kon [ video ] [ -capability value ... ]DESCRIPTION¶
KON is a program to display Kanji characters on a virtual console of Linux and FreeBSD.OPTIONS¶
KON has ability to interpret some options to specify the video driver to be used, or some other environmental conditions. video is to specify one of video driver entries written in kon.cfg. If this option is omitted, then NORMAL video driver is used. Some settings as such as CursorInterval can be overridden by -capability options. For example,% kon -CursorInterval 10
CONFIGURATION¶
kon.cfg is the file to configure the behaviour of KON. Video drivers and Palettes used by KON is specified in this file. The format of an entry for this file is:-
EntryName:[Alias1:Alias2:...] -
Value_for_Entry
- boolean
- On / Off (no distinction about upper/lower case)
- choice
- select one from options (no distinction about upper/lower case)
- numeric
- Decimal Number
- string
- Each entry has it's special format.
- NORMAL(string)
- specify the video driver to be used. Available options are:
VGA driver for VGA, SVGA, EGA VGAFM same above but with ability of font deformation J3100SX driver for TOSHIBA J3100SX (DCGA)
VGA register value, screen size(Number of dots), Width(Number of characters), Hight(Number of lines).
- STARTUP(string)
- specify the command to be invoked at the start of
KON. One line for each commands, but multiple lines can be
specified. The command to load the fonts must be specified here. When the
fonts for ASCII alphanumeric have not been loaded, then VGA font is
used.
for the fonts file which is not compressed <fontloader> <Font file for ASCII alphanumeric> <fontloader> <Kanji/Kana font file> for the fonts file which is compressed zcat <compressed font fine for ASCII alphanumeric> | <fontloader> zcat <compressed font file for Kanji/Kana> | <fontloader>
- PELS(string)
- specify the Pallete. The format is the pallette value(decimal) for R,G,B in each line, and 16 lines are there total. Default kon.cfg has STDPEL and REVPEL entries. STDPEL is the standard palette, and REVPEL is the reverse. PELS can be specified as an alias for used entry.
- MOUSE(choice)
- specify the mouse driver. Select a type of mouse from Microsoft, MouseSystems, BusMouse, MMSeries, Logitech, None None is default.
- MouseBaud(choice)
- specify the baud rate for serial mouse. Select one from 1200, 2400, 4800, 9600. Default is 1200. This is enabled when MOUSE is specified as others than NONE or BusMousees.
- MouseDev(string)
- specify the device name of Mouse. Default is /dev/mouse. This is enabled when MOUSE has the entry other than None.
- Mouse3Buttons(boolean)
- specify if the Mouse is 3-button type. Default is Off.
- HardScroll(boolean)
- specify wheter hardware scroll is used or not. Default is On. This is effective for VGA, VGAFM, J3100SX.
- BeepCounter(numeric)
- specify the length of beep sound in the unit of 1/100 sec. Default is 5.
- CursorInterval(numeric)
- specify the interval of cursor blinking in the unit of 1/10 sec. Default is 4. To stop the blinking, specify 0.
- SaveTime(numeric)
- specify the amount of time to start the screen saver in the unit of minutes. Default is 4.
- KanjiCursor(boolean)
- specify if wide cursor is used on Kanji characters, or ot. Default is On.
- CursorTop(numeric),CursorBottom(numeric)
- specify the size of cursor box using these two entries.
0 +--------+ | | |--------| <-- CursorTop |********| |********| |********| |********| |********| 15 +--------+ <-- CursorBottom
These are effective for VGA, VGAFM, and CGA drivers.
- BoxCursor(boolean)
- specify if the shape of cursor is box or under line. Default is Off. Effective for only J3100SX driver.
- SavePlane3(boolean)
- specify if the font data on 3rd page in VGA memory is saved. This is useful for Trident video cards. Default is Off. Effective for VGA, VGAFM drivers.
- VgaFontOffset(numeric)
- specify the offset value for VGA font. Default is 0. When the VGA fonts are used as ASCII alphanumeric font, there are some PCs the lower parts of characters are missing. In those circumstance, this entry can be used to adjust the position of displayed characters.
- Coding(string)
- specify the default font and the coding in 1bit. The
formats are:
-
SB font: Single Byte font - ISO8859-1,ISO8859-2,ISO8859-3,ISO8859-4,ISO8859-5, ISO8859-6,ISO8859-7,ISO8859-8,ISO8859-9, JISX0201.1976-0
-
DB font: Double Byte font - GB2312.1980-1,JISX0208.1983-0,KSC5601,BIG5
- StartupMessage(boolean)
- specify if the greeting message is shown at startup. Default is On.
Configuratino for High resolution screen.¶
When VGA or VGAFM is used as video driver, KON can use the wider space for text area with the fine-tuing at kon.cfg.- EntryName:
-
- Screen control parameters:
-
FILES¶
/etc/kon.cfg Configuratin fileSee Also¶
NOTE¶
- When text screen is in high resolution mode atthe start of Linux, KON can not work
successfully since the size of VGA font is
different from usual.
the first entry is used. The maximum length of one line
is 255 bytes.
AUTHORS¶
MANABE Takashi <manabe@papilio.tutics.tut.ac.jp> MAEDA Atusi <mad@nak.math.keio.ac.jp> KOMEDA Shinji <komeda@ics.es.osaka-u.ac.jp> YOSHIDA Kensyu <kensyu@rabbit.is.s.u-tokyo.ac.jp> obuk@MIX
September 5, 1996 | 4th Berkeley Distribution |