home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-04-06 | 37.8 KB | 1,348 lines |
-
- #! /bin/sh
- # This is a shell archive. Remove anything before this line, then unpack
- # it by saving it into a file and typing "sh file". To overwrite existing
- # files, type "sh file -c". You can also feed this as standard input via
- # unshar, or by typing "sh <file", e.g.. If this archive is complete, you
- # will see the following message at the end:
- # "End of archive 27 (of 32)."
- # Contents: starchart/startool.tt
- PATH=/bin:/usr/bin:/usr/ucb ; export PATH
- if test -f 'starchart/startool.tt' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'starchart/startool.tt'\"
- else
- echo shar: Extracting \"'starchart/startool.tt'\" \(36032 characters\)
- sed "s/^X//" >'starchart/startool.tt' <<'END_OF_FILE'
- X#define TRUE 1
- X#define FALSE 0
- X
- X/* you may deed to add a path, e.g. /usr/local/startool.sh,
- X but everything beyond the icon shouldn't change */
- Xapplication "startool.sh"
- X size 24 by 80 characters
- X icon "startool.icon"
- X label "<< StarChart >>"
- X initialize {
- X ra = "0"; ra_set = FALSE;
- X dec = "0"; dec_set = FALSE;
- X scale = "15"; scale_set = FALSE;
- X constellation_name = ""; find_set = FALSE;
- X constfile = "";
- X namelim = "2"; namelim_set = FALSE; /* namelim == lbllim */
- X gklim = "6"; gklim_set = FALSE;
- X maglim = "9"; maglim_set = FALSE;
- X title = "StarChart Sun";
- X title_set = FALSE;
- X
- X starfile = "";
- X indexfile = "";
- X nebfile = "";
- X planetfile = "";
- X boundfile = "";
- X patternfile = "";
- X constlnamefile = "";
- X
- X write_mapwin_file = "";
- X read_mapwin_file = "";
- X projection_mode = "sansons";
- X invert = FALSE;
- X chart_type = "threepart";
- X vrange_low = "";
- X vrange_high = "";
- X vrange_set = FALSE;
- X vmags_mag = "";
- X vmags_range = "";
- X vmags_set = FALSE;
- X nomaglbls = TRUE;
- X grid_ra = "1"; grid_ra_set = FALSE;
- X grid_dec = "5"; grid_dec_set = FALSE;
- X grid_ra_start = "0"; grid_ra_start_set = FALSE;
- X grid_dec_start = "0"; grid_dec_start_set = FALSE;
- X nogrid_ra = TRUE;
- X nogrid_dec = TRUE;
- X special = "";
- X }
- Xgadgets
- X right
- X font "/usr/lib/fonts/fixedwidthfonts/screen.b.14"
- X label
- X "Controls:" : "/usr/lib/fonts/fixedwidthfonts/cour.b.14"
- X end_label
- X button
- X normal " Chart "
- X display chart_dialog;
- X end_button
- X button
- X normal " Type "
- X display type_dialog;
- X end_button
- X button
- X normal " Magnitudes "
- X display mag_dialog;
- X end_button
- X button
- X normal " Layers "
- X display layer_dialog;
- X end_button
- X button
- X normal " User Files "
- X display sfiles_dialog;
- X end_button
- X button
- X normal " Map Files "
- X display files_dialog;
- X end_button
- X button
- X normal " Projection mode "
- X display proj_dialog;
- X end_button
- X button
- X normal " Magnitude labels "
- X display var_dialog;
- X end_button
- X button
- X normal " Grid "
- X display grid_dialog;
- X end_button
- X label
- X "Actions:" : "/usr/lib/fonts/fixedwidthfonts/cour.b.14"
- X end_label
- X button
- X normal " Draw Chart "
- X {
- X if (ra_set) send format("ra = %s\n", ra);
- X if (dec_set) send format("dec = %s\n", dec);
- X if (scale_set) send format("scale = %s\n", scale);
- X if (constfile != "") send format("constfile = %s\n",
- X constfile);
- X if (find_set) send format("findconst = %s\n",
- X constellation_name);
- X if (namelim_set) send format("namelim = %s\n", namelim);
- X if (gklim_set) send format("gklim = %s\n", gklim);
- X if (maglim_set) send format("maglim = %s\n", maglim);
- X
- X if ((grid_ra_set) || (grid_dec_set))
- X send format("grid = %s %s\n", grid_ra, grid_dec);
- X if ((grid_ra_start_set) || (grid_dec_start_set))
- X send format("grid = %s %s %s %s\n",
- X grid_ra, grid_dec,
- X grid_ra_start, grid_dec_start);
- X if (nogrid_ra) send "nogrid_ra=true\n";
- X else send "nogrid_ra=false\n";
- X if (nogrid_dec) send "nogrid_dec=true\n";
- X else send "nogrid_dec=false\n";
- X
- X if (title_set) send format("title = %s\n", title);
- X send format("projection_mode = %s\n", projection_mode);
- X send format("chart_type = %s\n", chart_type);
- X if (invert) send "invert=true\n";
- X else send "invert=false\n";
- X if (vrange_set)
- X send format("vrange %s %s\n", vrange_high, vrange_low);
- X for (i = 0; i < 20; i++)
- X if (layer[i] != "")
- X send format("layers %s\n", layer[i]);
- X for (i = 0; i < 14; i++)
- X if (mapfile[i] != "")
- X send format("mapfile %s %s\n",
- X mapfile[i], maptype[i]);
- X if (starfile != "")
- X send format("starfile %s %s\n", starfile, startype);
- X if (indexfile != "")
- X send format("indexfile %s %s\n", indexfile, indextype);
- X if (nebfile != "")
- X send format("nebfile %s %s\n", nebfile, nebtype);
- X if (planetfile != "")
- X send format("planetfile %s %s\n", planetfile, plantype);
- X if (boundfile != "")
- X send format("boundfile %s %s\n", boundfile, boundtype);
- X if (patternfile != "")
- X send format("patternfile %s %s\n", patternfile, patterntype);
- X if (constlnamefile != "")
- X send format("constlnamefile %s %s\n",
- X constlnamefile, cnametype);
- X for (i = 0; i < 10; i++)
- X if (userfile[i] != "")
- X send format("userfile %s %s\n",
- X userfile[i], usertype[i]);
- X if (out_fname != "")
- X send format("write_rc_file %s\n", out_fname);
- X if (write_mapwin_file != "")
- X send format("write_mapwin_file %s\n",
- X write_mapwin_file);
- X if (read_mapwin_file != "")
- X send format("read_mapwin_file %s\n",
- X read_mapwin_file);
- X send "end_input\n";
- X }
- X end_button
- X button
- X normal " Save/Load file " display out_file_dialog;
- X end_button
- X button
- X normal " Close " close;
- X shift " Quit " exit;
- X end_button
- Xend_gadgets
- X
- Xdialog chart_dialog
- X gadgets
- X left
- X label
- X "Specify Center:" : "/usr/lib/fonts/fixedwidthfonts/cour.b.14"
- X end_label
- X text ra
- X label "Right Ascension:"
- X display 20
- X action {
- X constellation_name = "";
- X find_set = FALSE;
- X ra_set = TRUE;
- X }
- X end_text
- X text dec
- X label "Dec.:"
- X display 20
- X action {
- X constellation_name = "";
- X find_set = FALSE;
- X dec_set = TRUE;
- X }
- X end_text
- X text scale
- X label "Scale:"
- X display 20
- X action {
- X constellation_name = "";
- X find_set = FALSE;
- X scale_set = TRUE;
- X }
- X end_text
- X text title
- X label "Title:"
- X display 20
- X action title_set = TRUE;
- X end_text
- X label
- X "Or specify constellation from file:" : "/usr/lib/fonts/fixedwidthfonts/cour.b.14"
- X end_label
- X text constellation_name
- X label "Constellation:"
- X display 20
- X action {
- X ra = "";
- X dec = "";
- X scale = "";
- X ra_set = dec_set = scale_set = FALSE;
- X find_set = TRUE;
- X }
- X end_text
- X text constfile
- X label "Constellation lookup file:"
- X display 20
- X end_text
- X label
- X ""
- X end_label
- X choice invert
- X display cycle
- X label "invert"
- X "Normal" nothing;
- X "Inverted" nothing;
- X end_choice
- X button
- X normal "done" remove chart_dialog;
- X end_button
- X/* would like "apply constellation, cancel and ok buttons */
- X end_gadgets
- Xend_dialog
- X
- Xdialog type_dialog
- X gadgets
- X left
- X ragged
- X choice
- X display vertical
- X label "Chart Type"
- X "Main Chart + Thumbnail" chart_type = "threepart";
- X "Full Page" chart_type = "fullpage";
- X end_choice
- X button
- X normal "done" remove type_dialog;
- X end_button
- X end_gadgets
- Xend_dialog
- X
- Xdialog mag_dialog
- X gadgets
- X left
- X ragged
- X text namelim
- X label "Mag limit for object names:"
- X display 20
- X action {
- X namelim_set = TRUE;
- X }
- X end_text
- X text gklim
- X label "Mag limit for bayer labels:"
- X display 20
- X action {
- X gklim_set = TRUE;
- X }
- X end_text
- X text maglim
- X label "Mag limit for object visibility:"
- X display 20
- X action {
- X maglim_set = TRUE;
- X }
- X end_text
- X button
- X normal "done" remove mag_dialog;
- X end_button
- X end_gadgets
- Xend_dialog
- X
- Xdialog layer_dialog
- X gadgets
- X left
- X ragged
- X choice
- X display cycle
- X "None" layer[0] = "";
- X "Outline" layer[0] = "outline";
- X "RA_Grid" layer[0] = "ra_grid";
- X "Dec_Grid" layer[0] = "dec_grid";
- X "Ecliptic" layer[0] = "ecliptic";
- X "Boundaries" layer[0] = "boundaries";
- X "Patterns" layer[0] = "patterns";
- X "Constlnames" layer[0] = "constlnames";
- X "Allfiles" layer[0] = "allfiles";
- X "Allglyphs" layer[0] = "allglyphs";
- X "Allnames" layer[0] = "allnames";
- X "Allmaglbls" layer[0] = "allmaglbls";
- X "Allvectors" layer[0] = "allvectors";
- X "Allareas" layer[0] = "allareas";
- X "Legends" layer[0] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[1] = "";
- X "Outline" layer[1] = "outline";
- X "RA_Grid" layer[1] = "ra_grid";
- X "Dec_Grid" layer[1] = "dec_grid";
- X "Ecliptic" layer[1] = "ecliptic";
- X "Boundaries" layer[1] = "boundaries";
- X "Patterns" layer[1] = "patterns";
- X "Constlnames" layer[1] = "constlnames";
- X "Allfiles" layer[1] = "allfiles";
- X "Allglyphs" layer[1] = "allglyphs";
- X "Allnames" layer[1] = "allnames";
- X "Allmaglbls" layer[1] = "allmaglbls";
- X "Allvectors" layer[1] = "allvectors";
- X "Allareas" layer[1] = "allareas";
- X "Legends" layer[1] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[2] = "";
- X "Outline" layer[2] = "outline";
- X "RA_Grid" layer[2] = "ra_grid";
- X "Dec_Grid" layer[2] = "dec_grid";
- X "Ecliptic" layer[2] = "ecliptic";
- X "Boundaries" layer[2] = "boundaries";
- X "Patterns" layer[2] = "patterns";
- X "Constlnames" layer[2] = "constlnames";
- X "Allfiles" layer[2] = "allfiles";
- X "Allglyphs" layer[2] = "allglyphs";
- X "Allnames" layer[2] = "allnames";
- X "Allmaglbls" layer[2] = "allmaglbls";
- X "Allvectors" layer[2] = "allvectors";
- X "Allareas" layer[2] = "allareas";
- X "Legends" layer[2] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[3] = "";
- X "Outline" layer[3] = "outline";
- X "RA_Grid" layer[3] = "ra_grid";
- X "Dec_Grid" layer[3] = "dec_grid";
- X "Ecliptic" layer[3] = "ecliptic";
- X "Boundaries" layer[3] = "boundaries";
- X "Patterns" layer[3] = "patterns";
- X "Constlnames" layer[3] = "constlnames";
- X "Allfiles" layer[3] = "allfiles";
- X "Allglyphs" layer[3] = "allglyphs";
- X "Allnames" layer[3] = "allnames";
- X "Allmaglbls" layer[3] = "allmaglbls";
- X "Allvectors" layer[3] = "allvectors";
- X "Allareas" layer[3] = "allareas";
- X "Legends" layer[3] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[4] = "";
- X "Outline" layer[4] = "outline";
- X "RA_Grid" layer[4] = "ra_grid";
- X "Dec_Grid" layer[4] = "dec_grid";
- X "Ecliptic" layer[4] = "ecliptic";
- X "Boundaries" layer[4] = "boundaries";
- X "Patterns" layer[4] = "patterns";
- X "Constlnames" layer[4] = "constlnames";
- X "Allfiles" layer[4] = "allfiles";
- X "Allglyphs" layer[4] = "allglyphs";
- X "Allnames" layer[4] = "allnames";
- X "Allmaglbls" layer[4] = "allmaglbls";
- X "Allvectors" layer[4] = "allvectors";
- X "Allareas" layer[4] = "allareas";
- X "Legends" layer[4] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[5] = "";
- X "Outline" layer[5] = "outline";
- X "RA_Grid" layer[5] = "ra_grid";
- X "Dec_Grid" layer[5] = "dec_grid";
- X "Ecliptic" layer[5] = "ecliptic";
- X "Boundaries" layer[5] = "boundaries";
- X "Patterns" layer[5] = "patterns";
- X "Constlnames" layer[5] = "constlnames";
- X "Allfiles" layer[5] = "allfiles";
- X "Allglyphs" layer[5] = "allglyphs";
- X "Allnames" layer[5] = "allnames";
- X "Allmaglbls" layer[5] = "allmaglbls";
- X "Allvectors" layer[5] = "allvectors";
- X "Allareas" layer[5] = "allareas";
- X "Legends" layer[5] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[6] = "";
- X "Outline" layer[6] = "outline";
- X "RA_Grid" layer[6] = "ra_grid";
- X "Dec_Grid" layer[6] = "dec_grid";
- X "Ecliptic" layer[6] = "ecliptic";
- X "Boundaries" layer[6] = "boundaries";
- X "Patterns" layer[6] = "patterns";
- X "Constlnames" layer[6] = "constlnames";
- X "Allfiles" layer[6] = "allfiles";
- X "Allglyphs" layer[6] = "allglyphs";
- X "Allnames" layer[6] = "allnames";
- X "Allmaglbls" layer[6] = "allmaglbls";
- X "Allvectors" layer[6] = "allvectors";
- X "Allareas" layer[6] = "allareas";
- X "Legends" layer[6] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[7] = "";
- X "Outline" layer[7] = "outline";
- X "RA_Grid" layer[7] = "ra_grid";
- X "Dec_Grid" layer[7] = "dec_grid";
- X "Ecliptic" layer[7] = "ecliptic";
- X "Boundaries" layer[7] = "boundaries";
- X "Patterns" layer[7] = "patterns";
- X "Constlnames" layer[7] = "constlnames";
- X "Allfiles" layer[7] = "allfiles";
- X "Allglyphs" layer[7] = "allglyphs";
- X "Allnames" layer[7] = "allnames";
- X "Allmaglbls" layer[7] = "allmaglbls";
- X "Allvectors" layer[7] = "allvectors";
- X "Allareas" layer[7] = "allareas";
- X "Legends" layer[7] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[8] = "";
- X "Outline" layer[8] = "outline";
- X "RA_Grid" layer[8] = "ra_grid";
- X "Dec_Grid" layer[8] = "dec_grid";
- X "Ecliptic" layer[8] = "ecliptic";
- X "Boundaries" layer[8] = "boundaries";
- X "Patterns" layer[8] = "patterns";
- X "Constlnames" layer[8] = "constlnames";
- X "Allfiles" layer[8] = "allfiles";
- X "Allglyphs" layer[8] = "allglyphs";
- X "Allnames" layer[8] = "allnames";
- X "Allmaglbls" layer[8] = "allmaglbls";
- X "Allvectors" layer[8] = "allvectors";
- X "Allareas" layer[8] = "allareas";
- X "Legends" layer[8] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[9] = "";
- X "Outline" layer[9] = "outline";
- X "RA_Grid" layer[9] = "ra_grid";
- X "Dec_Grid" layer[9] = "dec_grid";
- X "Ecliptic" layer[9] = "ecliptic";
- X "Boundaries" layer[9] = "boundaries";
- X "Patterns" layer[9] = "patterns";
- X "Constlnames" layer[9] = "constlnames";
- X "Allfiles" layer[9] = "allfiles";
- X "Allglyphs" layer[9] = "allglyphs";
- X "Allnames" layer[9] = "allnames";
- X "Allmaglbls" layer[9] = "allmaglbls";
- X "Allvectors" layer[9] = "allvectors";
- X "Allareas" layer[9] = "allareas";
- X "Legends" layer[9] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[10] = "";
- X "Outline" layer[10] = "outline";
- X "RA_Grid" layer[10] = "ra_grid";
- X "Dec_Grid" layer[10] = "dec_grid";
- X "Ecliptic" layer[10] = "ecliptic";
- X "Boundaries" layer[10] = "boundaries";
- X "Patterns" layer[10] = "patterns";
- X "Constlnames" layer[10] = "constlnames";
- X "Allfiles" layer[10] = "allfiles";
- X "Allglyphs" layer[10] = "allglyphs";
- X "Allnames" layer[10] = "allnames";
- X "Allmaglbls" layer[10] = "allmaglbls";
- X "Allvectors" layer[10] = "allvectors";
- X "Allareas" layer[10] = "allareas";
- X "Legends" layer[10] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[11] = "";
- X "Outline" layer[11] = "outline";
- X "RA_Grid" layer[11] = "ra_grid";
- X "Dec_Grid" layer[11] = "dec_grid";
- X "Ecliptic" layer[11] = "ecliptic";
- X "Boundaries" layer[11] = "boundaries";
- X "Patterns" layer[11] = "patterns";
- X "Constlnames" layer[11] = "constlnames";
- X "Allfiles" layer[11] = "allfiles";
- X "Allglyphs" layer[11] = "allglyphs";
- X "Allnames" layer[11] = "allnames";
- X "Allmaglbls" layer[11] = "allmaglbls";
- X "Allvectors" layer[11] = "allvectors";
- X "Allareas" layer[11] = "allareas";
- X "Legends" layer[11] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[12] = "";
- X "Outline" layer[12] = "outline";
- X "RA_Grid" layer[12] = "ra_grid";
- X "Dec_Grid" layer[12] = "dec_grid";
- X "Ecliptic" layer[12] = "ecliptic";
- X "Boundaries" layer[12] = "boundaries";
- X "Patterns" layer[12] = "patterns";
- X "Constlnames" layer[12] = "constlnames";
- X "Allfiles" layer[12] = "allfiles";
- X "Allglyphs" layer[12] = "allglyphs";
- X "Allnames" layer[12] = "allnames";
- X "Allmaglbls" layer[12] = "allmaglbls";
- X "Allvectors" layer[12] = "allvectors";
- X "Allareas" layer[12] = "allareas";
- X "Legends" layer[12] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[13] = "";
- X "Outline" layer[13] = "outline";
- X "RA_Grid" layer[13] = "ra_grid";
- X "Dec_Grid" layer[13] = "dec_grid";
- X "Ecliptic" layer[13] = "ecliptic";
- X "Boundaries" layer[13] = "boundaries";
- X "Patterns" layer[13] = "patterns";
- X "Constlnames" layer[13] = "constlnames";
- X "Allfiles" layer[13] = "allfiles";
- X "Allglyphs" layer[13] = "allglyphs";
- X "Allnames" layer[13] = "allnames";
- X "Allmaglbls" layer[13] = "allmaglbls";
- X "Allvectors" layer[13] = "allvectors";
- X "Allareas" layer[13] = "allareas";
- X "Legends" layer[13] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[14] = "";
- X "Outline" layer[14] = "outline";
- X "RA_Grid" layer[14] = "ra_grid";
- X "Dec_Grid" layer[14] = "dec_grid";
- X "Ecliptic" layer[14] = "ecliptic";
- X "Boundaries" layer[14] = "boundaries";
- X "Patterns" layer[14] = "patterns";
- X "Constlnames" layer[14] = "constlnames";
- X "Allfiles" layer[14] = "allfiles";
- X "Allglyphs" layer[14] = "allglyphs";
- X "Allnames" layer[14] = "allnames";
- X "Allmaglbls" layer[14] = "allmaglbls";
- X "Allvectors" layer[14] = "allvectors";
- X "Allareas" layer[14] = "allareas";
- X "Legends" layer[14] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[15] = "";
- X "Outline" layer[15] = "outline";
- X "RA_Grid" layer[15] = "ra_grid";
- X "Dec_Grid" layer[15] = "dec_grid";
- X "Ecliptic" layer[15] = "ecliptic";
- X "Boundaries" layer[15] = "boundaries";
- X "Patterns" layer[15] = "patterns";
- X "Constlnames" layer[15] = "constlnames";
- X "Allfiles" layer[15] = "allfiles";
- X "Allglyphs" layer[15] = "allglyphs";
- X "Allnames" layer[15] = "allnames";
- X "Allmaglbls" layer[15] = "allmaglbls";
- X "Allvectors" layer[15] = "allvectors";
- X "Allareas" layer[15] = "allareas";
- X "Legends" layer[15] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[16] = "";
- X "Outline" layer[16] = "outline";
- X "RA_Grid" layer[16] = "ra_grid";
- X "Dec_Grid" layer[16] = "dec_grid";
- X "Ecliptic" layer[16] = "ecliptic";
- X "Boundaries" layer[16] = "boundaries";
- X "Patterns" layer[16] = "patterns";
- X "Constlnames" layer[16] = "constlnames";
- X "Allfiles" layer[16] = "allfiles";
- X "Allglyphs" layer[16] = "allglyphs";
- X "Allnames" layer[16] = "allnames";
- X "Allmaglbls" layer[16] = "allmaglbls";
- X "Allvectors" layer[16] = "allvectors";
- X "Allareas" layer[16] = "allareas";
- X "Legends" layer[16] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[17] = "";
- X "Outline" layer[17] = "outline";
- X "RA_Grid" layer[17] = "ra_grid";
- X "Dec_Grid" layer[17] = "dec_grid";
- X "Ecliptic" layer[17] = "ecliptic";
- X "Boundaries" layer[17] = "boundaries";
- X "Patterns" layer[17] = "patterns";
- X "Constlnames" layer[17] = "constlnames";
- X "Allfiles" layer[17] = "allfiles";
- X "Allglyphs" layer[17] = "allglyphs";
- X "Allnames" layer[17] = "allnames";
- X "Allmaglbls" layer[17] = "allmaglbls";
- X "Allvectors" layer[17] = "allvectors";
- X "Allareas" layer[17] = "allareas";
- X "Legends" layer[17] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[18] = "";
- X "Outline" layer[18] = "outline";
- X "RA_Grid" layer[18] = "ra_grid";
- X "Dec_Grid" layer[18] = "dec_grid";
- X "Ecliptic" layer[18] = "ecliptic";
- X "Boundaries" layer[18] = "boundaries";
- X "Patterns" layer[18] = "patterns";
- X "Constlnames" layer[18] = "constlnames";
- X "Allfiles" layer[18] = "allfiles";
- X "Allglyphs" layer[18] = "allglyphs";
- X "Allnames" layer[18] = "allnames";
- X "Allmaglbls" layer[18] = "allmaglbls";
- X "Allvectors" layer[18] = "allvectors";
- X "Allareas" layer[18] = "allareas";
- X "Legends" layer[18] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[19] = "";
- X "Outline" layer[19] = "outline";
- X "RA_Grid" layer[19] = "ra_grid";
- X "Dec_Grid" layer[19] = "dec_grid";
- X "Ecliptic" layer[19] = "ecliptic";
- X "Boundaries" layer[19] = "boundaries";
- X "Patterns" layer[19] = "patterns";
- X "Constlnames" layer[19] = "constlnames";
- X "Allfiles" layer[19] = "allfiles";
- X "Allglyphs" layer[19] = "allglyphs";
- X "Allnames" layer[19] = "allnames";
- X "Allmaglbls" layer[19] = "allmaglbls";
- X "Allvectors" layer[19] = "allvectors";
- X "Allareas" layer[19] = "allareas";
- X "Legends" layer[19] = "legends";
- X end_choice
- X choice
- X display cycle
- X "None" layer[20] = "";
- X "Outline" layer[20] = "outline";
- X "RA_Grid" layer[20] = "ra_grid";
- X "Dec_Grid" layer[20] = "dec_grid";
- X "Ecliptic" layer[20] = "ecliptic";
- X "Boundaries" layer[20] = "boundaries";
- X "Patterns" layer[20] = "patterns";
- X "Constlnames" layer[20] = "constlnames";
- X "Allfiles" layer[20] = "allfiles";
- X "Allglyphs" layer[20] = "allglyphs";
- X "Allnames" layer[20] = "allnames";
- X "Allmaglbls" layer[20] = "allmaglbls";
- X "Allvectors" layer[20] = "allvectors";
- X "Allareas" layer[20] = "allareas";
- X "Legends" layer[20] = "legends";
- X end_choice
- X button
- X normal "done" remove layer_dialog;
- X end_button
- X end_gadgets
- Xend_dialog
- X
- Xdialog proj_dialog
- X gadgets
- X ragged
- X choice proj_choice
- X display vertical
- X label "Projection Mode"
- X "Sansons" projection_mode = "sansons";
- X "Stereographic" projection_mode = "Stereographic";
- X "Orthographic" projection_mode = "Orthographic";
- X "Gnomonic" projection_mode = "Gnomonic";
- X end_choice
- X button
- X normal "done" remove proj_dialog;
- X end_button
- X end_gadgets
- Xend_dialog
- X
- Xdialog sfiles_dialog
- X size 24 by 90 characters
- X gadgets
- X align center
- X ragged
- X text starfile
- X label "Star File:"
- X display 38
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" startype = "";
- X "Index" startype = "INDEXTYPE";
- X "Full Binary format" startype = "BINFULL";
- X "Object only Binary format" startype = "BINOBJ";
- X "Star only Binary format" startype = "BINSTAR";
- X "SAO format" startype = "SAOFORMAT";
- X end_choice
- X text indexfile
- X label "Index File:"
- X display 37
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Index" indextype = "INDEXTYPE";
- X "Full Binary format" indextype = "BINFULL";
- X "Object only Binary format" indextype = "BINOBJ";
- X "Star only Binary format" indextype = "BINSTAR";
- X "SAO format" indextype = "SAOFORMAT";
- X "Default" indextype = "";
- X end_choice
- X text nebfile
- X label "Nebula File:"
- X display 36
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" nebtype = "";
- X "Index" nebtype = "INDEXTYPE";
- X "Full Binary format" nebtype = "BINFULL";
- X "Object only Binary format" nebtype = "BINOBJ";
- X "Star only Binary format" nebtype = "BINSTAR";
- X "SAO format" nebtype = "SAOFORMAT";
- X end_choice
- X text planetfile
- X label "Planet File:"
- X display 36
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" plantype = "";
- X "Index" plantype = "INDEXTYPE";
- X "Full Binary format" plantype = "BINFULL";
- X "Object only Binary format" plantype = "BINOBJ";
- X "Star only Binary format" plantype = "BINSTAR";
- X "SAO format" plantype = "SAOFORMAT";
- X end_choice
- X text boundfile
- X label "Constellation Boundary File:"
- X display 20
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" boundtype = "";
- X "Index" boundtype = "INDEXTYPE";
- X "Full Binary format" boundtype = "BINFULL";
- X "Object only Binary format" boundtype = "BINOBJ";
- X "Star only Binary format" boundtype = "BINSTAR";
- X "SAO format" boundtype = "SAOFORMAT";
- X end_choice
- X text patternfile
- X label "Constellation Pattern File:"
- X display 21
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" patterntype = "";
- X "Index" patterntype = "INDEXTYPE";
- X "Full Binary format" patterntype = "BINFULL";
- X "Object only Binary format" patterntype = "BINOBJ";
- X "Star only Binary format" patterntype = "BINSTAR";
- X "SAO format" patterntype = "SAOFORMAT";
- X end_choice
- X text constlnamefile
- X label "Constellation Name File:"
- X display 24
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" cnametype = "";
- X "Index" cnametype = "INDEXTYPE";
- X "Full Binary format" cnametype = "BINFULL";
- X "Object only Binary format" cnametype = "BINOBJ";
- X "Star only Binary format" cnametype = "BINSTAR";
- X "SAO format" cnametype = "SAOFORMAT";
- X end_choice
- X text userfile0
- X label "User File:"
- X display 38
- X action userfile[0] = userfile0;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" usertype[0] = "";
- X "Index" usertype[0] = "INDEXTYPE";
- X "Full Binary format" usertype[0] = "BINFULL";
- X "Object only Binary format" usertype[0] = "BINOBJ";
- X "Star only Binary format" usertype[0] = "BINSTAR";
- X "SAO format" usertype[0] = "SAOFORMAT";
- X end_choice
- X text userfile1
- X label "User File:"
- X display 38
- X action userfile[1] = userfile1;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" usertype[1] = "";
- X "Index" usertype[1] = "INDEXTYPE";
- X "Full Binary format" usertype[1] = "BINFULL";
- X "Object only Binary format" usertype[1] = "BINOBJ";
- X "Star only Binary format" usertype[1] = "BINSTAR";
- X "SAO format" usertype[1] = "SAOFORMAT";
- X end_choice
- X text userfile2
- X label "User File:"
- X display 38
- X action userfile[2] = userfile2;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" usertype[2] = "";
- X "Index" usertype[2] = "INDEXTYPE";
- X "Full Binary format" usertype[2] = "BINFULL";
- X "Object only Binary format" usertype[2] = "BINOBJ";
- X "Star only Binary format" usertype[2] = "BINSTAR";
- X "SAO format" usertype[2] = "SAOFORMAT";
- X end_choice
- X text userfile3
- X label "User File:"
- X display 38
- X action userfile[3] = userfile3;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" usertype[3] = "";
- X "Index" usertype[3] = "INDEXTYPE";
- X "Full Binary format" usertype[3] = "BINFULL";
- X "Object only Binary format" usertype[3] = "BINOBJ";
- X "Star only Binary format" usertype[3] = "BINSTAR";
- X "SAO format" usertype[3] = "SAOFORMAT";
- X end_choice
- X text userfile4
- X label "User File:"
- X display 38
- X action userfile[4] = userfile4;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" usertype[4] = "";
- X "Index" usertype[4] = "INDEXTYPE";
- X "Full Binary format" usertype[4] = "BINFULL";
- X "Object only Binary format" usertype[4] = "BINOBJ";
- X "Star only Binary format" usertype[4] = "BINSTAR";
- X "SAO format" usertype[4] = "SAOFORMAT";
- X end_choice
- X text userfile5
- X label "User File:"
- X display 38
- X action userfile[5] = userfile5;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" usertype[5] = "";
- X "Index" usertype[5] = "INDEXTYPE";
- X "Full Binary format" usertype[5] = "BINFULL";
- X "Object only Binary format" usertype[5] = "BINOBJ";
- X "Star only Binary format" usertype[5] = "BINSTAR";
- X "SAO format" usertype[5] = "SAOFORMAT";
- X end_choice
- X text userfile6
- X label "User File:"
- X display 38
- X action userfile[6] = userfile6;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" usertype[6] = "";
- X "Index" usertype[6] = "INDEXTYPE";
- X "Full Binary format" usertype[6] = "BINFULL";
- X "Object only Binary format" usertype[6] = "BINOBJ";
- X "Star only Binary format" usertype[6] = "BINSTAR";
- X "SAO format" usertype[6] = "SAOFORMAT";
- X end_choice
- X text userfile7
- X label "User File:"
- X display 38
- X action userfile[7] = userfile7;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" usertype[7] = "";
- X "Index" usertype[7] = "INDEXTYPE";
- X "Full Binary format" usertype[7] = "BINFULL";
- X "Object only Binary format" usertype[7] = "BINOBJ";
- X "Star only Binary format" usertype[7] = "BINSTAR";
- X "SAO format" usertype[7] = "SAOFORMAT";
- X end_choice
- X text userfile8
- X label "User File:"
- X display 38
- X action userfile[8] = userfile8;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" usertype[8] = "";
- X "Index" usertype[8] = "INDEXTYPE";
- X "Full Binary format" usertype[8] = "BINFULL";
- X "Object only Binary format" usertype[8] = "BINOBJ";
- X "Star only Binary format" usertype[8] = "BINSTAR";
- X "SAO format" usertype[8] = "SAOFORMAT";
- X end_choice
- X text userfile9
- X label "User File:"
- X display 38
- X action userfile[9] = userfile9;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" usertype[9] = "";
- X "Index" usertype[9] = "INDEXTYPE";
- X "Full Binary format" usertype[9] = "BINFULL";
- X "Object only Binary format" usertype[9] = "BINOBJ";
- X "Star only Binary format" usertype[9] = "BINSTAR";
- X "SAO format" usertype[9] = "SAOFORMAT";
- X end_choice
- X button
- X normal "done" remove sfiles_dialog;
- X end_button
- X end_gadgets
- Xend_dialog
- X
- Xdialog files_dialog
- X gadgets
- X ragged
- X text mapfile0
- X label "File:"
- X display 20
- X action mapfile[0] = mapfile0;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" maptype[0] = "";
- X "Index" maptype[0] = "INDEXTYPE";
- X "Full Binary format" maptype[0] = "BINFULL";
- X "Object only Binary format" maptype[0] = "BINOBJ";
- X "Star only Binary format" maptype[0] = "BINSTAR";
- X "SAO format" maptype[0] = "SAOFORMAT";
- X end_choice
- X text mapfile1
- X label "File:"
- X display 20
- X action mapfile[1] = mapfile1;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" maptype[1] = "";
- X "Index" maptype[1] = "INDEXTYPE";
- X "Full Binary format" maptype[1] = "BINFULL";
- X "Object only Binary format" maptype[1] = "BINOBJ";
- X "Star only Binary format" maptype[1] = "BINSTAR";
- X "SAO format" maptype[1] = "SAOFORMAT";
- X end_choice
- X text mapfile2
- X label "File:"
- X display 20
- X action mapfile[2] = mapfile2;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" maptype[2] = "";
- X "Index" maptype[2] = "INDEXTYPE";
- X "Full Binary format" maptype[2] = "BINFULL";
- X "Object only Binary format" maptype[2] = "BINOBJ";
- X "Star only Binary format" maptype[2] = "BINSTAR";
- X "SAO format" maptype[2] = "SAOFORMAT";
- X end_choice
- X text mapfile3
- X label "File:"
- X display 20
- X action mapfile[3] = mapfile3;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" maptype[3] = "";
- X "Index" maptype[3] = "INDEXTYPE";
- X "Full Binary format" maptype[3] = "BINFULL";
- X "Object only Binary format" maptype[3] = "BINOBJ";
- X "Star only Binary format" maptype[3] = "BINSTAR";
- X "SAO format" maptype[3] = "SAOFORMAT";
- X end_choice
- X text mapfile4
- X label "File:"
- X display 20
- X action mapfile[4] = mapfile4;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" maptype[4] = "";
- X "Index" maptype[4] = "INDEXTYPE";
- X "Full Binary format" maptype[4] = "BINFULL";
- X "Object only Binary format" maptype[4] = "BINOBJ";
- X "Star only Binary format" maptype[4] = "BINSTAR";
- X "SAO format" maptype[4] = "SAOFORMAT";
- X end_choice
- X text mapfile5
- X label "File:"
- X display 20
- X action mapfile[5] = mapfile5;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" maptype[5] = "";
- X "Index" maptype[5] = "INDEXTYPE";
- X "Full Binary format" maptype[5] = "BINFULL";
- X "Object only Binary format" maptype[5] = "BINOBJ";
- X "Star only Binary format" maptype[5] = "BINSTAR";
- X "SAO format" maptype[5] = "SAOFORMAT";
- X end_choice
- X text mapfile6
- X label "File:"
- X display 20
- X action mapfile[6] = mapfile6;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" maptype[6] = "";
- X "Index" maptype[6] = "INDEXTYPE";
- X "Full Binary format" maptype[6] = "BINFULL";
- X "Object only Binary format" maptype[6] = "BINOBJ";
- X "Star only Binary format" maptype[6] = "BINSTAR";
- X "SAO format" maptype[6] = "SAOFORMAT";
- X end_choice
- X text mapfile7
- X label "File:"
- X display 20
- X action mapfile[7] = mapfile7;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" maptype[7] = "";
- X "Index" maptype[7] = "INDEXTYPE";
- X "Full Binary format" maptype[7] = "BINFULL";
- X "Object only Binary format" maptype[7] = "BINOBJ";
- X "Star only Binary format" maptype[7] = "BINSTAR";
- X "SAO format" maptype[7] = "SAOFORMAT";
- X end_choice
- X text mapfile8
- X label "File:"
- X display 20
- X action mapfile[8] = mapfile8;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" maptype[8] = "";
- X "Index" maptype[8] = "INDEXTYPE";
- X "Full Binary format" maptype[8] = "BINFULL";
- X "Object only Binary format" maptype[8] = "BINOBJ";
- X "Star only Binary format" maptype[8] = "BINSTAR";
- X "SAO format" maptype[8] = "SAOFORMAT";
- X end_choice
- X text mapfile9
- X label "File:"
- X display 20
- X action mapfile[9] = mapfile9;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" maptype[9] = "";
- X "Index" maptype[9] = "INDEXTYPE";
- X "Full Binary format" maptype[9] = "BINFULL";
- X "Object only Binary format" maptype[9] = "BINOBJ";
- X "Star only Binary format" maptype[9] = "BINSTAR";
- X "SAO format" maptype[9] = "SAOFORMAT";
- X end_choice
- X text mapfile10
- X label "File:"
- X display 20
- X action mapfile[10] = mapfile10;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" maptype[10] = "";
- X "Index" maptype[10] = "INDEXTYPE";
- X "Full Binary format" maptype[10] = "BINFULL";
- X "Object only Binary format" maptype[10] = "BINOBJ";
- X "Star only Binary format" maptype[10] = "BINSTAR";
- X "SAO format" maptype[10] = "SAOFORMAT";
- X end_choice
- X text mapfile11
- X label "File:"
- X display 20
- X action mapfile[11] = mapfile11;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" maptype[11] = "";
- X "Index" maptype[11] = "INDEXTYPE";
- X "Full Binary format" maptype[11] = "BINFULL";
- X "Object only Binary format" maptype[11] = "BINOBJ";
- X "Star only Binary format" maptype[11] = "BINSTAR";
- X "SAO format" maptype[11] = "SAOFORMAT";
- X end_choice
- X text mapfile12
- X label "File:"
- X display 20
- X action mapfile[12] = mapfile12;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" maptype[12] = "";
- X "Index" maptype[12] = "INDEXTYPE";
- X "Full Binary format" maptype[12] = "BINFULL";
- X "Object only Binary format" maptype[12] = "BINOBJ";
- X "Star only Binary format" maptype[12] = "BINSTAR";
- X "SAO format" maptype[12] = "SAOFORMAT";
- X end_choice
- X text mapfile13
- X label "File:"
- X display 20
- X action mapfile[13] = mapfile13;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" maptype[13] = "";
- X "Index" maptype[13] = "INDEXTYPE";
- X "Full Binary format" maptype[13] = "BINFULL";
- X "Object only Binary format" maptype[13] = "BINOBJ";
- X "Star only Binary format" maptype[13] = "BINSTAR";
- X "SAO format" maptype[13] = "SAOFORMAT";
- X end_choice
- X text mapfile14
- X label "File:"
- X display 20
- X action mapfile[14] = mapfile14;
- X end_text
- X choice
- X display cycle
- X label "Type"
- X "Default" maptype[14] = "";
- X "Index" maptype[14] = "INDEXTYPE";
- X "Full Binary format" maptype[14] = "BINFULL";
- X "Object only Binary format" maptype[14] = "BINOBJ";
- X "Star only Binary format" maptype[14] = "BINSTAR";
- X "SAO format" maptype[14] = "SAOFORMAT";
- X end_choice
- X button
- X normal "done" remove files_dialog;
- X end_button
- X end_gadgets
- Xend_dialog
- X
- Xdialog var_dialog
- X gadgets
- X text vrange_high
- X label "Higher (brighter) Magnitude lable limit:"
- X display 20
- X action {
- X vrange_set = TRUE;
- X if (vrange_low == "") vrange_low = vrange_high;
- X vmag_mag = (vrange_low + vrange_high) / 2;
- X vmag_range = vrange_high - vmag_mag;
- X }
- X end_text
- X text vrange_low
- X label "Lower (fainter) Magnitude lable limit:"
- X display 20
- X action {
- X vrange_set = TRUE;
- X if (vrange_high == "") vrange_high = vrange_low;
- X vmag_mag = (vrange_low + vrange_high) / 2;
- X vmag_range = vrange_low - vmag_mag;
- X }
- X end_text
- X text vmag_mag
- X label "Center magnitude:"
- X display 20
- X action {
- X vrange_set = TRUE;
- X if (vmag_range == "") vmag_range = 0;
- X vrange_low = vmag_mag + vmag_range;
- X vrange_high = vmag_mag - vmag_range;
- X }
- X end_text
- X text vmag_range
- X label "Magnitude range:"
- X display 20
- X action {
- X vrange_set = TRUE;
- X if (vmag_mag == "") vmag_mag = 0;
- X vrange_low = vmag_mag + vmag_range;
- X vrange_high = vmag_mag - vmag_range;
- X }
- X end_text
- X button
- X normal "done" remove var_dialog;
- X end_button
- X end_gadgets
- Xend_dialog
- X
- Xdialog grid_dialog
- X gadgets
- X left
- X align left
- X text grid_ra
- X label "R.A. grid step:"
- X display 20
- X action {
- X grid_ra_set = TRUE;
- X }
- X end_text
- X text grid_dec
- X label "Dec. grid step:"
- X display 20
- X action {
- X grid_dec_set = TRUE;
- X }
- X end_text
- X text grid_ra_start
- X label "R.A. grid start:"
- X display 20
- X action {
- X grid_ra_start_set = TRUE;
- X }
- X end_text
- X text grid_dec_start
- X label "Dec. grid start:"
- X display 20
- X action {
- X grid_dec_start_set = TRUE;
- X }
- X end_text
- X choice
- X display cycle
- X label "RA"
- X "invisible" nogrid_ra = TRUE;
- X "visible" nogrid_ra = FALSE;
- X end_choice
- X choice
- X display cycle
- X label "Dec"
- X "invisible" nogrid_dec = TRUE;
- X "visible" nogrid_dec = FALSE;
- X end_choice
- X button
- X normal "done" remove grid_dialog;
- X end_button
- X end_gadgets
- Xend_dialog
- X
- Xdialog out_file_dialog
- X gadgets
- X text out_fname
- X label "write .starrc file: "
- X display 20
- X end_text
- X text write_mapwin_file
- X label "write mapwin file: "
- X display 20
- X end_text
- X text read_mapwin_file
- X label "read mapwin file: "
- X display 20
- X end_text
- X button
- X normal "done" remove out_file_dialog;
- X end_button
- X end_gadgets
- Xend_dialog
- X
- END_OF_FILE
- if test 36032 -ne `wc -c <'starchart/startool.tt'`; then
- echo shar: \"'starchart/startool.tt'\" unpacked with wrong size!
- fi
- # end of 'starchart/startool.tt'
- fi
- echo shar: End of archive 27 \(of 32\).
- cp /dev/null ark27isdone
- MISSING=""
- 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
- if test ! -f ark${I}isdone ; then
- MISSING="${MISSING} ${I}"
- fi
- done
- if test "${MISSING}" = "" ; then
- echo You have unpacked all 32 archives.
- rm -f ark[1-9]isdone ark[1-9][0-9]isdone
- else
- echo You still need to unpack the following archives:
- echo " " ${MISSING}
- fi
- ## End of shell archive.
- exit 0
-
-
-