🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #55

"term_backspace" incorrectly set in readline.c

#55
From: Brian Fox
Date: Sat, 24 Jun 1989 02:26
37 lines
1728 bytes
   Date: 24 Jun 89 01:37:31 GMT
   From: john@hopf.math.nwu.edu  (John Franks)
   Organization: Dept. of Math., Northwestern Univ. Evanston, Il.
   Sender: bug-bash-request@prep.ai.mit.edu

   I may be wrong but I believe that in readline.c  the  "term_backspace"
   string  is  being  incorrectly  set in version 1.01.  The "bw" termcap
   field is a boolean value telling whether backspacing "wraps"  backward
   to  the  previous  line.   The  string  which  should be pointed to by
   term_backspace is the character sequence  to  cause  the  terminal  to
   backspace the cursor without erasing.  This string is the "le" termcap
   field.  

   *** readline.c.1.01	Fri Jun 23 14:25:33 1989
   --- readline.c	Fri Jun 23 14:25:41 1989
   ***************
   *** 1312,1316 ****
       BC = tgetstr ("le", &buffer);

   !   term_backspace = tgetstr ("bw", &buffer);

       term_cr = tgetstr ("cr", &buffer);
   --- 1312,1316 ----
       BC = tgetstr ("le", &buffer);

   !   term_backspace = tgetstr ("le", &buffer);

       term_cr = tgetstr ("cr", &buffer);

Yes, this is a bug.  But please also delete the
       BC = tgetstr ("le", &buffer);
line from the source, as well as changing the other line.

Brian

	
Technical Details
Message-ID: <8906240226.AA12372@aurel.caltech.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!AUREL.CALTECH.EDU!bfox
References: <791@accuvax.nwu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!AUREL.CALTECH.EDU!bfox
From: bfox@AUREL.CALTECH.EDU (Brian Fox)
Newsgroups: gnu.bash.bug
Subject: "term_backspace" incorrectly set in readline.c
Message-ID: <8906240226.AA12372@aurel.caltech.edu>
Date: 24 Jun 89 02:26:42 GMT
References: <791@accuvax.nwu.edu>
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: bfox@aurel.caltech.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 37