Changing /etc/termcap in 4.8 - How can I?
Jim Ramsay
i.am at jimramsay.com
Tue Dec 16 12:30:26 PST 2003
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
More information about the freebsd-questions
mailing list