*BSD News Article 9570


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA6013 ; Sun, 03 Jan 93 04:55:31 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uunet!pipex!bnr.co.uk!uknet!edcastle!aiai!richard
From: richard@aiai.ed.ac.uk (Richard Tobin)
Newsgroups: comp.unix.bsd
Subject: X font restoration under 386BSD
Message-ID: <8092@skye.ed.ac.uk>
Date: 5 Jan 93 18:44:25 GMT
Sender: news@aiai.ed.ac.uk
Organization: HCRC, University of Edinburgh
Lines: 21

I'm running X386 under 386BSD 0.1 on a machine with a Genoa 6400 svga
card.

When X exits, the screen is not correctly restored.  It appears that
the font and screen contents are not being restored to the values
saved when X started up.  Closer examination reveals that only every
fourth byte of the saved font is being restored - those bytes whose
offset is equal to 2 mod 4 are restored, the rest are zero.

The code in X386 looks correct; if I write a program that uses similar
code to save the font before entering X and restore it after X exits,
it seems to work.

Can anyone explain this?  Is anyone using a Genoa svga under 386BSD
without this problem?

-- Richard
-- 
Richard Tobin,
Human Communication Research Centre,                       R.Tobin@ed.ac.uk
Edinburgh University.