Re: bsdinstaller / partedit emacs key patch

From: Nathan Whitehorn <nwhitehorn_at_freebsd.org>
Date: Fri, 01 Apr 2011 07:28:53 -0500
On 03/31/11 22:39, Daniel O'Connor wrote:
>
> On 01/04/2011, at 5:09, Nathan Whitehorn wrote:
>> On 03/29/11 20:50, Daniel O'Connor wrote:
>>> Hi,
>>> I noticed that the entry widgets in the bsdinstaller label editor don't understand various "emacs keys" (eg C-a, C-d, C-e).
>>>
>>> Here's a patch which adds the basics.. Unfortunately dialog doesn't have a "key" for delete all, delete left or delete right so I couldn't add C-u, C-w or C-k.
>>>
>>> Note that you can't just call dlg_parse_bindkey("* ^a BEGIN") because dialog modifies the string which crashes (seg fault).
>>
>> I'm happy to put this in, but it would be nice if you could try to get this into upstream dialog to avoid inconsistencies in various parts of the installation.
>
> I suspect it would be pretty bikeshed prone :(
>
> Is there a dialog mailing list? My google-fu failed and I can't find one.
>
> I suppose the alternative is to install a global rc file (ie /etc/dialogrc) with the following contents..
> bindkey * ^a BEGIN
> bindkey * ^d DELETE_RIGHT
> bindkey * ^e FINAL

Here's the website:
http://invisible-island.net/dialog/dialog.html

The nearest thing to a mailing list is the ncurses one, but I'd suggest 
just emailing the author.
-Nathan
Received on Fri Apr 01 2011 - 10:28:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC