From owner-freebsd-questions Wed Oct 18 17:17:46 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA03598 for questions-outgoing; Wed, 18 Oct 1995 17:17:46 -0700 Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA03593 for ; Wed, 18 Oct 1995 17:17:44 -0700 Received: from io.org (root@io.org [142.77.70.2]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id RAA28569 for ; Wed, 18 Oct 1995 17:16:37 -0700 Received: from flinch.io.org (flinch.io.org [198.133.36.153]) by io.org (8.6.12/8.6.12) with SMTP id UAA23996; Wed, 18 Oct 1995 20:16:06 -0400 Date: Wed, 18 Oct 1995 20:16:14 -0400 (EDT) From: Brian Tao To: Scott Blachowicz cc: freebsd-questions@freebsd.org Subject: Re: cons25 being default terminal mode... Can that be changed? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk 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 System Administrator, Internex Online Inc. "Though this be madness, yet there is method in't"