Subject: Re: newbie text console config questions
To: \"A. Lucien Meyers\" <a.l.meyers@consult-meyers.com>
From: Wiz <wiz@danbala.ifoer.tuwien.ac.at>
List: port-i386
Date: 02/21/2002 20:13:55
In article <871yfeiuop.fsf@nomad.consult-meyers.com> you wrote:
> 3. netbsd wscons does not (yet) support pc-like function key mapping
>    required for correct use of the netbsd package midnight commander

If you save the text below in your ~/.termcap, and set TERM to wsvt25
("export TERM=wsvt25", or "setenv TERM wsvt25", depending on your shell),
function keys should work on the console.

So, here's the file:
---begin
wsvt25|NetBSD wscons in 25 line DEC VT220 mode:\
        :Co#16:NC#32:pa#256:ms:ut:\
        :@7=\E[8~:\
        :k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:k6=\E[17~:\
        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:kh=\E[7~:F1=\E[23~:F2=\E[24~:\
        :AB=\E[4%dm:AF=\E[3%dm:op=\E[m:\
        :co#80:li#25:tc=vt220:
---end

Bye,
 Thomas

-- 
Thomas Klausner - wiz@danbala.tuwien.ac.at
When all other means of communication fail, try words.