Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 1998 20:03:40 +0100 (CET)
From:      dada@sbox.tu-graz.ac.at
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   conf/9246: allscreens_flags in /etc/rc.conf not working properly
Message-ID:  <199812291903.UAA03276@localhost.tu-graz.ac.at>

next in thread | raw e-mail | index | archive | help

>Number:         9246
>Category:       conf
>Synopsis:       allscreens_flags in /etc/rc.conf not working properly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 30 09:10:02 PST 1998
>Last-Modified:
>Originator:     Martin Kammerhofer
>Organization:
Graz University of Technology
>Release:        FreeBSD 2.2.8-STABLE i386
>Environment:

FreeBSD 2.2.8-STABLE

>Description:

There is now a "vidcontrol all screens knob" in /etc/rc.conf for
setting vidcontrol modes for all /dev/vty* during bootup.
The way it is implemented in /etc/rc.i386 is buggy - it's not setting
colours as intended.

>How-To-Repeat:

Put the following line

allscreens_flags="-r yellow green -m on green black"	# mode for all screens

into /etc/rc.conf and reboot. (Make sure to have an up to date /etc/rc.i386.)

>Fix:
	
*** rc.i386~	Tue Dec 29 19:56:05 1998
--- rc.i386	Tue Dec 29 19:56:45 1998
***************
*** 110,116 ****
  	echo -n ' allscreens'
  	for ttyv in /dev/ttyv*
  	do
! 		vidcontrol <$ttyv ${allscreens_flags}
  	done
  fi
  echo '.'
--- 110,116 ----
  	echo -n ' allscreens'
  	for ttyv in /dev/ttyv*
  	do
! 		vidcontrol <$ttyv >$ttyv 2>&1 ${allscreens_flags}
  	done
  fi
  echo '.'
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812291903.UAA03276>