🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #53

"term_backspace" incorrectly set in readline.c

#53
From: John Franks
Date: Sat, 24 Jun 1989 01:37
29 lines
1478 bytes
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);



John Franks 	Dept of Math. Northwestern University
		Internet	john@math.nwu.edu
		Bitnet		j_franks@nuacc
Technical Details
Message-ID: <791@accuvax.nwu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!agate!ucbvax!tut.cis.ohio-state.edu!mailrus!shadooby!accuvax.nwu.edu!hopf.math.nwu.edu!john

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!agate!ucbvax!tut.cis.ohio-state.edu!mailrus!shadooby!accuvax.nwu.edu!hopf.math.nwu.edu!john
From: john@hopf.math.nwu.edu (John Franks)
Newsgroups: gnu.bash.bug
Subject: "term_backspace" incorrectly set in readline.c
Message-ID: <791@accuvax.nwu.edu>
Date: 24 Jun 89 01:37:31 GMT
Sender: news@accuvax.nwu.edu
Reply-To: john@hopf.math.nwu.edu (John Franks)
Distribution: gnu
Organization: Dept. of Math., Northwestern Univ. Evanston, Il.
Lines: 29