Xref: utzoo gnu.emacs:2384 comp.emacs:7859 Path: utzoo!attcan!uunet!dialogic!drich From: drich@.UUCP (Dan Rich) Newsgroups: gnu.emacs,comp.emacs Subject: Re: Problems with GNU-Emacs 18.55 and Interactive 386/ix Message-ID: <1114@dialogic.UUCP> Date: 26 Feb 90 19:39:06 GMT References: <1990Feb22.222858.5907@orfeo.radig.de> <14292@cbnews.ATT.COM> Sender: news@dialogic.UUCP Reply-To: drich@dialogic.com (Dan Rich) Followup-To: gnu.emacs Distribution: world,gnu Organization: Dialogic Corp., Parsippany, NJ Lines: 60 In article <14292@cbnews.ATT.COM> shurr@cbnews.ATT.COM (Larry A. Shurr,20650,cb,9a110,6148605851) writes: >In article <1990Feb22.222858.5907@orfeo.radig.de> peter@orfeo.radig.de (Peter Radig) writes: >}I had some problems with building Emacs 18.55 on my Interactive Unix. >}The problems were with curses (garbled screen output either with TERM= >}ansi and TERM=AT386) and with `sysdep.c' (is it ok to undef TIOCGETC >}like it is done under XENIX?). > >The terminfo entry for TERM=at386 is screwed up. >.... Unfortunately, I have misplaced the complete >list of changes, hopefully someone else has them and will post (please?). Here is the terminfo that I ended up with to make GNU Emacs work (and also keep anything else from breaking. 8<------------------------------ Cut Here ------------------------------>8 AT386|at386|386AT|386at|at/386 console, am, bw, eo, xon, colors#8, cols#80, lines#25, ncv#3, pairs#64, acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H, cr=\r, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%02d;%p2%02dH, cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K\E[X, flash=^G, home=\E[H, hpa=\E[%i%p1%dG, ht=\t, ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S, indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=\b, kcbt=^], kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@, knp=\E[U, kpp=\E[V, krmir=\E0, op=\E[0m, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, setb=\E[%?%p1%{0}%=%t40m%e%p1%{1}%=%t44m%e%p1%{2}%=%t42m%e%p1%{3}%=%t46m%e%p1%{4}%=%t41m%e%p1%{5}%=%t45m%e%p1%{6}%=%t43m%e%p1%{7}%=%t47m%;, setf=\E[%?%p1%{0}%=%t30m%e%p1%{1}%=%t34m%e%p1%{2}%=%t32m%e%p1%{3}%=%t36m%e%p1%{4}%=%t31m%e%p1%{5}%=%t35m%e%p1%{6}%=%t33m%e%p1%{6}%=%t33m%e%p1%{7}%=%t37m%;, sgr=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;%?%p9%t;12%;%?%p7%t;9%;m, sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 8<------------------------------ Cut Here ------------------------------>8 I don't remember what all of the changes were (other than removing the xt flag), but it does work. As for undefining TIOCGETC, as far as I can remember, that is the only change you need to make to get GNU Emacs to compile under ISC 386/ix. One last thing. I have written an elisp terminal init file that will correctly bind all of the keys on the numeric keypad, moves help to C-?, and also gives pointers to binding the function keys. If anyone is interested in it (and if you don't have it already), feel free to ask for it. Who knows, if I have to post it enough times, it might even get included in the Emacs distribution... -- Dan Rich | ARPA: drich@dialogic.com UNIX Systems Administrator | UUCP: uunet!dialogic!drich Dialogic Corporation | - Time is an illusion. Lunchtime, doubly so. - (201) 334-1268 x213 | Douglas Adams