Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2011 14:09:40 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Nathan Whitehorn <nwhitehorn@freebsd.org>
Cc:        freebsd-current Current <freebsd-current@freebsd.org>
Subject:   Re: bsdinstaller / partedit emacs key patch
Message-ID:  <8E0411B7-7FD8-4EDF-85E7-4BA84FF6C266@gsoft.com.au>
In-Reply-To: <4D94CA5C.9050007@freebsd.org>
References:  <DACD4C80-343E-4274-8F15-06C9FA865061@gsoft.com.au> <4D94CA5C.9050007@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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).
>>=20
>> 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.
>>=20
>> Note that you can't just call dlg_parse_bindkey("* ^a BEGIN") because =
dialog modifies the string which crashes (seg fault).
>=20
> 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

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8E0411B7-7FD8-4EDF-85E7-4BA84FF6C266>