[gnu.emacs.bug] GNU Emacs 18.55 display problem

marcl@vax.spd.3com.com (Marc Lavine) (01/06/90)

When I use a certain termcap entry that I wrote, the GNU Emacs version
18.55 mode line is not displayed the way I expect.  At the begining of
the mode line, Emacs sends a character string which does not appear in
my termcap entry.  I would expect it to send the string defined for
the "so" termcap capability, but it does not appear to do this.

Here are the contents of some files, with which I hope you can
reproduce this problem:

~/.emacs:
(open-termscript "~/termscript")

/home/marcl/ansi.tc:
IP|ibm-pc-ansi|pcansi|IBM-PC compatible using ansi.sys driver:\
	:bl=^G:bs:ce=\E[K:cl=\E[2J:cm=\E[%i%d;%dH:co#80:cr=^M:DO=\E[%dB:\
	:do=\E[B:ho=\E[H:is=\E[0m\E[?7h:K1=\200\107:K2=\200\111:\
	:K4=\200\117:K5=\200\121:k0=\200\104:k1=\200\073:k2=\200\074:\
	:k3=\200\075:k4=\200\076:k5=\200\077:k6=\200\100:k7=\200\101:\
	:k8=\200\102:k9=\200\103:kb=^?:kD=\200\123:kd=\200\120:kh=\200\107:\
	:kI=\200\122:kl=\200\113:kM=\200\122:kN=\200\121:kn=10:kP=\200\111:\
	:kr=\200\115:ku=\200\110:l0=F10:l1=F1:l2=F2:l3=F3:l4=F4:l5=F5:l6=F6:\
	:l7=F7:l8=F8:l9=F9:LE=\E[%dD:le=^H:li#25:mb=\E[5m:md=\E[1m:me=\E[0m:\
	:mk=\E[8m:mr=\E[7m:ms:nd=\E[C:nl=\E[s^J\E[u\E[B:nw=^M^J:RI=\E[%dC:\
	:rs=\E[?3h\E[?7h:se=\E[0m:sf=\E[25;1H^J:so=\E[7m:te=\E[?7h:\
	:ti=\E[?7l:UP=\E[%dA:up=\E[A:xt:

I entered the following commands (in csh):

setenv TERM pcansi
setenv TERMCAP /home/marcl/ansi.tc
emacs

After the initial emacs screen was displayed, I saved the contents of
the ~/termscript file from another terminal.  Here are the file's contents:

[?7l[2JGNU Emacs 18.55.3.sun3-4.0 of Tue Sep 26 1989 on kamet (berkeley-unix)[2;1HCopyright (C) 1988 Free Software Foundation, Inc.[3;1HType C-h for help; C-x u to undo changes.  (`C-' means use CTRL key.)[5;1HGNU Emacs comes with ABSOLUTELY NO WARRANTY; type C-h C-w for full details.[6;1HYou may give out copies of Emacs; type C-h C-c to see the conditions.[7;1HType C-h C-d for information on getting the latest version.[8;1HType C-h t for a tutorial on using Emacs.[10;1H************************************


******************[11;1H* No local news is available on the current version. *[12;1H******************************************************[23;1HRD-----Emacs: *scratch*              (Text Fill)----All--------------------------[13;1H


Everything looks fine to me up until the RD string.

	Marc Lavine