#!/usr/bin/tic # # This is the TERMINFO file for "TeraTerm 1.3", a free Telnet client # for Windows 16bit. # # This file have been created by looking at the source code of TeraTerm # to gather all the ESC sequences. I tested it with a couple of programs # and it seems to work very well (e.g. with mc, joe, vi, less etc). # # I used the standard Linux sequences for the function keys. Sometimes # applicates (like "mc" or "joe" have the escape sequences hardcoded # into them. So I guess it is better that I use the keyboard sequences # of the Linux "console" driver in all applications as well as in the # telnet package. Therefore, you might have to create a proper # "keyboard.cnf" file for TeraTerm. # # Just a tip: TeraTerm is not very fast in scrolling. So I if you set # an alias to call "less" with the parameters "-h4" to scroll 4 lines # at maximum (and use complete redraws in all other cases), you will # have a faster screen update. # # And another tip: if you modify the TERATERM.INI file so that in # it reads "AnswerBack=teraterm" and "TermType=teraterm", than your # telnet daemon (in.telnetd) will automatically set the environment # "TERM=teraterm" before invoking the login. # # # # # REVISION HISTORY: # # 11-Apr-97 holger@d.om.org created # 30-Apr-97 holger@d.om.org modified so that both "mc" and "dialog" # do work as expected, still there is no # background color, so play with "sgr" # and send me the result back # # # # TeraTerm can be fetched from # # http://www.vector.co.jp/authors/VA002416/teraterm.html # # or in source code from # # Tera Term version 1.3 for MS-Windows 3.1 (Turbo Pascal for Windows 1.5 # or for DELPHI 1.0) # ftp://ftp.s.u-tokyo.ac.jp/PC/terminal/teraterm/ttsrcv13.zip # ftp://ftp.riken.go.jp/pub/pc/misc/terminal/teraterm/ttsrcv13.zip # # Tera Term Pro version 2.0 for MS-Windows 95/NT (Watcom C/C++ 10.5) # ftp://ftp.s.u-tokyo.ac.jp/PC/terminal/teraterm/ttsrcp20.zip # ftp://ftp.riken.go.jp/pub/pc/misc/terminal/teraterm/ttsrcp20.zip # teraterm|Telnet software teraterm 1.3 in vt320 mode, # # Flags # # am automatic margins # bce screen erase with background color # eo can erase overstrike with space # mir safe to move while in insert mode # msgr safe to move while in standout mode # xenl newline ignored after 80 columns # xon terminal uses xon/xoff protocol am, bce, eo, mir, msgr, xenl, xon, # # # Numbers # # it initialize tabs at every #nth position # cols number of columns # lines number of rows # colors maximum number of colors on screen # pairs maximum number of color pairs on screen # ncv bit mask of video attributes that can't be used with colors it#8, colors#8, pairs#64, ncv#41, # # Attributes # # blink turn on blinking # bold turn on bold # rev turn on reverse video mode # smul start underline mode # rmul exit underline mode # smso start standout mode # rmso exit standout mode # op set default pair to its original value # setf set foreground color # setb set background color # sgr define video attributes 1..9 # sgr0 turn off all attributes blink=\E[5m, bold=\E[31m, rev=\E[7m, smul=\E[4m, rmul=\E[24m, smso=\E[7m, rmso=\E[27m, op=\E[30;47m, setf=\E[3%p1%dm, setb=\E[4%p1%dm, sgr0=\E[m, # Parameters for "sgr": # p1 Standout # p2 underline # p3 reverse # p4 blink # p5 dim # p6 bold # p7 invis # p8 protect # p9 altcharset # sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, # # # Character set # # acsc graphics charset pairs # enacs enable alternate characters set (1:1 stolen from vt100) # smacs start alternate character set # smpch enter PC character set # rmacs exit alternate character set # rmpch exit PC character set acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, smacs=^N, smpch=^N, rmacs=^O, rmpch=^O, # # # Move the Cursor (normal) # # cub move left (backwards) # cuf move right (forward) # cuu move up # cud move down # nel new line # ri cursor up with scroll # cr carriage return # ht tab to next 8-space hardware tab stop # ind scroll text up cub=\E[%p1%dD, cub1=\b, cuf=\E[%p1%dC, cuf1=\E[C, cuu=\E[%p1%dA, cuu1=\E[A, cud=\E[%p1%dB, cud1=\n, nel=^M^J, ri=\EM, cr=\r, ht=\t, ind=\n, # # # Move the Cursor (advanced) # # home home cursor # cup move cursor to row # column # # hpa horizontal absolute position # vpa vertical absolute position # sc save cursor position # rc restore cursor position # tbc clear all tab stops # hts set a tab in current column home=\E[H, cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%dG, vpa=\E[%i%p1%dd, sc=\E7, rc=\E8, tbc=\E[3g, hts=\EH, # # # Clear, Insert and Delete # # clear clear screen and home cursor # ed clear to end of screen # el clear to end of line # el1 clear to beginning of line # il1 insert one line # dl delete lines # ich insert characters # dch delete characters # ech erase characters # smir set insert mode # rmir exit insert mode clear=\E[H\E[J, ed=\E[J, el=\E[K, el1=\E[1K, il=\E[%p1%dL, il1=\E[L, dl=\E[%p1%dM, dl1=\E[M, ich=\E[%p1%d@, ich1=\E[@, dch=\E[%p1%dP, dch1=\E[P, ech=\E[%p1%dX, smir=\E[4h, rmir=\E[4l, # # # Miscellaneous # # csr set scroll region to line #-# # u7 user string 7: cursor position report # u9 user string 9: answer terminal type # rs1 reset string 1 # rs2 reset string 2 # bel audible bel # flash visible bell csr=\E[%i%p1%d;%p2%dr, u7=\E[6n, u9=\E[c, rs1=\Ec, bel=^G, flash=\E[?5h\E[?5l$<200/>, # # # Funktion keys # # kbs backspace key # kcub1 cursor left key (backwards) # kcuf1 cursor forward key # kcuu1 cursor up key # kcud1 cursor down key # kich1 insert key # kdch1 delete key # khome home key # kend end key # kpp previous page key # knp next page key # kb2 center of keypad key # kcbt back-tab key # kspd suspend key # kf__ function keys (1-12 normal, 13-20 shifted) kbs=\177, kcub1=\E[D, kcuf1=\E[C, kcuu1=\E[A, kcud1=\E[B, kich1=\E[2~, kdch1=\E[3~, khome=\E[1~, kend=\E[4~, kpp=\E[5~, knp=\E[6~, kb2=\E[G, kcbt=\E[Z, kspd=^Z, kf1=\E[[A, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,