🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #390

apparent bug in flushing completion message query

#390
From: 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
Technical Details
Message-ID: <ANGE.89Jul27182654@anorman.hpl.hp.com>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!watmath!uunet!bu-cs!purdue!tut.cis.ohio-state.edu!ucbvax!agate!apple!motcsd!hpda!hplabs!otter!hplb!anorman!ange

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!watmath!uunet!bu-cs!purdue!tut.cis.ohio-state.edu!ucbvax!agate!apple!motcsd!hpda!hplabs!otter!hplb!anorman!ange
From: ange@hplb.hpl.hp.com (Andy Norman)
Newsgroups: gnu.bash.bug
Subject: apparent bug in flushing completion message query
Message-ID: <ANGE.89Jul27182654@anorman.hpl.hp.com>
Date: 27 Jul 89 22:26:54 GMT
Sender: news@hplb.hpl.hp.com
Distribution: gnu
Organization: Hewlett-Packard Laboratories, Bristol, UK.
Lines: 34