Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 SMI; site cbhydra.uucp Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!cbosgd!cbhydra!mark From: mark@cbhydra.uucp Newsgroups: net.info-terms Subject: Re: vt100 termcap (yes, once again....) Message-ID: <109@cbhydra.uucp> Date: Sat, 7-Jul-84 23:59:29 EDT Article-I.D.: cbhydra.109 Posted: Sat Jul 7 23:59:29 1984 Date-Received: Sun, 8-Jul-84 23:42:29 EDT References: <494@denelcor.UUCP> Organization: AT&T Bell Laboratories, Columbus Lines: 58 I'm enclosing my current terminfo description for the vt100. I notice two significant problems with the one previously posted. (1) Your method of dealing with graphics characters is different from what AT&T is going with, (2) you put the status line on the bottom rather than on the top. (Most people, given a choice, prefer it on the top, also it doesn't get clobbered when you clear the screen.) I have no quarrel with your observations about automatic margins, but neither method seems to handle the vt100 right (outputting a char in col 80 sets a flag in the terminal, outputting a char elsewhere seems to be the only way to clear that flag.) Explanation of graphics characters. The vt100 is the definition, but only for those chars that are line drawing in nature. The acsc (alternate char set chars) lists pairs of chars, for aAbBcC, to get standard a you output A, to get b output B, etc. enacs must be output before sending anything out in the acs (once) to get the terminal in the mode. smacs/rmacs turn on and off the alternate char set (the one with graphics in it.) # Vanilla vt100 definitions. vt100|vt100-am|dec vt100, cr=^M, cud1=^J, ind=^J, bel=^G, cols#80, lines#24, it#8, clear=\E[H\E[2J$<50>, cub1=^H, am, cup=\E[%i%p1%d;%p2%dH$<5>, cuf1=\E[C$<2>, cuu1=\E[A$<2>, el=\E[K$<3>, ed=\E[J$<50>, cud=\E[%p1%dB, cuu=\E[%p1%dA, cub=\E[%p1%dD, cuf=\E[%p1%dC, smso=\E[7m$<2>, rmso=\E[m$<2>, smul=\E[4m$<2>, rmul=\E[m$<2>, bold=\E[1m$<2>, rev=\E[7m$<2>, blink=\E[5m$<2>, sgr0=\E[m$<2>, sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, smkx=\E[?1h\E=, rmkx=\E[?1l\E>, tbc=\E[3g, hts=\EH, home=\E[H, enacs=\E(0, smacs=^O, rmacs=^N, acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz||}}, kcuu1=\EOA, kcud1=\EOB, kcuf1=\EOC, kcub1=\EOD, kbs=^H, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, ht=^I, ri=\EM$<5>, vt#3, xenl, xon, sc=\E7, rc=\E8, csr=\E[%i%p1%d;%p2%dr, vt100-nam|vt100 w/no am, am@, xenl@, use=vt100-am, # Ordinary vt100 in 132 column ("wide") mode. vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video), cols#132, lines#24, rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am, vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video), cols#132, lines#24, rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, vt@, use=vt100-nam, # vt100's with no advanced video. vt100-nav|vt100 without advanced video option, sgr@, smso=\E[7m , rmso=\E[m , xmc#1, smul@, rmul@, bold@, rev@, blink@, sgr0@, use=vt100, vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option), lines#14, cols#132, use=vt100-nav, # vt100's with one of the 24 lines used as a status line. # We put the status line on the top. vt100-s|vt100-s-top|vt100-top-s|vt100 for use with sysline, lines#23, is2=\E7\E[2;24r\E8, clear=\E[2;1H\E[J$<50>, home=\E[2;1H, dsl=\E7\E[1;24r\E8, cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, csr=\E[%i%i%p1%d;%p2%dr, hs, eslok, tsl=\E7\E[1;%p1%dH\E[1K, fsl=\E8, use=vt100-am, # Status line at bottom. Clearing the screen will clobber status line. vt100-s-bot|vt100-bot-s|vt100 for use with sysline, lines#23, is2=\E[1;23r\E[23;1H, dsl=\E7\E[1;24r\E8, hs, eslok, tsl=\E7\E[24;%p1%dH\E[1K, fsl=\E8, use=vt100-am,