Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2014 13:24:28 +0100
From:      Nikos Vassiliadis <nvass@gmx.com>
To:        f-q <freebsd-questions@freebsd.org>
Subject:   Re: A pager with explicit (un)wrap-long-lines key bindings and/or options
Message-ID:  <549175FC.2070703@gmx.com>
In-Reply-To: <20141217120919.GA91144@holstein.holy.cow>
References:  <20141217120919.GA91144@holstein.holy.cow>

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


On 12/17/14 13:09, parv@pair.com wrote:
> Hi there,

Hi,

> I am looking for a pager that has EXPLICIT options and/or key bindings
> (preferred) to set & unset wrapping of long lines[0]. I really don't
> want to deal with environment variables which may or may not be set.
> Options|Key bindings should override any environment variable or
> settings in a configuration file.
>
> Environment variable, LESS, is set to "-SsIXR -x4"[1]. less has only a
> option to now wrap long lines (-S | --chop-long-lines). Listed in the
> manual page is that default is not to wrap. (Well, invoking less as
> "\less" does not override the "-S" in LESS.)

While less is running, you can switch from chop to fold and reversely by 
pressing -S. Is this what you want?




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