Bug 187902

Summary: no parameter negotiation for xfig
Product: [Fedora] Fedora Reporter: Christian Siegl <christian.siegl>
Component: xfigAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-05 20:59:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to /usr/bin/xfig to pass through command args none

Description Christian Siegl 2006-04-04 11:57:59 UTC
Description of problem:
It is not possible to negotiate parameters to xfig (or even xfig.bin) in the
command shell. Even "xfig -help" will not show the help. On each command xfig is
just opened. Beside this it is not possible to open a *.fig file in the command
shell. An empty figure is opened in each case.


Version-Release number of selected component (if applicable):
fc5
Xfig 3.2 patchlevel 4 (Protocol 3.2)


How reproducible:
always

Steps to Reproduce:
try to execute one of the following in your command shell
1. xfig -help
2. xfig -pap a4
3. xfig somefigfile.fig
  
Actual results:
an empty figure is always opened


Expected results:
i'd like to change the metric properties, the paper size or just open a file in
the command shell


Additional info:
none

Comment 1 John Ellson 2006-04-04 15:29:31 UTC
Created attachment 127300 [details]
patch to /usr/bin/xfig to pass through command args

Comment 2 Christian Siegl 2006-04-04 15:57:27 UTC
(In reply to comment #1)
> Created an attachment (id=127300) [edit]
> patch to /usr/bin/xfig to pass through command args
> 

Well, this fixes the problem that you could not use the '-help' option or open a
*.fig file in the command shell. But it is still not possible to negotiate
parameters like '-paper_size a4', '-metric', '-portrait' etc. That means, you
can negotiate these parameters but I don't see the result....

Comment 3 Than Ngo 2006-04-04 17:31:40 UTC
it's now fixed in rawhide. Thanks for your report.

Comment 4 Christian Siegl 2006-04-06 06:16:45 UTC
(In reply to comment #3)
> it's now fixed in rawhide. Thanks for your report.

I just installed x-fig 3.2.4-18 on  my system. It is still not possible to pass
through command arguments. For instance the '-help' option works fine but all
the other stuff mentioned above doesn't have any effect....

Comment 5 Than Ngo 2006-05-05 20:59:11 UTC
it's finally fixed in rawhide with 3.2.4-20. Thanks for your report.