mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 06:42:51 +01:00
Set desired cursor type for syscons
This commit is contained in:
parent
9b7f6efb67
commit
d9e7919357
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7621
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.i386,v 1.2 1995/03/30 09:39:51 ache Exp $
|
||||
# $Id: rc.i386,v 1.3 1995/04/01 12:55:33 ache Exp $
|
||||
# Do i386 specific processing
|
||||
#
|
||||
|
||||
@ -27,7 +27,7 @@ vidadjust=NO
|
||||
-o "X${keychange}" != X"NO" ] && kbdadjust=YES
|
||||
[ "X${scrnmap}" != X"NO" -o "X${font8x16}" != X"NO" -o \
|
||||
"X${font8x14}" != X"NO" -o "X${font8x8}" != X"NO" -o \
|
||||
"X${blanktime}" != X"NO" ] && vidadjust=YES
|
||||
"X${blanktime}" != X"NO" -o "X${cursor}" != X"NO" ] && vidadjust=YES
|
||||
|
||||
[ "X${kbdadjust}" != X"NO" -o "X${vidadjust}" != X"NO" -o \
|
||||
"X${saver}" != X"NO" ] && { echo; echo "configuring syscons:"; }
|
||||
@ -60,6 +60,11 @@ fi
|
||||
|
||||
[ "X${vidadjust}" != X"NO" ] && echo -n ' [vidcontrol:'
|
||||
|
||||
# cursor type
|
||||
if [ "X${cursor}" != X"NO" ]; then
|
||||
echo -n ' cursor'; vidcontrol -c ${cursor}
|
||||
fi
|
||||
|
||||
# screen mapping
|
||||
if [ "X${scrnmap}" != X"NO" ]; then
|
||||
echo -n ' screen_map'; vidcontrol -l ${scrnmap}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.i386,v 1.2 1995/03/30 09:39:51 ache Exp $
|
||||
# $Id: rc.i386,v 1.3 1995/04/01 12:55:33 ache Exp $
|
||||
# Do i386 specific processing
|
||||
#
|
||||
|
||||
@ -27,7 +27,7 @@ vidadjust=NO
|
||||
-o "X${keychange}" != X"NO" ] && kbdadjust=YES
|
||||
[ "X${scrnmap}" != X"NO" -o "X${font8x16}" != X"NO" -o \
|
||||
"X${font8x14}" != X"NO" -o "X${font8x8}" != X"NO" -o \
|
||||
"X${blanktime}" != X"NO" ] && vidadjust=YES
|
||||
"X${blanktime}" != X"NO" -o "X${cursor}" != X"NO" ] && vidadjust=YES
|
||||
|
||||
[ "X${kbdadjust}" != X"NO" -o "X${vidadjust}" != X"NO" -o \
|
||||
"X${saver}" != X"NO" ] && { echo; echo "configuring syscons:"; }
|
||||
@ -60,6 +60,11 @@ fi
|
||||
|
||||
[ "X${vidadjust}" != X"NO" ] && echo -n ' [vidcontrol:'
|
||||
|
||||
# cursor type
|
||||
if [ "X${cursor}" != X"NO" ]; then
|
||||
echo -n ' cursor'; vidcontrol -c ${cursor}
|
||||
fi
|
||||
|
||||
# screen mapping
|
||||
if [ "X${scrnmap}" != X"NO" ]; then
|
||||
echo -n ' screen_map'; vidcontrol -l ${scrnmap}
|
||||
|
@ -4,7 +4,7 @@
|
||||
# This is sysconfig - a file full of useful variables that you can set
|
||||
# to change the default startup behavior of your system.
|
||||
#
|
||||
# $Id: sysconfig,v 1.7 1995/03/24 00:16:26 jkh Exp $
|
||||
# $Id: sysconfig,v 1.8 1995/03/30 00:01:09 ache Exp $
|
||||
|
||||
######################### Start Of Syscons Section #######################
|
||||
|
||||
@ -18,6 +18,9 @@ keyrate=NO
|
||||
# Syntax: "<funkey_number> <new_value> [<funkey_number> <new_value>]..."
|
||||
keychange=NO
|
||||
|
||||
# Desired cursor type {normal|blink|destructive}, NO if no change
|
||||
cursor=NO
|
||||
|
||||
# Choose screen map from /usr/share/syscons/scrnmaps/* (or NO for none)
|
||||
scrnmap=NO
|
||||
|
||||
@ -42,6 +45,7 @@ saver=NO
|
||||
# keymap=ru.koi8-r
|
||||
# keyrate=fast
|
||||
# keychange="61 [K"
|
||||
# cursor=destructive
|
||||
# scrnmap=koi8-r2cp866
|
||||
# font8x16=cp866b-8x16
|
||||
# font8x14=cp866-8x14
|
||||
|
Loading…
Reference in New Issue
Block a user