Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Feb 2012 09:07:31 +0100
From:      Joel Dahl <joel@freebsd.org>
To:        Eitan Adler <lists@eitanadler.com>
Cc:        Warren Block <wblock@wonkity.com>, Colin Percival <cperciva@freebsd.org>, Miroslav Lachman <000.fbsd@quip.cz>, Chris Rees <crees@freebsd.org>, freebsd-current@freebsd.org, "Wojciech A. Koszek" <wkoszek@freebsd.czest.pl>, Erich Dollansky <erichfreebsdlist@ovitrap.com>, Alexander Leidinger <Alexander@leidinger.net>, Gonzalo Nemmi <gnemmi@gmail.com>
Subject:   Re: Enhancing the user experience with tcsh
Message-ID:  <20120211080731.GD85504@goofy01.vnodelab.local>
In-Reply-To: <CAF6rxgnfmU4vyZ_ERbodf8x6ALWps-5HcHvpQhQE=xVokzNbCg@mail.gmail.com>
References:  <CAF6rxgnebQUY8azv8fovQPkB%2BGgsQjaByZ6JwnNWjrM1hB65eQ@mail.gmail.com> <4F34FA17.7080000@quip.cz> <20120210133629.Horde.uDX6B5jmRSRPNQ9NDdkRUI4@webmail.leidinger.net> <201202102037.30996.erichfreebsdlist@ovitrap.com> <CAF6rxgnfmU4vyZ_ERbodf8x6ALWps-5HcHvpQhQE=xVokzNbCg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10-02-2012  9:03, Eitan Adler wrote:
> Picking a random person to reply to.
> 
> There are a lot of good suggestions in this thread, but can we please
> remember a few things:
> 
> - Users can always add their own ~/.cshrc
> - Many users will get annoyed by what is someone else's amazing setup

With the above in mind, I suggest we change as little as possible from what
we have today (for now) and that we do improvements in small steps.

I believe 99.99% of all users would find the change below to be a definite
improvement over the current default values in .cshrc:

Index: dot.cshrc
===================================================================
--- dot.cshrc   (revision 231507)
+++ dot.cshrc   (working copy)
@@ -24,8 +24,10 @@
        # An interactive shell -- set some stuff up
        set prompt = "`/bin/hostname -s`# "
        set filec
-       set history = 100
-       set savehist = 100
+       set history = 1000
+       set savehist = (1000 merge)
+       set autolist
+       set autoexpand
        set mail = (/var/mail/$USER)
        if ( $?tcsh ) then
                bindkey "^W" backward-delete-word

Also, a comment pointing to /usr/share/examples/tcsh/complete.tcsh would
be a nice addition to the default .cshrc.

-- 
Joel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120211080731.GD85504>