Path: 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: Date: 27 Jul 89 22:26:54 GMT Sender: news@hplb.hpl.hp.com Distribution: gnu Organization: Hewlett-Packard Laboratories, Bristol, UK. Lines: 34 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