9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Federico Benavento" <benavento@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] tex on fossil
Date: Tue, 22 May 2007 22:14:51 +0200	[thread overview]
Message-ID: <32d987d50705221314m15168340r51ee7eecb8d2d60e@mail.gmail.com> (raw)
In-Reply-To: <32d987d50705221128n174ca626g49981850858e8737@mail.gmail.com>

hola,

I just installed the python.iso just to be sure (that I was wrong)

lotte% 9fs sources
lotte% fcp /n/sources/extra/python.iso.bz2 /tmp
lotte% cd /tmp
lotte% bunzip2 < python.iso.bz2 > python.iso
lotte% 9660srv
lotte% mount /srv/9660 /n/dist /tmp/python.iso
lotte% cp /n/dist/python /tmp

[start edit python]
#!/bin/rc

#!/bin/rc

s=/n/dist
serverroot=$s
serverlog=$s/python.log
serverproto=$s/python.proto
fn servermount { status='' }
fn serverupdate { status='' }

fn clientmount {}
c=/dist/replica
clientroot=/
clientproto=/sys/src/cmd/python/python.proto
clientdb=$c/client/python.db
clientexclude=(dist/replica/client)
clientlog=$c/client/python.log
[end edit python]

lotte%> /dist/replica/client/python.db
lotte%> /dist/replica/client/python.log
lotte% replica/pull -v /tmp/python

I'm cofindent that this is also valid for tex.

hope this helps :)

On 5/22/07, Federico Benavento <benavento@gmail.com> wrote:
> when I installed .is I just mounted the iso with 9660srv
> copied the tex|python|whaever to /tmp and edited (s/kfs/boot/) it
>
> then I just did replica/pull /tmp/file
>
> On 5/22/07, ron minnich <rminnich@gmail.com> wrote:
> > I have modified the tex file as follows:
> > #!/bin/rc
> >
> > s=/n/dist
> > serverroot=$s
> > serverlog=$s/tex.log
> > serverproto=$s/tex.proto
> > fn servermount { status='' }
> > fn serverupdate { status='' }
> >
> > fn clientmount { 9fs kfs }
> > c=//dist/replica
> > clientroot=/
> > clientproto=//sys/src/cmd/tex/tex.proto
> > clientdb=$c/client/tex.db
> > clientexclude=(dist/replica/client)
> > clientlog=$c/client/tex.log
> >
> > I have the iso unpacked into /usr/rminnich/f
> > I do this:
> > cpu% bind f /n/dist
> > cpu% ls /n/dist
> > /n/dist/README
> > /n/dist/oldtex
> > /n/dist/rc
> > /n/dist/sys
> > /n/dist/tex
> > /n/dist/tex.db
> > /n/dist/tex.log
> > /n/dist/tex.setup
> > cpu% cd /n/dist
> > cpu% replica/pull /n/dist/tex
> > no such replica /n/dist/tex
> > cpu%
> >
> > So what am I missing here .. is it that clientmount bit?
> > thanks
> >
> > ron
> > p.s. if this gets to working, I will build a new .iso for others.
> >
>
>
> --
> Federico G. Benavento
>


-- 
Federico G. Benavento


  reply	other threads:[~2007-05-22 20:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-22 18:23 ron minnich
2007-05-22 18:28 ` Federico Benavento
2007-05-22 20:14   ` Federico Benavento [this message]
2007-05-22 20:45     ` ron minnich
2007-05-22 21:00       ` Federico Benavento
2007-05-22 21:16         ` andrey mirtchovski
2007-05-22 21:31           ` ron minnich

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=32d987d50705221314m15168340r51ee7eecb8d2d60e@mail.gmail.com \
    --to=benavento@gmail.com \
    --cc=9fans@cse.psu.edu \
    /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).