# termcap for EWAN terminal emulator for MS-Windows # from ESR master file with local customization # 1996-08-10 RSS # #### DEC VT100 and compatibles # # DEC terminals from the vt100 forward (and the vt52, way obsolete but still # the basis of some emulations) are collected here. Older DEC terminals and # micro consoles can be found in the `obsolete' section. More details on # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be # found near the end of this file. # # Except where noted, these entries are DEC's official terminfos. # Contact Bill Hedberg of Terminal Support # Engineering for more information. Updated terminfos and termcaps # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps. # # NOTE: Any VT100 emulation, whether in hardware or software, almost # certainly includes what DEC called the `Level 1 editing extension' codes; # only the very oldest VT100s lacked these and there probably aren't any of # those left alive. To capture these, use one of the VT102 entries. # # Note that the glitch in vt100 is not quite the same as on the Concept, # since the cursor is left in a different position while in the # weird state (concept at beginning of next line, vt100 at end # of this line) so all versions of vi before 3.7 don't handle # right on vt100. The correct way to handle is when # you output the char in column 80, immediately output CR LF # and then assume you are in column 1 of the next line. If # is on, am should be on too. # # I assume you have smooth scroll off or are at a slow enough baud # rate that it doesn't matter (1200? or less). Also this assumes # that you set auto-nl to "on", if you set it off use vt100-nam # below. # # The padding requirements listed here are guesses. It is strongly # recommended that xon/xoff be enabled, as this is assumed here. # # The vt100 uses and rather than // because the # tab settings are in non-volatile memory and don't need to be # reset upon login. Also setting the number of columns glitches # the screen annoyingly. You can type "reset" to get them set. # # This is how the keypad gets assigned in Application Keypad mode. # PF1 = kf1 PF2 = kf2 PF3 = kf3 PF4 = kf4 # 7 = kf9 8 = kf10 9 = kf0 - # 4 = kf5 5 = kf6 6 = kf7 , = kf8 # 1 = ka1 2 = kb2 3 = ka3 # 0 = kc1 . = kc3 ENTER = kent # # vt100|vt100-am|dec vt100 (w/advanced video), am, msgr, xenl, xon, cols#80, it#8, lines#24, vt#3, acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, # vt100nam|vt100-nam|vt100 no automargins, 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 no automargin), cols#132, lines#14, vt@, rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam, # vt100 with no advanced video. vt100-nav|vt100 without advanced video option, xmc#1, blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m, smul@, use=vt100, vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option), cols#132, lines#14, use=vt100-nav, # # Most of the `vt100' emulators out there actually emulate a vt102 # This entry (or vt102-nsgr) is probably the right thing to use for # these. vt102|dec vt102, mir, dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, use=vt100, vt102-w|dec vt102 in wide mode, lines#132, rs3=\E[?3h, use=vt102, # Many brain-dead PC comm programs that pretend to be `vt100-compatible' # fail to interpret the ^O and ^N escapes properly. Symptom: the # string in the canonical vt100 entry above leaves the screen littered # with little snowflake or star characters (IBM PC ROM character \017 = ^O) # after highlight turnoffs. This entry should fix that, and even leave # ACS support working, at the cost of making multiple-highlight changes # slightly more expensive. # From: Eric S. Raymond July 22 1995 # vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes), sgr@, sgr0=\E[m, use=vt102, #### VT100 emulations # # John Hawkinson tells us that the EWAN telnet for Windows # (the best Windows telnet as of September 1995) presents the name `dec-vt100' # to telnetd. We'll guess that it's vt102-like but doesn't grok ^N/^O. dec-vt100-80|ewan|EWAN telnet's vt100 emulation, use=vt102-nsgr, dec-vt100|ewanbig|EWAN telnet's vt100 with expanded display, cols#98, lines#29, use=vt102-nsgr, # _____________________________________________________________________________