Click to See Complete Forum and Search --> : Sharing the tcsh.psd man page


asarch
10-26-2005, 04:41 PM
Does anybody here could post the TCSH shell man page's PDF version?


[$] gzip --decompress --to-stdout `man -w tcsh` | groff -man > tcsh.ps

[$] ps2pdf tcsh.ps

dkeav
11-01-2005, 01:15 AM
try this gzcat `man -w tcsh` | man2html > tcsh.html

then you can open it firefox and either print from there or export as a ps file

if you dont have gzcat try zcat, you may need to install man2html from ports

good luck

asarch
11-07-2005, 12:31 PM
But the better way to get a "hardcopy" of a man page is using either the PostScript version or the PDF version which this is the only one you can print from MS Windows.

What I did ask in this post was the PDF version of the TCSH's man page to print it at work (I hate jobs where you cannot find a GNU/Linux or a Unix machine :() not how to get a different version of a man page, if I did want an HTML version of the TCSH's I could use this page (http://www.freebsd.org/cgi/man.cgi). :D

dkeav
11-07-2005, 03:54 PM
groff −t −e −mandoc −Tps manpage.1 > manpage.ps

then ps2pdf manpage.ps manpage.pdf will yield what you want

http://dkeav.webhop.net/tcsh.pdf

asarch
11-07-2005, 07:01 PM
Thanks a lot man.

Where did you get it? I REALLY REALLY need it.

Thanks, see you in space cowboy and happy hacking!!!

bwkaz
11-07-2005, 07:21 PM
Where did he get it? I don't know for sure, but I would bet that he just ran whatever command he posted, and that generated the PDF file.

You could have run that command yourself, and gotten the same file. (If you had the tcsh manpage installed. If you don't, then you should probably install your distro's tcsh package.)

dkeav
11-07-2005, 07:37 PM
bwkaz, i think he is refrencing freebsd, which tcsh is installed by default, but yea what your getting at is valid, this will only work if the man page exists, so any other man page you want to convert will need to be installed first

i copied the tcsh1.gz, decompressed it, and ran those commands above
ps2pdf is installed in the base of freebsd as well, so all the tools you need should already be installed, good luck

asarch
11-07-2005, 08:42 PM
As a matter of fact I was talking about the "PDF online version" and not about how to get a PDF version.

You'll see, while I was fixing this problem (http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/064599.html) I need the PDF version of the TCSH's man page so I post here:


Does anybody here with a working system could post the PDF version of the TCSH's man page?
and not


Does anybody here with a working system could teach me how to get the PDF version of the TCSH's man page?
Sorry for the confusion. :(

P.S.


Does anybody here with an OpenBSD working system could post the PDF version of the fdisk' man page?
I don't know how it works. :D

dkeav
11-07-2005, 09:14 PM
well i got it from creating it on a freebsd machine, there is no reason why you cant create these yourself

asarch
11-08-2005, 11:58 AM
Because I don't know how to create the partitions to install OpenBSD on my machine and from the installation help I see that the OpenBSD's fdisk is a little bit different from others fdisk I see. :(

dkeav
11-08-2005, 05:42 PM
the openbsd install guide explains it much better than the fdisk man page though, perhaps you should stick with that

asarch
11-12-2005, 10:14 AM
By doing this:

> a a
Offset: [63]
Size: 12288M
FS type: [4.2BSD]
Mount point: /

> a b
Offset: [25165728]
Size: 512M
FS type: [swap]

> a h
Offset: [26214048]
Size: [51942127]
FS type: [4.2BSD]
Mount point: [none] /home

> q
Write new label? [y]