9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Page ported to plan9port
@ 2007-02-08 23:10 Kris Maglione
  2007-02-08 23:29 ` erik quanstrom
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Kris Maglione @ 2007-02-08 23:10 UTC (permalink / raw)
  To: 9fans

Hi,

I've ported page(1) to plan9port. Since the default ghostscript on most 
systems doesn't support plan9 bitmaps, I have it output windows bitmaps 
and pipe them through bmp(1) (messing with ghostscript isn't worth the 
trouble, unless Russ wants to pester them to put it into the default 
distro).

You can get it here: http://suckless.org/~jg/page.tgz

There are a few things that aren't as well as I'd like:
1. I switched to libthread, but I still have to fork/exec for gs, 
because it needs 5 file descriptors, and threadspawnl allows only 3. I 
looked at the threadspawnl code, and it forks/execs itself, and I 
haven't had any issues.

2. To get the screen size, I used an ugly hack of spawning "xdpyinfo | 
grep dimensions:" and parsing it. I'd like to know if libdraw provides 
another way to get these.

3. There are some conversion commands which specify programs in fb/, 
which exists neither on plan 9, nor in p9p. Does anyone know what/where 
they were?


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

end of thread, other threads:[~2007-03-26 20:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-08 23:10 [9fans] Page ported to plan9port Kris Maglione
2007-02-08 23:29 ` erik quanstrom
2007-02-09  2:58 ` Russ Cox
2007-02-09  9:24 ` Charles Forsyth
2007-02-09 16:44   ` Kris Maglione
2007-02-09 17:21     ` Russ Cox
2007-02-09 17:32       ` Kris Maglione
2007-02-09 17:52         ` Russ Cox
2007-02-09 18:09           ` Kris Maglione
2007-03-26 20:57 ` Russ Cox

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