Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-10 Thread Kris Maglione
On Tue, Aug 10, 2010 at 01:38:18PM +0100, Connor Lane Smith wrote: To be honest I'm surprised there's such a reaction to something so trivial as an added keybind. I'm glad this doesn't happen often or we'd never get anything done. We just like to argue. I honestly don't even care: I don't use

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-10 Thread Troels Henriksen
Connor Lane Smith writes: > To be honest I'm surprised there's such a reaction to something so > trivial as an added keybind. I'm glad this doesn't happen often or > we'd never get anything done. Well, you can only paint a bike shed every so often. -- \ Troels /\ Henriksen

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-10 Thread Connor Lane Smith
On 9 August 2010 23:38, TJ Robotham wrote: > Actually, it is an emacsism insomuch as bash's manpage specifically describes > the default line editing commands as emacs-style, in contrast to a vi-style > that > can be enabled in its place. Sorry, I suppose I expected better than that even from ba

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-10 Thread Connor Lane Smith
On 9 August 2010 23:38, TJ Robotham wrote: > Actually, it is an emacsism insomuch as bash's manpage specifically describes > the default line editing commands as emacs-style, in contrast to a vi-style > that > can be enabled in its place. Sorry, I suppose I expected better than that even from ba

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-09 Thread Kris Maglione
On Mon, Aug 09, 2010 at 12:07:11PM +0100, Connor Lane Smith wrote: On 8 August 2010 09:22, Uriel wrote: Both are emacsisms as far as I can tell, and of little use (specialy given ^C already aborts). ^D isn't an emacsism insofar as using it in bash when not at the end of the line works the sam

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-09 Thread Moritz Wilhelmy
On Mon, Aug 09, 2010 at 06:38:35PM -0400, TJ Robotham wrote: > On Mon, Aug 09, 2010 at 12:07:11PM +0100, Connor Lane Smith wrote: > > ^D isn't an emacsism insofar as using it in bash when not at the end > > of the line works the same way. That said, I'm aware bash is a > > monster. However: > > Ac

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-09 Thread TJ Robotham
On Mon, Aug 09, 2010 at 12:07:11PM +0100, Connor Lane Smith wrote: > ^D isn't an emacsism insofar as using it in bash when not at the end > of the line works the same way. That said, I'm aware bash is a > monster. However: Actually, it is an emacsism insomuch as bash's manpage specifically describ

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-09 Thread Connor Lane Smith
On 9 August 2010 13:35, Uriel wrote: > This is a totally retarded argument, Plan 9 terminals do have a > cursor, and certainly don't implement every retarded stupid keybinding > imaginable, specially not ones that conflict with one of the most > generally accepted and used keybindings. They also

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-09 Thread Uriel
On Mon, Aug 9, 2010 at 1:07 PM, Connor Lane Smith wrote: > Hey, > > On 8 August 2010 09:22, Uriel wrote: >> Both are emacsisms as far as I can tell, and of little use (specialy >> given ^C already aborts). > > ^D isn't an emacsism insofar as using it in bash when not at the end > of the line work

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-09 Thread Connor Lane Smith
Hey, On 8 August 2010 09:22, Uriel wrote: > Both are emacsisms as far as I can tell, and of little use (specialy > given ^C already aborts). ^D isn't an emacsism insofar as using it in bash when not at the end of the line works the same way. That said, I'm aware bash is a monster. However: On 8

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-08 Thread Uriel
On Sun, Aug 8, 2010 at 10:39 AM, Kris Maglione wrote: > On Sun, Aug 08, 2010 at 10:22:05AM +0200, Uriel wrote: >> >> On Fri, Aug 6, 2010 at 3:18 PM, Connor Lane Smith wrote: >>> >>> Hey, >>> >>> On 06/08/2010, Daniel Clemente wrote: This adds C-d (delete next char) and C-g (abort) to d

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-08 Thread Kris Maglione
On Sun, Aug 08, 2010 at 10:22:05AM +0200, Uriel wrote: On Fri, Aug 6, 2010 at 3:18 PM, Connor Lane Smith wrote: Hey, On 06/08/2010, Daniel Clemente wrote: This adds C-d (delete next char) and C-g (abort) to dmenu. These keys are also used in programs like bash or Emacs. I've added C-d but

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-08 Thread Uriel
On Fri, Aug 6, 2010 at 3:18 PM, Connor Lane Smith wrote: > Hey, > > On 06/08/2010, Daniel Clemente wrote: >> This adds C-d (delete next char) and C-g (abort) to dmenu. These keys are >> also used in programs like bash or Emacs. > > I've added C-d but not C-g, since it seems like an emacsism. Bot

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-06 Thread Connor Lane Smith
On 06/08/2010, Antoni Grzymala wrote: > AFAIR C-g just emits BEL by default in bash (as it used in most old > terminals), but yeah, it's probably good to have it, thx. dmenu already has C-c to abort, btw. cls

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-06 Thread Antoni Grzymala
Daniel Clemente dixit (2010-08-06, 03:08): > This adds C-d (delete next char) and C-g (abort) to dmenu. These > keys are also used in programs like bash or Emacs. AFAIR C-g just emits BEL by default in bash (as it used in most old terminals), but yeah, it's probably good to have it, thx. -- [a]

Re: [dev] [patch] add Control-G and Control-D to dmenu

2010-08-06 Thread Connor Lane Smith
Hey, On 06/08/2010, Daniel Clemente wrote: > This adds C-d (delete next char) and C-g (abort) to dmenu. These keys are > also used in programs like bash or Emacs. I've added C-d but not C-g, since it seems like an emacsism. Thanks, cls

[dev] [patch] add Control-G and Control-D to dmenu

2010-08-06 Thread Daniel Clemente
This adds C-d (delete next char) and C-g (abort) to dmenu. These keys are also used in programs like bash or Emacs. I think this completes the C-something keyboard shortcuts set. -- Daniel diff -r 8e019362118b dmenu.c --- a/dmenu.c Thu Aug 05 15:41:56 2010 +0100 +++ b/dmenu.c Fri Aug 06 11