Enhancing the user experience with tcsh
Andriy Gapon
avg at FreeBSD.org
Fri Feb 10 22:12:56 UTC 2012
[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
More information about the freebsd-current
mailing list