Date: Sun, 26 Jan 2003 18:06:51 +0100 (CET) From: Dirk-Willem van Gulik <dirkx@webweaving.org> To: Paul Hoffman <phoffman@proper.com> Cc: questions@FreeBSD.ORG Subject: Re: A vi for /bin? Message-ID: <20030126180157.A903-100000@foem.leiden.webweaving.org> In-Reply-To: <p05210200ba59031c28c6@[165.227.249.18]>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 25 Jan 2003, Paul Hoffman wrote: > - As pointed out off-line, you also need to get it the termcap library. Doing > cp /usr/share/misc/termcap.db /root/.termcap.db You propably want to strip that bugger down to its bones; they weight in at around 2Mb including the un-db-ed version. So for floppy/flashcard systems I do: cat > /root/.termcap <<EOM vt100|dec-vt100|vt100-am|vt100am|dec vt100:\ :do=2\E[B:co#80:li#24:cl=50\E[H\E[J:sf=2*\ED:\ :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\ :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\ :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:\ :is=\E>\E[?1;3;4;5l\E[?7;8h\E[1;24r\E[24;1H:\ :if=/usr/share/tabset/vt100:nw=2\EE:ho=\E[H:\ :as=2\E(0:ae=2\E(B:\ :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||:\ :rs=\E>\E[?1;3;4;5l\E[?7;8h:ks=\E[?1h\E=:ke=\E[?1l\E>:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=\177:\ :k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\EOt:\ :k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:@8=\EOM:\ :K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:pt:sr=2*\EM:xn:\ :sc=2\E7:rc=2\E8:cs=5\E[%i%d;%dr:UP=2\E[%dA:DO=2\E[%dB:RI=2\E[%dC:\ :LE=2\E[%dD:ct=2\E[3g:st=2\EH:ta=^I:ms:bl=^G:cr=^M:eo:it#8:\ :RA=\E[?7l:SA=\E[?7h: EOM (See /usr/src/share/termcap/termcap.src for the source). cap_mkdb /root/.termcap Dw To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030126180157.A903-100000>