Thread: [Bashburn-info] Dodgy BUG
Brought to you by:
bashburn
From: Nick W. <ni...@li...> - 2008-09-25 13:59:01
|
OK, I just discovered a dodgy bug. Go to any menu, and hit escape key 3 or 4 times. You get a full offered a full directory listing. I guess we need to assign this key similar to SIGNAL type assignment. Nick -- Free Software Foundation Associate Member 5508 |
From: Steven W. O. <st...@sy...> - 2008-09-25 15:31:08
|
On Thursday, Sep 25th 2008 at 09:58 -0000, quoth Nick Warne: =>OK, I just discovered a dodgy bug. => =>Go to any menu, and hit escape key 3 or 4 times. You get a full =>offered a full directory listing. => =>I guess we need to assign this key similar to SIGNAL type assignment. => =>Nick That's a feature. :-) I'm not exactly sure what it's hooked up to but it's a readline thing, one of the Completing commands. This one completes based on all possible commands. It's probably one of these: possible-command-completions (C-x !) List the possible completions of the text before point, treating it as a command name. dynamic-complete-history (M-TAB) Attempt completion on the text before point, comparing the text against lines from the history list for possible completion matches. If it's *really* a problem, we could create an inputrc for bb to have an alternate initialization of readline. As it sits now, it has nothingh to do with bb. -- Time flies like the wind. Fruit flies like a banana. Stranger things have .0. happened but none stranger than this. Does your driver's license say Organ ..0 Donor?Black holes are where God divided by zero. Listen to me! We are all- 000 individuals! What if this weren't a hypothetical question? steveo at syslang.net |
From: Nick W. <ni...@li...> - 2008-09-25 20:53:21
|
On Thu, 25 Sep 2008 11:31:01 -0400 (EDT) "Steven W. Orr" <st...@sy...> wrote: > On Thursday, Sep 25th 2008 at 09:58 -0000, quoth Nick Warne: > > =>OK, I just discovered a dodgy bug. > => > =>Go to any menu, and hit escape key 3 or 4 times. You get a full > =>offered a full directory listing. > => > =>I guess we need to assign this key similar to SIGNAL type > assignment. => > =>Nick > > That's a feature. :-) > > I'm not exactly sure what it's hooked up to but it's a readline > thing, one of the Completing commands. This one completes based on > all possible commands. It's probably one of these: > > possible-command-completions (C-x !) > List the possible completions of the text before point, > treating it as a command name. > dynamic-complete-history (M-TAB) > Attempt completion on the text before point, comparing > the text against lines from the history list for possible > completion matches. > > If it's *really* a problem, we could create an inputrc for bb to have > an alternate initialization of readline. > > As it sits now, it has nothingh to do with bb. OK. Is/could it be a problem though? Is there no way to catch the escape key? I mean, who would press escape key 3 or 4 times other than a moron like me :-) Nick -- Free Software Foundation Associate Member 5508 |
From: Anders L. <and...@gm...> - 2008-09-25 23:12:51
|
> OK. Is/could it be a problem though? Is there no way to catch the > escape key? > > I mean, who would press escape key 3 or 4 times other than a moron like > me :-) > Very true. You're one of a kind Nick. :-) No, I don't think this is much of a problem. I find it very unlikely that a lot of people will press the escape key that many times to trigger this behaviour. > Nick -- Anders Lindén http://bashburn.sf.net |
From: Steven W. O. <st...@sy...> - 2008-09-26 02:47:21
|
On Thursday, Sep 25th 2008 at 16:53 -0000, quoth Nick Warne: =>On Thu, 25 Sep 2008 11:31:01 -0400 (EDT) =>"Steven W. Orr" <st...@sy...> wrote: => =>> On Thursday, Sep 25th 2008 at 09:58 -0000, quoth Nick Warne: =>> =>> =>OK, I just discovered a dodgy bug. =>> => =>> =>Go to any menu, and hit escape key 3 or 4 times. You get a full =>> =>offered a full directory listing. =>> => =>> =>I guess we need to assign this key similar to SIGNAL type =>> assignment. => =>> =>Nick =>> =>> That's a feature. :-) =>> =>> I'm not exactly sure what it's hooked up to but it's a readline =>> thing, one of the Completing commands. This one completes based on =>> all possible commands. It's probably one of these: =>> =>> possible-command-completions (C-x !) =>> List the possible completions of the text before point, =>> treating it as a command name. =>> dynamic-complete-history (M-TAB) =>> Attempt completion on the text before point, comparing =>> the text against lines from the history list for possible =>> completion matches. =>> =>> If it's *really* a problem, we could create an inputrc for bb to have =>> an alternate initialization of readline. =>> =>> As it sits now, it has nothingh to do with bb. => =>OK. Is/could it be a problem though? Is there no way to catch the =>escape key? => =>I mean, who would press escape key 3 or 4 times other than a moron like =>me :-) I'm actually slightly intrigued by this because I don't see where the definition is. The bash man page gives all of the function definitions and all of their default bindings. None of the default bindings correspond to M-<ESC>. (BTW, to activate it, you don't need to hit it three or four times. Exactly two will do it. Or hold the Alt key while hitting escape.) Intrigued, but not intrigued enough to chase it. ;-) -- steveo at syslang dot net TMMP1 http://frambors.syslang.net/ Do you have neighbors who are not frambors? Steven W. Orr |
From: Nick W. <ni...@li...> - 2008-09-26 06:33:30
|
On Thu, 25 Sep 2008 21:32:04 -0400 (EDT) "Steven W. Orr" <st...@sy...> wrote: > =>> As it sits now, it has nothingh to do with bb. > => > =>OK. Is/could it be a problem though? Is there no way to catch the > =>escape key? > => > =>I mean, who would press escape key 3 or 4 times other than a moron > like =>me :-) > > I'm actually slightly intrigued by this because I don't see where > the definition is. The bash man page gives all of the function > definitions and all of their default bindings. None of the default > bindings correspond to M-<ESC>. (BTW, to activate it, you don't need > to hit it three or four times. Exactly two will do it. Or hold the > Alt key while hitting escape.) > > Intrigued, but not intrigued enough to chase it. ;-) OK, I found out what this is - file name completion. The same issue happens in BB if you hit the TAB key twice. Basically, as there is no file name specified, the command (cleverly) asks if you want to see all the files. Nick -- Free Software Foundation Associate Member 5508 |