New option isdn_screenflags to set the syscons screen params for isdnd,

plus documentation.

Submitted by:	Alexander Leidinger <Alexander@Leidinger.net>
Not objected to by:	hm
MFC after:	1 week
This commit is contained in:
Jens Schweikhardt 2001-05-14 20:51:10 +00:00
parent b97809a770
commit b2be78381d
4 changed files with 36 additions and 0 deletions

View File

@ -210,6 +210,7 @@ isdn_enable="NO" # Enable the ISDN subsystem (or NO).
isdn_fsdev="/dev/ttyv4" # Output device for fullscreen mode (or NO for daemon mode).
isdn_flags="-dn -d0x1f9" # Flags for isdnd
isdn_ttype="cons25" # terminal type for fullscreen mode
isdn_screenflags="NO" # screenflags for ${isdn_fsdev}
isdn_trace="NO" # Enable the ISDN trace subsystem (or NO).
isdn_traceflags="-f /var/tmp/isdntrace0" # Flags for isdntrace

View File

@ -53,6 +53,18 @@ case ${isdn_enable} in
/usr/sbin/isdnd ${isdn_flags}
;;
*)
# Change vidmode of ${isdn_fsdev}
#
case ${isdn_screenflags} in
[Nn][Oo])
;;
*)
if [ -x /usr/sbin/vidcontrol ]; then
/usr/sbin/vidcontrol < ${isdn_fsdev} > ${isdn_fsdev} 2>&1 ${isdn_screenflags}
fi
;;
esac
/usr/sbin/isdnd ${isdn_flags} -f -r ${isdn_fsdev} -t ${isdn_ttype}
;;
esac

View File

@ -53,6 +53,18 @@ case ${isdn_enable} in
/usr/sbin/isdnd ${isdn_flags}
;;
*)
# Change vidmode of ${isdn_fsdev}
#
case ${isdn_screenflags} in
[Nn][Oo])
;;
*)
if [ -x /usr/sbin/vidcontrol ]; then
/usr/sbin/vidcontrol < ${isdn_fsdev} > ${isdn_fsdev} 2>&1 ${isdn_screenflags}
fi
;;
esac
/usr/sbin/isdnd ${isdn_flags} -f -r ${isdn_fsdev} -t ${isdn_ttype}
;;
esac

View File

@ -1672,6 +1672,16 @@ by default.
The terminal type of the output device when
.Xr idsnd 8
operates in fullscreen mode.
.It Va isdn_screenflags
.Pq Vt str
Set to
.Ar NO
by default.
The video mode for fullscreen mode (only for
.Xr syscons 4
console driver, see
.Xr vidcontrol 1
for valid modes).
.It Va isdn_fsdev
.Pq Vt str
Set to
@ -1750,6 +1760,7 @@ Flags for
.Xr swapon 8 ,
.Xr tickadj 8 ,
.Xr timed 8 ,
.Xr vidcontrol 1 ,
.Xr vinum 8 ,
.Xr xntpd 8 ,
.Xr xtend 8 ,