freebsd-skq/share/examples/syscons/setrus
1995-03-04 08:03:28 +00:00

18 lines
580 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
# Load KOI8-R screen mapping.
vidcontrol -l koi8-r2cp866
# Load Alternate Codes screen font.
vidcontrol -f 8x16 cp866b-8x16
vidcontrol -f 8x14 cp866-8x14
vidcontrol -f 8x8 cp866-8x8
# Install JCUKEN keyboard mapping.
kbdcontrol -l ru.koi8-r # Not needed for kernel compiled with RUKEYMAP option
# Remap Grey Delete to ESC [ ~
kbdcontrol -f 61 '[~'
# Maximum key rate
kbdcontrol -r fast
# Blank after 5 min
vidcontrol -t 300
# 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