Subject: Re: pcvt console size (other than 25)
To: Rick Byers <rickb@iaw.on.ca>
From: Andrew Brown <codewarrior@daemon.org>
List: port-i386
Date: 06/19/1997 14:34:34
>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:
yes, i see that now. i was confused because i already *had* a 50 line
font on the screen. now, if someone could only explain to me the
reason for having eight font slots under vga but only four possible
line counts... maybe i need to hack on pcvt and scon so that i can
pick a fontslot to display, and then maybe also add something so i can
set the typematic rate and delay...
>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
i, on the other hand, have this one.
#!/bin/sh
case "$1" in
25)
loadfont -c 0 -f /usr/share/misc/pcvtfonts/vt220l.816 ;
scon -s 25 ;
cursor -s 14 -e 15 ;;
28)
loadfont -c 1 -f /usr/share/misc/pcvtfonts/vt220l.814 ;
scon -s 28 ;
cursor -s 12 -e 13 ;;
40)
loadfont -c 2 -f /usr/share/misc/pcvtfonts/vt220l.810 ;
scon -s 40 ;
cursor -s 8 -e 9 ;;
50)
loadfont -c 3 -f /usr/share/misc/pcvtfonts/vt220l.808 ;
scon -s 50 ;
cursor -s 6 -e 7 ;;
*)
echo "what?" ;;
esac
--
|-----< "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."