Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 223973 - xdvi is broken
Summary: xdvi is broken
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: tetex
Version: 4.4
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Jindrich Novy
QA Contact: Kevin Baker
Depends On:
TreeView+ depends on / blocked
Reported: 2007-01-23 13:23 UTC by Boris Folgmann
Modified: 2014-12-01 23:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-02-18 12:54:53 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Boris Folgmann 2007-01-23 13:23:09 UTC
Description of problem:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 Boris Folgmann 2007-01-23 13:23:41 UTC
Description of problem:
xdvi calls xdvi.bin with wrong parameters

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
$ xdvi example.dvi
Actual results:
Usage: xdvi [+[<page>]] [-regression] [-s <shrink>] [-S <density>] [-nogrey]
        [-gamma <g>] [-install] [-noinstall] [-rulecolor <color>] [-p <pixels>]
        [-margins <dimen>] [-sidemargin <dimen>] [-topmargin <dimen>]
        [-offsets <dimen>] [-xoffset <dimen>] [-yoffset <dimen>]
        [-paper <papertype>] [-altfont <font>] [-nomakepk] [-mfmode <mode-def>]
        [-editor <editor>] [-not1lib]

Expected results:
Correctly run xdvi.bin -name xdvi example.dvi

Additional info:
I prepended an echo before the last line in /usr/bin/xdvi which reads:
xdvi.bin $NAMEOPT ${1+"$@"}
So I could see what xdvi calls. It gave me the "correct" output
xdvi.bin -name xdvi example.dvi
When pasted in the shell again, this xdvi.bin call works, but not when running
xdvi. May be it's an expansion problem of the ${} construction. There must be
something wrong, because xdvi.bin is only outputting its usage when called by xdvi.

Comment 2 Boris Folgmann 2007-01-23 13:24:57 UTC
Above description was pasted from bug #151261.
The affected version on RHEL is tetex-2.0.2-22.EL4.7.

Comment 3 Boris Folgmann 2007-03-19 14:12:23 UTC
Any progress on this?

Comment 5 Ondrej Vasik 2011-02-18 12:54:53 UTC
Thanks for report, but we will not be able to address the issue in RHEL-4.
RHEL-4.9 was the last RHEL-4 regular update. As RHEL-4 now targets only
critical and security fixes, closing this bugzilla WONTFIX. 

If you still experience the issue with RHEL-5, feel free to report it there,
however, if you want to increase the chances to have this fixed, please use
product support for that. Bugzilla is just bug tracking tool, not support
tool and components for RHEL updates are based primarily on support request.

Note You need to log in before you can comment on or make changes to this bug.