DragonFly kernel List (threaded) for 2003-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
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.
> :
> :Cheers,
> :Mezz
>
> 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
i386
==================================
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
umask 22
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 filec
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
endif
endif
==================================
Cheers,
Mezz
> -Matt
--
bsdforums.org 's moderator, mezz.
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]