freebsd-dev/share/examples/syscons/setrus

18 lines
580 B
Plaintext
Raw Normal View History

#!/bin/sh
# Load KOI8-R screen mapping.
1994-09-25 02:48:49 +00:00
vidcontrol -l koi8-r2cp866
# Load Alternate Codes screen font.
1994-09-25 02:48:49 +00:00
vidcontrol -f 8x16 cp866b-8x16
vidcontrol -f 8x14 cp866-8x14
vidcontrol -f 8x8 cp866-8x8
# Install JCUKEN keyboard mapping.
1994-09-25 02:48:49 +00:00
kbdcontrol -l ru.koi8-r # Not needed for kernel compiled with RUKEYMAP option
1995-03-03 23:21:52 +00:00
# Remap Grey Delete to ESC [ ~
kbdcontrol -f 61 '[~'
# Maximum key rate
kbdcontrol -r fast
# Blank after 5 min
vidcontrol -t 300
1995-03-04 08:03:28 +00:00
# Syscons screen saver
(modstat | grep -q _saver || modload -u -o /tmp/snake_saver_mod -e saver_init -q /lkm/snake_saver_mod.o) > /dev/null 2>&1