🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #1048

Emacs bug (version 18.52.4)

#1048
From: Edward Wang
Date: Tue, 04 Oct 1988 07:16
22 lines
1208 bytes
Manifestation: Emacs (version 18.52.4) does not use insert
or delete character to update the display on terminals
with termcap entries "im" and "ei" but no "ic".  Adding
the blank "ic=" entry fixes the problem.

Fix: In term.c, the flag char_ins_del_ok is not computed correctly.
The lines

  char_ins_del_ok = ((TS_ins_char || TS_ins_multi_chars)
		     && (TS_del_char || TS_del_multi_chars));

should be

  char_ins_del_ok = ((TS_insert_mode || TS_ins_char || TS_ins_multi_chars)
		     && (TS_del_char || TS_del_multi_chars));

I don't think it is necessary to add TS_delete_mode, since "dc"
is required even with "dm" set (it doesn't make sense otherwise).
However, "ic" is not required when "im" is set.

This exists in all Emacs versions, but char_ins_del_ok is unused
until this version.
Technical Details
Message-ID: <8810040716.AA22020@ucbarpa.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!UCBARPA.BERKELEY.EDU!edward

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!UCBARPA.BERKELEY.EDU!edward
From: edward@UCBARPA.BERKELEY.EDU (Edward Wang)
Newsgroups: gnu.emacs.bug
Subject: Emacs bug (version 18.52.4)
Message-ID: <8810040716.AA22020@ucbarpa.Berkeley.EDU>
Date: 4 Oct 88 07:16:11 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 22