From owner-freebsd-current@FreeBSD.ORG Fri Feb 10 17:32:52 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 042CA1065677; Fri, 10 Feb 2012 17:32:52 +0000 (UTC) (envelope-from wkoszek@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) by mx1.freebsd.org (Postfix) with ESMTP id 79EED8FC0C; Fri, 10 Feb 2012 17:32:51 +0000 (UTC) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) by freebsd.czest.pl (8.14.5/8.14.5) with ESMTP id q1AHTaeM015341; Fri, 10 Feb 2012 17:29:36 GMT (envelope-from wkoszek@freebsd.czest.pl) Received: (from wkoszek@localhost) by freebsd.czest.pl (8.14.5/8.14.5/Submit) id q1AHTaof015340; Fri, 10 Feb 2012 17:29:36 GMT (envelope-from wkoszek) Date: Fri, 10 Feb 2012 17:29:36 +0000 From: "Wojciech A. Koszek" To: Volodymyr Kostyrko Message-ID: <20120210172936.GC8483@FreeBSD.org> References: <4F353D65.7050303@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <4F353D65.7050303@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Default is to whitelist mail, not delayed by milter-greylist-4.2.7 (freebsd.czest.pl [212.87.224.105]); Fri, 10 Feb 2012 17:29:36 +0000 (UTC) Cc: Chris Rees , Eitan Adler , freebsd-current Current , 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 17:32:52 -0000 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/