Re: Exporting Man Pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 25, 2003 at 01:30:50AM +0900, SEKINE Tatsuo wrote:
> Hi.
> 
> From: Øyvind Lode <o-lode@xxxxxxxxx>
> Date: Mon, 24 Nov 2003 15:45:51 +0100
> 
> > Ex: I want to export the vsftpd man pages to a file.
> > I did that with the following command:
> > 
> > # man vsftpd.conf > vsftpd.txt
> > 
> > This worked very good and I can now read the exported file (vsftpd.txt)
> > with cat and vi.
> > It appears exactly like it does when reading from the man pages command.
> > But when I transer the file to a Windows box (XP) it doesn't look good
> > at all.
> > Some text appear "crypted" when reading in notepad so the file is hard
> > to read and some text is not readable at all.
> (snip~
> > Some tips?
> 
> Probably code 0x08 (which is used to enbold characters and
> make underline) cause "crypted" text.
> You are able to use "col" command to get rid of them.
> 
> If you transfer the text with samba, try following:
>   $ man foo | col -b | unix2dos > foo.txt
> 
> If you transfer the text with FTP, try following
>   $ man foo | col -b > foo.txt
> and transfer it in ASCII mode.
> With ASCII mode, FTP server transfer CR->CR+LF automatically.

Or use the best of breed ckermit which handles all conversions on its
own transparently.

-- 
Jack Bowling
mailto: jbinpg@xxxxxxx




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux