Subject: RE: 'restorefont' for NetBSD 1.4.2 (i386)
To: 'Manuel Bouyer ' <bouyer@antioche.lip6.fr>
From: Jenkins, Graham K [IBM GSA] <Graham.K.Jenkins@team.telstra.com>
List: port-i386
Date: 06/12/2000 10:08:36
On Sun, Jun 11, 2000 at 01:09:38PM +1000, Jenkins, Graham K [IBM GSA]
wrote:
> Does anybody know where I can obtain 'restorefont'?
> It is part of the 'svgalib' package available on some
> Linux distributions.

What is this program supposed to do ?
NetBSD is not linux, and doesn't have thinks like svgalib.

'restorefont' is used to save console fonts to a file before
starting X, and then to restore them from that file after exit
from X:
  restorefont -w /tmp/cons
  startx
  restorefont -r /tmp/cons

This is necessary when using some video cards (e.g. Cirrus 5428!)
because XFree86 corrupts card memory content (see README.cirrus).

Of course one should be able to do this with:
  startx
  cd /usr/share/pcvt/fonts
  wsfontload -h 8 -e ibm vt220h.808  (or similar)

But it doesn't work - and it can only be executed 4 or 5 times - after
which it says 'no room on device'.

Or one might be able to use 'loadfont' with a kernel compiled for 'pcvt';
but I have just read that 'pcvt' is to be discontinued!

Manuel, I look forward to receiving your suggestions ..

G.