From owner-freebsd-current Tue Jan 9 14:22:17 2001 Delivered-To: freebsd-current@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 9DEC537B402 for ; Tue, 9 Jan 2001 14:21:59 -0800 (PST) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id RAA16104; Tue, 9 Jan 2001 17:21:27 -0500 (EST) Date: Tue, 9 Jan 2001 17:21:27 -0500 (EST) From: Daniel Eischen To: Peter Wemm Cc: Matt Dillon , Jon Parise , Archie Cobbs , freebsd-current@FreeBSD.ORG Subject: Re: proposed small change to .cshrc In-Reply-To: <200101092203.f09M34G25565@mobile.wemm.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 9 Jan 2001, Peter Wemm wrote: > 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 :-) Just use bash ;-) -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message