Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!swrinde!kent From: kent@swrinde.nde.swri.edu (Kent D. Polk) Newsgroups: comp.sys.amiga Subject: Re: DNET/FTERM and GNU-emacs Message-ID: <25775@swrinde.nde.swri.edu> Date: 29 Mar 90 14:45:47 GMT References: <1990Mar27.153542.2577@iesd.auc.dk> <25774@swrinde.nde.swri.edu> <12117@etana.tut.fi> Reply-To: kent@swrinde.UUCP (Kent D. Polk) Organization: Southwest Research Institute, San Antonio, Texas Lines: 43 In article <12117@etana.tut.fi> mk59200@korppi.tut.fi (Kolkka Markku Olavi) writes: >In article <25774@swrinde.nde.swri.edu> kent@swrinde.UUCP (Kent D. Polk) writes: >> >>Haven't tried it with emacs, but my amiga termcap recently posted >>handles the arrow keys and the function keys correctly. > >Correctly?? The arrow keys don't work with tcsh, emacs or >anything else. I'm using an 8-bit connection throgh a terminal server >to a SunOS 4.0 machine, and the latest posted version of DNet. > >GNU-Emacs doesn't says 'terminal type amiga unknown' and exits, >tcsh just blinks the screen. Do you have it installed correctly? What does 'env' have to say: Should be something similar to this: (Probably will get trashed in transmission) TERMCAP=AA|amiga:co#80:li#49:am:bs:bw:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE= \E[%dD:RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=\017:al=\E[L:as=\016:bl=\007:bt =\E[Z:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:dc=\E[P:dl=\E[M:do=\E[B:ho=\E[H: ic=\E[@:is=\E[20l:k1=\E0~:k2=\E1~:k3=\E2~:k4=\E3~:k5=\E4~:k6=\E5~:k7=\E6~:k8=\E7~ :k9=\E8~:k0=\E9~:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:le=\E[D:mb=\E[7;2m:md=\E[1m:me =\E[0m:mh=\E[2m:mk=\E[8m:mr=\E[7m:nd=\E[C:nl=\E[B:rs=\Ec:se=\E[0m:sf=\E[S:so=\E[7 m:sr=\E[T:ue=\E[0m:up=\E[A:us=\E[4m:ve=\E[\040p:vi=\E[\060\040p:xn: (oops, li#49 is li#24 in my released version) If it is not in your /etc/termcap file than you can put it in /amiga, insert this alias, and type 'amiga' when you want to activate (or invoke it from .login, etc.) alias amiga "setenv TERMCAP path/amiga; set term = amiga" Note that this is for a csh, but it has been used in many other environments & with various emacs. Also works with things like ELM and everything else I know of that uses the termcap facility. If you still can't get it working, email me & we'll see if something can't be done. ==================================================================== Kent Polk - Southwest Research Institute - kent@swrinde.nde.swri.edu Motto : "Anything worth doing is worth overdoing" ====================================================================