djc1@ihu1g.UUCP (Dave Christensen) (10/01/84)
UNIX SV_R2 private terminfo db for Apple II e/w Videx 80 column card: The following procedures will create a private terminfo database for use with an Apple II equipped with a Videx 80 column card. This IS vi compatible at 300/1200 baud. The modem program SHOULD NOT emulate any other terminal (it should pass control characters through without conversion). I've a procedure and termcap for pre-release 2 versions if there's any interest. The directory name ".terminfo" may be replaced whatever name you want. UNIX Release 2: (1) Enter these lines: TERMINFO=$HOME/.terminfo TERM=apple export TERMINFO TERM (These may be placed in your .profile if you wish to access your .terminfo with TERM=apple each time you login) This will access the apple data in your local .terminfo directory when TERM=apple. To use the system terminfo for other terminals, set TERMINFO to null and TERM to the terminal you use. (2) In directory $HOME, create directory .terminfo (cd; mkdir .terminfo) (3) Put the following source information in file "apple.ti" #Terminfo for Apple II+ equipped with Videx 80 column card # #DO NOT use any terminal emulation with this data base, it works directly # with the Videx card. This has been tested with vi 1200 baud and # works fine. # #Author: Dave Christensen, IH, x4922 # apple|Apple II+ w/ Videx card (similar to datamedia h1520), am, xenl, cols#80, lines#24, bel=^G$<100>, clear=^L$<250>, cr=^M, cub1=^H, cud1=^J, cuf1=^\, cup=^^%p2%' '%+%c%p1%' '%+%c, cuu1=^_, ed=^K$<100>, el=^], home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, khome=^Y, smso=^Z3, rmso=^Z2, #End of source (4) tic -v apple.ti # this compiles the source code, creates subdirectory "a" under ".terminfo" and places the data base under directory "a" as file "apple" (7) run vi and check it out! This works great for vi, except I've noticed in pre-R2, ^U will scroll back 1 screen, while in R2 ^U doesn't. I suspect there may be one more glitch to iron out, anyone have suggestions????? Also in R2 you can use the chsh command to set your default shell to something other than sh (chsh /usr/lbin/ksh will let you use the 452 supported k shell as your default start-up shell). I hope that I haven't insulted anyone's intelligence by this but I've no idea of people's level of expertise. Have fun........ -- Dave Christensen AT&T Bell Labs - Naperville, IL IH 6B-203 979-4922 ..ihnp4!ihu1g!djc1