phile@lgnp1.MASA.COM (Phil Eschallier) (11/11/88)
help ... does anyone know where i can get a termcap entry for the Comodore 64?? any help would be greatly appreciated! -- Phil Eschallier Lagniappe Systems Domain -- phile@lgnp1.MASA.COM CmpuSrv -- 71076,1576 Bang -- ...!rutgers!lgnp1!phile or ...!{philabs|cmcl2}!hombre!lgnp1!phile
matthew@sunpix.UUCP ( Sun NCAA) (11/13/88)
In article <108@lgnp1.MASA.COM>, phile@lgnp1.MASA.COM (Phil Eschallier) writes: > help ... > > does anyone know where i can get a termcap entry for the Comodore 64?? > any help would be greatly appreciated! > > -- > Phil Eschallier Lagniappe Systems > Domain -- phile@lgnp1.MASA.COM CmpuSrv -- 71076,1576 > Bang -- ...!rutgers!lgnp1!phile or ...!{philabs|cmcl2}!hombre!lgnp1!phile From sunpix!rti!mcnc!rutgers!mailrus!ncar!boulder!pikes!udenva!slindahl Mon Oct 10 13:55:15 EDT 1988 Subject: Custom TERMCAP for C64 Status: RO Article 209 of comp.sys.cbm: Newsgroups: comp.sys.cbm Subject: Custom TERMCAP for C64 In article <6690@dasys1.UUCP> you write: > > As one who is new to UNIX, I have a few questions about the > installation of a TERMCAP on the system that I am using. This > system, a Public Access system, is one which seems to have few, if > any, Commodore users. I have asked the following questions locally, > but have not received sufficient information. The following contains the process that I use to use this custom termcap entry. I hope this is helpfulb, but if you have any additional questions do not hesitate to ask. The first file that you will see in this letter is a .login that will prompt you to search through your onw termcap entry or through the machines predefined machines. Take a look at it.... set path = (. ~/bin /usr/ucb /bin /usr/bin /usr/new /usr/games /usr/lib /usr/local /usr/public) setenv EXINIT 'set shell=/bin/csh redraw w1200=23 w300=8' echo -n "Search personal termcap library? [y] " set answer = $< if ("$answer" != "n") then setenv TERMCAP '/usr/users/ugrad/wedgingt/.termcap.mod' endif unset answer echo ' ' set noglob; eval `tset -s -Q -m 'dialup:?vt102' -m 'network:?vt102'` set mail = (/usr/spool/mail/$USER) if ( -e $mail) then echo "${prompt}mail" mail endif biff n mesg y You will then need to create a file called .termcap.mod and put it in your home directory. This is so because of the way the .login program is set up. You could also alter the file and the paths for other directory structures. The following is the file called .termcap.mod. qd|c64w|C64W|Commodore 64 80 Col X 25 Line:co#80:li#25:\ :up=\EA:do=\EB:cl=\EH\EJ:bs:\ :bw:ho=\EH:nd=\EC:so=\Eo:\ :se=\En:cm=\EY%+ %+ :\ :ce=\EK:sr=\EI:pt: Kc|vt100|Commodore 64/128 Kermit in VT-100 mode:\ :ae=\E(1:AL=\E[%dL:al=\E[L:as=\E(0:bc=^H:\ :bl=^G:bs:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\ :cm=\E[%i%d;%dH:co#80:cr=^M:\ :cs=\E[%i%d;%dr:DC=\E[%dP:dc=\E[P:\ :DL=\E[%dM:dl=\E[M:DO=\E[%dB:do=^J:\ :ds=\E7\E[25H\E[2K\E8:ei=\E[4l:es:fs=\E8:\ :ho=\E[H:hs:im=\E[4h:is=\E<\E7\E[1;24r\E[25H\ \E[2K\E8\E(1^O\E[m\E[4l\E[20l\E[?1;5;6l\E[?7;8h\E>:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:kb=\177:\ :kd=\E[B:ke=\E>:kl=\E[D:kn=4:kr=\E[C:\ :ks=\E=:ku=\E[A:l1=PF1:l2=PF2:l3=PF3:\ :l4=PF4:LE=\E[%dD:le=^H:li#24:ll=\E[24H:\ :mb=\E[5m:md=\E[1m:me=\E[m:mi:mr=\E[7m:\ :ms:nd=\E[C:pt:rc=\E8:RI=\E[%dC:sc=\E7:\ :se=\E[m:so=\E[7m:sr=\EM:ta=^I:te=\E[?7h:\ :ti=^O\E[?7l:ts=\E7\E[%i25;%dH\E[m\E[1K:\ :ue=\E[m:UP=\E[%dA:up=\E[A:us=\E[4m:\ :vb=\E[?5h\200\200\200\200\200\200\200\200\E[?5l:\ :vt#3:xo You will notice that I have a few entries in here because I have predefined the vt52 emulator when using the modem software that came with the 1670. Again, I hope this helps. This method will allo you to search your own termap entries or the machines. If you wish any additional information on defining your own termcap try using.... man 6 termcap -steve -- Do not ask for fulfillment in all your life, | slindahl@udenva.cair.du.edu but for patience to accept frustration. | slindahl@ducair.BITNET - Brenda Short | genacct4@linus.cair.du.edu ****************************************************************************** -- Matthew Lee Stier (919) 469-8300| Sun Microsystems --- RTP, NC 27560| "Wisconsin Escapee" uucp: {sun, rti}!sunpix!matthew |