diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-10-26 21:03:56 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-10-26 21:03:56 (GMT) |
commit | 8bfe4ace914f778f289e763761981affe90a624e (patch) | |
tree | 594465a86b0b07964ab14c8de27568dc6d3475de /ds9 | |
parent | 4379231d249e58a322e4f4dcc58de68505f3d1bd (diff) | |
download | blt-8bfe4ace914f778f289e763761981affe90a624e.zip blt-8bfe4ace914f778f289e763761981affe90a624e.tar.gz blt-8bfe4ace914f778f289e763761981affe90a624e.tar.bz2 |
default XPA_METHOD is now localhost
Diffstat (limited to 'ds9')
-rw-r--r-- | ds9/doc/release/r7.6.html | 1 | ||||
-rw-r--r-- | ds9/library/xpa.tcl | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ds9/doc/release/r7.6.html b/ds9/doc/release/r7.6.html index a78195d..745ac72 100644 --- a/ds9/doc/release/r7.6.html +++ b/ds9/doc/release/r7.6.html @@ -152,6 +152,7 @@ <li><tt><b>10.18.2017 RELEASE version 7.6b7</b></tt></li> <li><tt>10.26.2017 XPA: updated to version 2.1.18+.</tt></li> <li><tt>10.26.2017 CUBE: be sure to raise Cube Dialog when cube data is loaded via command line.</tt></li> + <li><tt>10.26.2017 XPA: default XPA_METHOD is now localhost.</tt></li> <li><tt><b>xx.xx.2017 RELEASE version 7.6b8</b></tt></li> </ol> </ol> diff --git a/ds9/library/xpa.tcl b/ds9/library/xpa.tcl index 28c4de8..2f90cab 100644 --- a/ds9/library/xpa.tcl +++ b/ds9/library/xpa.tcl @@ -9,6 +9,10 @@ proc InitXPA {} { global pds9 global env + if {![info exists env(XPA_METHOD)]} { + set env(XPA_METHOD) localhost + } + switch -- $ds9(wm) { x11 - win32 {} @@ -2169,6 +2173,7 @@ proc XPAIsLocal {} { if {[info exists env(XPA_METHOD)]} { switch $env(XPA_METHOD) { + localhost - unix - local {return 1} } |