9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] deadlock in page(1)
@ 2003-01-08 11:50 bwc
  2003-01-08 15:00 ` Richard Miller
  2003-01-08 16:47 ` Russ Cox
  0 siblings, 2 replies; 4+ messages in thread
From: bwc @ 2003-01-08 11:50 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 152 bytes --]

Is this a problem in pdf2ps also?  When I ps2pdf'ed fossil.pdf and sent the
result to my HP4000, the printer hung.  Had to power cycle it.

 Brantley

[-- Attachment #2: Type: message/rfc822, Size: 1805 bytes --]

From: Richard Miller <miller@hamnavoe.demon.co.uk>
To: 9fans@cse.psu.edu
Subject: [9fans] deadlock in page(1)
Date: Wed, 8 Jan 2003 11:40:28 0000
Message-ID: <10448d781152600dab2fec6cee720288@hamnavoe.demon.co.uk>

When page calls gs to display a postscript file which uses \r as a line
terminator (not \n or \r\n), deadlock ensues.  Here's a correction (which
may also reduce the need for the '-P' option):

/sys/src/cmd/page/ps.c:429 a ps.c:430,434
> 	/*
> 	 * If last line terminator is \r, gs will read ahead to check for \n
> 	 * so send one to avoid deadlock.
> 	 */
> 	write(ps->gsfd, "\n", 1);

-- Richard Miller

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [9fans] cdrw?  dvdrw ?
@ 2003-01-07 17:19 jmk
  2003-01-08 11:40 ` [9fans] deadlock in page(1) Richard Miller
  0 siblings, 1 reply; 4+ messages in thread
From: jmk @ 2003-01-07 17:19 UTC (permalink / raw)
  To: 9fans

If you haven't purchased one yet, and you have the money, look at the
Sony DRU500A. It handles CD-R/-RW, DVD-R/-RW and DVD+R/+RW. Bruce Ellis
(brucee) purchased one and was quite impressed.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-08 16:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-08 11:50 [9fans] deadlock in page(1) bwc
2003-01-08 15:00 ` Richard Miller
2003-01-08 16:47 ` Russ Cox
  -- strict thread matches above, loose matches on Subject: below --
2003-01-07 17:19 [9fans] cdrw? dvdrw ? jmk
2003-01-08 11:40 ` [9fans] deadlock in page(1) Richard Miller

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).