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 ([EMAIL PROTECTED])  .  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 - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to