Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83 (MC840302); site log-hb.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!mcvax!enea!log-hb!hans
From: hans@log-hb.UUCP (Hans Albertsson)
Newsgroups: net.emacs
Subject: Re: Gnu Emacs on Suns/redisplay
Message-ID: <301@log-hb.UUCP>
Date: Mon, 30-Sep-85 22:05:33 EDT
Article-I.D.: log-hb.301
Posted: Mon Sep 30 22:05:33 1985
Date-Received: Sat, 28-Sep-85 07:42:53 EDT
References: <2766@sun.uucp> <1324@teddy.UUCP>
Reply-To: hans@log-hb.UUCP (Hans Albertsson)
Distribution: net
Organization: TeleLOGIC Nyn{shamn SWEDEN
Lines: 25

In article <1324@teddy.UUCP> jpn@teddy.UUCP (John P. Nelson) writes:
>
>My termcap for sun (note the addition of AL/DL/IC/DC sequences):
>
>Mu|sun|Sun Microsystems Workstation console:\
>	:li#34:co#80:cl=^L:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
>	:ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:rs=\E[s:am:bs:km:ms:pt:\
>	:kd=\E[B:kl=\E[D:ku=\E[A:kr=\E[C:kh=\E[H:\
>	:al=\E[L:dl=\E[M:im=:ei=:ic=\E[@:dc=\E[P:\
 NOTE!!!------------------^----^  This is WRONG...
>	:AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:
This ENABLES the im and ei functions, assigning the null string to both.
Which is probably NOT what you want.
Disabling im and ei should instead be done as follows:
	:al=\E[L:dl=\E[M:im@:ei@:ic=\E[@:dc=\E[P:\
according to my TERMCAP(5) manual entry, at least. Both on SUN OS 2.0
and 4.2 BSD. Trying both shows clearly that this is indeed so.

BTW, what version of Gosmacs actually USES AL-DC via TrmTerm.c?
Mine sure doesn't...

-- 
Hans Albertsson, USENET/uucp: {decvax,philabs}!mcvax!enea!log-hb!hans
						     ....!erix!erisun!hans
Real World:  ERICSSON Information Systems,Sundbyberg,SWEDEN