Emacs 18.57, ISC 2.2.1, Protocol rev, TERM variable (SUMMARY)

leo at aai.com leo at aai.com
Tue Apr 9 08:40:25 AEST 1991


I wrote:

>I just built Emacs 18.57 on my 486/25 running 2.2.1.

>When I start emacs under X (I built it with X support), it usually starts
>and runs fine - the first time.  But, more often than not, I get the error:

>	Warning: Client built for newer server!
>	Warning: Protocol rev. of client does not match server!

>and Emacs sits there eating up cpu cycles but without creating a window or
>doing anything useful.  What I find most puzzling is that SOMETIMES it
>works and doesn't give any error messages!  Any clues as to what the
>problem is?  I'm using ISC's X11 development system.

Thanks to Phil Kemp for relaying the fix to me!
Uncomment or add the line

#define HAVE_SELECT

to config.h and it creates windows in X properly on ISC 2.2.1.  Apparently,
on SCO, there may be some other changes necessary.  Phil said:

> The calls to select are not right for SYSV. Look at
> the calls made in x11fns.c and make all other select calls look like
> that. I can't just remember the field but it had a variable address
> and needed a '0'...
--------------------------------------------------------------------------
I wrote:

>When running emacs outside X, it works properly but the termcap stuff seems
>a little messed up.  The mode line isn't reverse video, has "RD" at the
>beginning of it, and the refreshing doesn't always happen when it should.
>I tried changing my TERM variable from at386 to at386-M and that seemed to
>be better as far as refresh is concerned.  What do others use when running
>emacs?  Are there any new termcap entries I need?

Thanks to Chris Weiner for sending me a new at386 termcap entry that works
properly!  He posted it as well, but I'll include it here in case you
missed it.  It's not very long.

AT386|at386|386AT|386at|at/386 console,
	am, bw, eo, km, xon,
	colors#8, cols#80, lines#25, ncv#3, pairs#64,
	acsc=``a1fxgqh0jYk?lZm at nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~,
	bel=^G, blink=\E[5m, bold=\E[1m, 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,
	ed=\E[J, el=\E[K, flash=^G, home=\E[H, ich=\E[%p1%d@,
	ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S,
	indn=\E[%p1%dS, 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,
-- 
Leo	leo at aai.com   leo%aai at uunet.uu.net   ...uunet!aai!leo



More information about the Comp.unix.sysv386 mailing list