🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Andy Norman Thu, 27 Jul 1989 22:26
apparent bug in flushing completion message query
#390
Author: Andy Norman
Date: Thu, 27 Jul 1989 22:26
34 lines
1433 bytes
Bash Version:		1.02
Machine:		HP9000/350
Operating System:	HP-UX 6.5
Compiler:		CC

Apologies in advance if this bug has been reported before.

If I attempt to do completion on something that has many possible completions,
I get the first line of a messsage which is apparently asking me if I wish to
see all the possibilites.  I only see the first line of the message because
the second line is not flushed until I answer the question.

I think that the offending code is in readline.c:

	    /* If there are many items, then ask the user if she
	       really wants to see them all. */
	    if (len >= rl_completion_query_items)
	      {
		crlf ();
		fprintf (out_stream,
			 "There are %d possibilities.  Do you really", len);
		crlf ();
		fprintf (out_stream, "wish to see them all? (y or n)");
		if (!get_y_or_n ())
		  {
		    crlf ();
		    goto restart;
		  }
	      }

--
					-- ange --

					ange@hplb.hpl.hp.com
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