From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <10b109140809090316p5e82b2fan13e77f76a26c0f4@mail.gmail.com> Date: Tue, 9 Sep 2008 12:16:41 +0200 From: "Antonin Vecera" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> In-Reply-To: <3fb00f7a252623d8def0855209d03e61@quintile.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <10b109140809090058q6c7b7b31u32f39d71644c779@mail.gmail.com> <3fb00f7a252623d8def0855209d03e61@quintile.net> Subject: Re: [9fans] fortune in login window Topicbox-Message-UUID: 0e15f2ee-ead4-11e9-9d60-3106f5b1d025 On Tue, Sep 9, 2008 at 11:20 AM, Steve Simon wrote: > The startup script is envoked by your profile ($home/lib/profile) > where it starts rio (I call mine startup, you seem to call yours > riostartup, its personal choice really) > > here is the relevant line in mine: > > exec rio -s -i startup > > and here is my $home/bin/rc/startup > > #!/bin/rc > > auth/fgui & > if(~ $service terminal) > window -r 0 0 200 120 stats -lmei $sysname $cpu > if not > window -r 0 0 200 120 stats -lmei > > window -r 201 0 845 120 faces -i > window -r 1159 0 1279 120 clock > window -r 95 212 921 734 logwin > > The last line above starts logwin which is a seperate script which > opens my first terminal window and runs fortune etc in it, here is > $home/bin/rc/logwin > > #!/bin/rc > > fortune > calendar -y > news > echo > > exec rc -i > > -Steve Wonderful, it works! Thanks. Antonin