Re: [9fans] Road-highlighting like in games/roads

2013-04-19 Thread tlaronde
On Thu, Apr 18, 2013 at 03:18:22PM -0400, a...@9srv.net wrote:
 2nd Edition Plan 9 had a neat program, games/road, which
 provided a map of the US with data on roads and the like.
 Among other neat features was the ability to highlight
 just requested features. For example, you could have the
 map show just I-80 and US-22.
 
 I've got a project (not related to Plan 9) in which that
 particular function would be very useful, but I've never
 seen it in any other mapping application. Has anyone
 seen such a thing elsewhere?

This is typically what a G.I.S. delivers (kerGIS can do this; but the
public version is orphaned and will need to clean up all the curses
programs---one can do without: they are just interfaces---and add a rio
displaying device; kerGIS not public... is not public...). For other
open source GIS, I guess you will have rough times since they are 
monsters probably not even very POSIXly correct...
-- 
Thierry Laronde tlaronde +AT+ polynum +dot+ com
  http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C



[9fans] Plot(1) broken on p9p OSX?

2013-04-19 Thread marius a. eriksen
Graph(1) seems to work:

% @{echo 1; echo 2; echo 3} | graph -a
o
ra 0 0 4096 4096
e
li 200 200 4000 200
v 4000 4000
v 200 4000
v 200 200
li 1150 200 1150 4000
li 2100 200 2100 4000
li 3050 200 3050 4000
li 200 1150 4000 1150
li 200 2100 4000 2100
li 200 3050 4000 3050
m 200 140
t 0 = x = 2, 1 = y = 3
pe solid
co kblack
m 200 200
v 2100 2100
v 4000 4000
pe solid
cl

But not plot(1):

% @{echo 1; echo 2; echo 3} | graph -a | plot

Yields only a lonely, blank window.

Has anyone gotten this to work?

-marius



Re: [9fans] Plot(1) broken on p9p OSX?

2013-04-19 Thread marius a. eriksen
Interesting. Which version of OSX is this? I'm running Mountain Lion.

-marius



Re: [9fans] Plot(1) broken on p9p OSX?

2013-04-19 Thread Skip Tavakkolian
Ditto.

On Apr 19, 2013, at 4:33 PM, marius a. eriksen mar...@monkey.org wrote:

 Interesting. Which version of OSX is this? I'm running Mountain Lion.
 
 -marius
 



Re: [9fans] Plot(1) broken on p9p OSX?

2013-04-19 Thread Jeff Sickel
I'm on 10.8.3 and I see the grey screen w/ no plot.

Skip's still on that Blue Quartz UI setting, the stop light colors on the 
window buttons give it away, so he may not have done a full rebuild of p9p in a 
while.  I can't get all of p9p to compile on 10.8, that mean's there are likely 
a few bits missing that never made it forward from my pre 10.7 builds.

I've tried forcing a flush image in during the event loop and after resizing 
the window.  All that does is give a clean white background that didn't use to 
exist.  Still no real plot info.

To get around the drawing problems I always went w/ grap | pic | troff | 
tr2post | psfonts  t.ps.

-jas



On Apr 19, 2013, at 6:33 PM, marius a. eriksen mar...@monkey.org wrote:

 Interesting. Which version of OSX is this? I'm running Mountain Lion.
 
 -marius
 




Re: [9fans] Plot(1) broken on p9p OSX?

2013-04-19 Thread Skip Tavakkolian
right... uname says, 10.7.5 -- which i can see now is a Lion, but not of
the Mountains


On Fri, Apr 19, 2013 at 5:20 PM, Jeff Sickel j...@corpus-callosum.comwrote:

 I'm on 10.8.3 and I see the grey screen w/ no plot.

 Skip's still on that Blue Quartz UI setting, the stop light colors on
 the window buttons give it away, so he may not have done a full rebuild of
 p9p in a while.  I can't get all of p9p to compile on 10.8, that mean's
 there are likely a few bits missing that never made it forward from my pre
 10.7 builds.

 I've tried forcing a flush image in during the event loop and after
 resizing the window.  All that does is give a clean white background that
 didn't use to exist.  Still no real plot info.

 To get around the drawing problems I always went w/ grap | pic | troff |
 tr2post | psfonts  t.ps.

 -jas



 On Apr 19, 2013, at 6:33 PM, marius a. eriksen mar...@monkey.org wrote:

  Interesting. Which version of OSX is this? I'm running Mountain Lion.
 
  -marius