Enhancing the user experience with tcsh
gnemmi at gmail.com
Sun Feb 12 07:13:13 UTC 2012
On Sat, Feb 11, 2012 at 5:07 AM, Joel Dahl <joel at freebsd.org> wrote:
> 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, with all due respect, do you really think that 99.9% of all
users will not find the _non_intrusive_ additions below useful?
bindkey "\e[1~" beginning-of-line #make Home key work;
bindkey "\e[2~" overwrite-mode #make Ins key work;
bindkey "\e[3~" delete-char #make Delete key work;
bindkey "\e[4~" end-of-line #make End key work;
... I mean, after all, setting those keys do not change the behaviour
nor the output of any given command, they are present in 99.9% of the
keyboards we all get to see everyday and they do not work under the
current .cshrc config.
Im not talking about an "improvement", "making things easier for new
users" or "experience improvement" of any kind ... Im talking about
including them so all users get to have a fully functional keyboard by
More information about the freebsd-current