delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/11/29/18:49:48

X-Recipient: archive-cygwin AT delorie DOT 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:49:28 -0800
From: Gary Johnson <garyjohn AT spocom DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Searching manpages for option codes, e.g. "--all"
Message-ID: <20111129234928.GA13365@phoenix>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <jb3jh8$uof$1 AT dough DOT gmane DOT org> <20111129231312 DOT GA11941 AT phoenix> <jb3plu$atk$1 AT dough DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <jb3plu$atk$1@dough.gmane.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 2011-11-29, carolus wrote:
> On 11/29/2011 5:13 PM, Gary Johnson wrote:
>  Man pages were being formatted with some sort of Unicode
> >hyphen or dash character in place of the ASCII hyphen.
> 
> Not sure that is the same problem.  What happens if you search for
> --all in man ls? For me, the display looks OK, but the search
> doesn't work.

The display scrolls so that the line

    -a, --all

is at the top of the screen and the string "--a" is highlighted in
reverse video in that line and in the lines

    -A, --almost-all

and

    --author

Typing 'n' scrolls the display so that the "-A, --almost-all" line
is at the top.

Does searching for a string that doesn't include hyphens work?
E.g.,

    /all

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019