Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!xlink.net!gmd.de!mururoa!veit From: veit@mururoa.gmd.de (Holger Veit) Subject: Re: Some questions/problems with codrv Message-ID: <1993Jul13.082814.7111@gmd.de> Sender: veit@mururoa (Holger Veit) Nntp-Posting-Host: mururoa Organization: GMD - German National Research Center for Computer Science References: <CA20Ez.Dy1@obiwan.uucp> Date: Tue, 13 Jul 1993 08:28:14 GMT Lines: 102 In article <CA20Ez.Dy1@obiwan.uucp>, bob@obiwan.uucp (Bob Willcox) writes: |> Hi, |> |> I just recently converted to codrv (from syscons) and have run into |> some problems and questions. Note that this is on a system with a |> monochrom VGA display. |> |> 1. I cannot switch to ttyv6 with the F7 key. Codrv seems to ignore |> the Ctl-Alt-F7 hot key. Hitting Ctl-Alt-F7 appears to result |> in the same escape sequence that I get when hitting only |> Ctl-F7. This is a bug. Below there is an "official" (by me, the author) fix for this which corrects this. This bug will be corrected in an official version (e.g. a patchkit) later, so keep you original file after patching. |> |> 2. When in caps lock, the shift key does not result in lower case |> characters. I am not certain whether this is a bug or a |> feature :-) What you mean is that the the shift key is not a toggle function. This can be implemented this way or that way. In codrv the capslock/shift functionality was implemented after a mechanic typewriter, i.e. the caps "lock" is really a locking key. On the Sun/4 I am just posting from, the behavior of the caps lock is the same. Since codrv has already become quite complex in this area, I am thinking over about yet another keycap flag that turns on the toggle behavior. Maybe in next bugfix. |> |> 3. With my monochrom VGA monitor, things that should be highlighted |> (they were reverse video with syscons) are not. If I turn the |> intensity way up I can see a faintly lighter background. You should be able to change this behavior by changing the #define DEF_SO_M_AT .... line in co_hdr.h. |> |> Any pointers or help would be greatly appreciated. Thanks, |> -- |> Bob Willcox ...!{rutgers|ames}!cs.utexas.edu!uudell!obiwan!bob |> Phone: 512 258-4224 (home) |> 512 838-3914 (work) Dr. Holger Veit | INTERNET: Holger.Veit@gmd.de | | / GMD-SET German National Research | Phone: (+49) 2241 14 2448 |__| / Center for Computer Science | Fax: (+49) 2241 14 2342 | | / P.O. Box 13 16 | Had a nightmare yesterday: | |/ Schloss Birlinghoven | My system started up with 53731 St. Augustin, Germany | ... Booting vmunix.el ... ==================CUT HERE================= This is official patch 1 for codrv-0.1.2-110593.tar.z. This patch may be already integrated in later versions. *** co_kbd.c.pk024 Mon May 10 14:07:23 1993 --- co_kbd.c Sun Jun 27 07:47:33 1993 *************** *** 523,528 **** --- 523,529 ---- #define KMASK 0xFF #define BREAKKEY 0x80 #define PRINTKEY 0x7C + #define MAXSCAN 0x84 /* This one is for AT scan codes (preferred) */ static char scantokey[] = { *************** *** 576,581 **** --- 577,583 ---- #define KMASK 0x7F #define BREAKKEY 0x7F #define PRINTKEY 0x7E + #define MAXSCAN 0x80 static char scantokey[] = { /* -0- -1- -2- -3- -4- -5- -6- -7- This layout is valid for US only */ *************** *** 629,636 **** static int key2scan(int keynum) { int i = 0; ! while (i<=MAXKEYNUM && keynum != scantokey[i]) i++; ! return i==MAXKEYNUM ? -1 : i; } #define KBD_ALPHA KBD_ASCII|KBD_DOCAPS --- 631,638 ---- static int key2scan(int keynum) { int i = 0; ! while (i<MAXSCAN && keynum != scantokey[i]) i++; ! return i>=MAXSCAN ? -1 : i; } #define KBD_ALPHA KBD_ASCII|KBD_DOCAPS =======END OF FILE==================