delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/27/10:07:39

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <5.0.2.1.0.20010327093031.024275e0@pop.atg.com>
X-Sender: bbarber AT pop DOT atg DOT com
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Tue, 27 Mar 2001 09:36:48 -0500
To: "Kevin Wright" <kevin AT wright DOT org>, cygwin AT sourceware DOT cygnus DOT com
From: Brad Barber <bradb AT atg DOT com>
Subject: RE: col missing from cygwin
In-Reply-To: <001501c0b64b$c7438fb0$2207640a@holstein-mobile.ASPECTDV.CO
M>
References: <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20010326175338 DOT 01c890c0 AT pop DOT atg DOT com>
Mime-Version: 1.0

At 06:23 PM Monday 3/26/2001, you wrote:
>Brad,
>
>If you look in the file /usr/lib/man.conf, you will find the 
>following note:
>
># Useful paths - note that COL should not be defined when
># NROFF is defined as "groff -Tascii" or "groff -Tlatin1";
># not only is it superfluous, but it actually damages the output.
>#
>
>This is the reason that the path for col is commented out. I have
>tried with col (that I compiled) and didn't see any improvement,
>so I commented out again.

Thanks Larry and Kevin for your replies.  

'col' is not compiled for the cygwin binary distribution.  I don't know
what package it belongs to.  

If I run
        man find >x.txt
and look at x.txt with Notepad, I get   

FIND(1L)                                                 FIND(1L)

NNAAMMEE
       find - search for files in a directory hierarchy

SSYYNNOOPPSSIISS
       ffiinndd [path...] [expression]

DDEESSCCRRIIPPTTIIOONN
       This  manual page documents the GNU version of ffiinndd.  ffiinndd
<clip>

The unprintables are backspaces for enhancing the screen display of
the page.  For straight ascii text, Unix in a Nutshell recommends using
        man find | col -b
This is what I use on Unix systems.  It works well.

I was not able to find an option for 'man' that generates straight ascii text.

                                                        --Brad (tcsh)


>--Kevin
>
>> -----Original Message-----
>> From: cygwin-owner AT sources DOT redhat DOT com
>> [mailto:cygwin-owner AT sources DOT redhat DOT com]On Behalf Of Brad Barber
>> Sent: Monday, March 26, 2001 2:56 PM
>> To: cygwin AT sourceware DOT cygnus DOT com
>> Subject: col missing from cygwin
>> 
>> 
>> I noticed that the 'col' command is missing from cygwin.
>> It is useful for turning man pages into text files without backspaces,
>> e.g., 
>>       man find | col -b
>> 
>> This is recommended by Unix in a Nutshell.
>> 
>>                                               --Brad (tcsh)
>> 
>> 
>> --
>> Want to unsubscribe from this list?
>> Check out: http://cygwin.com/ml/#unsubscribe-simple
>> 
>> 


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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