Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Feb 2012 00:12:49 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Eitan Adler <lists@eitanadler.com>
Cc:        freebsd-current Current <freebsd-current@FreeBSD.org>
Subject:   Re: Enhancing the user experience with tcsh
Message-ID:  <4F359661.30704@FreeBSD.org>
In-Reply-To: <CAF6rxgmjQX%2B8hZVdjYBHJfonegavYhY_22gyVszpPvxhAKbvTA@mail.gmail.com>
References:  <CAF6rxgnebQUY8azv8fovQPkB%2BGgsQjaByZ6JwnNWjrM1hB65eQ@mail.gmail.com> <1328887627.38277.68.camel@buffy.york.ac.uk> <CAF6rxgmjQX%2B8hZVdjYBHJfonegavYhY_22gyVszpPvxhAKbvTA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[cc list trimmed]

on 10/02/2012 18:25 Eitan Adler said the following:
[snip]
>  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
> No one complained about this - it is almost certainly going to stay it
> the final version.


Not so fast there, partner :-)  Give folks more time to react.

I really hate the default behavior of less where you can't quit via ^C or via
paging through the end of file.

BTW, this is what I have here:
setenv  PAGER   more
setenv  MORE    '-e -R -Pm?f%f:stdin .?lbLine %lb:?pb%pb\%:?bbByte %bb:-... ?eEND'

>        set filec
> -       set history = 100
> -       set savehist = 100
> +       set history = 10000
> +       set savehist = 10000
> 
> No one complained about this one - it is almost certainly going to
> stay it the final version.

10000 looks a bit too much.  I recall using systems where setting this to 10000
caused exiting from a shell to be a very long process.
Maybe try 1000 first, before trying more.

Also, I second a suggestion to add merge directive to savehist.

-- 
Andriy Gapon



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