This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: X11 error when using gv.
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: cygwin-xfree at cygwin dot com
- Date: Mon, 2 Feb 2004 14:47:47 -0500 (EST)
- Subject: Re: X11 error when using gv.
- References: <20040202190126.30388.qmail@web40811.mail.yahoo.com>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: cygwin-xfree at cygwin dot com
James,
BAD idea. It's *much* better to edit your /etc/profile and change it to
*prepend* /usr/X11R6/bin to your path, rather than appending it (which is
the default). That way, you can still access /usr/bin/gs.exe if you need
it.
Igor
On Mon, 2 Feb 2004, James Merritt wrote:
> Hi Dr. Volker,
>
> Thank you for the helpful response. I did check in /usr/bin and sure
> enough, there was a gs.exe there so I removed it. There was also a
> gs.exe in /usr/X11R6/bin and left that one alone. Now ghostview
> displays the pdf or postscript file with no problems
>
> Thank you for the help, I really appreciate it.
>
> James E. Merritt
>
> --- "Dr. Volker Zell" <Dr.Volker.Zell@oracle.com> wrote:
> > >>>>> "James" == James Merritt <jamesem_99@yahoo.com> writes:
> >
> > James> That being said, I am having a little problem with
> > James> using ghostview under Cygwin/X11. Ghostview seems to
> > James> work porperly, it comes up just great. But when I try
> > James> to view any kind of file (pdf, ps, etc. ) or when I
> > James> run lyx and try to view pdf after creating a document
> > James> from there, a dialog box pops up with the message:
> >
> > James> Unknown device: x11
> >
> > Search the archives. This has been discussed to death. You have the
> > non-X11 version of gs in /usr/bin which maybe shadows your gs version
> > in /usr/X11R6/bin. If not reinstall the X11 version of gs.
> >
> > James> James E. Merritt
> >
> > Ciao
> > Volker
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton