Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!teddy!panda!talcott!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn) Newsgroups: net.info-terms Subject: Re: Re: Need 4107 termcap (terminfo) Message-ID: <7284@brl-tgr.ARPA> Date: Sun, 13-Jan-85 18:50:33 EST Article-I.D.: brl-tgr.7284 Posted: Sun Jan 13 18:50:33 1985 Date-Received: Tue, 15-Jan-85 03:46:35 EST References: <407@hou2e.UUCP> <7100@brl-tgr.ARPA> <290@link.UUCP> Distribution: net.info-terms Organization: Ballistic Research Lab Lines: 21 > I have converted the termcap with some dificulty to a terminfo. > What does the follwoing line mean?. My conversion program > chokes on it. > > # > rs=^X\E%!0\EKC\E^L\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ > > \ELLB0\ELM0\EKE0\ENF1\EKS0\END0\ERE0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>:\ In terminfo this would be "rs2", a string to reset the terminal completely from an arbitrary starting state to sane modes. Note that terminfo has several reset & initialization strings for ease of sharing a common entry among related terminals and for more flexibility in the order in which these things are done. It is also possible to run a program as part of the initialization, although this is usually reserved for really weird hardware. It is perhaps worth noting that many termcap-using programs do not properly use is/i1/i2/i3/rs/r1/r2/r3/ti/te/ks/ke/vs/ve but instead just make a wild guess at what to use when. If anyone does not have the updated termcap manual page that I posted long ago, you should get a copy and follow it. It will make future conversion to terminfo much easier.