From owner-freebsd-current Tue Jan 9 10:46:55 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 4DE5937B698 for ; Tue, 9 Jan 2001 10:46:38 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id f09IkTr49535; Tue, 9 Jan 2001 10:46:29 -0800 (PST) (envelope-from dillon) Date: Tue, 9 Jan 2001 10:46:29 -0800 (PST) From: Matt Dillon Message-Id: <200101091846.f09IkTr49535@earth.backplane.com> To: Jon Parise Cc: Archie Cobbs , freebsd-current@FreeBSD.ORG Subject: Re: proposed small change to .cshrc References: <200101091745.f09HjEB51427@curve.dellroad.org> <20010109124858.E23533@csh.rit.edu> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :On Tue, Jan 09, 2001 at 09:45:14AM -0800, Archie Cobbs wrote: : :> + if ( `basename $SHELL` == "tcsh" ) then :> + bindkey ^W backward-delete-word :> + endif : :I generally test for tcsh like this: : : if ( $?tcsh ) then : bindkey ^W backward-delete-word : endif : :-- :Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology How about this: if ( $?tcsh ) then bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forward endif For personal use I also do (for tcsh): set prompt = "%m:%/%# " But the Amiga-style integrated history search is the feature I use the most. Having a multi-thousand line history actually becomes useful. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message