*BSD News Article 18382


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!darwin.sura.net!newsserver.jvnc.net!gmd.de!mururoa!veit
From: veit@mururoa.gmd.de (Holger Veit)
Subject: Re: Some questions/problems with codrv
Message-ID: <1993Jul14.120701.3169@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> <CA5H3H.42w@veda.is>
Date: Wed, 14 Jul 1993 12:07:01 GMT
Lines: 79

In article <CA5H3H.42w@veda.is>, adam@veda.is (Adam David) writes:
|> bob@obiwan.uucp (Bob Willcox) writes:
|> 
|> Also pressing any Ctl-Alt-F* combination while the corresponding virtual console
|> is already selected results in the ESC-[k to ESC-[v codes appearing (partially?)
|> on the display i.e. it ends up in the input buffer.

This is a problem which will be fixed soon.

|> 
|> >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.
|> 
|> All special effects didn't work any more for me. I thought this was because the
|> new pc3 termcap entry was missing a tc=pc at the end, but I might be wrong here.
|> --
|> adam@veda.is

The original version of codrv-0.1.2 (and already 0.1.1) shipped with a notice
that codrv uses an entry 'pc3n' (or 'pc3nc' for the Russian map) for termcap. 
But it should work with the standard 'pc3' as well.
It has already been reported in other postings that the patchkit messed around
a lot with the pc3 entry; the main problem was a difference between the version
installed from the bindist and the one from the etcdist. 
The following is the set of termcap entries I use, despite of what is in the
termcap file after pk-0.2.4. This may or may not be something that works
with syscons. Besides that: the emulation part of the attributes mainly follows
pccons here; if there are special effects in syscons for monochrome, modify
the codrv part for attributes (vga_setattributes()), and submit this as a change
to me; they are then (if useful) integrated in the next version for the
benefit of everybody. I have no time to scan all existing systems or drivers
for features that are useful; I have to rely on user input here (This holds
for any improvement like new modules, for instance; codrv was intended as
a flexible play ground).

==================
pc|ibmpc|ibm pc PC/IX:\
        :li#24:co#80:am:bs:bw:eo:\
        :cd=\E[J:ce=\E[K:cl=\Ec:cm=\E[%i%2;%2H:do=\E[B:ho=\E[;H:\
        :nd=\E[C:up=\E[A:so=\E[7m:se=\E[0m:us=\E[4m:ue=\E[0m:

pc3|ibmpc3|IBM PC 386BSD Console:\
        :ac=l\332q\304k\277x\263j\331m\300w\302u\264v\301t\303n\305:\
        :kb=^h:kh=\E[Y:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:\
        :li#25:sr=\E[T:sf=\E[S:tc=pc:

# use with Codrv <0.1.2
pc3x|Extended 386 functions:\
        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ic=\E[@:\
        :AL=\E[%dL:DL=\E[%dM:dl=\E[M:al=\E[L:tc=pc3:

# Codrv 0.1.2
pc3n|ibmpc3|386BSD Console:\
        :C2:Nf#16:Nb#8:Cf=\E[3;%p2%{16}%*%p1%+%dx:\
        :gs=:ge=:g2=\315\272\310\312\274\314\316\271\311\313\273:cu=\333:\
        :f1=\E[M:f2=\E[N:f3=\E[O:f4=\E[P:f5=\E[Q:\
        :f6=\E[R:f7=\E[S:f8=\E[T:f9=\E[U:f0=\E[V:\
        :kN=\E[G:kP=\E[I:kH=\E[F:kI=\E[L:\
        :kC=\E[E:kD=\177:al=\E[L:dl=\E[M:\
        :DC=\E[%dP:IC=\E[%d@:dc=\E[P:ic=\E[@:\
        :AL=\E[%dL:DL=\E[%dM:dl=\E[M:al=\E[L:tc=pc3:

# Codrv 0.1.2 + cyrillic koi8 mappings -vak-
pc3nc|ibmpc3c|386BSD Console with cyrillics:\
        :gs=:ge=:g1=\210\211\212\213\214\215\216\217\220\221\222:\
        :g2=\223\224\225\226\227\230\231\232\233\234\235:\
        :CY:Cs=:Ce=:Ct=/usr/local/lib/cyrkbd/koi8pc:cu=\E[7m\201\E[m:\
        :kB=\E[z:kD=\E[K:\
        :li#25:sr=\E[T:sf=\E[S:tc=pc3n:
====================

-- 
         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 ...