Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2012 17:29:36 +0000
From:      "Wojciech A. Koszek" <wkoszek@freebsd.org>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        Chris Rees <crees@freebsd.org>, Eitan Adler <lists@eitanadler.com>, freebsd-current Current <freebsd-current@freebsd.org>, Colin Percival <cperciva@freebsd.org>
Subject:   Re: Enhancing the user experience with tcsh
Message-ID:  <20120210172936.GC8483@FreeBSD.org>
In-Reply-To: <4F353D65.7050303@gmail.com>
References:  <CAF6rxgnebQUY8azv8fovQPkB%2BGgsQjaByZ6JwnNWjrM1hB65eQ@mail.gmail.com> <4F353D65.7050303@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 10, 2012 at 05:53:09PM +0200, Volodymyr Kostyrko wrote:
> Eitan Adler wrote:
> >   	set filec
> > -	set history = 100
> > -	set savehist = 100
> > +	set history = 10000
> > +	set savehist = 10000
> 
> Just why not (10000 merge)?
> 
> > +	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
> >
> 
> I'm fully against changing promptchars, that's pointless. Including more 
> useful data in prompt is good anyway, but why any [] around? I think 
> everything should be just a little more descriptive, like:
> 
> set prompt = "%n@%m %c04%m%# "

Agreed. Try to make it as short as possible, but not shorter. Remember to
check whatever you've done on 80x25 screen. Eatting 25% of the width for the
prompt isn't practical.

-- 
Wojciech A. Koszek
wkoszek@FreeBSD.czest.pl
http://FreeBSD.czest.pl/~wkoszek/



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