From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 From: Marshall Conover Date: Wed, 28 Sep 2016 23:07:26 +0000 Message-ID: To: "9fans@9fans.net" <9fans@9fans.net> Content-Type: multipart/alternative; boundary=94eb2c19078a535f40053d996d96 Subject: [9fans] The correct way to do an incorrect thing Topicbox-Message-UUID: a0f7038c-ead9-11e9-9d60-3106f5b1d025 --94eb2c19078a535f40053d996d96 Content-Type: text/plain; charset=UTF-8 Hi all! As an awful person, I hacked rio's data.c to support backgrounds. Because the default code took a 1-by-1 pixel grey image and tiled it, I just shoved a line in there to load an image file instead using readimage(). (Hacked really is the appropriate word here.) My question is, would the plan9 approach to this (assuming this were a plan 9 thing to do in the first place) be to add a command line argument to rio that lets the user specify a file, or would it be to present some file somewhere the user can write a background to? E.g., `cat /usr/glenda/backgrounds/bg.bit > /rio/bg`. If there are any papers or man pages that'd be good to read for this question, I'd appreciate a finger in that direction. Thanks! mars --94eb2c19078a535f40053d996d96 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all!

As an awful = person, I hacked rio's data.c to support backgrounds. Because the defau= lt code took a 1-by-1 pixel grey image and tiled it, I just shoved a line i= n there to load an image file instead using readimage(). (Hacked really is = the appropriate word here.)

My question is, would the plan9 ap= proach to this (assuming this were a plan 9 thing to do in the first place)= be to add a command line argument to rio that lets the user specify a file= , or would it be to present some file somewhere the user can write a backgr= ound to? E.g., `cat /usr/glenda/backgrounds/bg.bit > /rio/bg`.

If there are any papers or man pages that'd be good to read for thi= s question, I'd appreciate a finger in that direction.

Tha= nks!

mars
--94eb2c19078a535f40053d996d96--