Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site brl-vgr.ARPA Path: utzoo!watmath!clyde!akgua!sdcsvax!sdcrdcf!hplabs!hao!seismo!brl-tgr!brl-vgr!gwyn From: gwyn@brl-vgr.ARPA (Doug Gwyn ) Newsgroups: net.unix-wizards Subject: Re: termcap test routine??? Message-ID: <1413@brl-vgr.ARPA> Date: Sat, 12-May-84 01:15:02 EDT Article-I.D.: brl-vgr.1413 Posted: Sat May 12 01:15:02 1984 Date-Received: Wed, 9-May-84 03:26:07 EDT References: <424@noscvax.UUCP> Organization: Ballistics Research Lab Lines: 21 I find "vi" is a very good termcap tester. Most other screen-oriented programs I have encountered have not used termcap correctly in some cases. Here is a cute trick for people who are writing termcap-driven programs; include the following dummy terminal type in /etc/termcap and set TERM=debug to see what your program is actually doing: # # Debugging entry -- all printing characters d0|debug|debugging entry:\ :ae=:AL=:al=:am:as=:bc=:bt=:cd=:\ :ce=:ch=:cl=:cm=:co#80:cr=:cs=:\ :ct=:cv=:da:db:dc=:DL=:dl=
:dm=:DO=:\ :do=:ed=:ei=:ff=:ho=:ic=:im=:ip=:\ :is=:k0=\E0:k1=\E1:kb=\Eb:kd=\Ed:ke=:kh=\Eh:kl=\El:kn=2:\ :ko=cl,ho,ll:kr=\Er:ks=:ku=\Eu:l0=ESC0:l1=ESC1:LE=:li#24:\ :ll=:mb=:md=:me=:mi:ml=:mr=:ms=:mu=:\ :nd=:nl=:pb#19200:pc=:pt:rc=:RI=:rs=:\ :sc=:se=:sf=:so=:sr=:st=:ta=:te=:\ :ti=:uc=:ue=:UP=:up=:us=:vb=:ve=:\ :vs=:vt#3: