Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!nntprelay.mathworks.com!news.mathworks.com!howland.erols.net!newsxfer.itd.umich.edu!newsrelay.iastate.edu!ng1.icn.state.ia.us!beethoven.iavalley.cc.ia.us!geoffrey From: geoffrey@beethoven.iavalley.cc.ia.us (geoffrey alexander) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: FreeBSD: Console setup Date: 6 Jun 97 17:42:36 GMT Organization: ICN News Server Lines: 54 Message-ID: <geoffrey.865618956@beethoven.iavalley.cc.ia.us> References: <33933152.D1A@nettipaja.clinet.fi> <5n0p74$5bl@ui-gate.utell.co.uk> <slrn5p99hd.1jg.ripley@nortobor.nostromo.in-berlin.de> <5n8nfe$20d@ui-gate.utell.co.uk> NNTP-Posting-Host: beethoven.iavalley.cc.ia.us X-Newsreader: NN version 6.5.0 #1 (NOV) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42536 brian@shift.utell.net (Brian Somers) writes: >In article <slrn5p99hd.1jg.ripley@nortobor.nostromo.in-berlin.de>, > ripley@nostromo.in-berlin.de (H. Eckert) writes: >> brian@shift.utell.net (Brian Somers): >>> In article <33933152.D1A@nettipaja.clinet.fi>, >>> Joel Yliluoma <bisqwit@nettipaja.clinet.fi> writes: >>> > How can I get rid of the keyhole-80x25 console mode? >>> >>> Have a look in /etc/sysconfig (or /etc/rc.conf in 2.2.2). >> >> Do you imply that the settings executed in /etc/rc.i386 are >> early enough so they are inherited by all virtual console >> screens ? I can't see any code in it (with 2.2.1-RELEASE) >> to get the virtual consoles set to VGA_80x25 or some different >> value submitted by /etc/sysconfig. Is this enhanced with 2.2.2 ? >[.....] >This would be a nice bell/whistle - it's not in 2.2.2 AFAIK. Dave Bodenstab's tutorial on fonts at the FBSD website contains this info: 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 The command to actually switch the mode is vidcontrol(1): bash$ vidcontrol VGA_80x60 Various screen orientated programs, such as vi(1), must be able to determine the current screen dimensions. These can be set with 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: 1.Modify /etc/sysconfig as above 2.Add to /etc/rc.local: for tty in /dev/ttyv? do vidcontrol VGA_80x60 <$tty >/dev/null 2>&1 done 3.Add to /etc/profile: TTYNAME=asename \ty\` if expr "$TTYNAME" : 'ttyv' >/dev/null then stty crt rows 60 columns 80 fi ---- Geoff Alexander (thanks to Dave Bodenstab)