On Tue, 26 Apr 2005 16:04:38 -0500 Chris Lawrence <[EMAIL PROTECTED]> wrote:
> On 4/26/05, Alfie Costa <[EMAIL PROTECTED]> wrote: > > ...but I don't understand what "Normal bugs - outstanding: 5 remain" means. > > There's more than 5 bugs remaining. So it's 5 of what? > > 5 appear on the next screenful. Thanks for the explanation. But the position of that data seems oddly placed. Example with plain old 'querybts bash'. Press enter a few times, and at the bottom of the screen it says: Important bugs - forwarded to upstream software authors 51) #259987: bash_completion: several completions fail to handle filenames with spaces and other qu 52) #263024: bash: memleak problem (31-52/110) What would you like to do next [N|m|r|q|f|?]? ...press enter, it scrolls, and the screen shows: Normal bugs - forwarded to upstream software authors: 3 remain 53) #61739: bash: evil segfault finction ...{how many lines go here depends on the size of your terminal -AC}... 79) #274592: bash: History substitution doesn't happen after ^V^J. (53-79/110) What would you like to do next [N|m|r|q|f|?]? ...press enter, and the top of the screen shows the 3: Normal bugs - forwarded to upstream software authors 80) #278295: bash: cd completion escapes variable names (e.g. "$FO<tab>" => "\$FOO") 81) #282762: bash: CR+LF in shell script causes "bad interpreter" 82) #282799: bash: Completion of fd redirect after find command limited to directories Minor bugs - forwarded to upstream software authors 83) #100743: bash: inconsistent handling of filename completion wrt colons For me, seeing the '3 remain' prompt on the top of the former screen applying to the latter screen wasn't obvious. It would be obvious if the screen had an unchanging top line titlebar like 'mcedit', but the top line of 'querybts' tends to vary, so a user might not check there since it's not a fixed point. I'd like to suggest some other prompting format, where everything is on the bottom line, but right now nothing better comes to mind. Maybe: (53-79/110) 3 Normal bugs remain. What would you like to do next [N|m|r|q|f|?]? Meanwhile if there's anyone who needs it, here's a second go at 'qbtsnoprompt', filtering out the ": n remain", since it's clear it wasn't needed: qbtsnoprompt() { yes n | querybts $1 2>&1 | sed -e 's#^.*?]? *#\n#' -e 's#\n\n#\n#' -e 's# *[0-9]* remain##' ; } HTH... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]