X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Tue, 29 Nov 2011 15:13:12 -0800
From: Gary Johnson <garyjohn@spocom.com>
To: cygwin@cygwin.com
Subject: Re: Searching manpages for option codes, e.g. "--all"
Message-ID: <20111129231312.GA11941@phoenix>
Mail-Followup-To: cygwin@cygwin.com
References: <jb3jh8$uof$1@dough.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <jb3jh8$uof$1@dough.gmane.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 2011-11-29, carolus wrote:
> After opening "man ls", trying to search for "--all" leads to
> "Pattern not found (press RETURN)".
> 
> Inquiring on comp.unix.shell, I was told that for this kind of
> search to work properly in linux , one must set PAGER=less. However,
> that does not seem to work in Cygwin, at least using the old default
> terminal. Is there a workaround?

As I recall, that was a problem shortly after Cygwin 1.7 was
released.  Man pages were being formatted with some sort of Unicode
hyphen or dash character in place of the ASCII hyphen.  It hasn't
been a problem recently, though, and it works fine for me, in both
the old Cygwin console and in mintty.

    cygwin 1.7.9-1
    less     444-1
    man     1.6g-1

    Windows XP Professional 2002 SP3

Regards,
Gary


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

