FreeBSD Handbook : Localization : Russian Language (KOI8-R encoding) : Console Setup
Previous: Russian Language (KOI8-R encoding)
Next: Locale Setup

13.1.1. Console Setup

  1. Add following line to your kernel configuration file:
    options         "SC_MOUSE_CHAR=0x03"
    
    to move character codes used for mouse cursor off KOI8-R pseudographics range.
  2. Russian console entry in /etc/rc.conf should looks like
    keymap=ru.koi8-r
    keychange="61 ^[[K"
    scrnmap=koi8-r2cp866
    font8x16=cp866b-8x16
    font8x14=cp866-8x14
    font8x8=cp866-8x8
    

    NOTE: ^[ means that real ESC character must be entered into /etc/rc.conf, not just ^[ string.

    This tuning means KOI8-R keyboard with Alternative screen font mapped to KOI8-R encoding to preserve pseudographics, Gray Delete key remapped to match Russian termcap(5) entry for FreeBSD console.

    RUS/LAT switch will be CapsLock. Old CapsLock function still available via Shift+CapsLock. CapsLock LED will indicate RUS mode, not CapsLock mode.

  3. For each ttyv? entry in /etc/ttys change terminal type from cons25 to cons25r, i.e. each entry should looks like
    ttyv0	"/usr/libexec/getty Pc"		cons25r	on  secure
    


FreeBSD Handbook : Localization : Russian Language (KOI8-R encoding) : Console Setup
Previous: Russian Language (KOI8-R encoding)
Next: Locale Setup