john@hopf.math.nwu.edu (John Franks) (06/24/89)
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@nuaccbfox@AUREL.CALTECH.EDU (Brian Fox) (06/24/89)
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