9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
@ 2014-10-21 12:58 Steve Simon
  2014-10-22  9:06 ` Mats Olsson
  0 siblings, 1 reply; 123+ messages in thread
From: Steve Simon @ 2014-10-21 12:58 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]

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

[-- Attachment #2: startup --]
[-- Type: text/plain, Size: 849 bytes --]

#!/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

[-- Attachment #3: logwin --]
[-- Type: text/plain, Size: 59 bytes --]

#!/bin/rc

fortune
calendar -y
news
echo

exec rc -i

^ permalink raw reply	[flat|nested] 123+ messages in thread
* [9fans] Setting up Mail in Acme on the Raspberry Pi.
@ 2014-10-11 12:27 Mats Olsson
  2014-10-11 13:31 ` Quintile
  0 siblings, 1 reply; 123+ messages in thread
From: Mats Olsson @ 2014-10-11 12:27 UTC (permalink / raw)
  To: 9fans

I have searched the web but can't find an answer. Any help highly
appreciated since I really want to use Plan9 on Raspberry Pi.



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

end of thread, other threads:[~2014-11-07  9:27 UTC | newest]

Thread overview: 123+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-21 12:58 [9fans] Setting up Mail in Acme on the Raspberry Pi Steve Simon
2014-10-22  9:06 ` Mats Olsson
2014-10-22 10:32   ` Charles Forsyth
2014-10-22 10:35     ` Charles Forsyth
2014-10-22 12:24       ` Mats Olsson
2014-10-22 13:29         ` Charles Forsyth
2014-10-22 13:59           ` Mats Olsson
2014-10-22 12:38   ` Steve Simon
2014-10-22 14:34   ` Kurt H Maier
2014-10-22 14:46     ` Charles Forsyth
2014-10-22 15:12       ` Kurt H Maier
2014-10-22 15:19         ` Mats Olsson
2014-10-22 18:14           ` Skip Tavakkolian
2014-10-22 20:04             ` Quintile
2014-10-23 20:45               ` Winston Kodogo
2014-10-23 20:57                 ` Charles Forsyth
2014-10-23 21:03                 ` Winston Kodogo
2014-10-24  6:50                   ` Mats Olsson
  -- strict thread matches above, loose matches on Subject: below --
2014-10-11 12:27 Mats Olsson
2014-10-11 13:31 ` Quintile
2014-10-12  7:28   ` Mats Olsson
2014-10-12  7:37     ` Quintile
2014-10-12 13:04       ` Mats Olsson
2014-10-12 14:18         ` Quintile
2014-10-12 14:23         ` Richard Miller
2014-10-12 18:18     ` Eduardo Alvarez
2014-10-12 18:36       ` Steve Simon
2014-10-12 18:58         ` Kurt H Maier
2014-10-13  0:53           ` kokamoto
2014-10-13 11:40             ` Mats Olsson
2014-10-13 14:28               ` p.d.finn
2014-10-13 16:07             ` erik quanstrom
2014-10-13 16:15         ` erik quanstrom
2014-10-13 16:46           ` Eduardo Alvarez
2014-10-13 23:55             ` Anthony Sorace
2014-10-14  2:41               ` Winston Kodogo
2014-10-14  2:51                 ` Kurt H Maier
2014-10-14  3:00                   ` Winston Kodogo
2014-10-14  3:08                     ` Skip Tavakkolian
2014-10-14  3:25                       ` Winston Kodogo
2014-10-14 19:09                       ` Wes Kussmaul
2014-10-14 20:03                         ` Skip Tavakkolian
2014-10-14 20:29                           ` Wes Kussmaul
2014-10-14 22:32                             ` Winston Kodogo
2014-10-14  9:09                 ` Steve Simon
2014-10-14 11:14                   ` Rudolf Sykora
2014-10-14 12:04                     ` Steve Simon
2014-10-14 12:23                     ` Anthony Sorace
2014-10-14 12:46                       ` Richard Miller
2014-10-14 15:20                       ` erik quanstrom
2014-10-14 15:22                     ` erik quanstrom
2014-10-14 16:08                       ` Rudolf Sykora
2014-10-14 17:29                         ` erik quanstrom
2014-10-14 18:40                         ` Anthony Sorace
2014-10-15  6:37                           ` Rudolf Sykora
2014-10-14 15:57                 ` erik quanstrom
2014-10-13 17:10           ` Bakul Shah
2014-10-13 19:01             ` Mats Olsson
2014-10-13 19:37             ` Steffen Nurpmeso
2014-10-15 12:21             ` trebol
2014-10-15 12:46               ` Steffen Nurpmeso
2014-10-15 13:00                 ` trebol
2014-10-19 19:43                   ` Mats Olsson
2014-10-19 22:26                     ` P. D. Finn
2014-10-20  7:04                       ` Mats Olsson
2014-10-20  7:28                         ` P. D. Finn
2014-10-20 11:11                           ` Mats Olsson
2014-10-20 11:34                             ` Steve Simon
2014-10-20 17:25                               ` Mats Olsson
2014-10-20 17:28                                 ` Mats Olsson
2014-10-20 17:32                                   ` Mats Olsson
2014-10-20 17:49                                     ` Quintile
2014-10-20 18:44                                       ` Mats Olsson
2014-10-21 12:21                                         ` Mats Olsson
2014-10-21 12:57                                           ` k0ga
2014-10-27 15:58                               ` erik quanstrom
2014-10-27 16:34                                 ` lucio
2014-10-27 19:10                                   ` erik quanstrom
2014-10-29 21:43                                     ` Mats Olsson
2014-10-29 21:48                                       ` Mats Olsson
2014-10-29 21:58                                       ` Steve Simon
2014-10-30 11:13                                         ` Mats Olsson
2014-10-30 14:08                                           ` Kurt H Maier
2014-10-30 14:18                                             ` Mats Olsson
2014-10-30 14:34                                               ` Kurt H Maier
2014-10-30 16:00                                           ` erik quanstrom
2014-10-30 16:11                                             ` Mats Olsson
2014-10-30 16:14                                               ` Mats Olsson
2014-10-31 10:26                                                 ` Mats Olsson
2014-10-31 10:51                                                   ` trebol
2014-10-31 10:59                                                   ` trebol
2014-10-31 12:04                                                     ` Mats Olsson
2014-10-31 13:09                                                   ` Steffen Nurpmeso
2014-10-31 13:30                                                     ` erik quanstrom
2014-10-31 14:29                                                       ` Mats Olsson
2014-10-31 18:09                                                       ` Steffen Nurpmeso
2014-11-04  4:24                                                         ` erik quanstrom
2014-11-04 14:27                                                           ` Steffen Nurpmeso
2014-11-05 18:21                                                             ` Mats Olsson
2014-11-05 18:26                                                               ` Mats Olsson
2014-11-05 18:38                                                                 ` Steffen Nurpmeso
2014-11-05 18:55                                                                   ` Mats Olsson
2014-11-05 18:31                                                               ` Steffen Nurpmeso
2014-11-05 17:30                                                           ` Mats Olsson
2014-11-05 17:40                                                             ` Anthony Sorace
2014-11-05 18:19                                                               ` Steffen Nurpmeso
2014-11-06 13:41                                                                 ` erik quanstrom
2014-11-06 19:12                                                                   ` Steffen Nurpmeso
2014-11-07  9:27                                                                     ` Mats Olsson
2014-10-31 19:35                                           ` Quintile
2014-10-31 20:19                                             ` Mats Olsson
2014-10-31 21:14                                               ` Richard Miller
2014-10-31 21:53                                                 ` Mats Olsson
2014-11-03  8:54                                                   ` Mats Olsson
2014-11-03 23:49                                                     ` trebol
2014-11-03  8:57                                                   ` Mats Olsson
2014-11-04  4:06                                                     ` erik quanstrom
2014-11-01  0:14                                                 ` Anthony Martin
2014-11-01  8:16                                                   ` Mats Olsson
2014-11-01  8:34                                                   ` Skip Tavakkolian
2014-11-01 10:32                                                   ` Charles Forsyth
2014-11-01 12:24                                     ` Charles Forsyth
2014-11-04  4:12                                       ` erik quanstrom

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