diff options
author | ache <ache@FreeBSD.org> | 1994-09-12 16:02:06 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-09-12 16:02:06 +0000 |
commit | 83a17a87faaacb2f684929efd0ab49d5db229f44 (patch) | |
tree | 4fb5282ac717edaa8f6ca345fae984c94f5939f6 /share/examples | |
parent | 18160fd427f820bba05c6378a951b10bbee589ce (diff) | |
download | FreeBSD-src-83a17a87faaacb2f684929efd0ab49d5db229f44.zip FreeBSD-src-83a17a87faaacb2f684929efd0ab49d5db229f44.tar.gz |
Added example of vidcontrol/kbdcontrol usage (russian screen/keyboard setup)
Diffstat (limited to 'share/examples')
-rwxr-xr-x | share/examples/syscons/setrus | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/share/examples/syscons/setrus b/share/examples/syscons/setrus new file mode 100755 index 0000000..a18f92b --- /dev/null +++ b/share/examples/syscons/setrus @@ -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 |