*BSD News Article 21152


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:5196 comp.os.386bsd.development:1221
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!nic.csu.net!130.150.102.20!oleg
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.development
Subject: Tunning pccons driver
Message-ID: <OLEG.93Sep18151859@gd.cs.CSUFresno.EDU>
From: oleg@gd.cs.CSUFresno.EDU (Oleg Kibirev)
Date: 18 Sep 1993 22:18:54 GMT
Distribution: world
Organization: Computer Science Departement of California State University inFresno
Nntp-Posting-Host: gd.cs.csufresno.edu
Lines: 62


Did anyone patch pccons.c to use 80x50 or 132x50 text mode? If not, will it
be enough to change #define's in pccons.c and set video mode in wdboot,
or are constants hard-coded somewhere else?

Also, how come Caps Lock doesn't work under XFree 1.3? I am using 
pccons.c from standard NetBSD 0.8 distribution.

Please send me e-mail and I'll post a summary if I get any answers.

Thanks!


I already patched pccons.c to set higher keyboard 
typematic rate. Here is a diff:

      O /
 ------X----------------------------------------
      O \

*** 1.1	1993/09/18 21:01:47
--- pccons.c	1993/09/18 21:20:12
***************
*** 55,60 ****
--- 55,70 ----
  static char rcsid[] = "/b/source/CVS/src/sys.386bsd/i386/isa/pccons.c,v 1.6 1993/04/11 10:16:54 deraadt Exp";
  
  /*
+  * $Id: pccons.c,v 1.2 1993/09/18 21:19:41 oleg Exp $
+  *
+  * $Log: pccons.c,v $
+  * Revision 1.2  1993/09/18  21:19:41  oleg
+  * Set faster typematic rate and delay
+  *
+  */
+ 
+ 
+ /*
   * code to work keyboard & display for PC-style console
   */
  #include "param.h"
***************
*** 272,277 ****
--- 282,296 ----
  			break;
  		}
  	}
+ 
+ 	/* Typematic rate and delay */
+ 
+ 	kbd_cmd(0xF3);
+ 	kbd_response();
+ 	kbd_cmd(0);
+ 	while (kbd_response() >= 0);
+ 
+ 	printf("keyboard typematic rate = 30 delay = 250\n");
  
  	return (16);
  }
--

							Oleg