From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <5.1.0.14.2.20020718105900.0367a648@mail.real.com> To: 9fans@cse.psu.edu, 9fans@cse.psu.edu From: "Fariborz (Skip) Tavakkolian" Subject: Re: [9fans] Pico (again) In-Reply-To: <20020718141436.3434B19A3E@mail.cse.psu.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_6443545==_" Date: Thu, 18 Jul 2002 11:07:01 -0700 Topicbox-Message-UUID: d119269e-eaca-11e9-9e20-41e7f4b1d025 --=====================_6443545==_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I've attached my cheesy C version of display.bas that is in the package. You can use it view the faces. It uses libXg that came with 9libs-1.0, so the graphics model is understandable by a human being. I've got popi running on Plan9 also. I guess I should have ask the more direct question: Why isn't a tool like pico available now? not chic anymore? At 10:14 AM 7/18/2002 -0400, anothy@cosym.net wrote: >just out of curiosity, i grabbed the popi stuff from holzmann's >page and gave it a shot. popi, the portable pico, popi, compiles >fine out of the box, although it runs into the buffered IO issue >common to most unix command line programs on Plan 9. i've not >checked to see that it does sensable things with images, though, >mainly because i don't know what to do with popi's output.=20 > >the compiled version of pico available from holzmann's page >doesn't compile. i put no effort into figuring out why. the notes >on holzmann's page are not encouraging in this regard. > >i was not able to pull the version of pico described in Rakitzis' >message, so it's untested. > >anyone got anything to deal with pico (v10 picfile(5)) images? >=E3=82=A2 --=====================_6443545==_ Content-Type: text/plain; name="disp.c"; x-mac-type="42494E41"; x-mac-creator="74747874" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="disp.c" I2luY2x1ZGUJPHUuaD4KI2luY2x1ZGUJPGxpYmMuaD4KI2luY2x1ZGUJPGxpYmcuaD4KCiNkZWZp bmUgcmVzIDgKCmludCB0aHJlc2hvbGRbcmVzXVtyZXNdID0gewoJeyAwLDEyOCwzMiwxNjAsOCwx MzYsNDAsMTY4fSwgCgl7IDE5Miw2NCwyMjQsOTYsMjAwLDcyLDIzMiwxM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