ahs@mtx5a.ATT.COM (Art Stadlin) (07/25/87)
Awhile back on 13 May 87 17:18:00 GMT, Frank Durda IV posted the following TERMCAP for use with Tandy's DeskMate II and the Tandy 1000 series computers. Would someone please help me understand how to apply this? Do I stick this in my UNIX ".profile" file or in my MS-DOS "autoexec.bat" file or my "config.sys" file or what????? > Try this termcap entry for Deskmate: > > dm|dmterm|deskmate terminal:\ > :CF=\EG5:CN=\EG6:DL=\ES:EN=\EE:G1=?:G2=Z:G3=@:G4=Y:GC=E:GD=B:\ > :GE=\EG2:GH=D:GL=\EG14:GR=C:GS=\EG1:GU=A:GV=\EG13:GZ=z:HM=\EH:\ > :NU=\E2:P0=\E1:P1=\E2:P2=^D:P3=^U:P4=\E\E:P5=^R:P6=^P:P7=^N:\ > :P8=\E^I:P9=^I:PA=^O:PB=^F:PC=^L:PD=\EX:PE=^T:PG=\EA:PH=\EB:\ > :PI=\ED:PJ=\EC:PK=\EH:PL=\EZ:PN=\Et:PR=\EY:PS=\Er:PU=\EW:\ > :Pd=^E:U0=^A:U1=^B:al=\EP:am:bc=\ED:bs:bw:cd=\EJ:ce=\EK:cl=\Ej:\ > :cm=\EY%+ %+ :co#80:dc=\ES:dl=\ER:dm=:do=\EB:ed=:ei=:ho=\EH:\ > :ic=\EQ:im=:k0=\E1:k1=\E2:k2=\E3:k3=\E4:k4=\E5:k5=\E6:k6=\E7:\ > :k7=\E8:k8=\E9:k9=\E0:kd=\EB:kh=\EH:kl=\ED:ko=ll,sf,sb,ic,dc:\ > :kr=\EC:ku=\EA:l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:\ > :l8=f9:l9=f10:li#24:ll=\EE:nd=\EC:pt:sb=\EW:se=\EG0:sf=\EX:\ > :so=\EG4:up=\EA: > > I can't vouch for how well it works - but it is what the developers > of Deskmate have used. > > Frank Durda IV > ...decvax!microsoft!trsvax!uhclem > ...convex!infoswx!trsvax!uhclem I will appreciate all replies. Thank you. -- \\\ \\\\ Art Stadlin \\\\\\________!{akgua,ihnp4,houxm}!mtx5a!ahs --- The Statue of Liberty is in New Jersey! ---
jjc@sdiris1.UUCP (Jim J. Carter) (07/28/87)
in article <1924@mtx5a.ATT.COM>, ahs@mtx5a.ATT.COM (Art Stadlin) says: > > Awhile back on 13 May 87 17:18:00 GMT, Frank Durda IV > posted the following TERMCAP for use with Tandy's DeskMate II > and the Tandy 1000 series computers. Would someone please > help me understand how to apply this? Do I stick this in my > UNIX ".profile" file or in my MS-DOS "autoexec.bat" file or > my "config.sys" file or what????? You don't do anything to your MS-DOS system, or autoexec.bat, config.sys files. You need to do something to your environment on the unix system you wish to login to. > >> Try this termcap entry for Deskmate: >> >> dm|dmterm|deskmate terminal:\ >> :CF=\EG5:CN=\EG6:DL=\ES:EN=\EE:G1=?:G2=Z:G3=@:G4=Y:GC=E:GD=B:\ >> :GE=\EG2:GH=D:GL=\EG14:GR=C:GS=\EG1:GU=A:GV=\EG13:GZ=z:HM=\EH:\ >> ... lots of funky stuff ... >> You can do one or two of two things. 1) If you know many other users will use this termcap, have your system administrator add the specified termcap to the file /etc/termcap. ( This is the simplest of the two ) 2) Create a file which will execute the proper commands to setup the environment variables so the unix system thinks your terminal is a "deskmate terminal". I have included a shar file that includes such an executable file. It will do the setting of the environment variables if you are running under /bin/csh. If you use /bin/sh, you will have to do different but equivalent opperations. Hope it does the job. -------------------------------------- This is a shar file, which means you must run the contents of this file through sh to extract its contents. Remove all text above and including the line "cut here", and save in a temporary file e.g. tempfile. Then type the command : sh < tempfile vv-- cut - here --v-- cut - here --v-- cut - here --v-- cut - here ---vv echo x - tset_deskmate sed 's/^X//' >tset_deskmate <<'*-*-END-of-tset_deskmate-*-*' X#!/bin/csh X Xset noglob; Xsetenv TERM dmterm ; Xsetenv TERMCAP 'dm|dmterm|deskmate terminal:\ X :CF=\EG5:CN=\EG6:DL=\ES:EN=\EE:G1=?:G2=Z:G3=@:G4=Y:GC=E:GD=B:\ X :GE=\EG2:GH=D:GL=\EG14:GR=C:GS=\EG1:GU=A:GV=\EG13:GZ=z:HM=\EH:\ X :NU=\E2:P0=\E1:P1=\E2:P2=^D:P3=^U:P4=\E\E:P5=^R:P6=^P:P7=^N:\ X :P8=\E^I:P9=^I:PA=^O:PB=^F:PC=^L:PD=\EX:PE=^T:PG=\EA:PH=\EB:\ X :PI=\ED:PJ=\EC:PK=\EH:PL=\EZ:PN=\Et:PR=\EY:PS=\Er:PU=\EW:\ X :Pd=^E:U0=^A:U1=^B:al=\EP:am:bc=\ED:bs:bw:cd=\EJ:ce=\EK:cl=\Ej:\ X :cm=\EY%+ %+ :co#80:dc=\ES:dl=\ER:dm=:do=\EB:ed=:ei=:ho=\EH:\ X :ic=\EQ:im=:k0=\E1:k1=\E2:k2=\E3:k3=\E4:k4=\E5:k5=\E6:k6=\E7:\ X :k7=\E8:k8=\E9:k9=\E0:kd=\EB:kh=\EH:kl=\ED:ko=ll,sf,sb,ic,dc:\ X :kr=\EC:ku=\EA:l0=f1:l1=f2:l2=f3:l3=f4:l4=f5:l5=f6:l6=f7:l7=f8:\ X :l8=f9:l9=f10:li#24:ll=\EE:nd=\EC:pt:sb=\EW:se=\EG0:sf=\EX:\ X :so=\EG4:up=\EA:' X Xunset noglob; *-*-END-of-tset_deskmate-*-* chmod 777 tset_deskmate exit ----------------------------------------------------------------------- UUCP: ...!hp-sdd!crash!sdiris1!jim | Jim Carter or: ...!sdcsvax!jack!man!sdiris1!jim | Control Data Corporation (CIM) Work : +1 619 450 6516 | 4455 Eastgate Mall, Home : +1 619 455 0607 | San Diego, CA 92121