From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mats Olsson" To: <9fans@9fans.net> Date: Mon, 6 Oct 2014 13:19:32 -0700 Message-ID: <9F4F9A7C40114DA9963FF883CF2940F1@mail2world.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_5E5C_01CFE168.2ABBE8C0" Subject: [9fans] Clean desktop on Raspberry Pi using Plan 9. Topicbox-Message-UUID: 18acc7dc-ead9-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. ------=_NextPart_000_5E5C_01CFE168.2ABBE8C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi guys! How can I get a clean desktop at bootup on the Raspberry Pi using Plan 9? No tutorials starting etc. Would highly appreciate to know how to know how to configure the Raspberry Pi to start clean. Thanks beforehand! Kind Greetings, Mats ------=_NextPart_000_5E5C_01CFE168.2ABBE8C0 Content-Type: text/html Content-Transfer-Encoding: 7bit Hi guys!

How can I get a clean desktop at bootup on the Raspberry Pi using Plan 9? No tutorials starting etc. Would highly appreciate to know how to know how to configure the Raspberry Pi to start clean. Thanks beforehand!

Kind Greetings,
Mats
------=_NextPart_000_5E5C_01CFE168.2ABBE8C0-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <9F4F9A7C40114DA9963FF883CF2940F1@mail2world.com> References: <9F4F9A7C40114DA9963FF883CF2940F1@mail2world.com> Date: Mon, 6 Oct 2014 13:51:42 -0700 Message-ID: From: Skip Tavakkolian To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a11c1bd74077f5c0504c7402a Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9. Topicbox-Message-UUID: 18b5505a-ead9-11e9-9d60-3106f5b1d025 --001a11c1bd74077f5c0504c7402a Content-Type: text/plain; charset=UTF-8 from the shell window take a look at bin/rc/riostart (i.e. $home/bin/rc/riostart). remove the startup windows you don't want (like first.window, etc) term% cat bin/rc/riostart #!/bin/rc scr=(`{cat /dev/draw/new >[2]/dev/null || status=''}) wid=$scr(11) ht=$scr(12) window 0,0,161,117 stats -lmisce window 161,0,560,117 faces -i if(~ `{screensize} small) dump=acme.dump.small if not dump=acme.dump a=`{echo $wid-35 | hoc } window 60,90,$a,$ht acme -l lib/$dump window 20,140,610,450 /usr/glenda/lib/first.window term% On Mon, Oct 6, 2014 at 1:19 PM, Mats Olsson wrote: > Hi guys! > > How can I get a clean desktop at bootup on the Raspberry Pi using Plan 9? > No tutorials starting etc. Would highly appreciate to know how to know how > to configure the Raspberry Pi to start clean. Thanks beforehand! > > Kind Greetings, > Mats > --001a11c1bd74077f5c0504c7402a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
from the shell window take a look at bin/rc/riostart = (i.e. $home/bin/rc/riostart). remove the startup windows you don't want= (like first.window, etc)

term% cat bin/rc/riostar= t
#!/bin/rc

scr=3D(`{cat /dev/draw/new &= gt;[2]/dev/null || status=3D''})
wid=3D$scr(11)
ht=3D$scr(12)

window 0,0,161,117 stats -lmisce
window 161,0,560,117 faces -i

if(~ `{scree= nsize} small)
= dump=3Dacme.dump.small
if not
dump=3Dacme.dump

