Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2003 14:17:43 -0600
From:      Jim Ramsay <i.am@jimramsay.com>
To:        freebsd-questions@freebsd.org
Subject:   Changing /etc/termcap in 4.8 - How can I?
Message-ID:  <brnp97$7a4$1@sea.gmane.org>

next in thread | raw e-mail | index | archive | help
I have tried to add an extra entry to /etc/termcap:

rxvt-cygwin-native|rxvt terminal emulator (native MS Windows/Cygwin):\
     :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:\
 
:ac=+\257,\256-^0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330~\376:\
     :tc=rxvt-mono:

to try to get linedrawing characters working correctly in my connection 
from my work computer (cygwin/ssh) to my freebsd machine at home.

1) I edited the file as root and put it just after the existing 'rxvt' 
entry.

2) I then went into /usr/share/misc and did `cap_mkdb termcap` to update 
termcap.db.

However, when I try to `setenv TERM rxvt-cygwin-native`in tcsh, I get 
the error:

tcsh: Cannot open /etc/termcap.
tcsh: using dumb terminal settings.

Which is the same error if I try to set TERM to something like 
"aoeuaoeu" which doesn't exist in the termcap.

Is there some step I'm missing here to make tcsh recognize the new 
termcap info?  Is termcap cached somewhere that I haven't updated or 
something?

-- 
Jim Ramsay



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?brnp97$7a4$1>