From owner-freebsd-current Tue Jan 9 16:53:53 2001 Delivered-To: freebsd-current@freebsd.org Received: from earth.backplane.com (placeholder-dcat-1076843399.broadbandoffice.net [64.47.83.135]) by hub.freebsd.org (Postfix) with ESMTP id 088DD37B401 for ; Tue, 9 Jan 2001 16:53:01 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id f0A0qTi54396; Tue, 9 Jan 2001 16:52:29 -0800 (PST) (envelope-from dillon) Date: Tue, 9 Jan 2001 16:52:29 -0800 (PST) From: Matt Dillon Message-Id: <200101100052.f0A0qTi54396@earth.backplane.com> To: Archie Cobbs Cc: Jon Parise , freebsd-current@FreeBSD.ORG Subject: Re: proposed small change to .cshrc References: <200101100035.f0A0Z8A52612@curve.dellroad.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :Matt Dillon writes: :> if ( $?tcsh ) then :> bindkey "^W" backward-delete-word :> bindkey -k up history-search-backward :> bindkey -k down history-search-forward :> endif : :Why do you need the 'up' and 'down' ones.. doesn't it already do that :without explicit configuration? : :-Archie This is the history *search* function. Lets say you did a complex 'find' command 5 minutes ago and a hundred intervening commands since, and you want to run the 'find' again. You type: % fin If you did a bunch of find's, hit up arrow as many times as necessary. You can type as few or as many characters as you like prior to hitting the up arrow, depends on what you are looking for. If you just hit the up or down arrow without having partial text on the line, it works just like normal history. Once you start using it, you will never be able to go back. This is how the Amiga used to do it. It's the only right way. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message