Added example of vidcontrol/kbdcontrol usage (russian screen/keyboard setup)

This commit is contained in:
Andrey A. Chernov 1994-09-12 16:02:06 +00:00
parent 078aaea2f1
commit 3bf56f5e44
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2694

18
share/examples/syscons/setrus Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
# Load KOI8-R screen mapping.
vidcontrol -l koi8-r2alt
# Load Alternate Codes screen font.
vidcontrol -f 8x16 altb-8x16
vidcontrol -f 8x14 alt-8x14
vidcontrol -f 8x8 alt-8x8
# Install JCUKEN keyboard mapping.
# kbdcontrol -l ru.koi8-r # Not needed for kernel compiled with RUKEYMAP option
# Remap Del to Esc[K.
kbdcontrol -f 54 ""
# Remap -5- to Esc[E.
kbdcontrol -f 48 ""
# Maximum key rate
kbdcontrol -r fast
# Blank after 5 min
vidcontrol -t 300
vidcontrol -s snake