ange@hplb.hpl.hp.com (Andy Norman) (07/28/89)
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