Re: [RFC][PATCH] Allow hotkeys to interrupt hidden menu

2013-11-03 Thread Yang Bai
Ping. Any updates? On Mon, Oct 21, 2013 at 2:45 PM, Franz Hsieh wrote: > Hi Vladimir, > I don't know if l lose any update from you. Would you give me comments > about > the latest hotkey patch? > > Summary of the patch: > * allow function keys / delete / backspace to interrupt sleep and s

Re: [RFC] [PATCH] Allow user defined key to interupt sleep command

2013-09-16 Thread Yang Bai
Hi Colin, Thanks for your review. Please see my inline comments. On Mon, Sep 16, 2013 at 5:26 PM, Colin Watson wrote: > On Mon, Sep 16, 2013 at 04:49:46PM +0800, Yang Bai wrote: >> At now, sleep --interruptible 3 can only be interupted by ESC key. >> With this patch, we can spe

[RFC] [PATCH] Allow user defined key to interupt sleep command

2013-09-16 Thread Yang Bai
Hi all, At now, sleep --interruptible 3 can only be interupted by ESC key. With this patch, we can special a key such as sleep --interruptible f10 3 and we can type F10 to interrupt the sleep. This can work as a hotkey handler. Modified some code borrowed from [PATCH] Allow hotkeys to interrupt hi