Added example of vidcontrol/kbdcontrol usage (russian screen/keyboard setup)
This commit is contained in:
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
18
share/examples/syscons/setrus
Executable 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 "[K"
|
||||
# Remap -5- to Esc[E.
|
||||
kbdcontrol -f 48 "[E"
|
||||
# Maximum key rate
|
||||
kbdcontrol -r fast
|
||||
# Blank after 5 min
|
||||
vidcontrol -t 300
|
||||
vidcontrol -s snake
|
Loading…
Reference in New Issue
Block a user