[csw-users] xfig honouring command line options?
Mike Patterson
mpatters at cs.uwaterloo.ca
Fri May 26 23:11:18 CEST 2006
Oscar del Rio wrote on 26/05/2006 8:29 AM:
> If I remember correctly, the script might be missing passing args to
> xfigbin. The following is my /opt/csw/bin/xfig
>
> #!/bin/sh
> XFILESEARCHPATH=/opt/csw/lib/locale/%L/%T/%N%S%C:/usr/openwin/lib/locale/%L/%T/%N%S%C:/opt/csw/lib/X11/%T/%N%S%C:/usr/openwin/lib/X11/%T/%N%S%C
>
> export XFILESEARCHPATH
> exec /opt/csw/bin/xfigbin "$@"
That's precisely the one I have.
duh, it just occurred to me to try it with a -x - I'll give that a go:
@plg2[110]% ./xfig -h
XFILESEARCHPATH=/opt/csw/lib/locale/%L/%T/%N%S%C:/usr/openwin/lib/locale/%L/%T/%N%S%C:/opt/csw/lib/X11/%T/%N%S%C:/usr/openwin/lib/X11/%T/%N%S%C
+ export XFILESEARCHPATH
+ exec /opt/csw/bin/xfigbin -xrm *customization: -color -h
So yes, it does look like it's trying to pass -h, but I don't get help,
I get xfig. xfigbin works as expected:
@plg2[104]% xfigbin -h
Xfig 3.2 patchlevel 4 (Protocol 3.2)
Usage:
xfig [-h[elp]] [-v[ersion]]
but eg "xfig -nosplash" or "xfigbin -nosplash" still show the splash
screen. Similarly, it appears as if other options like those for
gridlines are being silently tossed.
Mike
--
People on the net are always telling other people to "get a life."
It would be so much simpler if there were one available under the GPL.
"If you use this life, you must tell other people where to get a life
of their own." - Christopher Davis, monk
More information about the users
mailing list