a=3D`{e= cho $wid-35 | hoc }
window 60,90,$a,$ht acme -l lib/$dump
window 20,140,610,450 /usr/glenda/lib/first.window
term%=C2=A0=

On Mo= n, Oct 6, 2014 at 1:19 PM, Mats Olsson <meo@spray.se> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">
Hi guys!

How can I get a clean desktop at bootup on the Raspberry Pi using Plan 9? N= o tutorials starting etc. Would highly appreciate to know how to know how t= o configure the Raspberry Pi to start clean. Thanks beforehand!

Kind Greetings,
Mats

--001a11c1bd74077f5c0504c7402a-- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3b658296e74b6bb48636e110f07f8e11@quintile.net> From: "Steve Simon" Date: Mon, 6 Oct 2014 22:04:06 +0100 To: 9fans@9fans.net In-Reply-To: <9F4F9A7C40114DA9963FF883CF2940F1@mail2world.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9. Topicbox-Message-UUID: 18c05252-ead9-11e9-9d60-3106f5b1d025 I assume you are running the pi as a terminal. at startup the script $home/lib/profile is run. at the end of the processing in this (not necessarly the end of the file) it does somthing like "exec rio -s -i startup". This starts the window manager and runs the script called startup. I would expect to find a script called startup, probably in $home/bin/rc/startup This is what opens the initial windows on your terminal, if you edit it you can put different windows on the startup screen as you wish. -Steve From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mats Olsson" To: <9fans@9fans.net> Date: Tue, 7 Oct 2014 09:42:15 -0700 Message-ID: <6F6CE9866D7542EABFB5BFE044BB4854@mail2world.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_2E0CC_01CFE212.FA1D32E0" Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9. Topicbox-Message-UUID: 1905b7de-ead9-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. ------=_NextPart_000_2E0CC_01CFE212.FA1D32E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Thanks Skip! I get the idea but how do I save the changes in the file? Sorry for being such a NEWBIE. Kind Regards, Mats <-----Ursprungligt Meddelande-----> From: Skip Tavakkolian [skip.tavakkolian@gmail.com] Sent: 6/10/2014 10:51:42 PM To: 9fans@9fans.net Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9. from the shell window take a look at bin/rc/riostart (i.e. $home/bin/rc/riostart). remove the startup windows you don't want (like first.window, etc) term% cat bin/rc/riostart #!/bin/rc scr=(`{cat /dev/draw/new >[2]/dev/null || status=''}) wid=$scr(11) ht=$scr(12) window 0,0,161,117 stats -lmisce window 161,0,560,117 faces -i if(~ `{screensize} small) dump=acme.dump.small if not dump=acme.dump a=`{echo $wid-35 | hoc } window 60,90,$a,$ht acme -l lib/$dump window 20,140,610,450 /usr/glenda/lib/first.window term% On Mon, Oct 6, 2014 at 1:19 PM, Mats Olsson < meo@spray.se > wrote: Hi guys! How can I get a clean desktop at bootup on the Raspberry Pi using Plan 9? No tutorials starting etc. Would highly appreciate to know how to know how to configure the Raspberry Pi to start clean. Thanks beforehand! Kind Greetings, Mats ------=_NextPart_000_2E0CC_01CFE212.FA1D32E0 Content-Type: text/html Content-Transfer-Encoding: 7bit Thanks Skip!

I get the idea but how do I save the changes in the file? Sorry for being such a NEWBIE.

Kind Regards,
Mats


<-----Ursprungligt Meddelande----->
  From: Skip Tavakkolian [skip.tavakkolian@gmail.com]
Sent: 6/10/2014 10:51:42 PM
To: 9fans@9fans.net
Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9. 


from the shell window take a look at bin/rc/riostart (i.e. $home/bin/rc/riostart). remove the startup windows you don't want (like first.window, etc)

term% cat bin/rc/riostart
#!/bin/rc

scr=(`{cat /dev/draw/new >[2]/dev/null || status=''})
wid=$scr(11)
ht=$scr(12)

window 0,0,161,117 stats -lmisce
window 161,0,560,117 faces -i

if(~ `{screensize} small)
dump=acme.dump.small
if not
dump=acme.dump

a=`{echo $wid-35 | hoc }
window 60,90,$a,$ht acme -l lib/$dump
window 20,140,610,450 /usr/glenda/lib/first.window
term% 

On Mon, Oct 6, 2014 at 1:19 PM, Mats Olsson <meo@spray.se> wrote:
Hi guys!

How can I get a clean desktop at bootup on the Raspberry Pi using Plan 9? No tutorials starting etc. Would highly appreciate to know how to know how to configure the Raspberry Pi to start clean. Thanks beforehand!

Kind Greetings,
Mats

------=_NextPart_000_2E0CC_01CFE212.FA1D32E0-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mats Olsson" To: <9fans@9fans.net> Date: Tue, 7 Oct 2014 10:09:16 -0700 Message-ID: <625C19DC6E0E4CE380F7E119067BFE18@mail2world.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_3DFE_01CFE216.C0C68FB0" Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9. Topicbox-Message-UUID: 1915550e-ead9-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. ------=_NextPart_000_3DFE_01CFE216.C0C68FB0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Thanka again for your help! Now I got it. Looked for the file in Acme and edited the file and pressed the middle button on Put. Kind Greetings, Mats <-----Ursprungligt Meddelande-----> From: Skip Tavakkolian [skip.tavakkolian@gmail.com] Sent: 6/10/2014 10:51:42 PM To: 9fans@9fans.net Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9. from the shell window take a look at bin/rc/riostart (i.e. $home/bin/rc/riostart). remove the startup windows you don't want (like first.window, etc) term% cat bin/rc/riostart #!/bin/rc scr=(`{cat /dev/draw/new >[2]/dev/null || status=''}) wid=$scr(11) ht=$scr(12) window 0,0,161,117 stats -lmisce window 161,0,560,117 faces -i if(~ `{screensize} small) dump=acme.dump.small if not dump=acme.dump a=`{echo $wid-35 | hoc } window 60,90,$a,$ht acme -l lib/$dump window 20,140,610,450 /usr/glenda/lib/first.window term% On Mon, Oct 6, 2014 at 1:19 PM, Mats Olsson < meo@spray.se > wrote: Hi guys! How can I get a clean desktop at bootup on the Raspberry Pi using Plan 9? No tutorials starting etc. Would highly appreciate to know how to know how to configure the Raspberry Pi to start clean. Thanks beforehand! Kind Greetings, Mats ------=_NextPart_000_3DFE_01CFE216.C0C68FB0 Content-Type: text/html Content-Transfer-Encoding: 7bit Thanka again for your help! Now I got it. Looked for the file in Acme and edited the file and pressed the middle button on Put.

Kind Greetings,
Mats


<-----Ursprungligt Meddelande----->
  From: Skip Tavakkolian [skip.tavakkolian@gmail.com]
Sent: 6/10/2014 10:51:42 PM
To: 9fans@9fans.net
Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9. 


from the shell window take a look at bin/rc/riostart (i.e. $home/bin/rc/riostart). remove the startup windows you don't want (like first.window, etc)

term% cat bin/rc/riostart
#!/bin/rc

scr=(`{cat /dev/draw/new >[2]/dev/null || status=''})
wid=$scr(11)
ht=$scr(12)

window 0,0,161,117 stats -lmisce
window 161,0,560,117 faces -i

if(~ `{screensize} small)
dump=acme.dump.small
if not
dump=acme.dump

a=`{echo $wid-35 | hoc }
window 60,90,$a,$ht acme -l lib/$dump
window 20,140,610,450 /usr/glenda/lib/first.window
term% 

On Mon, Oct 6, 2014 at 1:19 PM, Mats Olsson <meo@spray.se> wrote:
Hi guys!

How can I get a clean desktop at bootup on the Raspberry Pi using Plan 9? No tutorials starting etc. Would highly appreciate to know how to know how to configure the Raspberry Pi to start clean. Thanks beforehand!

Kind Greetings,
Mats

------=_NextPart_000_3DFE_01CFE216.C0C68FB0-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <6F6CE9866D7542EABFB5BFE044BB4854@mail2world.com> References: <6F6CE9866D7542EABFB5BFE044BB4854@mail2world.com> Date: Tue, 7 Oct 2014 11:22:14 -0700 Message-ID: From: Skip Tavakkolian To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=089e011608ac4d7f640504d947db Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9. Topicbox-Message-UUID: 190a7224-ead9-11e9-9d60-3106f5b1d025 --089e011608ac4d7f640504d947db Content-Type: text/plain; charset=UTF-8 use acme to open/save it. 'man acme' or search for youtube videos on how to navigate in acme. On Tue, Oct 7, 2014 at 9:42 AM, Mats Olsson wrote: > Thanks Skip! > > I get the idea but how do I save the changes in the file? Sorry for being > such a NEWBIE. > > Kind Regards, > Mats > > > <-----Ursprungligt Meddelande-----> > *From: Skip Tavakkolian [skip.tavakkolian@gmail.com > ]* > Sent: 6/10/2014 10:51:42 PM > To: 9fans@9fans.net > Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9. > > > from the shell window take a look at bin/rc/riostart (i.e. > $home/bin/rc/riostart). remove the startup windows you don't want (like > first.window, etc) > > term% cat bin/rc/riostart > #!/bin/rc > > scr=(`{cat /dev/draw/new >[2]/dev/null || status=''}) > wid=$scr(11) > ht=$scr(12) > > window 0,0,161,117 stats -lmisce > window 161,0,560,117 faces -i > > if(~ `{screensize} small) > dump=acme.dump.small > if not > dump=acme.dump > > a=`{echo $wid-35 | hoc } > window 60,90,$a,$ht acme -l lib/$dump > window 20,140,610,450 /usr/glenda/lib/first.window > term% > > On Mon, Oct 6, 2014 at 1:19 PM, Mats Olsson wrote: > >> Hi guys! >> >> How can I get a clean desktop at bootup on the Raspberry Pi using Plan 9? >> No tutorials starting etc. Would highly appreciate to know how to know how >> to configure the Raspberry Pi to start clean. Thanks beforehand! >> >> Kind Greetings, >> Mats >> > > --089e011608ac4d7f640504d947db Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
use acme to open/save it. 'man acme' or search for= youtube videos on how to navigate in acme.

<= /div>

On Tue= , Oct 7, 2014 at 9:42 AM, Mats Olsson <meo@spray.se> wrote:
Thanks Skip!

I get the idea but how do I save the changes in the file? Sorry for being s= uch a NEWBIE.

Kind Regards,
Mats


<-----Ursprungligt Meddelande----->
=C2=A0= =C2=A0From: Skip Tavakkolian [skip.tavakkolian@gmai= l.com]
Sent: 6/10/2014 10:51:42 PM
To: 9fans@9fans.net
Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9.=C2=A0

--089e011608ac4d7f640504d947db-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <625C19DC6E0E4CE380F7E119067BFE18@mail2world.com> References: <625C19DC6E0E4CE380F7E119067BFE18@mail2world.com> From: =?UTF-8?B?QXJhbSBIxIN2xINybmVhbnU=?= Date: Tue, 7 Oct 2014 21:52:52 +0200 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a113604bcd49da30504da8cb3 Subject: Re: [9fans] Clean desktop on Raspberry Pi using Plan 9. Topicbox-Message-UUID: 19197094-ead9-11e9-9d60-3106f5b1d025 --001a113604bcd49da30504da8cb3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The startup file is there exactly to teach you about these things, you should read it. --=20 Aram H=C4=83v=C4=83rneanu --001a113604bcd49da30504da8cb3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The startup file is there exact= ly to teach you about these things, you should read it.

--
Aram H=C4=83v=C4=83rneanu
--001a113604bcd49da30504da8cb3--