davids@teklabs.UUCP (08/16/83)
I have been using this termcap with my homebrew terminal program, and DOS 2.0. In order to make effective use of it you have to specify DEVICE=ANSII.SYS in your CONFIG.SYS file. You will find that BASIC does not do I/O through standard DOS calls so this will not be of much use to you if your terminal program is written in BASIC (e.g. COMM.BAS or PC-TALK). However I am delighted to find that my formerly dumb terminal program has now become smart because of this new feature in DOS. I can now use vi and rogue and get highlighted text when I run man. pc2:\ :co#80:li#25:am:cl=50\E[;H\E[2J:bs:\ :cm=5\E[%i%2;%2H:nd=\E[C:up=\E[A:\ :so=\E[7m:se=\E[m:us=\E[1m:ue=\E[m:\ :is=\E[=2h\E[=7l: # This is an attempt to write a termcap to match the DOS 2.0 # ANSI.SYS extended screen and keyboard control. It is also # necessary to set up your terminal program to ignore nul's # since unix wants to use these as pad characters and the # terminal driver prints them (they display as blanks). # This termcap is for the color/graphics board and displays # underlined as bold. If you have the monochrome display you # can get true underlined by specifying us=\E[4m. In either case # ue or se resets full normal attributes, so it won't handle an # underlined bold word properly. # I had some problems with this when I specified :pt: ( terminal # has hardware tabs). ---David H. Smith Tektronix, inc. 8/15/83.