9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] tex on fossil
@ 2007-05-22 18:23 ron minnich
  2007-05-22 18:28 ` Federico Benavento
  0 siblings, 1 reply; 7+ messages in thread
From: ron minnich @ 2007-05-22 18:23 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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.


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

* Re: [9fans] tex on fossil
  2007-05-22 18:23 [9fans] tex on fossil ron minnich
@ 2007-05-22 18:28 ` Federico Benavento
  2007-05-22 20:14   ` Federico Benavento
  0 siblings, 1 reply; 7+ messages in thread
From: Federico Benavento @ 2007-05-22 18:28 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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


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

* Re: [9fans] tex on fossil
  2007-05-22 18:28 ` Federico Benavento
@ 2007-05-22 20:14   ` Federico Benavento
  2007-05-22 20:45     ` ron minnich
  0 siblings, 1 reply; 7+ messages in thread
From: Federico Benavento @ 2007-05-22 20:14 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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


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

* Re: [9fans] tex on fossil
  2007-05-22 20:14   ` Federico Benavento
@ 2007-05-22 20:45     ` ron minnich
  2007-05-22 21:00       ` Federico Benavento
  0 siblings, 1 reply; 7+ messages in thread
From: ron minnich @ 2007-05-22 20:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hmm, this does not exist:
sys/src/cmd/tex/tex.proto

I would expect that to cause trouble. It is not in /sys/src/cmd/tex either.

Where could it be?

thanks

ron


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

* Re: [9fans] tex on fossil
  2007-05-22 20:45     ` ron minnich
@ 2007-05-22 21:00       ` Federico Benavento
  2007-05-22 21:16         ` andrey mirtchovski
  0 siblings, 1 reply; 7+ messages in thread
From: Federico Benavento @ 2007-05-22 21:00 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I didn't have a /sys/src/cmd/python/python.proto either and I don't
have it now the install
is finished , the magic is in the /n/dist/text file, you don't have to worry
about/sys/src/cmd/tex it will be created by replica

On 5/22/07, ron minnich <rminnich@gmail.com> wrote:
> Hmm, this does not exist:
> sys/src/cmd/tex/tex.proto
>
> I would expect that to cause trouble. It is not in /sys/src/cmd/tex either.
>
> Where could it be?
>
> thanks
>
> ron
>


-- 
Federico G. Benavento


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

* Re: [9fans] tex on fossil
  2007-05-22 21:00       ` Federico Benavento
@ 2007-05-22 21:16         ` andrey mirtchovski
  2007-05-22 21:31           ` ron minnich
  0 siblings, 1 reply; 7+ messages in thread
From: andrey mirtchovski @ 2007-05-22 21:16 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

9grid% bunzip2 < tex.iso.bz2 > tex.iso
9grid% 9660srv
9660srv 6819: serving /srv/9660
9grid% mount /srv/9660 /n/dist /tmp/tex.iso
9grid% cd /n/dist

#
# edit tex and change clientmount to " status = '' "
# you may have to copy it to a new directory and bind it again
#

9grid% bind /root /n/kfs
9grid% replica/pull -v /n/dist/tex
a sys/lib/texmf/bibtex/bst/base/abbrv.bst 664 sys sys 923273828
a sys/lib/texmf/bibtex/bst/base/acm.bst 664 sys sys 923273828
a sys/lib/texmf/bibtex/bst/base/alpha.bst 664 sys sys 923273828
a sys/lib/texmf/bibtex/bst/base/apalike.bst 664 sys sys 923273828
a sys/lib/texmf/bibtex/bst/base/ieeetr.bst 664 sys sys 923273828
a sys/lib/texmf/bibtex/bst/base/plain.bst 664 sys sys 923273828

it's currently installing on 9grid.


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

* Re: [9fans] tex on fossil
  2007-05-22 21:16         ` andrey mirtchovski
@ 2007-05-22 21:31           ` ron minnich
  0 siblings, 0 replies; 7+ messages in thread
From: ron minnich @ 2007-05-22 21:31 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 5/22/07, andrey mirtchovski <mirtchovski@gmail.com> wrote:
> 9grid% bunzip2 < tex.iso.bz2 > tex.iso
> 9grid% 9660srv
> 9660srv 6819: serving /srv/9660
> 9grid% mount /srv/9660 /n/dist /tmp/tex.iso
> 9grid% cd /n/dist
>
> #
> # edit tex and change clientmount to " status = '' "
> # you may have to copy it to a new directory and bind it again
> #
>
> 9grid% bind /root /n/kfs

thanks.

ron


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

end of thread, other threads:[~2007-05-22 21:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-22 18:23 [9fans] tex on fossil ron minnich
2007-05-22 18:28 ` Federico Benavento
2007-05-22 20:14   ` Federico Benavento
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

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