Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 1995 20:16:14 -0400 (EDT)
From:      Brian Tao <taob@io.org>
To:        Scott Blachowicz <scott@statsci.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cons25 being default terminal mode... Can that be changed? 
Message-ID:  <Pine.BSF.3.91.951018200438.207o-100000@flinch.io.org>
In-Reply-To: <m0t5iNd-000r3sC@main.statsci.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Oct 1995, Scott Blachowicz wrote:
> 
> Hmmm...how do you get it to default to 50 line mode? I thought it came
> up with 25 lines by default (so I've got this loop in my /etc/rc.local
> that goes thru my vt's setting them to 50 [...]

    That's how I do it here.  The setup goes by so quickly (even for 8
vty's), you'll hardly notice it.  My /etc/rc.i386 script loads in the
80x50 font (if it exists), scans /dev for virtual consoles, sets each
one to 50 lines and a full-height block cursor, then drops me into
ttyv1.  I reserve ttyv0 for console messages.


#!/bin/sh -
#
#	$Id: rc.i386,v 1.9.4.1 1995/07/27 14:07:03 rgrimes Exp $
#	Do i386 specific processing
#

echo -n 'enabling FreeBSD/i386 options:'
echo -n ' pcvt'

if [ -s /usr/share/misc/pcvtfonts/vt220l.808 -a \
     -s /usr/share/misc/pcvtfonts/vt220h.808 ] ; then
	loadfont -c 6 -f /usr/share/misc/pcvtfonts/vt220l.808
	loadfont -c 7 -f /usr/share/misc/pcvtfonts/vt220h.808
	for vty in /dev/ttyv* ; do
		scon -d $vty -s 50
		cursor -d $vty -s0 -e16
	done
fi
scon -c 1

echo '.'


--
Brian Tao <taob@io.org>
System Administrator, Internex Online Inc.
"Though this be madness, yet there is method in't"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951018200438.207o-100000>