Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 1999 00:00:02 -0800 (PST)
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/15066: ``allscreens_flags'' in rc.conf not documented; produces unexpected results 
Message-ID:  <199911280800.AAA51543@freefall.freebsd.org>

index | next in thread | raw e-mail

The following reply was made to PR misc/15066; it has been noted by GNATS.

From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To: andyf@speednet.com.au
Cc: freebsd-gnats-submit@freebsd.org,
	yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject: Re: misc/15066: ``allscreens_flags'' in rc.conf not documented; produces
	 unexpected results 
Date: Sun, 28 Nov 1999 16:57:41 +0900

 >>Number:         15066
 >>Category:       misc
 >>Synopsis:       ``allscreens_flags'' in rc.conf not documented; produces unex
 >pected results
 [...]
 >>Originator:     Andy Farkas
 >>Release:        3.3-STABLE, 4.0-CURRENT
 >>Organization:
 >Speednet Communications
 >>Environment:
 >>Description:
 >Firstly, ``allscreens_flags'' is not documented in rc.conf(5).
 >
 >Secondly, with the following options set in rc.conf:
 >
 >  font8x8="iso-8x8.fnt"
 >  allscreens_flags="-r black green 80x60 green black"
 >
 >all ttyv's switch to 80x60 mode, but only ttyv0 gets the colour changed.
 >
 >>How-To-Repeat:
 >Add the above mentioned ``font8x8'' and ``allscreens_flags'' to your
 >rc.conf file.  Reboot, then notice only ttyv0 is green.
 >
 >>Fix:
 >/etc/rc.i386 looks like it attempts to do the right thing with regards
 >to applying vidcontrol to /dev/ttyv*, but I guess the redirection may
 >have something to do with it.
 
 The following patch to /etc/rc.i386 should fix it.  
 
 Kazu
 
 <<The patch for -CURRENT>>
 
 Index: rc.i386
 ===================================================================
 RCS file: /src/CVS/src/etc/etc.i386/rc.i386,v
 retrieving revision 1.47
 diff -u -r1.47 rc.i386
 --- rc.i386	1999/09/15 11:17:59	1.47
 +++ rc.i386	1999/11/28 07:57:44
 @@ -204,7 +204,7 @@
  if [ -n "${allscreens_flags}" ]; then
  	echo -n ' allscreens'
  	for ttyv in /dev/ttyv*; do
 -		vidcontrol < ${ttyv} ${allscreens_flags}
 +		vidcontrol < ${ttyv} ${allscreens_flags} > ${ttyv} 2>&1
  	done
  fi
  
 
 
 
 <<The patch for -STABLE>>
 
 Index: rc.i386
 ===================================================================
 RCS file: /src/CVS/src/etc/etc.i386/rc.i386,v
 retrieving revision 1.37.2.5
 diff -u -r1.37.2.5 rc.i386
 --- rc.i386	1999/09/15 17:43:08	1.37.2.5
 +++ rc.i386	1999/11/28 07:59:28
 @@ -116,7 +116,7 @@
  	echo -n ' allscreens'
  	for ttyv in /dev/ttyv*
  	do
 -		vidcontrol <$ttyv ${allscreens_flags}
 +		vidcontrol <$ttyv ${allscreens_flags} >$ttyv 2>&1
  	done
  fi
  echo '.'
 
 
 
 
 


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



help

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