From owner-freebsd-doc Thu Jun 1 12:30: 9 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DB3F037BE03 for ; Thu, 1 Jun 2000 12:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA26461; Thu, 1 Jun 2000 12:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mta02-svc.server.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by hub.freebsd.org (Postfix) with ESMTP id CA1C137B8D5 for ; Thu, 1 Jun 2000 12:21:46 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.253.86.40]) by mta02-svc.server.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000601202125.QDLL10065.mta02-svc.server.ntlworld.com@parish.my.domain> for ; Thu, 1 Jun 2000 20:21:25 +0000 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id UAA00802 for FreeBSD-gnats-submit@freebsd.org; Thu, 1 Jun 2000 20:21:36 +0100 (BST) (envelope-from mark) Message-Id: <20000601202135.E232@parish> Date: Thu, 01 Jun 2000 16:06:50 +0100 From: Mark Ovens To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/18954: [PATCH] Bring the Fonts tutorial up to date Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 18954 >Category: docs >Synopsis: [PATCH] Bring the Fonts tutorial up to date >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 01 12:30:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Mark Ovens >Release: FreeBSD 4.0-STABLE i386 >Organization: >Environment: >Description: Due to changes in FreeBSD configuration the section dealing with setting the console to 60 lines is now incorrect. >How-To-Repeat: Read it :) >Fix: *** article.sgml.orig Sat May 27 19:14:00 2000 --- article.sgml Sat May 27 20:24:25 2000 *************** *** 22,27 **** --- 22,32 ---- and I would welcome being corrected. --> + +
Fonts and FreeBSD *************** *** 219,231 **** Setting a virtual console to 80x60 line mode ! First, a 8x8 font must be loaded. ! /etc/sysconfig should contain the ! lines: ! # Choose font 8x8 from /usr/share/syscons/fonts/* (or NO for default) ! font8x8=/usr/share/syscons/fonts/cp437-8x8.fnt --- 224,236 ---- Setting a virtual console to 80x60 line mode ! First, an 8x8 font must be loaded. To do this ! /etc/rc.conf should contain the ! line (change the font name to an appropriate one for ! your locale): ! font8x8="iso-8x8" # font 8x8 from /usr/share/syscons/fonts/* (or NO). *************** *** 238,288 **** Various screen orientated programs, such as &man.vi.1, must ! be able to determine the current screen dimensions. These can ! be set with &man.stty.1;: ! ! ! bash$ stty crt rows 60 columns 80 ! ! To make this more seamless, one can embed these commands in the startup scripts so it takes place when the system boots. ! One way to do this is: ! ! ! ! Modify /etc/sysconfig as ! above ! ! ! ! Add to /etc/rc.local: ! ! ! for tty in /dev/ttyv? ! do ! vidcontrol VGA_80x60 <$tty >/dev/null 2>&1 ! done ! ! ! ! ! ! Add to /etc/profile: ! TTYNAME=`basename \`tty\`` ! if expr "$TTYNAME" : 'ttyv' >/dev/null ! then ! stty crt rows 60 columns 80 ! fi - - ! References: &man.stty.1;, &man.vidcontrol.1;. --- 243,264 ---- Various screen orientated programs, such as &man.vi.1, must ! be able to determine the current screen dimensions. As this is ! achieved this through ioctl calls to the ! &man.syscons.4 driver they will correctly determine the new ! screen dimensions. To make this more seamless, one can embed these commands in the startup scripts so it takes place when the system boots. ! To do this is add this line to /etc/rc.conf ! ! allscreens_flags="VGA_80x60" # Set this vidcontrol mode for all virtual screens ! References: &man.rc.conf.5;, &man.vidcontrol.1;. *** man-refs.ent.orig Sat May 27 19:49:55 2000 --- man-refs.ent Sat May 27 20:01:27 2000 *************** *** 128,133 **** --- 128,134 ---- + *************** *** 144,149 **** --- 145,151 ---- + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message