From owner-freebsd-questions Tue Sep 24 13:52:14 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA25137 for questions-outgoing; Tue, 24 Sep 1996 13:52:14 -0700 (PDT) Received: from lsv-is.lifescan-can.com ([207.6.89.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA24690 for ; Tue, 24 Sep 1996 13:50:37 -0700 (PDT) Received: from client46.lifescan-can.com (client46.lifescan-can.com [207.6.89.46]) by lsv-is.lifescan-can.com (8.7.5/8.6.12) with SMTP id NAA17738 for ; Tue, 24 Sep 1996 13:48:07 -0700 (PDT) Date: Tue, 24 Sep 1996 13:48:07 -0700 (PDT) Message-Id: <199609242048.NAA17738@lsv-is.lifescan-can.com> X-Sender: tbaird@lsv-is.lifescan-can.com X-Mailer: Windows Eudora Version 1.4.4 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: questions@FreeBSD.org From: tbaird@lsv-is.lifescan-can.com (Tim Baird) Subject: Re: DOS to UNIX file transfers Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >When I use vi to look at a file that I have copied over from DOS, I see >a bunch of ^M characters, but they don't show up when I "cat" a file. I >know they are carriage returns of some sort, but do they cause problems? sometimes.... >Also, when I try to transfer a manpage (e.g. man chmod > chmod.txt) and >transfer that to dos, I get a bunch of block characters and an unuseable >mess. What am I doing wrong? try: gzcat /usr/share/man/man1/chmod.1.gz | groff -man | ps2ascii > mychmod.txt this assumes: 1) that the man page is compressed - if not, use cat ISO gzcat 2) that you have installed ghostscript which has the ps2ascii utility The results are ok if you pull it into an editor with line wrapping.... >-- >Gordon P. Rios >HM: rios@ricochet.net (415-327-1219) >WK: Gordon_Rios@scudder.com (415-403-0728) >Menlo Park, CA > >