telescope-term 0.4 → 0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/telescope +15 -20
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ea6b3e73010cffa6a0324e98ab9ef000ddf7c28f175f35d4596d0918d4c5bb5
4
- data.tar.gz: 0e8673add4c94a37ea777955c332cc78d2a5abf12f417910b827fbebd55f59b3
3
+ metadata.gz: 4b0de1183d0d4197c99af85b31b0219c172ae66f0deb6b26a84e68f25e3a69af
4
+ data.tar.gz: c58af4a71983444111c6583fc6b7de99afe6518adb45b94ff8dd46f7dfc3e3be
5
5
  SHA512:
6
- metadata.gz: 07ba9d284c86a7780af29ce2af1b12e6c8fa3e43ffc48b4e3743a72d235da4aefd83e1d2260f6a2a0e41aeb0d337a5224149026809571eb3d655a403e2b80530
7
- data.tar.gz: d82e0a4e639b6052b6d2b7aea24146d93964f6f4e889f3c19c3cfa131e1c8a60c4a1f350362007f637bb7e4ad210cfe2cfccc4994c71d8837a8e8f9ec33519b6
6
+ metadata.gz: 2f50f189e964d58bed2ff5e6a21c53f89ffe0ac9b9f2828869df9cab94fb006b1fc5cf03f582c1faf91b8c492a37ea3985204e01ebe3c7e100e4662d953de85e
7
+ data.tar.gz: 2292e4a4e17027e01a5988945b6d8937a5c358340fee014167e60debb6b12662ac18d5bddc31edbc0af9db831aa117613f48ab2fb1d20920c6833796cb9dd606
data/bin/telescope CHANGED
@@ -1,27 +1,22 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: utf-8
3
3
  @help = <<HELPTEXT
4
- Welcome to Telescope - a terminal/console program for the amateur astronomer.
5
- The top panel lists your telescopes. To add a telescope, press 't' and in the "command line"
6
- at the bottom enter a name, the apperature (APP) and the focal length (FL) and press ENTER.
7
- The lower panel lists your eyepieces with properties for each telescope. To add an eyepiece, press 'e'.
8
- Enter a name, the focal length (FL) and apparent field of view (AFOV) and press ENTER.
9
- Select the telescope and eyepiece panel by pressing TAB, and use the UP, DOWN, HOME and END cursor keys.
10
- Press ENTER on a selected item to change the values in the command line. Delete an item by pressing 'D'.
11
- Move an item up or down in a panel by pressing the PgUP or PgDown keys.
12
- Tag items for use in an observation using the SPACE key (untag all with 'u'). Press 'o' to create an observation
13
- log file with the tagged equipment. The content of the file is then shown in the lower panel.
14
- Refresh all panels with the 'r' key. Escape the selected panels or the command line by pressing 'Ctrl-G'.
15
- Quit via 'q' (or 'Q' if you don't want to save your edits since last session).
16
- Save a backup session with 'b' and load a previously saved backup session with the 'B' key.
17
- Telescope and eyepiece data is saved in the file '.telescope' in your home directory.
4
+ WELCOME TO TELESCOPE - A TERMINAL/CONSOLE PROGRAM FOR THE AMATEUR ASTRONOMER.
5
+ The top panel lists your telescopes with eyepieces in the lower panel. Add a telescope by pressing 't' and fill in the name, the
6
+ apperature (APP) and the focal length (FL) in the "command line" at the bottom and press ENTER. Add an eyepiece with 'e' and enter
7
+ a name, the focal length (FL) and apparent field of view (AFOV) and press ENTER. Select items by pressing TAB, then UP/DOWN cursor keys.
8
+ Press ENTER on a selected item to change the values in the command line. Delete an item by pressing 'D'. Move an with PgUP/PgDown keys.
9
+ Tag items with the SPACE key (untag all with 'u'), then press 'o' to create an observation log file (content shown in the lower panel).
10
+ Refresh all panels with the 'r' key. Escape the selected panels or the command line by pressing 'Ctrl-G'. Quit via 'q' (or 'Q' if you
11
+ don't want to save your edits since last session). Save a backup session with 'b' and load a saved backup session with the 'B' key.
12
+ Telescope and eyepiece data is saved in the file '.telescope' in your home directory (backup file is '.telescope.bu').
18
13
 
19
14
  LIST OF TELESCOPE ABBREVIATIONS: LIST OF EYEPIECE ABBREVIATIONS:
20
- APP = Apperature (in millimeters) FL = Focal Length (in millimeters)
21
- FL = Focal Length (in millimeters) AFOV = Apparent Field Of View
22
- F/? = Focal ratio (FL/APP) xMAGN = Magnification (with that telescope)
23
- <MAG = Maximum magnitude visible FOV = True Field Of View (deg/min/sec)
24
- xEYE = Light gathering compared to the human eye XPUP = Exit pupil (in millimeters)
15
+ APP = Apperature (in millimeters) FL = Focal Length (in millimeters)
16
+ FL = Focal Length (in millimeters) AFOV = Apparent Field Of View
17
+ F/? = Focal ratio (FL/APP) xMAGN = Magnification (with that telescope)
18
+ <MAG = Maximum magnitude visible FOV = True Field Of View (deg/min/sec)
19
+ xEYE = Light gathering compared to the human eye XPUP = Exit pupil (in millimeters)
25
20
  MINx = Minimum usable magnification (may be lower for refractors)
26
21
  MAXx = Maximum usable magnification
27
22
  *FIELD = Recommended magnification for star fields
@@ -498,7 +493,7 @@ end
498
493
  # COMMAND FUNCTIONS (bottom window, w_cm)
499
494
  def w_cm_show
500
495
  @w_cm.fill
501
- @w_cm.p(" Telescope v0.2 - By Geir Isene (https://isene.com)")
496
+ @w_cm.p(" Telescope v0.2 - By Geir Isene (https://isene.com) - press '?' to display the help text")
502
497
  end
503
498
  def w_cm_getstr(pretext, text) # A SIMPLE READLINE-LIKE ROUTINE
504
499
  Curses.curs_set(1)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telescope-term
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.4'
4
+ version: '0.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
@@ -32,8 +32,8 @@ dependencies:
32
32
  version: 1.3.2
33
33
  description: 'With this program you can list your telescopes and eyepieces and get
34
34
  a set of calculations done for each scope and for the combination of scope and eyepiece.
35
- Easy interface. Run the program, then hit ''?'' to show the help file. New in v0.4:
36
- Added observation log capabilities.'
35
+ Easy interface. Run the program, then hit ''?'' to show the help file. New in v0.5:
36
+ Improved help text.'
37
37
  email: g@isene.com
38
38
  executables:
39
39
  - telescope