From xemacs-m  Mon Jul 14 01:22:11 1997
Received: from cerise.sensei.co.uk (glynn@muvies.demon.co.uk [158.152.66.14])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id BAA28752
	for <xemacs-beta@xemacs.org>; Mon, 14 Jul 1997 01:22:08 -0500 (CDT)
Received: (from glynn@localhost) by cerise.sensei.co.uk (8.8.5/8.8.2) id HAA07858; Mon, 14 Jul 1997 07:24:57 +0100
Date: Mon, 14 Jul 1997 07:24:57 +0100
Message-Id: <199707140624.HAA07858@cerise.sensei.co.uk>
From: Glynn Clements <glynn@sensei.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: xemacs-beta@xemacs.org
Subject: [Patches] eterm
X-Mailer: VM 6.32 under 20.3 "Brussels" XEmacs  Lucid (beta13)


1) I found loads of these in ~/.xsession-errors:

Comparison between integer and character is constant nil (0 and ?\^G)
   [term-emulate-terminal]

This seems to fix it:

--- lisp/eterm/term.el~	Mon Jul 14 07:13:11 1997
+++ lisp/eterm/term.el	Mon Jul 14 07:11:51 1997
@@ -2260,7 +2260,7 @@
 			    (term-move-columns -1))
 			   ((eq char ?\033) ; Escape
 			    (setq term-terminal-state 2))
-			   ((eq char 0)) ; NUL: Do nothing
+			   ((eq char ?\0)) ; NUL: Do nothing
 			   ((eq char ?\016)) ; Shift Out - ignored
 			   ((eq char ?\017)) ; Shift In - ignored
 			   ((eq char ?\^G)

2) Lynx doesn't erase things when it should. Seems that the terminfo
entry for `el1' doesn't work. Removing the entry and recompiling with
tic seems to fix it:

--- etc/e/eterm.ti~	Mon Jul 14 06:31:54 1997
+++ etc/e/eterm.ti	Mon Jul 14 06:32:51 1997
@@ -6,7 +6,7 @@
 	cup=\E[%i%p1%d;%p2%dH,
 	ind=\n,csr=\E[%i%p1%d;%p2%dr,
 	il1=\E[L,il=\E[%p1%dL,
-	clear=\E[H\E[J,ed=\\E[J,el=\E[K,el1=\E[1K,
+	clear=\E[H\E[J,ed=\\E[J,el=\E[K,
 	dl1=\E[M,dl=\E[%p1%dM,dch1=\E[P,dch=\E[%p1%dP,
 	kcub1=\E[D,kcuf1=\E[C,kcuu1=\E[A,kcud1=\E[B,
 	smir=\E[4h,rmir=\E[4l,ich=\E[%p1%d@,mir,

-- 
Glynn Clements <glynn@sensei.co.uk>

