Re: Enhancing the user experience with tcsh

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Sat, 11 Feb 2012 00:12:49 +0200
[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
Received on Fri Feb 10 2012 - 21:12:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC