Subject: Re: pcvt console size (other than 25)
To: Andrew Brown <codewarrior@daemon.org>
From: Rick Byers <rickb@iaw.on.ca>
List: port-i386
Date: 06/19/1997 14:30:57
You have to load the fonts, change the cursor size and tell scon to use
that mode.  Here is a little script I wrote to toggle 50 line mode:

loadfont -c 1 -f /usr/share/misc/pcvtfonts/vt220l.808
lines=`scon | grep "^Lines" | sed 's/^.*= //'`
if [ "$lines" -eq 50 ]; then   
        scon -s 25
        cursor -s 14 -e 15
else
        scon -s 50
        cursor -s 6 -e 7
fi

Hope this helps,
	Rick

On Wed, 18 Jun 1997, Andrew Brown wrote:

> i've got linux's lilo offering me dos, netbsd, and linux as boot
> options.  if i turn the machine on and boot to dos, i can set the
> screen to 50 lines.  if i then reboot via int 17 (it doesn't clear the
> screen or count ram or anything, just gives me the lilo prompt), i can
> immediately tell lilo to boot netbsd for me.  it works fine.  the
> weird thing is, i get left in 50 line mode, with the top half of the
> screen functioning as the console, and the bottom half working as a
> partial copy of the top half (with sporadic, seemingly random updates,
> and switching vt's is even stranger).  using scon i can then switch to
> and from 132 columns.  however, scon cannot set my linecount to
> anything other than 25.  switching vt's at this point makes the bottom
> half look even more screwy than before.  (linux is a little more
> "well-behaved" about this).
> 
> how can i tell scon that linecounts other than 25 (eg, 43 or 50) do
> actually work?  it says it can switch to them in the help but a)
> doesn't seem to be able to and b) even when in 50 line mode (as above)
> it still doesn't change from 25.  running my console in 132x50 would
> be kinda neat.
> 
> -- 
> |-----< "CODE WARRIOR" >-----|
> andrew@echonyc.com (TheMan)        * "ah!  i see you have the internet
> codewarrior@daemon.org                               that goes *ping*!"
> warfare@graffiti.com      * "information is power -- share the wealth."
> 

=========================================================================
Rick Byers                                      Internet Access Worldwide
rickb@iaw.on.ca                                System Admin, Tech Support
Welland, Ontario, Canada                                    (905)714-1400
http://www.iaw.on.ca/rickb/                         http://www.iaw.on.ca/