From b763f1e0b89a00b561a1f6999005f3fdc0315c45 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 31 Oct 2011 09:31:13 -0400 Subject: page(1): mention ghostscript, /dev/fd --- man/man1/page.1 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/man/man1/page.1 b/man/man1/page.1 index 9064df0e..99fba2b3 100644 --- a/man/man1/page.1 +++ b/man/man1/page.1 @@ -270,3 +270,31 @@ document references cannot be sent via plumbing messages. .PP There are too many keyboard commands and menu items. +.PP +Displaying a PostScript or PDF file depends both on having +GhostScript +(see +.IR gs (1)) +installed and on the underlying operating system +providing a file descriptor device tree at +.BR /dev/fd . +.PP +Some FreeBSD installations +do not provide file descriptors greater than 2 +in +.BR /dev/fd . +To fix this, add +.IP +.EX +/fdescfs /dev/fd fdescfs rw 0 0 +.EE +.LP +to +.BR /etc/fstab , +and then +.B mount +.BR /dev/fd . +(Adding the line to +.B fstab +ensures causes FreeBSD to mount the file system +automatically at boot time.) -- cgit v1.2.3