Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!swrinde!newsfeed.internetmci.com!EU.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!not-for-mail From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: click drag hang on X Date: 18 Nov 1995 14:27:08 +0100 Organization: Private FreeBSD site, Dresden. Lines: 59 Message-ID: <48kmvc$lae@uriah.heep.sax.de> References: <Pine.SOL.3.91.951117075157.22387A-100000@mail> NNTP-Posting-Host: uriah.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Jim Spath (Webmaster Jim) <jspath@mail.bcpl.lib.md.us> wrote: >I have the FreeBSD 2.0.5 CDROM installed on a 486dx2/80 with a trident >tgui9440 video card. The only X server I could get running was the VGA16, >so some programs fail to find enough colors. The main bug now is simple Good news for you: the TVGA9440 driver is currently in beta-test for XFree86/tm. >things like bitmap not properly dragging with the mouse. I can click, >drag and highlight text in an xterm window, but the options on bitmap do >not highlight, and the pixels are not switching colors when I click on >them. A bug in the VGA16 server or my mouse or what? TIA! Seems that there are not enough color cells for highlighting. Try running it with a StaticColor visual instead of PseudoColor. This would mean that the server knows only about its predefined 16 colors, and the applications cannot use the palette registers. All colors will be approximated then. Perhaps this looks better. This is the appropriate section from XF86Config for my notebook: # The 16-colour VGA server Section "Screen" Driver "vga16" Device "Generic VGA" Monitor "LCD" Subsection "Display" Visual "StaticGray" Modes "640x480" ViewPort 0 0 EndSubsection EndSection You should replace the "StaticGray" by "StaticColor", and use whatever Device and Monitor strings are appropriate for you. Then again, perhaps "StaticGray" might also be an option for you? Err, StaticGray was known to be broken in XFree86 3.1.1's VGA16 server, here's the patch: --- xc/programs/Xserver/hw/xfree86/vga16/ibm/ppcRslvC.c.orig Sun Jul 30 15:28:17 1995 +++ xc/programs/Xserver/hw/xfree86/vga16/ibm/ppcRslvC.c Mon Sep 18 07:16:39 1995 @@ -130,6 +130,7 @@ pmap->red[i].co.local.green = (staticgraypalette[i][1]); pmap->red[i].co.local.blue = (staticgraypalette[i][2]); } + break; case StaticColor: for ( i = 0 ; i < 16 ; i++ ) { pmap->red[i].co.local.red = (defstaticpalette[i][0]); -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)