home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / source / star.lzh / star.30 < prev    next >
Encoding:
Text File  |  1990-04-06  |  42.6 KB  |  1,146 lines

  1.  
  2. #! /bin/sh
  3. # This is a shell archive.  Remove anything before this line, then unpack
  4. # it by saving it into a file and typing "sh file".  To overwrite existing
  5. # files, type "sh file -c".  You can also feed this as standard input via
  6. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  7. # will see the following message at the end:
  8. #        "End of archive 30 (of 32)."
  9. # Contents:  doc/as.texi.ab
  10. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  11. if test -f 'doc/as.texi.ab' -a "${1}" != "-c" ; then 
  12.   echo shar: Will not clobber existing file \"'doc/as.texi.ab'\"
  13. else
  14. echo shar: Extracting \"'doc/as.texi.ab'\" \(41161 characters\)
  15. sed "s/^X//" >'doc/as.texi.ab' <<'END_OF_FILE'
  16. X                   the file is searched for an entry
  17. X                   corresponding to that mnemonic: the entry
  18. X                   specifies the RA DEC Scale and Title.
  19. X-v    float float           Variable finder: labels stars with their
  20. X                   magnitudes if they are within
  21. X                   arg2 mags. of arg1
  22. X-x    float float [float float]  X grid: grid in RA and DEC,
  23. X                   spacing arg1 and arg2, origin at arg3 arg4
  24. X-e    string               Extra: chart control file.
  25. X-u    --none--           User input.  Allow keyboard-based user input
  26. X-a    string               Additional Argument string:
  27. X                   passed to driver for additional control.
  28. X@end ifinfo
  29. X
  30. X@node Control and specification files, Interaction, Command line, Charts
  31. X@comment  node-name,  next,  previous,  up
  32. X@subsection Control and Specification Files
  33. X@cindex starrc
  34. X@cindex mapwin
  35. X
  36. XThe controlling variables of the chart are set by default at compile
  37. Xtime, and many may be overridden by command line arguments.  However,
  38. Xmore control is afforded by @samp{.starrc} and @samp{-e @var{extra}}
  39. Xfiles.  The starchart programs attempt to read an initialization file,
  40. Xwhose name is set at compile time (default @file{./.starrc}).
  41. XAdditional such files may be read through the @samp{-e} commandline
  42. Xargument.  The file contains lines of the form @samp{@var{variable}
  43. X@var{value}} or @samp{@var{variable}=@var{value}}, with comments
  44. Xbeginning with @samp{#} ignored.  The variables and their values are
  45. Xgiven below.  These definitions reset the values of program variables,
  46. Xoverriding their current value.  These may in turn be overridden by
  47. Xlater command line arguments or additional @samp{.starrc} files
  48. Xspecified with @samp{-e}.  Any variables not understood by the main
  49. Xprogram are passed to a driver specific function which may interpret it.
  50. X
  51. X@tex
  52. X{
  53. X\settabs 4 \columns
  54. X\+Variable &    Value type(s) & comment \cr
  55. X\+ra &        float &    \# same as -r \cr
  56. X\+dec &        float &    \# same as -d \cr
  57. X\+scale &    float &    \# same as -s \cr
  58. X\+title &    string &    \# same as -t \cr
  59. X\+findconst &    string &    \# same as first argument of -c \cr
  60. X\+constfile &    string &    \# same as second argument of -c \cr
  61. X\+namelim &    float &    \# same as -l \cr
  62. X\+lbllim &    float &    \# same as -l \cr
  63. X\+maglim &    float &    \# same as -m \cr
  64. X\+gklim &    float &    \# same as -g \cr
  65. X\+starfile &    string &    \# same as -y \cr
  66. X\+indexfile &    string &    \# same as -h \cr
  67. X\+nebfile &    string &    \# same as -n \cr
  68. X\+planetfile &    string &    \# same as -w \cr
  69. X\+userfile &    string &    \# same as -f \cr
  70. X\+mapfile &    string string&    \# set mapfile array in main routines: \cr
  71. X\+& &                    \#       sets elements in order \cr
  72. X\+& &                    \#       overrides previous settings \cr
  73. X\+& &                    \#    overrides default yale.star, etc. \cr
  74. X\+& &                    \#    second arg is type of file \cr
  75. X\+& &                    \#    as specified in index.indx \cr
  76. X\+boundfile &    string &    \# sets file for ``boundaries'' layer \cr
  77. X\+patternfile &    string &    \# sets file for ``patterns'' layer \cr
  78. X\+constlnamefile &    string &    \# sets file for ``constlnames'' layer \cr
  79. X\+layers &        string &    \# same as all\_layer: \cr
  80. X\+all\_layer &        string &    \# sets array of layers in main routines: \cr
  81. X\+& &                    \#     sets elements in order \cr
  82. X\+& &                    \#     overrides previous settings \cr
  83. X\+& &                    \# possible values : \cr
  84. X\+& &                    \# ``outline'' ``ra\_grid'' ``dec\_grid'' \cr
  85. X\+& &                    \# ``ecliptic'' ``boundaries'' ``patterns'' \cr
  86. X\+& &                    \# ``constlnames'' ``allfiles'' ``allglyphs'' \cr
  87. X\+& &                    \# ``allnames'' ``allmaglbls'' ``allvectors'' \cr
  88. X\+& &                    \# ``allareas'' ``legends'' \cr
  89. X\+polarmode &        logical &    \# same as -p if logical is nonzero or is TRUE \cr
  90. X\+bigflag &        logical &    \# same as -b if logical is nonzero or is TRUE \cr
  91. X\+projection\_mode &    string &    \# set projection mode:\cr
  92. X\+& &                    \# may be ``sansons'', ``stereographic'',\cr
  93. X\+& &                     \# ``orthographic'', ``gnomonic'' \cr
  94. X\+& &                     \# or ``rectangular'' \cr
  95. X\+invert &    logical &    \# same as -i if logical is nonzero or is TRUE \cr
  96. X\+precess\_to &  float    &      \# Precess to equinox and ecliptic of year.\cr
  97. X\+chart\_type &        string &    \# set chart type: ``fullpage'' or ``threepart'' \cr
  98. X\+& &                    \# ``threepart'' is default: Large window, \cr
  99. X\+& &                    \# thumbnail, and legend \cr
  100. X\+& &                    \# ``fullpage'' is same as -b flag \cr
  101. X\+vrange &    float float &        \# same as -v \cr
  102. X\+vmags &    float float &        \# set magnitude labeling maximum \cr
  103. X\+&    &                \# and minimum magnitudes \cr
  104. X\+grid &    float float [float float] & \# same as -x \cr
  105. X\+nogrid &    logical &    \# turn off display of all grids \cr
  106. X\+nogrid\_ra &    logical &    \# turn off display of RA grid \cr
  107. X\+nogrid\_dec &    logical    &    \# turn off display of DEC grid \cr
  108. X\+nomaglbls &    logical &    \# turn off display of magnitude labels \cr
  109. X\+drivercontrol &    string &    \# same as -a flag \cr
  110. X\+driver\_control &    string &    \# same as -a flag \cr
  111. X\+additional &         string &    \# same as -a flag \cr
  112. X
  113. X\+For interactive control, the following commands are also active:\cr
  114. X
  115. X\+exit &        --none-- &      \# Exit the program\cr
  116. X\+quit &        --none-- &      \# Exit the program\cr
  117. X\+end\_input &    --none-- &      \# End input, display chart\cr
  118. X\+done\_input &    --none-- &      \# End input, display chart\cr
  119. X\+done &        --none-- &      \# End input, display chart\cr
  120. X\+draw &        --none-- &      \# End input, display chart\cr
  121. X\+help &        --none-- &      \# Give help\cr
  122. X\+? &            --none-- &      \# Give help\cr
  123. X\+show &        --none-- &      \# Show value of variables\cr
  124. X\+write\_rc\_file &    string &      \# Write current state to .starrc file\cr
  125. X\+write\_mapwin\_file &  string &      \# Write detailed specification of\cr
  126. X\+&&                  \# chart to given filename\cr
  127. X\+read\_mapwin\_file &   string &      \# Read detailed specification of\cr
  128. X\+&&                  \# chart from given filename\cr
  129. X}
  130. X@end tex
  131. X@ifinfo
  132. X@comment .nf .br  , .fi
  133. XVariable        Value type(s)     comment
  134. Xra            float      # same as -r
  135. Xdec            float      # same as -d
  136. Xscale            float      # same as -s
  137. Xtitle            string      # same as -t
  138. Xfindconst        string      # same as first argument of -c
  139. Xconstfile        string      # same as second argument of -c
  140. Xnamelim            float      # same as -l
  141. Xlbllim            float      # same as -l
  142. Xmaglim            float      # same as -m
  143. Xgklim            float      # same as -g
  144. Xstarfile        string      # same as -y
  145. Xindexfile        string      # same as -h
  146. Xnebfile            string      # same as -n
  147. Xplanetfile        string      # same as -w
  148. Xuserfile        string      # same as -f
  149. Xmapfile            string string # set mapfile array in main routines:
  150. X                  #       sets elements in order
  151. X                  #       overrides previous settings
  152. X                  #    overrides default yale.star, etc.
  153. X                  #    second arg is type of file
  154. X                  #    as specified in index.indx
  155. Xboundfile        string      # sets file for "boundaries" layer
  156. Xpatternfile        string      # sets file for "patterns" layer
  157. Xconstlnamefile        string      # sets file for "constlnames" layer
  158. Xlayers            string      # same as all_layer:
  159. Xall_layer        string      # sets array of layers in main routines:
  160. X                  #     sets elements in order
  161. X                  #     overrides previous settings
  162. X                  # possible values :
  163. X                  # "outline" "ra_grid" "dec_grid" "ecliptic"
  164. X                  # "boundaries" "patterns" "constlnames"
  165. X                  # "allfiles" "allglyphs" "allnames"
  166. X                  # "allmaglbls" "allvectors" "allareas"
  167. X                  # "legends"
  168. Xpolarmode        logical      # same as -p if logical is nonzero or is TRUE
  169. Xbigflag            logical      # same as -b if logical is nonzero or is TRUE
  170. Xprojection_mode        string      # set projection mode
  171. X                  # may be "sansons", "stereographic"
  172. X                  # "orthographic", "gnomonic"
  173. X                  # or "rectangular"
  174. Xinvert            logical      # same as -i if logical is nonzero or is TRUE
  175. Xprecess_to          float      # Precess to equinox and ecliptic of year.
  176. Xchart_type        string      # set chart type: "fullpage" or "threepart"
  177. X                  # "threepart" is default: Large window,
  178. X                  # thumbnail, and legend
  179. X                  # "fullpage" is same as -b flag
  180. Xvrange            float float      # same as -v
  181. Xvmags            float float      # set magnitude labeling maximum
  182. X                  # and minimum magnitudes
  183. Xgrid            float float [float float]
  184. X                  # same as -x
  185. Xnogrid            logical      # turn off display of all grids
  186. Xnogrid_ra        logical      # turn off display of RA grid
  187. Xnogrid_dec        logical      # turn off display of DEC grid
  188. Xnomaglbls        logical      # turn off display of magnitude labels
  189. Xdrivercontrol        string      # same as -a flag
  190. Xdriver_control        string      # same as -a flag
  191. Xadditional        string      # same as -a flag
  192. X
  193. XFor interactive control, the following commands are also active:
  194. X
  195. Xexit            --none--      # Exit the program
  196. Xquit            --none--      # Exit the program
  197. Xend_input        --none--      # End input, display chart
  198. Xdone_input        --none--      # End input, display chart
  199. Xdone            --none--      # End input, display chart
  200. Xdraw            --none--      # End input, display chart
  201. Xhelp            --none--      # Give help
  202. X?            --none--      # Give help
  203. Xshow            --none--      # Show value of variables
  204. Xwrite_rc_file        string      # Write current state to .starrc file
  205. Xwrite_mapwin_file   string      # Write detailed specification of
  206. X                  # chart to given filename
  207. Xread_mapwin_file    string      # Read detailed specification of
  208. X                  # chart from given filename
  209. X@end ifinfo
  210. X
  211. X@node Interaction, Standard data files, Control and specification files, User controls
  212. X@comment  node-name,  next,  previous,  up
  213. X@subsection Interactive Controls
  214. X@cindex starchart interactive
  215. X@cindex interactive starchart
  216. X
  217. XThe @samp{-u} option activates interactive mode, where the same commands
  218. Xas in the @samp{.starrc} file may be typed to control the program
  219. Xoptions.  In addition, @samp{end_input} ends interactive input and draws
  220. Xthe chart.  After the chart is drawn, control returns to the keyboard.
  221. XThe @samp{quit} command exits the program.  The command @samp{show}
  222. Xshows the current state of the control variables.  The command
  223. X@samp{help} may be used to get a brief description of the commands and
  224. Xcontrols available.
  225. X
  226. XSome, especially window based, versions will allow the user final
  227. Xcontrol over each map of the chart.  The chart is specified by an
  228. Xarray of large @b{C} structures, one for each map on the page.  The
  229. X@samp{mapwin} file contains the values in this structure.  Advanced
  230. Xinteractive versions of starchart, such as @code{starXaw}, allow the
  231. Xcomponents of the structures to be edited individually, providing full
  232. Xaccess to the flexible controls of the program.
  233. X
  234. XThe sequence of control of the program is:
  235. X
  236. X1) read the @file{./.starrc} file.
  237. X
  238. X2) process the command line: options are processed in order, later
  239. Xarguments may override earlier arguments, additional @samp{.starrc}
  240. Xformat files are read as they are encountered in @samp{-e} options.
  241. XHowever, if the file specified in the @samp{-e} option is in @samp{mapwin}
  242. Xformat, it is read later.  After the command line is processed, if the
  243. X@samp{-u} option is active, keyboard interaction is performed.  Next,
  244. Xany @samp{mapwin} format files are read.  If there is more interaction
  245. Xavailable (e.g. as in @code{starXaw}), the details of the chart may now be
  246. Xcontrolled.  If a @samp{mapwin} file is to be written, it is written now.
  247. XThen the chart is drawn to specification.  Finally, after the chart is
  248. Xdrawn, the program returns to the first interaction (i.e. returns to
  249. Xthe point after the command line has been processed).
  250. X
  251. XOne more form of interaction is available on some systems:  A mouse or
  252. Xother pointing device may be used to either select points on a map and
  253. Xthe coordinates of that point are displayed, or the databases may be
  254. Xsearched for objects near the selected point and the database entries
  255. Xfor the objects found are displayed.
  256. X
  257. X@node Standard data files, Particular versions, User controls, Charts
  258. X@comment  node-name,  next,  previous,  up
  259. X@section Standard Data Files
  260. X
  261. XAll are in equinox 2000.0 coordinates, and should also be in epoch
  262. X2000.0.
  263. X
  264. X@table @file
  265. X@itemx yale.star
  266. Xstellar information (mandatory)
  267. X
  268. X@itemx neb.star
  269. Xnebulae (optional)
  270. X
  271. X@itemx planet.star
  272. Xplanets (optional)
  273. X
  274. X@itemx boundaries.star
  275. Xconstellation boundaries (optional)
  276. X
  277. X@itemx cnames.star
  278. Xconstellation names (optional)
  279. X
  280. X@itemx patterns.star
  281. Xconstellation patterns (optional)
  282. X
  283. X@itemx index.indx
  284. Xindex file for additional star files (optional)
  285. X
  286. X@itemx con.locs
  287. Xdefault mnemonic locations
  288. X
  289. X@end table
  290. X
  291. X@node Particular versions, Writing a new version, Standard data files, Charts
  292. X@comment  node-name,  next,  previous,  up
  293. X@section Particular Starchart Programs
  294. X
  295. XSome starchart programs have coadditional driver-specific controls
  296. Xwhich are accessed throught the @samp{-a} command line option, or the
  297. X@samp{additional} (= @samp{driver_control}) variable.
  298. X
  299. XThese programs and other versions of starchart with special needs are
  300. Xdocumented in this section.
  301. X
  302. X@menu
  303. X* starX11::
  304. X* starXaw::
  305. X* starpost::
  306. X* startool::
  307. X@end menu
  308. X
  309. X@node starX11, starXaw, Particular versions, Particular versions
  310. X@comment  node-name,  next,  previous,  up
  311. X@subsection @code{starX11}
  312. X@pindex starX11
  313. X
  314. X@code{starX11} is the X11 version of starchart.  It has the following
  315. Xspecial arguments which are accessed through @samp{-a}, e.g.@*
  316. X@samp{-a p}.
  317. X
  318. X@table @samp
  319. X@itemx p
  320. XPostScript preview: use screen size and shape to approximate coverage of
  321. X@code{starpost} chart. @refill
  322. X@itemx l
  323. XPostScript landscape preview: use screen size and shape to approximate
  324. Xcoverage of @code{starpost} landscape format chart. @refill
  325. X@itemx h
  326. Xhide: display is generated invisibly, which may save time. @refill
  327. X@itemx b
  328. Xbackup: use backup pixmap, allows window to be hidden and redrawn. @refill
  329. X@itemx m
  330. Xmonochrome: prevents use of color on displays otherwise capable of it. @refill
  331. X@end table
  332. X
  333. XUsage example:@*
  334. X@samp{starX11 -c ori -g 5 -a p}.
  335. X
  336. X@node starXaw, starpost, starX11, Particular versions
  337. X@comment  node-name,  next,  previous,  up
  338. X@subsection @code{starXaw}
  339. X@pindex starXaw
  340. X
  341. X@code{starXaw} is the X11 version of starchart with interactive control
  342. Xusing Athena Widgets.  In addition to the controls for @code{starX11},
  343. Xit has the following special arguments which are accessed through
  344. X@samp{-a}, e.g. @*
  345. X@samp{-a "t -geometry -0-0"}.
  346. X
  347. X@table @samp
  348. X@itemx t
  349. X" toolkit_args" for access to the standard X toolkit controls, such as
  350. Xfor geometry, fonts, etc. @refill
  351. X@end table
  352. X
  353. XUsage example:@*
  354. X@samp{starXaw -c sgr -a p -a "t -geometry -0-0 -bg red"}.
  355. X
  356. X@node starpost, startool, starXaw, Particular versions
  357. X@comment  node-name,  next,  previous,  up
  358. X@subsection @code{starpost}
  359. X@pindex starpost
  360. X@pindex postconv.awk
  361. X
  362. X@code{starpost} is the PostScript version of starchart.  It has the
  363. Xfollowing special arguments which are accessed through @samp{-a}, e.g.@*
  364. X@samp{-a "m9 8 7 6 5 4 3.5 2.5 2 1.5 1 0.5"}. @refill
  365. X
  366. X@table @samp
  367. X@itemx n
  368. Xnotebook: The chart is shifted to the right on the page, and the
  369. X``thumbnail'' map is replaced with prompts and space for recording
  370. Xobserving conditions.  The rest of the argument string is taken to be a
  371. Xlist of floating point numbers separated by `:' or ` '.  These are taken
  372. Xto be the radii in degrees of fields of view of the instrument or
  373. Xfinder.  Circles with these radii are drawn, centered on the center of
  374. Xthe chart. @refill
  375. X@itemx m
  376. Xmagnitude: 0.1 magnitude quanta are to be used (the default is 1.0
  377. Xmagnitude, e.g. a 4.6 magnitude star is represented by the same symbol
  378. Xas a star of magnitude 5.4).  The rest of the argument string is taken
  379. Xto be a list of floating point numbers separated by `:' or ` '.  These
  380. Xare taken to be the radii of the symbols for stars of magnitude -1, 0,
  381. X1, 2, 3 etc. The sizes of symbols for stars with magnitudes between
  382. Xthese magnitudes are determined by linear interpolation.  Note that the
  383. Xlast value given is the value assigned to all magnitudes fainter than
  384. Xthat magnitude.  Current default sizes are "9 8 7 6 5 4 3.25 2.5 2 1.5 1
  385. X0.5". @refill 
  386. X@itemx s
  387. Xsize: this argument provides an alternative way of specifying
  388. Xmagnitude symbol sizes, using a formula proposed by Andrew Young in
  389. XSky and Telescope, March 1990, p. 311, D = D0 * 10^(k*(v0 - v)).
  390. XHe proposes a k of between 0.07 and 0.16, with 0.11 as probably the
  391. Xbest.  If @samp{s} uses 0.1 magnitude quanta as does @samp{m}.  The
  392. Xdefault values for @var{D0}, @var{v0}, and @var{k} are 0.5 (points),
  393. Xthe limiting magnitude of the first main map, and 0.11, respectively.
  394. XThese may be altered with the optional arguments to @samp{s}, which set
  395. X@var{D0}, @var{v0} and @var{k} in that order, e.g. @samp{s 0.7 6.6} sets
  396. X@var{D0} to 0.7 point, and @var{v0} to magnitude 6.6 so that a magnitude
  397. X6.6 star will be printed as 0.7 point in diameter, and @var{k} will
  398. Xremain 0.11.  @samp{s 0.7 6.6 0.07} will set @var{D0} and @var{v0} as
  399. Xabove, and also set @var{k} to 0.07. @refill
  400. X@itemx f
  401. X@samp{f @var{file}} may be used to specify an output file, otherwise the
  402. XPostScript produced is sent to the standard output. @refill
  403. X@itemx c
  404. Xmay be used to produce color postscript output. @refill
  405. X@itemx l
  406. Xmay be used to specify landscape mode (as opposed to the default
  407. Xportrait orientation).  Landscape mode can only used with a
  408. Xfullpage map.  @refill
  409. X@end table
  410. X
  411. XSince the resolution of PostScript is much higher than other common
  412. Xdevices, @samp{mapwin} files must be edited when transferred between
  413. Xstarpost and other drivers.  The controls for window @samp{width},
  414. X@samp{height}, @samp{x_offset} and @samp{y_offset} must be changed. @refill
  415. X
  416. XThe @samp{-a p} or @samp{-a l} option used with @code{starX11} or
  417. X@code{starXaw} can be used to produce a @samp{mapwin} file which can be
  418. Xconverted for use in @code{starpost} through an @code{awk} script named
  419. X@code{postconv.awk}, provided with the source to this program. @refill
  420. X
  421. XUsage example:@*
  422. X@samp{starpost -a "n 6:1.5:.5" -a "m9 8 7 6 5 4 3.5 2.5 2 1.5 1 0.5" -a "f orion.PS" -c ori -g 5}.
  423. X
  424. X@node startool, Writing a new version, starpost, Particular versions
  425. X@comment  node-name,  next,  previous,  up
  426. X@subsection @code{startool}
  427. X@pindex startool
  428. X@pindex starsunv
  429. X
  430. X@code{startool} uses the @code{tooltool} program, not included in the
  431. Xstarchart distribution, to provide an interface to @code{starsunv}.
  432. X@code{ttooltool} is available from your local Sun sources archive.
  433. X
  434. X@node Writing a new version, Data files, Particular versions, Charts
  435. X@comment  node-name,  next,  previous,  up
  436. X@section Writing a New Version for a New Device
  437. X@subsection Organization
  438. X
  439. XThere are several layers of functions in starchart.  The top level is in
  440. X@file{starmain.c}, @file{starm2.c}, and @file{readfile.c}.  It is (I
  441. Xhope) general enough to enable any additions to be made by users in the
  442. Xform of modified drivers, leaving these files stable.  @file{starmain.c}
  443. Xand @file{starm2.c} are in charge of the user interface and file
  444. Xreading, with @file{readfile.c}.  Generally, this top level controls
  445. X@emph{what} is to be drawn, and @emph{where} it appears.  The device
  446. Xspecific section controls @emph{how} it appears.
  447. X@refill
  448. X
  449. XInformation is passed to the drivers via externs and function
  450. Xparameters.  The externs are for runtime values, the function parameters
  451. Xare for values taken from the data files.  Information is passed from
  452. Xthe driver to the starchart.c routines via externs.
  453. X
  454. XThere are three layers of functions, in several source files.  The top
  455. Xlevel functions are in @file{starmain.c} and @file{starm2.c}.  You
  456. Xshould not have to change anything in this file, except perhaps #defines
  457. Xfor default file names and file types, and these may also be set in the
  458. XMakefile.
  459. X
  460. XThe @file{starcust.c} file contains customizing functions, including functions
  461. Xto define additional command line flags, which may apply to several
  462. Xdrivers.
  463. X
  464. XThe @file{starXXXX.c} or @file{starimages.c} + @file{starXXXX.c} files
  465. Xdefine the more device dependent functions.  There is one function,
  466. Xcalled @samp{drawobj}, which is the interface between the top level
  467. Xfunctions and the device for drawing the stars, planets, and other
  468. Xobjects read from a database file.  In addition, standard functions to
  469. Xopen and close the device, draw a line, move without drawing, etc. are
  470. Xrequired.  These may then call the lowest level device dependent
  471. Xfunctions.  The @file{starimages.c} file provides a standard definition
  472. Xfor @code{drawobj} and supporting functions for bitmapped devices; the
  473. Xdevice dependent code remaining (e.g. line drawing), is in the file
  474. X@file{starXXXX.c}.
  475. X
  476. XUser input functions also may be defined in @file{starXXXX.c}.
  477. X
  478. XThe layer currently being drawn and/or the subroutine currently active
  479. Xis passed to the driver in an extern.  This allows the driver to for
  480. Xexample draw vectors differently for the constellation boundaries.
  481. XAdditionally, each window has a map type field which is for efficiency
  482. Xalso passed as an extern, which may be used by the driver to for example
  483. Xdraw certain layers differently in certain windows.
  484. X
  485. XThe source to other drivers, especially @code{starXaw} and
  486. X@code{starpost}, should be a valuable reference to developing new
  487. Xdrivers.
  488. X
  489. X@subsection Customization
  490. X
  491. XFor the drivers distributed, there are many @samp{#defines} and global
  492. Xvariables whose values may be altered to suit your tastes and your
  493. Xparticular piece of hardware.  Default file names are @samp{#defined} in
  494. Xthe code, and may also be set in the Makefile.
  495. X
  496. XIt is easy to write a driver for other devices, based on the drivers and
  497. Xthe driver skeleton provided.
  498. X
  499. XMore extensive customization is possible through modifying the driver
  500. Xfunctions to take fullest advantage of the device you are using.  It is
  501. Xalso possible to add controls accessed through the @samp{-a} command
  502. Xline option and the @samp{additional} (= @samp{driver_control}) variables.
  503. X
  504. XPlease try to send me (ccount) a note before writing any new drivers, so
  505. XI can let you know if a driver for that device is in the works.  Any
  506. Ximprovements to drivers should be sent to me or the author (if they are
  507. Xnot the same), when you're sure they work and are happy with the
  508. Xchanges.
  509. X
  510. XThings you define in @file{starcust.c}, if you think they are generally
  511. Xuseful, should be sent to me.  If possible, they may be incorporated in
  512. Xfuture releases.
  513. X
  514. XImprovements to top level routines should be made with great caution.
  515. XSuch changes will make it harder for you to use future refinements.  If
  516. Xyou're sure you're change (a) works and (b) is better/stronger/faster,
  517. Xplease send it to me.
  518. X
  519. XDo report any bugs/problems.
  520. X
  521. X@node Data files, Support programs, Charts, Top
  522. X@comment  node-name,  next,  previous,  up
  523. X@chapter The Data Files and Their Formats
  524. X@cindex Data files
  525. X@cindex starchart data formats
  526. X
  527. XThis section discusses file formats used by the programs.
  528. X
  529. X@menu
  530. X* Contents::            The data contained in a data file
  531. X* File formats::        Formats for data files
  532. X@end menu
  533. X
  534. X@node Contents, File formats, Data files, Data files    
  535. X@comment  node-name,  next,  previous,  up
  536. X@section Contents of Data Files
  537. X
  538. XEach line of file contains:
  539. X@table @var
  540. X@itemx ra, dec, mag
  541. XRequired.  Right ascension, Declination, and magnitude (V or visual).  6
  542. Xchars for RA, one for sign of DEC, 4 for DEC, 3 for mag. @refill
  543. X
  544. X@itemx object type
  545. XDefines what the object is: star, galaxy, cluster, nebula, planet,
  546. Xother, unknown, vector, area, comment, or invisible, with subtypes for
  547. Xeach (Two chars).  Defaults to type star subtype single. @refill
  548. X
  549. X@itemx spectral class or color
  550. XDefines the color of the object, as spectral class for stars or directly
  551. Xfor other objects (Two chars). @refill
  552. X
  553. X@itemx letter or flamsteed number or size
  554. XDefines either the Bayer letter or Flamsteed number of a star, or the
  555. Xsize of an extended object encoded in two chars. @refill
  556. X
  557. X@itemx constellation
  558. XThe constellation field contains the IAU designation of the
  559. Xconstellation the object is in (three chars). @refill
  560. X
  561. X@itemx name
  562. XName or other labeling string.  Terminated by comma. @refill
  563. X
  564. X@itemx comment field
  565. XRemainder of line after the comma which terminates the name.  This
  566. Xcomment field may be used for special information about the object, e.g.
  567. Xthe phase of the moon. @refill
  568. X@end table
  569. X
  570. XMagnitude is encoded into three fields as follows: the first character
  571. Xmay be a @samp{-}, in which case the next two characters are the magnitude
  572. Xtimes 10, e.g. @samp{-16} means @samp{-1.6}.  The first character is a digit,
  573. Xthe three characters are the magnitude times 100, e.g. @samp{563} means
  574. X@samp{5.63}.  Finally, if the first character is a capital letter, this is
  575. Xtaken as the base-36 value of the integral part of the magnitude, and
  576. Xthe remaining two characters are the fractional part times 100, e.g.
  577. X@samp{B34} means @samp{11.34}.
  578. X
  579. XThe Bayer letter or Flamsteed numbers are applicable only to stars.  The
  580. Xfield is two characters wide.  Greek letters are a single lowercase
  581. Xletter followed by a space or a number, encoded as in the PostScript
  582. XSymbol font:
  583. X@tex
  584. X{
  585. X\settabs 4 \columns
  586. X\+$\alpha$ - a & $\beta$ - b & $\gamma$ - g & $\delta$ - d \cr
  587. X\+$\varepsilon$ - e & $\zeta$ - z & $\eta$ - h & $\theta$ - q \cr
  588. X\+$\iota$ - i & $\kappa$ - k & $\lambda$ - l & $\mu$ - m \cr
  589. X\+$\nu$ - n & $\xi$ - x & $o$ - o & $\pi$ - p \cr
  590. X\+$\rho$ - r & $\sigma$ - s & $\tau$ - t & $\upsilon$ - u \cr
  591. X\+$\phi$ - f & $\chi$ - c & $\psi$ - y & $\omega$ - w \cr
  592. X}
  593. X@end tex
  594. X@ifinfo
  595. X@comment .nf .br  , .fi
  596. Xalpha    - a    beta    - b    gamma    - g    delta    - d
  597. Xepsilon    - e    zeta    - z    eta    - h    theta    - q
  598. Xiota    - i    kappa    - k    lambda    - l    mu    - m
  599. Xnu    - n    xi    - x    omicron - o    pi    - p
  600. Xrho    - r    sigma    - s    tau    - t    upsilon    - u
  601. Xphi    - f    chi    - c    psi    - y    omega    - w
  602. X@end ifinfo
  603. X
  604. X@iftex
  605. X@tex
  606. XNote that $\theta$, $\xi$, $\phi$, $\chi$, and $\psi$ have changed from
  607. X@end tex
  608. Xthe original definitions, which were @@, E, 0, x, and % respectively.
  609. X@tex
  610. XNote also that the variant version of phi, $\varphi$, is mapped to j.
  611. X@end tex
  612. X@end iftex
  613. X@ifinfo
  614. XNote that theta, xi, phi, chi, and psi have changed from the original
  615. Xdefinitions, which were @@, E, 0, x, and % respectively.  Note also that
  616. Xa variant version of phi is mapped to j. 
  617. X@end ifinfo
  618. X
  619. XAn uppercase letter followed by any character or two non-numeric
  620. Xcharacters is the roman letter designation for the star, e.g. @samp{CY}.
  621. XTwo numbers or a space and a number is the Flamsteed number of the star.
  622. X
  623. XThe size of nonstellar objects is encoded in seconds of arc in the size
  624. Xfield to two significant digits.  The second character is always a
  625. Xdecimal digit.  Sizes from 0 to 99 arc seconds are encoded as two
  626. Xdecimal digits.  For larger objects the first character is a capital
  627. Xletter, interpreted as follows, with the second character as the next
  628. Xdigit:
  629. X@tex
  630. X{
  631. X\settabs 6 \columns
  632. X\+First character && Value \cr
  633. X\+0 - 9 && 00 - 90 \cr
  634. X\+A - I && 100 - 900 \cr
  635. X\+J - R && 1000 - 9000 \cr
  636. X\+S - Z && 10000 - 80000 \cr
  637. X}
  638. X@end tex
  639. X@ifinfo
  640. XFirst character        Value
  641. X0 - 9            00 - 90
  642. XA - I            100 - 900
  643. XJ - R            1000 - 9000
  644. XS - Z            10000 - 80000
  645. X@end ifinfo
  646. X
  647. XExamples:
  648. X@tex
  649. X{
  650. X\settabs 10 \columns
  651. X\+Size field & Value \cr
  652. X\+ 6 & 6 \cr
  653. X\+09 & 9 \cr
  654. X\+73 & 73 \cr
  655. X\+A0 & 100 \cr
  656. X\+C3 & 330 \cr
  657. X\+D5 & 450 \cr
  658. X\+I6 & 960 \cr
  659. X\+J2 & 1200 \cr
  660. X\+R3 & 9300 \cr
  661. X\+S6 & 16000 \cr
  662. X\+Z0 & 80000 \cr
  663. X\+Z9 & 89000 \cr
  664. X}
  665. X@end tex
  666. X@ifinfo
  667. X@comment .nf .br  , .fi
  668. XSize field    Value
  669. X 6        6
  670. X09        9
  671. X73        73
  672. XA0        100
  673. XC3        330
  674. XD5        450
  675. XI6        960
  676. XJ2        1200
  677. XR3        9300
  678. XS6        16000
  679. XZ0        80000
  680. XZ9        89000
  681. X@end ifinfo
  682. X
  683. XThe types and subtypes implemented are:
  684. X@tex
  685. X{
  686. X\settabs 4 \columns
  687. X\+Type[0]xxxxx &    Main typexxxxx & Type[1]xxxxx &    Subtype    \cr
  688. X\+Type[0]    &    main type &    type[1] &    subtype    \cr
  689. X\+C    &    cluster \cr
  690. X\+&&                G    &    globular \cr
  691. X\+&&                O    &    open \cr
  692. X\+&&                (other) &    other \cr
  693. X\+G    &    galaxy \cr
  694. X\+&&                a    &    spiral Sa \cr
  695. X\+&&                b    &    spiral Sb \cr
  696. X\+&&                c    &    spiral Sc \cr
  697. X\+&&                d    &    spiral Sd \cr
  698. X\+&&                p    &    spiral Sp \cr
  699. X\+&&                Z    &    spiral S0 \cr
  700. X\+&&                s    &    spiral unspecified \cr
  701. X\+&&                A    &    barred spiral SBa \cr
  702. X\+&&                B    &    barred spiral SBb \cr
  703. X\+&&                C    &    barred spiral SBc \cr
  704. X\+&&                D    &    barred spiral SBd \cr
  705. X\+&&                P    &    barred spiral SBp \cr
  706. X\+&&                S    &    barred spiral unspecified \cr
  707. X\+&&                0-7    &    elliptical E0-E7 \cr
  708. X\+&&                E    &    elliptical \cr
  709. X\+&&                I    &    irregular I \cr
  710. X\+&&                Q    &    quasar \cr
  711. X\+&&                U    &    unknown \cr
  712. X\+&&                !    &    peculiar \cr
  713. X\+&&                     &    unspecified \cr
  714. X\+&&                (other) &    other \cr
  715. X\+N    &    nebula \cr
  716. X\+&&                D    &    diffuse \cr
  717. X\+&&                P    &    planetary \cr
  718. X\+&&                (other) &    other \cr
  719. X
  720. X\+P    &    planet \cr
  721. X\+&&                M    &    Mercury \cr
  722. X\+&&                V    &    Venus \cr
  723. X\+&&                m    &    Mars \cr
  724. X\+&&                J    &    Jupiter \cr
  725. X\+&&                s    &    Saturn \cr
  726. X\+&&                U    &    Uranus \cr
  727. X\+&&                N    &    Neptune \cr
  728. X\+&&                P    &    Pluto \cr
  729. X\+&&                A    &    Asteroid \cr
  730. X\+&&                C    &    Comet \cr
  731. X\+&&                S    &    Sun (Sol)\cr
  732. X\+&&                L    &    Moon (Luna)\cr
  733. X\+&&                (other) &    other \cr
  734. X
  735. X\+S    &    star \cr
  736. X\+&&                S    &    single \cr
  737. X\+&&                D    &    double \cr
  738. X\+&&                V    &    variable \cr
  739. X
  740. X\+O    &    other \cr
  741. X\+&&                (any)    &    other object \cr
  742. X
  743. X\+U    &    unknown \cr
  744. X\+&&                (any)    &    unknown object \cr
  745. X
  746. X\+V    &    vector \cr
  747. X\+&&                M    &    moveto (begin, no line drawn)\cr
  748. X\+&&                S    &    solid lineto via great circle\cr
  749. X\+&&                D    &    dotted lineto via great circle\cr
  750. X\+&&                H    &    hyphened (dashed) lineto g. c.\cr
  751. X
  752. X\+&&                m    &    moveto linear\cr
  753. X\+&&                s    &    solid lineto linear\cr
  754. X\+&&                d    &    dotted lineto linear\cr
  755. X\+&&                h    &    hyphened lineto linear\cr
  756. X
  757. X\+I    &    invisible \cr
  758. X\+&&                (any)    &    for labels \cr
  759. X
  760. X\+\#    &    data comment \cr
  761. X\+&&                (any)    &    for comment in file \cr
  762. X
  763. X\+A    &    area \cr
  764. X\+&&                M    &    moveto (begin)\cr
  765. X\+&&                A    &    add great circle border segment\cr
  766. X\+&&                F    &    fill region and end region \cr
  767. X\+&&                m    &    moveto (begin) \cr
  768. X\+&&                a    &    add linear border segment \cr
  769. X\+&&                f    &    fill region and end region \cr
  770. X}
  771. X@end tex
  772. X@ifinfo
  773. X@comment .nf .br  , .fi
  774. XType[0]        main type    type[1]        subtype
  775. XC        cluster
  776. X                G        globular
  777. X                O        open
  778. X                (other)     other
  779. X
  780. XG        galaxy
  781. X                a        spiral Sa
  782. X                b        spiral Sb
  783. X                c        spiral Sc
  784. X                d        spiral Sd
  785. X                p        spiral Sp
  786. X                Z        spiral S0
  787. X                s        spiral unspecified
  788. X                A        barred spiral SBa
  789. X                B        barred spiral SBb
  790. X                C        barred spiral SBc
  791. X                D        barred spiral SBd
  792. X                P        barred spiral SBp
  793. X                S        barred spiral unspecified
  794. X                0-7        elliptical E0-E7
  795. X                E        elliptical
  796. X                I        irregular I
  797. X                Q        quasar
  798. X                U        unknown
  799. X                !        peculiar
  800. X                         unspecified
  801. X                (other)     other
  802. X
  803. XN        nebula
  804. X                D        diffuse
  805. X                P        planetary
  806. X                (other)     other
  807. X
  808. XP        planet
  809. X                M        Mercury
  810. X                V        Venus
  811. X                m        Mars
  812. X                J        Jupiter
  813. X                s        Saturn
  814. X                U        Uranus
  815. X                N        Neptune
  816. X                P        Pluto
  817. X                A        Asteroid
  818. X                C        Comet
  819. X                S        Sun (Sol)
  820. X                L        Moon (Luna)
  821. X                (other)     other
  822. X
  823. XS        star
  824. X                S        single
  825. X                D        double
  826. X                V        variable
  827. X
  828. XO        other
  829. X                (any)        other object
  830. X
  831. XU        unknown
  832. X                (any)        unknown object
  833. X
  834. XV        vector
  835. X                M        moveto (begin, no line drawn)
  836. X                S        solid lineto via great circle
  837. X                D        dotted lineto via great circle
  838. X                H        hyphened (dashed) lineto g. c.
  839. X                m        moveto linear
  840. X                s        solid lineto linear
  841. X                d        dotted lineto linear
  842. X                h        hyphened lineto linear
  843. X
  844. XI        invisible
  845. X                (any)        for labels
  846. X
  847. X#        data comment
  848. X                (any)        for comment in file
  849. X
  850. XA        area
  851. X                M        moveto (begin)
  852. X                A        add great circle border segment
  853. X                F        fill region and end region
  854. X                m        moveto (begin)
  855. X                a        add linear border segment
  856. X                f        fill region and end region
  857. X@end ifinfo
  858. X
  859. XThe magnitude of an object determines what information is displayed.
  860. XThree magnitude limits are defined for each file in each map window.  If
  861. Xthe magnitude is greater (dimmer) than the first limit, nothing is
  862. Xdrawn.  If the object is brighter than a second limit, the label (Bayer
  863. Xor Flamsteed) is printed (if present).  If it is brighter than the third
  864. Xlimit, the name is printed (if present; if not, the label is printed if
  865. Xpresent).  These text strings generally appear to the right of the
  866. Xobject, but the driver can change this.  Note: the label string only
  867. Xapplies to stars.
  868. X
  869. XFor nonstellar objects, the label field defines the size of the object
  870. Xin arc seconds.
  871. X
  872. XFor magnitudes within a range defined for the mapwindow, a magnitude
  873. Xtag, the magnitude to one decimal place as in variable star and asteroid
  874. Xfinding charts, may be displayed.  This will generally be below and to
  875. Xthe right of the object, but this is controlled by the driver.
  876. X
  877. XThe symbol drawn for the object is determined by the type field.
  878. X
  879. XFor devices supporting color, the spectral class or color field defines
  880. Xthe color of the object, and perhaps the associated text.  The spectral
  881. Xclass of stars is mapped to display color, and for other objects, this
  882. Xfield may contain direct color specifications, e.g. 'r3' for an object
  883. Xcolored red level 3.  All this is controlled by the device driver.
  884. XStandards for color definitions are yet to be defined.
  885. X
  886. XThe constellation field is not currently used in the display.
  887. X
  888. XThe comment field is also not generally used, but some drivers may use
  889. Xit to contain special information such as the phase of the moon or
  890. Xposition angle of a comet's tail.
  891. X
  892. X@node File formats, Support programs, Contents, Data files
  893. X@comment  node-name,  next,  previous,  up
  894. X@section Data file formats
  895. X@cindex starchart data file formats
  896. X
  897. X@menu
  898. X* lineread::    yale.star or lineread format
  899. X* sif::        starchart interchange format
  900. X* binary::    binary formats
  901. X* index::    index meta-format
  902. X@end menu
  903. X
  904. X@node lineread, sif, File formats, File formats
  905. X@comment  node-name,  next,  previous,  up
  906. X@subsection @samp{lineread}
  907. X
  908. XThis text format, called @dfn{lineread}, is the original data file format.
  909. XData for each object is on a single line, stored in character fields.
  910. XCurrently, an older variant is also supported, one which has 4
  911. Xcharacters for the magnitude and omits the color and letter/number
  912. Xfields.  Both of these formats are designated as type @dfn{lineread},
  913. Xsince each line is read individually and these two types are easily
  914. Xdistinguished on a line by line basis.  In all formats, if a value is
  915. Xunknown, it should be spaces, or a null string in the case of the name
  916. Xand comment fields.  The RA, DEC and mag. must always be provided for an
  917. Xobject.
  918. X
  919. XSince it is a text format, it may be mailed safely and be used on many
  920. Xdifferent computer architectures without change.  However, it is slow,
  921. Xand uses more file space than it ought.
  922. X
  923. X
  924. X@node sif, binary, lineread, File formats    
  925. X@comment  node-name,  next,  previous,  up
  926. X@subsection @samp{sif}: Starchart Interchange Format
  927. X
  928. XThe @dfn{sif} format was introduced to allow data to be exchanged as text,
  929. Xwith greater precision in the location and magnitude fields, and greater
  930. Xreadability compared to the @dfn{lineread} format.  The format is too slow
  931. Xfor use as input to the starchart programs.  A data conversion program
  932. Xis provided to convert between formats, and to precess coordinates
  933. Xduring the conversion.
  934. X
  935. XEach object is represented by a single line in the file.  This line
  936. Xcontains fields each of which corresponds to a field in the
  937. X@dfn{lineread} format.  The fields are separated by a single character,
  938. Xusually @samp{;}.  Fields may be omitted from the end of the line;
  939. Xomitted fields are assigned their default values.  Fields may be empty,
  940. Xand again are assigned their default values.  As with the other formats,
  941. Xthe RA, DEC, and mag. must be present.
  942. X
  943. XThe RA may be given as a decimal hour, hour and decimal minute, or hour
  944. Xminute and decimal second.  The DEC may be given in the same format.
  945. XThe magnitude is a floating point number.
  946. X
  947. XThe type, and color, fields are empty or one or two characters, as in
  948. Xthe @dfn{lineread} format.
  949. X
  950. XThe label field is also the same as in the @dfn{lineread} format, and
  951. Xencodes the size of non-stellar objects in two characters.  There is a
  952. Xbit of ``magic'' in this field.  Since @samp{X } or @samp{ X} are both
  953. Xvalid, and whitespace is normally ignored, iff this field is two
  954. Xcharacters wide, and both characters are printing characters, it is
  955. Xtaken verbatim as the label field.  That is, @samp{... ; X; ...} is
  956. X@samp{ X}, while @samp{... ; X ; ...} is read as one character and left
  957. Xjustified to become @samp{X }. @refill
  958. X
  959. XThe constellation field is the IAU abbreviation for the constellation
  960. Xand is always blank or three characters.
  961. X
  962. XThe name and comment are two separate fields.  Commas should not be used
  963. Xin the name field, since when this name is placed in the other formats a
  964. Xcomma is used to separate the name from comments.
  965. X
  966. X@node binary, gsc, sif, File formats    
  967. X@comment  node-name,  next,  previous,  up
  968. X@subsection Binary Formats
  969. X
  970. XThree binary input formats are supported.  These formats provide greater
  971. Xposition and magnitude accuracy, with faster input, and varying degrees
  972. Xof storage space reduction.  The files are inherently unportable,
  973. Xhowever, and should not be exchanged between machines and operating
  974. Xsystems, or even different compilers.  The @dfn{sif} format, described
  975. Xabove, provides a general data exchange format.
  976. X
  977. XThe three formats provide different storage sizes.  The most general
  978. Xformat, which contains all the data in the @dfn{lineread} format, is the
  979. X@dfn{binfull} format.  A smaller format, @dfn{binobj} stores only the
  980. XRA, DEC, mag. and object type fields, all other fields become their
  981. Xdefaults (usually spaces).  The smallest format, @dfn{binstar} stores
  982. Xonly the RA, DEC and mag., all other fields become their defaults,
  983. Xnotably the @var{object type} is @samp{SS}.
  984. X
  985. XThe binary formats are described as @b{C} structures.  How the data in
  986. Xthe structure is stored is therefore highly variable between compilers,
  987. Xoperating systems and machines.  However, most machines should be able
  988. Xto take advantage of these formats for local storage.
  989. X
  990. X@node gsc, index, binary, File formats    
  991. X@comment  node-name,  next,  previous,  up
  992. X@subsection The Guide Star Catalog
  993. X
  994. XThe Hubble Space Telescope Guide Star Catalog, available on 2 CD-ROMs,
  995. Xmay be used as a stellar database.  This format may be read by
  996. X@code{dataconv} and the starchart programs, but now written.  An index
  997. Xfile is used to specify which files on which CD-ROM should be read.
  998. X
  999. X@node index, Support programs, binary, File formats
  1000. X@comment  node-name,  next,  previous,  up
  1001. X@subsection The Index File index.indx, @samp{indextype}
  1002. X
  1003. XThe @dfn{indextype} file is a special file format added to support larger
  1004. Xdatabases of dimmer stars.  It provides an index mapping location to
  1005. Xfilenames of files containing star data as above.  Each indexed file
  1006. Xcovers a rectangle of sky in RA and DEC.  The areas may be different
  1007. Xsizes for different files.  The area covered is given as the RA and DEC
  1008. Xof the upper left and lower right corners, followed by the filename and
  1009. Xa string indicating the type of the file.  This is all on one line in
  1010. Xthe file.  The format is then:
  1011. X
  1012. X@tex
  1013. X{
  1014. X\settabs 6 \columns
  1015. X\+upper left & upper left & lower right & lower right & filename & filetype \cr
  1016. X\+RA & DEC & RA & DEC & filename & filetype \cr
  1017. X\+e.g.\cr
  1018. X\+02.0 &    -30.0 &    00.0 &    -90.0 &  SAO00-90 & lineread \cr
  1019. X\+04.0 &    -30.0 &    02.0 &    -90.0 &  SAO02-90 & lineread \cr
  1020. X\+06.0 &    -30.0 &    04.0 &    -90.0 &  SAO04-90 & lineread \cr
  1021. X\+08.0 &    -30.0 &    06.0 &    -90.0 &  SAO06-90 & lineread \cr
  1022. X\+10.0 &    -30.0 &    08.0 &    -90.0 &  SAO08-90 & lineread \cr
  1023. X}
  1024. X@end tex
  1025. X@ifinfo
  1026. Xupper left   upper left   lower right   lower right   filename   filetype
  1027. XRA         DEC      RA        DEC          filename     filetype
  1028. X
  1029. Xe.g.
  1030. X02.0         -30.0       00.0            -90.0          SAO00-90     lineread
  1031. X04.0         -30.0       02.0            -90.0          SAO02-90     lineread
  1032. X06.0         -30.0       04.0            -90.0          SAO04-90     lineread
  1033. X08.0         -30.0       06.0            -90.0          SAO06-90     lineread
  1034. X10.0         -30.0       08.0            -90.0          SAO08-90     lineread
  1035. X@end ifinfo
  1036. X
  1037. X@node Support programs, Acknowledgments, Data files, Top
  1038. X@comment  node-name,  next,  previous,  up
  1039. X@chapter The Support Programs
  1040. X@cindex Support programs
  1041. X
  1042. XSeveral support programs are provided for use with the primary
  1043. X@code{observe} and starchart programs.
  1044. X
  1045. X@menu
  1046. X* dataconv::
  1047. X* sif-to-text::
  1048. X* tosize::
  1049. X@end menu
  1050. X
  1051. X@node dataconv, sif-to-text, Support programs, Support programs
  1052. X@comment  node-name,  next,  previous,  up
  1053. X@section @code{dataconv}
  1054. X@pindex dataconv
  1055. X
  1056. XThis program is used to convert between file formats, especially to
  1057. Xgenerate binary format files.  It can precess coordinates as desired.
  1058. XRemember, input data files for starchart programs should be in 2000.0
  1059. Xcoordinates.
  1060. X
  1061. X@node sif-to-text, tosize, dataconv, Support programs
  1062. X@comment  node-name,  next,  previous,  up
  1063. X@section @code{sif-to-text}
  1064. X@pindex sif-to-text
  1065. X
  1066. XThe @code{sif-to-text} or @code{sif_to_text} program converts sif format
  1067. Xfiles to more readable text tables.
  1068. X
  1069. X@node tosize, Acknowledgments, sif-to-text, Support programs
  1070. X@comment  node-name,  next,  previous,  up
  1071. X@section @code{tosize}
  1072. X@pindex tosize
  1073. X
  1074. XThis program is used to encode the size of objects, for development of
  1075. Xnew databases.
  1076. X
  1077. X@node Acknowledgments, , Support programs, Top    
  1078. X@comment  node-name,  next,  previous,  up
  1079. X@chapter Acknowledgements
  1080. X
  1081. XThe previous versions of starchart were developed by Alan Paeth.
  1082. X
  1083. XSteve Kennedy contributed to @file{starimages.c}.
  1084. X
  1085. XRobert Tidd provided the original @file{yale.star} and the format.
  1086. X
  1087. XDave Van't Hof provided most of the other databases (in particular boundaries,
  1088. Xpatterns, and names).
  1089. X
  1090. XMichael Campanella provided vms support.
  1091. X
  1092. XThe Atari ST version was developed by Holger Zessel and Markus Kempf.
  1093. X
  1094. XTom Horsley contributed the ibm PC driver.
  1095. X
  1096. XMike Daly helped with the Macintosh version.
  1097. X
  1098. XJoe Wang helped with the X11 version.
  1099. X
  1100. XDean Payne provided the original code for @samp{.starrc} processing.
  1101. X
  1102. XOther contributions are from Petri Launiainen, Jyrki Yli-Nokari, Sjoerd
  1103. XMullender, David Smith, Tim Pointing, and others.
  1104. X
  1105. X
  1106. X@node     Program Index,     ,  Previous Node,  Top
  1107. X@comment  node-name,     next,  previous,      up
  1108. X@unnumbered Program Index
  1109. X
  1110. X@printindex pg
  1111. X
  1112. X@node     Concept Index,     ,  Previous Node,  Top
  1113. X@comment  node-name,     next,  previous,      up
  1114. X@unnumbered Concept Index
  1115. X
  1116. X@printindex cp
  1117. X
  1118. X@contents
  1119. X@bye
  1120. X
  1121. END_OF_FILE
  1122. if test 41161 -ne `wc -c <'doc/as.texi.ab'`; then
  1123.     echo shar: \"'doc/as.texi.ab'\" unpacked with wrong size!
  1124. fi
  1125. # end of 'doc/as.texi.ab'
  1126. fi
  1127. echo shar: End of archive 30 \(of 32\).
  1128. cp /dev/null ark30isdone
  1129. MISSING=""
  1130. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 ; do
  1131.     if test ! -f ark${I}isdone ; then
  1132.     MISSING="${MISSING} ${I}"
  1133.     fi
  1134. done
  1135. if test "${MISSING}" = "" ; then
  1136.     echo You have unpacked all 32 archives.
  1137.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1138. else
  1139.     echo You still need to unpack the following archives:
  1140.     echo "        " ${MISSING}
  1141. fi
  1142. ##  End of shell archive.
  1143. exit 0
  1144.  
  1145.  
  1146.