🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by John Franks Sat, 24 Jun 1989 01:37
"term_backspace" incorrectly set in readline.c
#53
Author: 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
"term_backspace" incorrectly set in readline.c
#55
Author: 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

	
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads