Hi folks -
Thanks to Tom Blinn <tpb_at_zk3.dec.com> who always seems to have an answer
for us here at this list!
First off, I should have mentioned that xmgr is a freeware 2-D graphing
program running on a variety of platforms, which you can find at
http://plasma-gate.weizmann.ac.il/Xmgr.
The problem doesn't show up on DEC UNIX 4.0A or 4.0B so I don't think any
fixes will be made available - here's Tom's response:
> Since the CDE that shipped for V3.2G is NOT fully supported (it was
> shipped only as an advanced developer kit to facilitate application
> development), I would not be at all surprised if it's buggy.
>
> Does EXACTLY the same problem happen under V4.0A or V4.0B? If so, you
> may be able to get a fix -- if it's really a bug. And what is "xmgr"
> anyway? Not a part of DIGITAL UNIX V3.2G as far as I can tell, you may
> simply be seeing what is a bug in public domain software that never had
> to run under CDE ADK since it was probably released before there was a
> CDE ADK for V3.2G.
>
> Tom
Here's the workaround though, in case anyone else has this problem:
The problem doesn't surface if you remote login and set your DISPLAY
variable, so I renamed the xmgr executable to xmgr-4.1.1 and put the
following script together:
#!/bin/csh -f
#
set dir = `pwd`
set disp = $DISPLAY
set gr_home = $GR_HOME
set host = `hostname`
set xmgr = /usr/local/bin/xmgr-4.11
#
rsh $host "cd $dir; setenv GR_HOME $gr_home; $xmgr -display $disp $argv"
exit
No prizes for elegance, but it works, so my user is happy, so I'm happy!
The original question follows. Happy New Year everyone!
- Brian
> Hi there -
>
> A pretty specific question - is anyone running xmgr 3.01 or xmgr 4.1.1
> on a DEC UNIX 3.2G system running CDE? I have a user who complains that
> every time she starts xmgr in a directory other than her home directory,
> it always looks in /home/<username> in the File Selection Dialog. For a
> while I tried duplicating this by setting my DISPLAY to a remote system
> - in that case it works OK. It only seems to happen on DEC though -
> running xmgr on an SGI doesn't seem to have a problem.
>
> If anyone can shed any light on this I'd apreciate it!
>
> - Brian
Brian Sheehan
The Scripps Research Institute
(619) 784-9379
sheehan_at_scripps.edu
Received on Fri Jan 02 1998 - 20:34:18 NZDT