🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by John Franks Sat, 10 Jun 1989 20:09
Readline backspace char problem, etc.
#1026
Author: John Franks
Date: Sat, 10 Jun 1989 20:09
55 lines
1689 bytes
I believe that there is a bug in redline.c where the termcap backspace
string is read.  It seems this string "term_backspace"  is never actually
set to the correct value.  

Also I had to add a couple of declartions to get it to compile with the
Sun C compiler (SunOS 4.0) on Sun 3's and 4's.  Here are the diffs.

diff readline.c readline.c.orig
78,79c78
< static void move_cursor_relative();
< static void output_some_chars();
---
> 
235d233
< static int
240d237
< 	char *get_string_value( );
726a724
>   static void move_cursor_relative ();
1242c1240,1242
<   term_backspace = tgetstr ("le", &buffer);
---
>   BC = tgetstr ("le", &buffer);
> 
>   term_backspace = tgetstr ("bw", &buffer);

In builtins.c there are some embedded newlines in strings:

diff builtins.c builtins.c.orig
363c363,364
< 	command name.\n\n\
---
> 	command name.
> 
367c368,369
< 	respectively.\n\n\
---
> 	respectively.
> 

In shell.c the two functions termination_unwind_protect() and 
throw_to_top_level()  must be declared sighandler.

diff shell.c shell.c.orig
768d767
< sighandler
778d776
< sighandler



John Franks 	Dept of Math. Northwestern University
		Internet	john@math.nwu.edu
		Bitnet		j_franks@nuacc
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