Berkeley CSUA MOTD:Entry 28285
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/04 [General] UID:1000 Activity:popular
4/4     

2003/5/1 [Computer/SW/OS/FreeBSD] UID:28285 Activity:nil
4/30    I use tcsh on my FreeBSD-4.7 machine. When I'm root, if I type the
        first first letters of a command I've already used and then press
        the arrow, it recalls the last command beginning with those letters.
        But, I can't do that with my other, non-root users. How can I get all
        the users' shells to behave that way? Thanks.
        \- are you looking for the M-p functionality?
           keybindings have gotten kind of complicated ... depends on
           whether you are in emacs or vi mode, what keyevent is actually
           being sent etc. try using emacs bindings and M-p. --psb
        \_ are the users using the same shell as root?  the same shell config
           files?
        \_ from a freebsdbox's ~root/.cshrc:
                bindkey "^W" backward-delete-word
                bindkey -k up history-search-backward
                bindkey -k down history-search-forward