freebsd-dev/share/examples/syscons/setrus
1995-03-03 23:21:52 +00:00

17 lines
455 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
vidcontrol -s snake