DragonFly kernel List (threaded) for 2003-12
Re: bash me, if you like
On Tue, 09 Dec 2003 14:14:27 -0800, Matthew Dillon wrote:
> :> bindkey -k up history-search-backward
> :> bindkey -k down history-search-forward
> :Both of them work by default on FreeBSD in root account (csh), but I am
> :not sure for sh thought. I am using zsh on the users account, of course
> :and it does has this feature on by default, I think.
> Oops, I take it back. They don't work by default on DFly or FreeBSD,
> at least not on FreeBSD as of October 13th!
> You might have the bindings in your /etc/csh.cshrc or ~/.cshrc already.
Ummm, maybe it's only on 5.x? Check here:
# uname -a
FreeBSD ns1.mezzweb.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Aug 13
22:39:47 CDT 2003 mezz@xxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/BSDROCKS
On my other machines have the today -CURRENT and it's same.
# cat /usr/share/skel/dot.cshrc
# $FreeBSD: src/share/skel/dot.cshrc,v 1.13 2001/01/10 17:35:28 archie Exp $
# .cshrc - csh resource script, read at beginning of execution by each shell
# see also csh(1), environ(7).
alias h history 25
alias j jobs -l
alias la ls -a
alias lf ls -FA
alias ll ls -lA
# A righteous umask
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin)
setenv EDITOR vi
setenv PAGER more
setenv BLOCKSIZE K
if ($?prompt) then
# An interactive shell -- set some stuff up
set history = 100
set savehist = 100
set mail = (/var/mail/$USER)
if ( $?tcsh ) then
bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
bsdforums.org 's moderator, mezz.