From owner-freebsd-current Tue Jan 9 14: 3:37 2001 Delivered-To: freebsd-current@freebsd.org Received: from mobile.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 1D00B37B401 for ; Tue, 9 Jan 2001 14:03:16 -0800 (PST) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id f09M34G25565; Tue, 9 Jan 2001 14:03:05 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200101092203.f09M34G25565@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Matt Dillon Cc: Jon Parise , Archie Cobbs , freebsd-current@FreeBSD.ORG Subject: Re: proposed small change to .cshrc In-Reply-To: <200101091846.f09IkTr49535@earth.backplane.com> Date: Tue, 09 Jan 2001 14:03:04 -0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matt Dillon wrote: > > :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 I was about to write a 'over my dead body' here, but I tried it out and discovered that the POLA (for tcsh users) is not too bad after all. In fact, I think I will add this to my .tcshrc :-) Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message