Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 1996 19:33:09 -0600 (CST)
From:      James Hu <jxh@cs.wustl.edu>
To:        Brian                          <brianmcg@mcs.net>
Cc:        questions@freebsd.org
Subject:   50 line console
Message-ID:  <199610280133.TAA15585@plethora.cs.wustl.edu>
In-Reply-To: <199610272224.QAA10573@Jupiter.Mcs.Net>
References:  <199610272224.QAA10573@Jupiter.Mcs.Net>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian  <brianmcg@mcs.net> writes:
> I was surprised not to find this in the FAQ: How does one make a
> console screen with 50 or more lines?  I see that cons50 and cons60
> exist, so I would assume that there is a corresponding configuration
> for the display.

This is what I do, which was put together from various suggestions I
found on the newsgroup:

In /etc/sysconfig:

replace: font8x8=NO
with: font8x8=iso-8x8

In /etc/ttys:

replace: ttyv1 "/usr/libexec/getty Pc" cons25  off secure
with: ttyv1 "/usr/libexec/gettywrap v1 /usr/libexec/getty Pc" cons50 on secure

(repeat for ttyv2 if desired)

Create /usr/libexec/gettywrap:

#!/bin/sh
#
/usr/sbin/vidcontrol </dev/tty$1-f font8x8
/usr/sbin/vidcontrol </dev/tty$1 VGA_80x50
shift 1
exec $*

-- James



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