From owner-freebsd-current@FreeBSD.ORG Fri Apr 1 12:28:56 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 144941065676 for ; Fri, 1 Apr 2011 12:28:56 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id DE0048FC19 for ; Fri, 1 Apr 2011 12:28:55 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id F368558143 for ; Fri, 1 Apr 2011 07:28:54 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id HU1eXAzz8nhz for ; Fri, 1 Apr 2011 07:28:54 -0500 (CDT) Received: from wanderer.tachypleus.net (unknown [76.210.65.155]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 9FA3558140 for ; Fri, 1 Apr 2011 07:28:54 -0500 (CDT) Message-ID: <4D95C505.6050107@freebsd.org> Date: Fri, 01 Apr 2011 07:28:53 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110317 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <4D94CA5C.9050007@freebsd.org> <8E0411B7-7FD8-4EDF-85E7-4BA84FF6C266@gsoft.com.au> In-Reply-To: <8E0411B7-7FD8-4EDF-85E7-4BA84FF6C266@gsoft.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: bsdinstaller / partedit emacs key patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 12:28:56 -0000 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