Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2001 16:27:18 -0500
From:      Lucas Bergman <lucas@slb.to>
To:        groggy11@mail.com
Cc:        questions@freebsd.org
Subject:   Re: LESS pager
Message-ID:  <20010731162718.B38416@comp04.prc.uic.edu>
In-Reply-To: <200107312010.f6VKA6G35096@en28.groggy.anc.acsalaska.net>; from groggy11@mail.com on Tue, Jul 31, 2001 at 08:10:06PM %2B0000
References:  <200107312010.f6VKA6G35096@en28.groggy.anc.acsalaska.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> freebsd has adopted "less" as the system pager since 4.0 series.  it
> requires that you enter ":p" and ":n" for "previous" and "next" file
> 
> this is very cumbersome, esp if you got more than a few files open
> ...  IMHO this should be modified to allow :P :N as well.  it is a
> real pain to to all this SHIFT-COLON UNSHIFT-p / SHIFT-COLON
> UNSHIFT-n stuff just to go to the prev/next file.
> 
> i would at least like to keep the shift key down.  better yet - it
> would be nice to assign one lowercase letter to those functions
> ... ???  they are too common and the need for speed and efficiency
> exists in such cases for those functions to be encumbered by
> multiple quircky keystrokes.

Do it yourself:

  $ cat <<EOF >.lesskey
  n next-file
  p prev-file
  EOF
  $ lesskey

See less(1) and lesskey(1).

Lucas

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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