From owner-freebsd-ports Tue Apr 9 08:10:05 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA17360 for ports-outgoing; Tue, 9 Apr 1996 08:10:05 -0700 (PDT) Received: from psiint.com (vv.psiint.com [204.189.53.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA17321 for ; Tue, 9 Apr 1996 08:09:56 -0700 (PDT) Received: by psiint.com (8.6.12/4.03) id IAA64100; Tue, 9 Apr 1996 08:09:35 -0700 Date: Tue, 9 Apr 1996 08:09:34 -0700 (PDT) From: Dave Walton To: "Jordan K. Hubbard" cc: Jake Hamby , "Daniel M. Eischen" , ports@FreeBSD.org Subject: Re: Announcing a port/package of NEdit In-Reply-To: <12454.828998268@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 8 Apr 1996, Jordan K. Hubbard wrote: > It does indeed look pretty slick, though I can't figure out how to > rebind the keys so I can say that I probably will not be using it > myself. My fingers are wired to EMACS, and I just naturally dive for > ^P (for example) when I want to move up a line. After inadvertantly > seeing the print dialog twice, I exited nedit for the last time.. :-) I should probably give you a hard time for having programmed your fingers in a non-reconfigurable way, but I won't. :) Do some reading in Help/X Resources in the section "Binding Keys to Actions", and int Help/Action Routines. I did a little experimenting with the info there, and changed Ctrl-P from print to cursor up by adding the following lines to my .Xdefaults file: # Detach Ctrl-P from File/Print... nedit*fileMenu.print.accelerator: # Remove "Ctrl+P" from File menu nedit*fileMenu.print.acceleratorText: # Bind Ctrl-P to cursor up function nedit*text.Translations: #override \ Ctrlp: process-up() I'll let you take it from there... Dave ========================================================================== David Walton Unix Programmer PSI INTERNATIONAL, Inc. email: dwalton@psiint.com 190 South Orchard #C200 Fax :(707)451-6484 Vacaville, CA 95688 Phone:(707)451-3503 ==========================================================================