Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: rao Up: Code management Previous: rac

Subsections



rai

Check in AIPS++ sources by invoking ai (p[*]) remotely via ssh.

Synopsis

rai [
options for
ai]

Description

rai is an ssh-based front-end to ai (p[*]). It checks in files by transmitting them to the AIPS++ master host via ssh as a gzip'd tar file and running ai there. This is provided as an alternative to invoking ai directly on a machine on which the AIPS++ master directory is remotely NFS mounted.

In order to use rai a programmer must have an account on aips2.nrao.edu and it must be set up for ssh access from the local host via a suitable entry in the .ssh/authorized_keys file (.ssh/authorized_keys2 for ssh2 based access). The programmer must also have an up-to-date AIPS++ workspace on aips2.nrao.edu and it must be rooted at $HOME/aips++ (see mktree (p[*])). Visit the Using SSH page for more details on using ssh in AIPS++.

Options

Refer to the options for ai (p[*]). rai itself has no options.

Notes

Diagnostics

Status return values
0: success (returned from ai_master)
1: initialization error, no checkin

Examples

The command
   rai -au Foo.cc
would check in Foo.cc from the current directory into the corresponding AIPS++ master repository, updating the slave and plain-text copies in the process. The copy of Foo.cc in the current directory would not be deleted but it's write permission would be removed. If the checkin succeeded it would be appropriate to manually delete the file

   rm Foo.cc
If the checkin failed then it would be necessary to log in to aips2.nrao.edu and recover manually.

Bugs

See also

The manual page for ci(1), the RCS checkin command.
The GNU manual page for gzip(1).
The unix manual page for ftp(1).
The unix manual page for ping(1).
The unix manual page for ssh(1).
ai (p[*]), AIPS++ code checkin utility.
ao (p[*]), AIPS++ code checkout utility.
au (p[*]), AIPS++ code update utility.
mktree (p[*]) create AIPS++ directory hierarchy.
rao (p[*]), invoke ao remotely via ssh(1).
rau (p[*]), update AIPS++ sources from the master via ssh(1).

Author

Original: 1996/08/06 by Mark Calabretta, ATNF.


next up previous contents index
Next: rao Up: Code management Previous: rac   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15