mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Added example of vidcontrol/kbdcontrol usage (russian screen/keyboard setup)
This commit is contained in:
parent
078aaea2f1
commit
3bf56f5e44
1 changed files with 18 additions and 0 deletions
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 a new issue