From owner-freebsd-questions@FreeBSD.ORG Wed Dec 17 12:24:38 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C33F881 for ; Wed, 17 Dec 2014 12:24:38 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A5284277 for ; Wed, 17 Dec 2014 12:24:37 +0000 (UTC) Received: from portis.head.local ([109.193.238.174]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LaXmV-1XeVES16hr-00mLIe for ; Wed, 17 Dec 2014 13:24:35 +0100 Message-ID: <549175FC.2070703@gmx.com> Date: Wed, 17 Dec 2014 13:24:28 +0100 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: f-q Subject: Re: A pager with explicit (un)wrap-long-lines key bindings and/or options References: <20141217120919.GA91144@holstein.holy.cow> In-Reply-To: <20141217120919.GA91144@holstein.holy.cow> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:hfiW9rsdzZOngNLbeWUKsixxOKnMYyFCr60r9MjXOc1XwKMaDAu 4DJuOZ9hEF9WrDRcq8q4osFQQ8CTLQQOII3sJto0cnq27kucoEAslbgNY+dosd7UvIF9q9W 2heeEmwKWFipKSbZP+okvgVE8j7bkkqB62HBZsWDIuu1+4nvQgLmYqBSP7mSaRQom68ENbl xI8KseAJr/7Ng4l3VS08Q== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2014 12:24:38 -0000 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?