Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.astro.louisville.edu/software/xmtel/archive/xmtel-5.2/INSTALL
Дата изменения: Thu Oct 14 09:21:17 2010
Дата индексирования: Mon Oct 1 20:59:26 2012
Кодировка:

Summary
-------

1. Does your system have Motif? If not, install the development package
for your version of Linux.

2. Download and uncompress the XmTel source.

3. Compile the lilxml library in liblilxml. The library in this
directory is used by some other programs.
It is not needed by xmtel1, however.

4. Compile indiserver, inditel, indiutil, and xmtel (not xmtel1).
In inditel and xmtel1 select the mount with a "set_" script before compiling.
Copy the binaries to /usr/local/bin. If you do not use /dev/ttyS0 for
serial connections, modify "TELSERIAL" in the protocol.h file of
your choice to point to the port you will use.

Alternatively, to use the control panel without INDI,
compile only xmtel1 (not xmtel) and copy it to /usr/local/bin. If you
have different mounts or options, then name the executables uniquely.

5. Create /usr/local/observatory with subdirectories status and prefs. Copy
prefs.tel to prefs/prefs.tel in that directory and edit prefs.tel to meet
your needs. Files in the observatory directory should be writable by any
user who will be operating the telescope. During operation, the software
will attempt to save its current status in last/last.tel .

6. Check the serial port device permissions and fix if necessary:

ls -l /dev/ttyS0
crw-rw-rw- 1 root uucp 4, 64 2008-09-12 19:04 /dev/ttyS0

In some distributions you may need to set the permission as a boot.local
option so that when the system is rebooted the port is world rw.

7. Download and install XEphem if you do not have it already. It is highly
recommended that you purchase the complete catalogs for XEphem, but you
may run quite well with the catalogs that are provided in the
free version.

8. Check that the XEphem app-defaults file points to the place where the
fifo and catalog files are located.

9. Create (e.g "make") the fifos in the xephem/fifos/ directory referred to
by the app-defaults file. Fifo's are used by xmtel1 but not by xmtel.

10. Turn on your telescope.

11. Start the server with the command

indiserver tel

If you are also using a camera, the command would be

indiserver tel ccd

or

indiserver tel ccd dome

to run everything.

12. Start the user interface with the command

xmtel

Alternatively, you may run the telescope, camera and dome from XEphem once
the server is running.

xephem
View->Sky View
Telescope->Control panel
Connect
+ ccd (if you started the driver)
+ tel
+ dome

xmtel, xmccd and xephem are compatible. You may run them simultaneously,
and on different computers in different locations if the port for the INDI
protocol is open. (See REMOTE for instructions on how to do this.)

For XEphem's Sky View to show the telescope's pointing and for xmtel to
accept goto's from XEphem, use the configuration control

Telescope->Configure
Enable sending RA/Dec goto to "tel.target_2000.ra"
"tel.target_2000.dec"
Enable Sky marker from "tel.telescope_2000.ra"
"tel.telescope_2000.dec"

You may save this configuration when you close your session with
XEphem so that it will start up with this already selected.


13. The INDI server will respond to a commandline prompt using setINDI and
getINDI. This enables scripting, and does not require a graphical
user interface. See the documentation for more information.

14. The programs xmtel1 (not xmtel) and xmccd1 (not xmccd) do not use INDI.
They connect directly to the telescope and camera hardware and are not
compatible with simultaneous use of the indiserver version of xmtel.

These versions may be useful when you are running at the console and want
to operate the observatory without the features that INDI offers.


Send your comments
------------------

Please let me know how this is working for you and what features you would
like to see added.


John Kielkopf (kielkopf@louisville.edu)
October 12, 2010