I think the patch below (in some form) was agreed upon a while ago
but nobody actually committed it.. in any case, are there any
objections?

This makes it so if root's shell is /bin/tcsh then CTRL-W erases
only the previous word instead of the entire line.

Thanks,
-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

Index: src/etc/root/dot.cshrc
===================================================================
RCS file: /home/ncvs/src/etc/root/dot.cshrc,v
retrieving revision 1.27
diff -u -r1.27 dot.cshrc
--- dot.cshrc   2000/05/28 15:09:31     1.27
+++ dot.cshrc   2001/01/09 17:44:00
@@ -27,4 +27,7 @@
        set history = 100
        set savehist = 100
        set mail = (/var/mail/$USER)
+       if ( `basename $SHELL` == "tcsh" ) then
+               bindkey ^W backward-delete-word
+       endif
 endif


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

Reply via email to