[9fans] tex on fossil - Plan9

This is a discussion on [9fans] tex on fossil - Plan9 ; 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 ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: [9fans] tex on fossil

  1. [9fans] tex on fossil

    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.

  2. Re: [9fans] tex on fossil

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

  3. Re: [9fans] tex on fossil

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

  4. Re: [9fans] tex on fossil

    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

  5. Re: [9fans] tex on fossil

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

  6. Re: [9fans] tex on fossil

    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.

  7. Re: [9fans] tex on fossil

    On 5/22/07, andrey mirtchovski 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

+ Reply to Thread