From owner-freebsd-questions@FreeBSD.ORG Wed Dec 17 12:08:21 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E159F448 for ; Wed, 17 Dec 2014 12:08:21 +0000 (UTC) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.230]) by mx1.freebsd.org (Postfix) with ESMTP id AF53BFBD for ; Wed, 17 Dec 2014 12:08:21 +0000 (UTC) Received: from [204.210.114.114] ([204.210.114.114:63839] helo=localhost.hawaii.res.rr.com) by dnvrco-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id A3/E0-07892-E6171945; Wed, 17 Dec 2014 12:05:02 +0000 Received: by localhost.hawaii.res.rr.com (Postfix, from userid 1000) id 6432C5D0E; Wed, 17 Dec 2014 02:09:19 -1000 (HST) Date: Wed, 17 Dec 2014 02:09:19 -1000 From: parv@pair.com To: f-q Subject: A pager with explicit (un)wrap-long-lines key bindings and/or options Message-ID: <20141217120919.GA91144@holstein.holy.cow> Mail-Followup-To: f-q MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-RR-Connecting-IP: 107.14.64.142:25 X-Authority-Analysis: v=2.1 cv=f9zGBYCM c=1 sm=1 tr=0 a=lLOF/jpPrR0dcgWXP1EvZg==:117 a=lLOF/jpPrR0dcgWXP1EvZg==:17 a=ayC55rCoAAAA:8 a=kj9zAlcOel0A:10 a=Ymsr-CWnAAAA:8 a=A92cGCtB03wA:10 a=jNdOH7PxC8cXv-q_-1MA:9 a=CjuIK1q_8ugA:10 X-Cloudmark-Score: 0 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:08:22 -0000 Hi there, 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.) Also tried w3m; it does not have any option specific to wrapping of long lines. If nothing comes up, I will cook up some vi(m) solution (to work on both FreeBSD and any other given GNU/Linux setup). - parv [0] Problem comes up when trying to make sense of a URL in email (in mutt) along with text around for context. [1] As to obvious reason to not set "-S" in LESS: setting the -S option is helpful most of the time where seeing extra characters can be deferred. --