Re: Enhancing the user experience with tcsh

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Sat, 11 Feb 2012 01:45:56 +0200
on 11/02/2012 00:29 Chuck Swiger said the following:
> On Feb 10, 2012, at 2:12 PM, Andriy Gapon wrote:
>> I really hate the default behavior of less where you can't quit via ^C or via
>> paging through the end of file.
> 
> It's readily tunable, by setenv'ing LESS variable to contain some of:
> 
>        -e or --quit-at-eof
>               Causes  less to automatically exit the second time it reaches end-of-file.  By default,
>               the only way to exit less is via the "q" command.
> 
>        -E or --QUIT-AT-EOF
>               Causes less to automatically exit the first time it reaches end-of-file.
> 
>        -K or --quit-on-intr
>               Causes less to exit immediately when an interrupt  character  (usually  ^C)  is  typed.
>               Normally, an interrupt character causes less to stop whatever it is doing and return to
>               its command prompt.  Note that use of this option makes it impossible to return to  the
>               command prompt from the "F" command.

Exactly.  So my larger point is that less and more are actually the same binary
and whatever behavior a user prefers can be achieved via MORE or LESS.  Neither
of the default behaviors was satisfactory enough personally for me.

-- 
Andriy Gapon
Received on Fri Feb 10 2012 - 22:46:03 UTC

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