diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-01-03 19:17:06 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-01-03 19:17:06 (GMT) |
commit | 0ed039f999076cdebb76a3c53ceb7d1fabab43c1 (patch) | |
tree | 1ebc1d5cc2a306aaf53f7d7d871c713321d02c12 /ds9 | |
parent | 6f6a42a33ba51d197a67b506d8a31c9c6f9b57a8 (diff) | |
download | blt-0ed039f999076cdebb76a3c53ceb7d1fabab43c1.zip blt-0ed039f999076cdebb76a3c53ceb7d1fabab43c1.tar.gz blt-0ed039f999076cdebb76a3c53ceb7d1fabab43c1.tar.bz2 |
PRINT: add backward compatible options for resolution to command parser
Diffstat (limited to 'ds9')
-rw-r--r-- | ds9/doc/ref/command.html | 46 | ||||
-rw-r--r-- | ds9/doc/ref/samp.html | 51 | ||||
-rw-r--r-- | ds9/doc/ref/xpa.html | 56 | ||||
-rw-r--r-- | ds9/doc/release/r8.1.html | 1 | ||||
-rw-r--r-- | ds9/parsers/pslex.fcl | 3 | ||||
-rw-r--r-- | ds9/parsers/psparser.tac | 6 |
6 files changed, 145 insertions, 18 deletions
diff --git a/ds9/doc/ref/command.html b/ds9/doc/ref/command.html index bd400b6..2b6f8d9 100644 --- a/ds9/doc/ref/command.html +++ b/ds9/doc/ref/command.html @@ -9,9 +9,9 @@ 2.4.7-10 i686) [Netscape]"> <title>Command Line Options</title> </head> - <body alink="#FF0000" link="#0000FF" vlink="#551A8B"> - <h3><img alt="" src="../sun.gif" align="middle" height="98" - width="100"> Command Line Options</h3> + <body vlink="#551A8B" link="#0000FF" alink="#FF0000"> + <h3><img alt="" src="../sun.gif" width="100" height="98" + align="middle"> Command Line Options</h3> <blockquote> <p>DS9 will process each command line option, one at a time, as the last step in the initialization process. Therefore, it is @@ -451,6 +451,7 @@ + [<ref>] [filter <string>]</tt><tt><br> </tt><tt> [<ref>] [filter load <filename>]</tt><tt><br> @@ -466,6 +467,7 @@ + [<ref>] [match]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[<ref>] [match error <value> @@ -485,6 +487,7 @@ + [<ref>] [panto yes|no]</tt><tt><br> </tt><tt> </tt><tt> [<ref>] [plot <xcol> <ycol> <xerrcol> @@ -512,6 +515,7 @@ + [<ref>] [save <filename>]</tt><tt><br> </tt><tt> </tt><tt> [<ref>] [server</tt><tt> </tt><tt>cds|adac|cadc|cambridge|sao|ukirt|iucaa|bejing|saao]</tt><tt><br> @@ -539,6 +543,7 @@ + [symbol shape</tt><tt> </tt><tt>circle point|box point|diamond point|</tt><tt>cross point|x point|arrow point|boxcircle point]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> @@ -546,6 +551,7 @@ + [<ref>] [symbol add| [#] remove]</tt><tt><br> </tt><tt> [<ref>] [symbol save|load <filename>]</tt><tt><br> @@ -595,6 +601,7 @@ + '\$Hmag' '\$e_Jmag' '\$e_Hmag'</tt><tt><br> </tt><tt> </tt><tt> </tt><tt>$ds9 -catalog print</tt><tt><br> </tt><tt> </tt><tt>$ds9 -catalog psky fk5</tt><tt><br> @@ -690,6 +697,7 @@ + [match]<br> [lock [yes|no]]</tt><br> @@ -824,6 +832,7 @@ + <coordsys>]<br> [lock <coordsys>|none]</tt><br> @@ -987,6 +996,7 @@ + -envi foo.hdr foo.bsq</tt></tt><tt><tt><tt><tt><tt><tt><br> </tt></tt></tt></tt></tt></tt> <p><b><a name="exit" id="exit"></a>exit<br> @@ -1020,12 +1030,14 @@ + [1-100]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt>-export <filename></tt><tt>.tiff + [none|jpeg|packbits|deflate]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt><br> </tt><tt> Example:</tt><tt><br> @@ -1492,11 +1504,13 @@ + <coordsys>]</tt><tt> </tt><tt><br> </tt><tt> </tt><tt> </tt><tt> + [crop <coordsys>]</tt><tt><br> </tt><tt> </tt><tt> [slice <coordsys>]</tt><tt><br> @@ -1511,6 +1525,7 @@ + [3d]</tt><tt><br> </tt><tt> </tt><tt><br> </tt><tt> Example:</tt><tt><br> @@ -1631,6 +1646,7 @@ + [pan]<br> @@ -1638,6 +1654,7 @@ + [crosshair]<br> @@ -1645,6 +1662,7 @@ + [open|close]<br> <br> Example:<br> @@ -1756,6 +1774,7 @@ + [yes|open]<br> [no|close]<br> @@ -1788,6 +1807,7 @@ + load <filename> xy|xyex|xyey|xyexey]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> [[<plotname>] save <filename>]</tt><tt><br> @@ -1804,6 +1824,7 @@ + loadconfig <filename>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> [[<plotname>] saveconfig <filename>]</tt><tt><br> @@ -1827,11 +1848,13 @@ + close</tt><tt>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + mode pointer|zoom]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt><br> </tt><tt> </tt><tt> </tt><tt># configure graph</tt><tt><br> @@ -1854,6 +1877,7 @@ + legend yes|no]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> [[<plotname>] legend position right|left|top|bottom]</tt><tt><br> @@ -1878,6 +1902,7 @@ + barmode normal|stacked|aligned|overlap]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt><br> </tt><tt> </tt><tt> </tt><tt># configure current dataset</tt><tt><br> @@ -2062,10 +2087,11 @@ + [color rgb|cmyk|gray]</tt><tt><br> - </tt><tt> [level 1|2]</tt><tt><br> + </tt><tt> [level 1|2|3]</tt><tt><br> </tt><tt> [resolution - 53|72|75|150|300|600]</tt><tt><br> + </tt><tt><tt>72|screen|96|144|150|225|300|600|1200]</tt></tt><tt><br> </tt><tt> </tt><tt><br> </tt><tt> Example:</tt><tt><br> </tt><tt> $ds9 -print</tt><tt><br> @@ -2074,7 +2100,7 @@ </tt><tt> $ds9 -print filename foo.ps</tt><tt><br> </tt><tt> $ds9 -print color cmyk</tt><tt><br> </tt><tt> $ds9 -print level 2</tt><tt><br> - </tt><tt> $ds9 -print resolution 75</tt> + </tt><tt> $ds9 -print resolution 96</tt> <p><b><a name="raise" id="raise"></a>raise</b></p> <p>Raise in the window stacking order.</p> <tt>Syntax:<br> @@ -2345,6 +2371,7 @@ + [image|table|slice]</tt><br> <tt> <br> Example:<br> @@ -2464,6 +2491,7 @@ + [crosshair]</tt><tt><br> </tt><tt> </tt><tt> [<ref>] [export sb|tsv <filename>]</tt><tt><br> @@ -2488,6 +2516,7 @@ + [update]</tt><tt><br> </tt><tt> </tt><tt><br> </tt><tt> Example:</tt><tt><br> @@ -2599,6 +2628,7 @@ + [sigma <value>]<br> </tt></tt></tt></tt></tt></tt> <tt><tt><tt><tt><tt><tt> @@ -2606,6 +2636,7 @@ + [sigmaminor <value>]<br> </tt></tt></tt></tt></tt></tt> <tt><tt><tt><tt><tt><tt><tt><tt> [angle @@ -2614,6 +2645,7 @@ + <value>]<br> </tt></tt></tt></tt></tt></tt></tt> [match]<br> @@ -2635,12 +2667,14 @@ + sigmaminor 2.0<br> </tt></tt></tt></tt></tt></tt> <tt><tt><tt><tt><tt><tt><tt><tt>$ds9 + -smooth angle 45<br> </tt></tt></tt></tt></tt></tt></tt> $ds9 -smooth match<br> diff --git a/ds9/doc/ref/samp.html b/ds9/doc/ref/samp.html index df90178..db5c239 100644 --- a/ds9/doc/ref/samp.html +++ b/ds9/doc/ref/samp.html @@ -9,9 +9,9 @@ 2.4.7-10 i686) [Netscape]"> <title>SAMP</title> </head> - <body alink="#FF0000" link="#0000FF" vlink="#551A8B"> - <h3><img alt="" src="../sun.gif" align="middle" height="98" - width="100"> SAMP</h3> + <body vlink="#551A8B" link="#0000FF" alink="#FF0000"> + <h3><img alt="" src="../sun.gif" width="100" height="98" + align="middle"> SAMP</h3> <blockquote> <p>SAMP is a messaging protocol that enables astronomy software tools to interoperate and communicate. Broadly speaking, SAMP is @@ -466,6 +466,7 @@ + [2mass|iras]</tt><tt><br> </tt><tt> [csc|xmm|rosat]</tt><tt><br> @@ -508,6 +509,7 @@ + [<ref>] [filter <string>]</tt><tt><br> </tt><tt> [<ref>] [filter load <filename>]</tt><tt><br> @@ -523,6 +525,7 @@ + [<ref>] [match <ref> <ref>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[<ref>] [match error <value> @@ -542,6 +545,7 @@ + [<ref>] [panto yes|no]</tt><tt><br> </tt><tt> </tt><tt> [<ref>] [plot <xcol> <ycol> <xerrcol> @@ -569,6 +573,7 @@ + [<ref>] [save <filename>]</tt><tt><br> </tt><tt> </tt><tt> [<ref>] [server</tt><tt> </tt><tt>cds|adac|cadc|cambridge|sao|ukirt|iucaa|bejing|saao]</tt><tt><br> @@ -597,6 +602,7 @@ + [symbol shape</tt><tt> </tt><tt>circle point|box point|diamond point|</tt><tt>cross point|x point|arrow point|boxcircle point]</tt><tt><br> </tt><tt> </tt><tt> @@ -654,6 +660,7 @@ + {$Hmag} {$e_Jmag} {$e_Hmag}</tt><tt><br> </tt><tt> </tt><tt> </tt><tt>catalog print</tt><tt><br> </tt><tt> </tt><tt>catalog psky fk5</tt><tt><br> @@ -672,6 +679,7 @@ + point}</tt><tt><br> </tt><tt> </tt><tt>catalog symbol color red</tt><tt><br> </tt><tt> catalog symbol font times</tt><tt><br> @@ -816,6 +824,7 @@ + [save levels <filename>]<br> </tt></tt> [copy]<br> [paste @@ -900,6 +909,7 @@ + zmax <coordsys>]</tt><tt><br> </tt><tt> [open|close]</tt><tt><br> </tt><tt> </tt><tt><br> @@ -1637,6 +1647,7 @@ + Macros</a> for more information.</p> <tt>Syntax:<br> iexam []<br> @@ -2145,6 +2156,7 @@ + load <filename> xy|xyex|xyey|xyexey]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> [[<plotname>] save <filename>]</tt><tt><br> @@ -2155,24 +2167,28 @@ + duplicate [#]]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + stats yes|no]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + list yes|no]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + loadconfig <filename>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> [[<plotname>] saveconfig <filename>]</tt><tt><br> @@ -2196,12 +2212,14 @@ + close</tt><tt>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + mode pointer|zoom]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt><br> </tt><tt> </tt><tt> </tt><tt># configure graph</tt><tt><br> @@ -2224,6 +2242,7 @@ + legend yes|no]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> [[<plotname>] legend position right|left|top|bottom]</tt><tt><br> @@ -2248,6 +2267,7 @@ + barmode normal|stacked|aligned|overlap]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt><br> </tt><tt> </tt><tt> </tt><tt># configure current dataset</tt><tt><br> @@ -2257,54 +2277,63 @@ + shape circle|square|diamond|plus|splus|scross|triangle|arrow]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + shape fill yes|no]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + shape color <value>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + smooth step|linear|cubic|quadratic|catrom]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + color <value>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + width <value>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + dash yes|no]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + error yes|no]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + error color <value>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> [[<plotname>] color <value>]</tt><tt><br> @@ -2313,12 +2342,14 @@ + error width <value>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + name <string>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt><br> </tt><tt> </tt><tt> </tt><tt># select current dataset</tt><tt><br> @@ -2533,8 +2564,8 @@ [command <command>]<br> [filename <filename>]<br> [color rgb|cmyk|gray]<br> - [level 1|2]<br> - [resolution 53|72|75|150|300|600]<br> + [level 1|2|3]<br> + [resolution </tt><tt><tt>72|screen|96|144|150|225|300|600|1200</tt>]<br> <br> Example:<br> string value = ds9.get(string cmd)<br> @@ -2551,7 +2582,7 @@ print filename foo.ps<br> print color cmyk<br> print level 2<br> - print resolution 75</tt> + print resolution 96</tt> <p><b><a name="raise" id="raise"></a>raise</b></p> <p>Raise in the window stacking order.</p> <tt>Syntax:<br> @@ -3022,6 +3053,7 @@ + [<ref>] [save <filename>]</tt><tt><br> </tt><tt> </tt><tt> [<ref>] [radius <value> degrees|arcmin|arcsec]</tt><tt><br> @@ -3144,6 +3176,7 @@ + [sigma <value>]<br> </tt></tt></tt></tt></tt></tt> <tt><tt><tt><tt><tt><tt> @@ -3151,6 +3184,7 @@ + [sigmaminor <value>]<br> </tt></tt></tt></tt></tt></tt> <tt><tt><tt><tt><tt><tt><tt><tt> [angle @@ -3159,12 +3193,14 @@ + <value>]<br> </tt></tt></tt></tt></tt></tt></tt></tt> <tt> + [match]<br> [lock [yes|no]]</tt><br> <tt><tt> [open|close]<br> @@ -3190,18 +3226,21 @@ + sigma 2.0<br> </tt></tt></tt></tt></tt></tt></tt></tt></tt> <tt><tt><tt><tt><tt><tt><tt><tt><tt>smooth + sigmaminor 2.0<br> </tt></tt></tt></tt></tt></tt></tt></tt></tt> <tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>smooth + angle 45<br> </tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt> smooth open<br> diff --git a/ds9/doc/ref/xpa.html b/ds9/doc/ref/xpa.html index 9fd8f80..c509dd9 100644 --- a/ds9/doc/ref/xpa.html +++ b/ds9/doc/ref/xpa.html @@ -9,9 +9,9 @@ 2.4.7-10 i686) [Netscape]"> <title>XPA Access Points</title> </head> - <body alink="#FF0000" link="#0000FF" vlink="#551A8B"> - <h3><img alt="" src="../sun.gif" align="middle" height="98" - width="100"> XPA Access Points</h3> + <body vlink="#551A8B" link="#0000FF" alink="#FF0000"> + <h3><img alt="" src="../sun.gif" width="100" height="98" + align="middle"> XPA Access Points</h3> <blockquote> <p>The <a href="http://hea-www.harvard.edu/RD/xpa/index.html">XPA</a> messaging system provides seamless communication between DS9 and @@ -211,6 +211,7 @@ + -p ds9 3d match</tt></tt></tt></tt></tt></tt></tt></tt><br> <tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>$xpaset -p ds9 3d lock yes</tt><br> @@ -453,6 +454,7 @@ + [crosshair]</tt><br> <tt> [<ref>] [dec <col>]</tt><br> @@ -476,6 +478,7 @@ + [<ref>] [match <ref> <ref>]<br> </tt></tt> </tt> <tt>[<ref>] [match @@ -484,24 +487,28 @@ + error <value> degrees|arcmin|arcsec]</tt><br> <tt> </tt> <tt>[<ref>] + [match function 1and2|1not2|2not1]<br> </tt> <tt> </tt> <tt>[<ref>] + [match return 1and2|1only|2only]</tt><br> <tt> </tt> <tt>[<ref>] + [match unique yes|no]</tt><br> <tt> [<ref>] [maxrows <number>]</tt><br> @@ -554,11 +561,13 @@ + shape</tt></tt> <tt><tt>circle point|box point|diamond point|</tt>cross + point|x point|arrow point|boxcircle point]<br> [<ref>] [symbol add| [#] remove]<br> @@ -571,6 +580,7 @@ + [update]</tt><br> <tt> [<ref>] [x <col>]</tt><br> @@ -1101,6 +1111,7 @@ + -p ds9 export envi foo.hdr foo.bsq little</tt></tt><br> </tt></tt></tt></tt> $xpaset -p ds9 export tiff foo.tiff jpeg</tt></tt></tt><br> @@ -1990,6 +2001,7 @@ + [line|bar|scatter] <title> <xaxis label> <yaxis label></tt><tt> </tt><tt>xy|xyex|xyey|xyexey</tt><tt>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[new</tt><tt> @@ -2008,11 +2020,13 @@ + name <plotname> stdin</tt><tt>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[new + name <plotname></tt><tt> </tt><tt>line|bar|scatter</tt><tt> </tt><tt>stdin</tt><tt>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt><br> @@ -2026,6 +2040,7 @@ + load <filename> xy|xyex|xyey|xyexey]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> [[<plotname>] save <filename>]</tt><tt><br> @@ -2036,24 +2051,28 @@ + duplicate [#]]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + stats yes|no]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + list yes|no]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + loadconfig <filename>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> [[<plotname>] saveconfig <filename>]</tt><tt><br> @@ -2077,12 +2096,14 @@ + close</tt><tt>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + mode pointer|zoom]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt><br> </tt><tt> </tt><tt> </tt><tt># configure graph</tt><tt><br> @@ -2105,6 +2126,7 @@ + legend yes|no]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> [[<plotname>] legend position right|left|top|bottom]</tt><tt><br> @@ -2129,6 +2151,7 @@ + barmode normal|stacked|aligned|overlap]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt><br> </tt><tt> </tt><tt> </tt><tt># configure current dataset</tt><tt><br> @@ -2138,54 +2161,63 @@ + shape circle|square|diamond|plus|splus|scross|triangle|arrow]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + shape fill yes|no]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + shape color <value>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + smooth step|linear|cubic|quadratic|catrom]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + color <value>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + width <value>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + dash yes|no]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + error yes|no]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + error color <value>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> [[<plotname>] color <value>]</tt><tt><br> @@ -2194,12 +2226,14 @@ + error width <value>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt> </tt><tt> </tt><tt>[[<plotname>] + name <string>]</tt><tt><br> </tt><tt> </tt><tt> </tt><tt><br> </tt><tt> </tt><tt> </tt><tt># select current dataset</tt><tt><br> @@ -2421,8 +2455,8 @@ [command <command>]<br> [filename <filename>]<br> [color rgb|cmyk|gray]<br> - [level 1|2]<br> - [resolution 53|72|75|150|300|600]<br> + [level 1|2|3]<br> + [resolution 72|screen|96|144|150|225|300|600|1200]<br> <br> Example:<br> $xpaget ds9 print destination<br> @@ -2437,7 +2471,7 @@ $xpaset -p ds9 print filename foo.ps<br> $xpaset -p ds9 print color cmyk<br> $xpaset -p ds9 print level 2<br> - $xpaset -p ds9 print resolution 75</tt> + $xpaset -p ds9 print resolution 96</tt> <p><b><a name="raise" id="raise"></a>raise</b></p> <p>Raise in the window stacking order.</p> <tt>Syntax:<br> @@ -2885,6 +2919,7 @@ + [crosshair]</tt><tt><br> </tt><tt> </tt><tt> [<ref>] [export sb|tsv <filename>]</tt><tt><br> @@ -2907,6 +2942,7 @@ + [update]</tt><br> <tt><br> Example:<br> @@ -3013,6 +3049,7 @@ + [sigma <value>]<br> </tt></tt></tt></tt></tt></tt> <tt><tt><tt><tt><tt><tt> @@ -3020,6 +3057,7 @@ + [sigmaminor <value>]<br> </tt></tt></tt></tt></tt></tt> <tt><tt><tt><tt><tt><tt><tt><tt> [angle @@ -3028,12 +3066,14 @@ + <value>]<br> </tt></tt></tt></tt></tt></tt></tt></tt> <tt> + [match]<br> [lock [yes|no]]</tt><br> <tt><tt> [open|close]<br> @@ -3049,6 +3089,7 @@ + ds9 smooth sigmaminor<br> </tt></tt></tt></tt></tt></tt></tt></tt> $xpaget ds9 smooth lock<br> @@ -3063,18 +3104,21 @@ + -p ds9 smooth sigma 2.0<br> </tt></tt></tt></tt></tt></tt></tt></tt></tt> <tt><tt><tt><tt><tt><tt><tt><tt><tt>$xpaset + -p ds9 smooth sigmaminor 2.0<br> </tt></tt></tt></tt></tt></tt></tt></tt></tt> <tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>$xpaset + -p ds9 smooth angle 45<br> </tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt> $xpaset -p ds9 smooth match<br> diff --git a/ds9/doc/release/r8.1.html b/ds9/doc/release/r8.1.html index 323e5c5..d6e0e41 100644 --- a/ds9/doc/release/r8.1.html +++ b/ds9/doc/release/r8.1.html @@ -32,6 +32,7 @@ <li><tt>12.29.2018 TKWIN: update TEA to 3.13.</tt></li> <li><tt>01.03.2019 DS9: fixed a problem with MacOS Aqua and Windows unable to locate ds9 parser scripts at startup.</tt></li> <li><tt>01.03.2019 SCALE: fixed scale command.</tt></li> +<li><tt>01.03.2019 PRINT: add backward compatible options for resolution to command parser.</tt></li> <li><tt><b>xx.xx.2018 RELEASE version 8.1b1</b></tt></li> </ol> </div> diff --git a/ds9/parsers/pslex.fcl b/ds9/parsers/pslex.fcl index ea34343..208d7b8 100644 --- a/ds9/parsers/pslex.fcl +++ b/ds9/parsers/pslex.fcl @@ -31,6 +31,9 @@ screen {return $SCREEN_} 600 {return $600_} 1200 {return $1200_} +53 {return $53_} +75 {return $75_} + #include string.fin #include ws.fin diff --git a/ds9/parsers/psparser.tac b/ds9/parsers/psparser.tac index aca229c..6bd877c 100644 --- a/ds9/parsers/psparser.tac +++ b/ds9/parsers/psparser.tac @@ -30,6 +30,9 @@ %token 600_ %token 1200_ +%token 53_ +%token 75_ + %% command : ps @@ -70,6 +73,9 @@ resolution : 72_ {set _ 72} | 300_ {set _ 300} | 600_ {set _ 600} | 1200_ {set _ 1200} +#backward compatibility + | 53_ {set _ 53} + | 75_ {set _ 75} ; %% |