If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
Message-ID: <39DABC5B.B8F7BD73@squonk.net> From: "Brian K. White" <email@example.com> Newsgroups: comp.unix.sco.misc Subject: Re: Linux termcap in OSR5.x.x References: <39DA02C3.81421AF1@netscape.net>
<20001003122409.F3723@jpradley.jpr.com> Date: Wed, 04 Oct 2000 05:01:05 GMT Jean-Pierre Radley wrote: > > Scott Taylor propounded (on Tue, Oct 03, 2000 at 09:01:07AM -0700): > | Has anyone seen a TA to add the Linux term to /etc/termcap? Or a > | patch/update/post, anything? > | > | Someone, (I think it was from here) long ago, gave my some instruction > | on how to get the termcap info from linux and then import it into the > | OSR5 termcap. It works, but not well, it still doesn't recognize most > | of the editing keys. > > Importing is a matter of copying it. > > From filePro's termcap file: > > linux|Linux Console:\ > :al=\E[L:am:cd=\E[J:ce=\E[K:cl=\E[2J\E[H:cm=\E[%i%d;%dH:co#80:\ > :dc=\E[P:dl=\E[M:dn=\E[B:ei=:ho=\E[H:ic=\E[@:im=:li#25:\ > :nd=\E[C:ms:pt:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:up=\E[A:\ > :kh=\E[H:kb=\177:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:eo:PV:\ > :GS=\E[12m:GE=\E[10m:\ > :GV=\263:GH=\304:\ > :G1=\277:G2=\332:G3=\300:G4=\331:GZ=\376:\ > :GU=\301:GD=\302:GC=\305:GR=\303:GL=\264:RT=^J:\
if this is not for filePro then do not copy this section below, or the "GZ=..." field above, and you might want to grab the entries from the linux /etc/termcap for linux and some of the klone+XX entries instead of this. At the bottom of the linux entry in /etc/termcap there are sometimes a few "tc=klone+sgr:tc=klone+color:...". so along with linux, grab whatever other entries the linux one references with "tc=..." if after this your apps seems to work ok as far as color and recognized keystrokes, but you still have junk instead of graphics characters for line-drawings, you could try either or both of the following. run mapchan -n on the sco box just before running the application replace all of the GS,GE,GV,G1,etc... in the linux entry you copied with the ones listed above. in order to make your > :L0=F1:L1=F2:L2=F3:L3=F4:L4=ESC ESC:L5=F5:\ > :L6=Pg Up:L7=Pg Dn:L8=ESC TAB:L9=TAB:LA=Ctrl-O:\ > :LB=F6:LC=Ctrl-L:LD=F7:\ > :LE=F8:LG=Ctrl-X:LH=F9:LY=Ctrl-C:LZ=Enter:\ > :P0=\E[[A:P1=\E[[B:P2=\E[[C:P3=\E[[D:\ > :P4=\E\E:P5=\E[[E:P6=\E[5~:P7=\E[6~:P8=\E^I:P9=^I:\ > :PA=^O:PB=\E[17~:PC=^L:PD=\E[18~:PE=\E[19~:PG=^X:PH=\E[20~:\ > :PJ=\E[21~:LJ=F10: > > -- > JP and if this is for general use (as opposed to a particular app that you happen to know uses termcap) you will also want to copy the terminfo files.
I don't know if you can just copy the binaries or if you have to copy source and then compile it on open server. to try just copying the binary: copy from linux: /usr/share/terminfo/l/linux to sco: /usr/lib/terminfo/l/linux otherwise, on linux do: infocmp linux >linux.src then copy linux.src to /usr/lib/terminfo on sco then on sco do: cd /usr/lib/terminfo tic linux.src -- Brian K. White https://www.squonk.net/users/linut +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani
Got something to add? Send me email.
Technology is both a tool for helping humans and for destroying them. This is the paradox of our times which we're compelled to face (Frank Herbert).