From: Nigel Roles ngr@symbionics.co.uk
Subject: [9fans] Ghostscript 5.10
Date: Mon, 23 Feb 1998 08:27:25 +0000 [thread overview]
Message-ID: <19980223082725.8pZXyeGjREmHD5r1Qx0FdStEgDpAcR3WbILB2a8vwqk@z> (raw)
OK. It was not the linker. It was linked correctly, but crashed so badly
there
wasn't a stackframe! The bin/file "boot image" message comes from
/sys/src/libmach/executable.c which makes a test along the following
lines in
common():
if (entrypoint & kbase)
string = "386 Plan 9 boot image"
Since the 386 kbase is 0x80100000 executables of more than a megabyte
may pass this test.
In consultation with forsyth we think that
if (entrypoint >= kbase)
might be closer to the truth. Or even,
if ((entrypoint & kbase) == kbase)
As for gs5.10, it's fixed. An executable is available as
http://www.cotswold.demon.co.uk/gs.gz.
Note that this does not have Plan 9 bitmap output yet, but does have the
Digiboard fax support required by bin/page.
This version of gs expects the 5.10 libraries and fonts to be in
/sys/lib/gs,
so that they don't overwrite the standard 3.22 version (in
/sys/lib/ghostscript)
These can be obtained as
http://www.cotswold.demon.co.uk/lib.tar.gz
Thus Plan 9 can now display .pdf files:
gs -sDEVICE'='dfaxlow -sOUTPUTFILE'='/tmp/xxx%.3d -dNOPAUSE -dSAFER
-dQUIET whatever.pdf
page /tmp/xxx*
Or you might like to modify page.c to accept .pdf files and treat them
as if they are .ps.
next reply other threads:[~1998-02-23 8:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-02-23 8:27 Nigel [this message]
1998-02-24 19:02 bob
1998-03-11 23:41 Scott
1998-03-12 9:55 Nigel
1998-04-14 6:43 Nigel
1998-04-14 14:09 Scott
1998-04-14 14:44 Nigel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19980223082725.8pZXyeGjREmHD5r1Qx0FdStEgDpAcR3WbILB2a8vwqk@z \
--to=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).