Doing simple things with AIX PS/2

George Bray ghb at locus.com
Sat Dec 2 15:47:44 AEST 1989


In article <1359 at fcs280s.ncifcrf.gov> sherman at fcs260c2.UUCP () writes:
>
>I am in a small group of mathematicians who are trying to upgrade
>from DOS to unix by putting AIX (v 1.1) on PS/2's (Model 80's and 70's).
>We have an IBM Token Ring local network on which coexist AIX machines
>using TCP/IP and DOS machines using IBM PC-LAN.
>
>1) Terminal emulation: When we telnet or rlogin as a vt100 to a non-AIX
>machine (eg SUN or VMS VAX) vi doesn't work properly.  For example, when
>you type ^U the top line changes but not the rest of the screen; when you
>delete a line, it is not deleted from the screen; etc.  Terminal emulation
>to AIX machines is ok.

As others have already said, the problem with this is most likely due to
the other machines not knowing how to generate escape sequences to drive
the HFT on the AIX machine.  You have to create a file on each of the unix
machines that tells it how to generate escape sequences for your HFTs.  For
BSD-based unix systems (like Suns), you'll need to add a termcap entry for
HFT.  Below is one that I'm using on a 4.3Tahoe Vax.

hf|hft|hft-c|ibm8512|ibm8513|IBM High Function Terminal:\
	:co#80:li#25:am:ht:\
	:cm=\E[%i%d;%dH:ti=\E[20;4l\E[?7h\Eb:te=\E[20h:\
	:nd=\E[C:up=\E[A:do=^J:ho=\E[H:\
	:ec=\E[%dX:\
	:cl=\E[H\E[J:cd=\E[J:el=\E[K:\
	:AL=\E[%dL:DL=\E[%dM:al=\E[L:dl=\E[M:\
	:im=\E[4h:ei=\E[4l:mi:\
	:dm=\E[4h:ed=\E[4l:\
	:so=\E[7m:se=\E[m:ul=\E[4m:ue=\E[m:ms:\
	:md=\E[1m:mr=\E[7m:mb=\E[5m:me=\E[m:\
	:ac=^N:ae=^O:sc=\E[s:rc=\E[u:\
	:kb=\E[D:kf=\E[C:ku=\E[A:kd=\E[B:kh=\E[H:\
	:k1=\E[001q:k2=\E[002q:k3=\E[003q:k4=\E[004q:k5=\E[005q:\
	:k6=\E[006q:k7=\E[007q:k8=\E[008q:k9=\E[009q:k0=\E[010q:\
	:is=\Eb\E[m^O\E[?7h:rs=\Eb\E[m^O\E[?7h\E[H\E[J:

This should be added to the /etc/termcap file on each of the machines
you wish to telnet or rlogin to.

>Beset in Bethesda,
>Arthur Sherman
>sherman at ncifcrf.gov
>(301) 496-4325

Hope this helps people.  It seems to work well most of the time.

George Bray
Locus Computing Corporation, 9800 La Cienega Blvd, Inglewood, CA  90301-4440

213-337-5171			{randvax,sdcrdcf,ucbvax}!ucla-se!lcc!ghb
lcc!ghb at seas.ucla.edu		{gryphon,turnkey,attunix,oblio}!lcc!ghb



More information about the Comp.unix.aix mailing list