MlhtImportEn

MLHT translation import system on genba.ffii.org

-> [ mlhtimport & urlwatch | MLHT | Translation Managment | Mailing List | genba | Project News ]


How to make sure that translations sent in to mlhtimport at ffii org are automatically processed and corresponding web pages show up shortly thereafter. Keeping the mlht-import emacs process running on genba.

News & Chronology

How to tell the system to produce a new page

How to watch (and meddle with) the running system on genba

How to keep the mlht import system running on genba.ffii.org

  1. log in as user Knecht, consult KnechtPassEn or ask knecht-help for password

  2. display the shell variable $SEL (say 'echo $SEL'). If it isn't set, say 'source .bashrc'
  3. invoke 'ssh-agent bash;ssh-add' and type in the ssh passphrase. Ask knecht-help for ssh passphrase.
    • Note: The ssh passphrase is needed to ensure that the mlht import process can fetch the latest sources from the cvs archive. This is not an ideal solution, given that the latest cvs sources may be erroneous. In the long run it would be better to regularly check the cvs-tree and download only validated sources. This checking and downloading should be detached from the mlht import process and performed by a cronjob.
  4. invoke 'screen -e ^Zz -S mlht'
  5. say 'cd $SEL/mlht/sys;cvs update mlht.el'; This must work automatically. If you encounter a 'ssh' prompt, interrupt, say 'ssh-add', enter ssh passphrase (see above) and try once more.
  6. invoke 'emacs -nw -T mlht'
  7. everything should be running now. You should be able to access the emacs interaction from another terminal by logging in and typing 'screen -x'
  8. detach the screen process from your user terminal by typing 'C-z d' within the screen/emacs process. This should put you back to the shell environmennt of user knecht.
    • you can also detach the screen process from the shell side, by saying 'screen -d' within the shell.
      • in case several screen processes are operated by user 'knecht', the command will fail you will be asked to specify which process you want to detach by adding one of several proposed process identifiers. Retype the command 'screen -d <process-number.label>'.

Bugs, Limitations

Components of the system

ΓΏ

Hosting sponsored by Netgate and Init Seven AG