9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Antonin Vecera" <antonin.vecera@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] fortune in login window
Date: Tue,  9 Sep 2008 12:16:41 +0200	[thread overview]
Message-ID: <10b109140809090316p5e82b2fan13e77f76a26c0f4@mail.gmail.com> (raw)
In-Reply-To: <3fb00f7a252623d8def0855209d03e61@quintile.net>

On Tue, Sep 9, 2008 at 11:20 AM, Steve Simon <steve@quintile.net> 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



      reply	other threads:[~2008-09-09 10:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-09  7:58 Antonin Vecera
2008-09-09  9:20 ` Steve Simon
2008-09-09 10:16   ` Antonin Vecera [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10b109140809090316p5e82b2fan13e77f76a26c0f4@mail.gmail.com \
    --to=antonin.vecera@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).