From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <940a6dd4f911ff6515327d762b16032a@quintile.net> From: "Steve Simon" Date: Tue, 21 Oct 2014 13:58:40 +0100 To: 9fans@9fans.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-btnhyboausfvzrsvnsndcoeifz" Subject: Re: [9fans] Setting up Mail in Acme on the Raspberry Pi. Topicbox-Message-UUID: 1f50ecb2-ead9-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-btnhyboausfvzrsvnsndcoeifz Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi, Definitely not a raspberry pi thing. I use a raspberry pi at home as a terminal and start auth/fgui from my startup script just as you are retuing to do. Try replicating my environment: Attached are my scripts: startup - what I call riostart logwin - starts first terminal window put these scripts into $home/bin/rc and chmod them to 755 to make them executable. I have this line in my $home/lib/profile where it starts rio: exec rio -s -i startup To test this you can open a window in rio and type exec rio -s -i startup and you will get a child rio in this window. fgui will be running but hidden until its needed, you can manually unhide it but it doesn't refresh its window until it wants to prompt the user so its just a blank window To see fgui just select it from the menu on B3 of the mouse. you should also get stats, faces, and a clock. you probably won't get a radio as the PI doesn't have an audio driver by default yet and you would need to install my radio tuner package first anyway. -Steve --upas-btnhyboausfvzrsvnsndcoeifz Content-Disposition: attachment; filename=startup Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit #!/bin/rc rfork e scr=(`{cat /dev/draw/new >[2]/dev/null || status=''}) height=$scr(12) y1=`{echo 'int(' $height '*' 0.12 ')' | hoc} y2=`{echo 'int(' $height '*' 0.3 ')' | hoc} y3=`{echo 'int(' $height '*' 0.7 ')' | hoc} width=$scr(11) x1=`{echo 'int(' $width '*' 0.1 ')' | hoc} x2=`{echo $x1 + 1 | hoc} x3=`{echo 'int(' $x2 + '(' $width '*' 0.5 '))' | hoc} x4=`{echo $x3 + 1 | hoc} x6=`{echo $width - $y1 | hoc} x5=`{echo $x6 - 1 | hoc} x7=`{echo $width - 1 | hoc} if(~ $service terminal) auth/fgui & if(~ $service terminal && ! ~ $#cpu 0) window -r 0 0 $x1 $y1 stats -lmei $sysname $cpu if not window -r 0 0 $x1 $y1 stats -lmei window -r $x2 0 $x3 $y1 faces -i if(cat /dev/volume >[2] /dev/null) window -r $x4 0 $x5 $y1 audio/tuner window -r $x6 0 $x7 $y1 clock window -r $x2 $y2 $x3 $y3 logwin --upas-btnhyboausfvzrsvnsndcoeifz Content-Disposition: attachment; filename=logwin Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit #!/bin/rc fortune calendar -y news echo exec rc -i --upas-btnhyboausfvzrsvnsndcoeifz--