9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] pico
@ 2002-07-17 23:06 Fariborz (Skip) Tavakkolian
  2002-07-17 21:57 ` Sam
  0 siblings, 1 reply; 15+ messages in thread
From: Fariborz (Skip) Tavakkolian @ 2002-07-17 23:06 UTC (permalink / raw)
  To: 9fans

is there anything like it in Plan9?



^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: [9fans] How to read/write pixels from Memimage
@ 2008-01-27 18:55 Pietro Gagliardi
  2008-01-27 19:29 ` [9fans] pico Steve Simon
  0 siblings, 1 reply; 15+ messages in thread
From: Pietro Gagliardi @ 2008-01-27 18:55 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

That transformation is in the book? It divides by zero for y == 0. I  
have to look.

I'm working on an update. It adds:
	r x y w h file (done)
		Reads a certain rectangle of a file. This makes crop(1)'s -r option  
three lines of rc or /bin/sh:
			echo 'r '$1' '$2' '$3' '$4' '$5'
			new = old
			w '$6 | pico
	Simple variables (started)
	Undo command u (done)
	Use of RGB24 instead of RGBA32 to make the examples work (done)
	Using Brdstr instead of Bgetc/Bungetc (this is not working)

On Jan 27, 2008, at 1:05 PM, Skip Tavakkolian wrote:

>> The code led me to confusion, so I just decided to use wordaddr. It
>> works properly now,  and my Pico is now up at /n/sources/contrib/
>> pietro/pico9.tgz (note the 9). Details are in README.Plan9, test
>> files are in /lib/face/.
>
> some book examples are failing:
>
> cpu% 8.out
> 1:	new[x,y] = x % y
> 8.out 181613: suicide: sys: trap: divide error pc=0x000023fd
>


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

end of thread, other threads:[~2008-02-05  3:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-17 23:06 [9fans] pico Fariborz (Skip) Tavakkolian
2002-07-17 21:57 ` Sam
2008-01-27 18:55 [9fans] How to read/write pixels from Memimage Pietro Gagliardi
2008-01-27 19:29 ` [9fans] pico Steve Simon
2008-01-28 23:36   ` Russ Cox
2008-01-29  0:30     ` Pietro Gagliardi
2008-01-29  5:30       ` Bruce Ellis
2008-01-29 20:33         ` Pietro Gagliardi
2008-01-29 20:35           ` Pietro Gagliardi
2008-01-29 22:46             ` Russ Cox
2008-01-30  1:13               ` Pietro Gagliardi
2008-01-30  6:53                 ` Bruce Ellis
2008-01-30 23:42                   ` Pietro Gagliardi
2008-01-30 23:55                     ` Pietro Gagliardi
2008-01-31  7:41                       ` Bruce Ellis
2008-02-05  3:01                         ` Pietro Gagliardi

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