From owner-freebsd-current@FreeBSD.ORG Fri Feb 10 23:36:44 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9859F106568B for ; Fri, 10 Feb 2012 23:36:44 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 576948FC0A for ; Fri, 10 Feb 2012 23:36:44 +0000 (UTC) Received: by ggnk5 with SMTP id k5so2301508ggn.13 for ; Fri, 10 Feb 2012 15:36:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tljzyT8vp77/zuy5fe0ZFHAfdGcTI6vAAmXih7v1Ndk=; b=M6F3tofJegBdtqxYfrKLfNzuaJrBkBBD3NyBf3P2I8MLZjenhKFi79n1w8UskrqSDz +HChT6qkFz9d7Z5oXaHqRAZ0bWDwN4RfCFZ8ODf4p+kM0gOnJxGaCxqgd32u6J1n/tJI j9DCMAVILxJZFMiMTORG36L4lfkstMiLw8mUo= MIME-Version: 1.0 Received: by 10.236.170.130 with SMTP id p2mr11678022yhl.13.1328915600151; Fri, 10 Feb 2012 15:13:20 -0800 (PST) Received: by 10.236.22.138 with HTTP; Fri, 10 Feb 2012 15:13:20 -0800 (PST) In-Reply-To: References: Date: Sat, 11 Feb 2012 00:13:20 +0100 Message-ID: From: Oliver Pinter To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Cc: Chris Rees , freebsd-current Current , "Wojciech A. Koszek" , Colin Percival Subject: Re: Enhancing the user experience with tcsh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2012 23:36:44 -0000 On 2/10/12, Eitan Adler wrote: > In conf/160689 (http://www.freebsd.org/cgi/query-pr.cgi?pr=160689) > there has been some discussion about changing the default cshrc file. > > I'd like to commit something like the following based on Chris's patch > at the end of the thread. This post is an attempt to open the change > to wider discussion. > > commit dbe6cb730686dd53af7d06cc9b69b60e6e55549c > diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc > --- a/etc/root/dot.cshrc > +++ b/etc/root/dot.cshrc > @@ -7,9 +7,10 @@ > > alias h history 25 > alias j jobs -l > -alias la ls -a > +alias la ls -aF > alias lf ls -FA > -alias ll ls -lA > +alias ll ls -lAF > +alias ls ls -F > > # A righteous umask > umask 22 > @@ -17,19 +18,24 @@ umask 22 > set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin > /usr/local/bin $HOME/bin) > > setenv EDITOR vi > -setenv PAGER more > +setenv PAGER less > setenv BLOCKSIZE K > > if ($?prompt) then > # An interactive shell -- set some stuff up > set prompt = "`/bin/hostname -s`# " > set filec > - set history = 100 > - set savehist = 100 > + set history = 10000 > + set savehist = 10000 > + set autolist > + # Use history to aid expansion > + set autoexpand > 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 > + set prompt = "[%n@%m]%c04%# " > + set promptchars = "%#" > endif > > -- > Eitan Adler > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > this is what I use, this based on somewhat, that I found before ~3 years in Internet + mostly rewrited and extended: http://oliverp.teteny.bme.hu/git/?p=base/tcshrc.git;a=tree