mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Implement vidcontrol knob which allows to set passed flags/modes
for all virtual screens (via for loop)
This commit is contained in:
parent
88edbb05c3
commit
1d060622ba
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35004
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.i386,v 1.31 1997/09/14 12:16:36 jkh Exp $
|
||||
# $Id: rc.i386,v 1.32 1998/03/07 09:02:08 jkh Exp $
|
||||
# Do i386 specific processing
|
||||
#
|
||||
|
||||
@ -104,6 +104,15 @@ if [ "X${moused_enable}" = X"YES" ] ; then
|
||||
moused ${moused_flags} -p ${moused_port} -t ${moused_type}
|
||||
vidcontrol <${viddev} -m on
|
||||
fi
|
||||
|
||||
# set this mode for all screens
|
||||
if [ "X${allscreens_mode}" != X -a "X${allscreens_mode}" != X"NO" ] ; then
|
||||
echo -n ' allscreens'
|
||||
for ttyv in /dev/ttyv*
|
||||
do
|
||||
vidcontrol <$ttyv ${allscreens_mode}
|
||||
done
|
||||
fi
|
||||
echo '.'
|
||||
|
||||
# interrupts for /dev/random device
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.i386,v 1.31 1997/09/14 12:16:36 jkh Exp $
|
||||
# $Id: rc.i386,v 1.32 1998/03/07 09:02:08 jkh Exp $
|
||||
# Do i386 specific processing
|
||||
#
|
||||
|
||||
@ -104,6 +104,15 @@ if [ "X${moused_enable}" = X"YES" ] ; then
|
||||
moused ${moused_flags} -p ${moused_port} -t ${moused_type}
|
||||
vidcontrol <${viddev} -m on
|
||||
fi
|
||||
|
||||
# set this mode for all screens
|
||||
if [ "X${allscreens_mode}" != X -a "X${allscreens_mode}" != X"NO" ] ; then
|
||||
echo -n ' allscreens'
|
||||
for ttyv in /dev/ttyv*
|
||||
do
|
||||
vidcontrol <$ttyv ${allscreens_mode}
|
||||
done
|
||||
fi
|
||||
echo '.'
|
||||
|
||||
# interrupts for /dev/random device
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
# All arguments must be in double or single quotes.
|
||||
#
|
||||
# $Id: rc.conf,v 1.40 1998/03/07 09:01:59 jkh Exp $
|
||||
# $Id: rc.conf,v 1.41 1998/03/09 08:50:27 jkh Exp $
|
||||
|
||||
##############################################################
|
||||
### Important initial Boot-time options #####################
|
||||
@ -124,6 +124,7 @@ moused_enable="NO" # Run the mouse daemon.
|
||||
moused_type="auto" # See man page for rc.conf(5) for available settings.
|
||||
moused_port="/dev/cuaa0" # Set to your mouse port.
|
||||
moused_flags="" # Any additional flags to moused.
|
||||
allscreens_mode="NO" # Set this vidcontrol flags for all virtual screens
|
||||
|
||||
|
||||
##############################################################
|
||||
|
Loading…
Reference in New Issue
Block a user