Re: gv: Unable to open the display.

2005-07-25 Thread Mark Hadfield

lin q wrote:
> ...
My only purpose is to view a postscript file content and as I know I 
should run gv, so i installed gv package and then in cygwin shell I type 
"/usr/X11R6/bin/gv.exe".


If your only purpose is to view a Postscript file, have you considered 
using the native windows version of Ghostscript and the viewer Gsview:


  http://www.cs.wisc.edu/~ghost/

I mean, Cygwin is a marvellous package for emulating Unix on Windows 
*where necessary* but in this case I don't think it's necessary.


Disclaimer: I am not trying to start an "X sucks/X rules" flame war here.

--
Mark Hadfield  "Kei puwaha te tai nei, Hoea tahi tatou"
[EMAIL PROTECTED]
National Institute for Water and Atmospheric Research (NIWA)


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: gv: Unable to open the display.

2005-07-25 Thread Larry Hall
At 05:41 PM 7/25/2005, you wrote:

>>From: Ken Dibble <[EMAIL PROTECTED]>
>>To: cygwin <[EMAIL PROTECTED]>,  [EMAIL PROTECTED]

^^^
<http://cygwin.com/acronyms/#PCYMTNQREAIYR>



>>Subject: Re: gv: Unable to open the display.
>>Date: Mon, 25 Jul 2005 15:03:43 -0500
>>
>>
>>
>>
>>
>>lin q wrote:
>>
>>>Hi,
>>> I just installed gv using the cygwin installer, I select "Download from the 
>>> internet" option and the install process runs for quite a while.
>>>
>>> After that I run "/usr/X11R6/bin/gv.exe" and I saw this error,
>>>
>>>gv: Unable to open the display.
>>>
>>> What does that mean?
>>>
>>> Should I install something else for gv to run? Shoudn't cygwin installer 
>>> already consider that?
>>>
>>>Thanks.
>>
>>Moved to Cygwin-Xfree .
>>
>>Is X running or are you trying to run gv from a cmd-type shell?
>>
>>You'll probably get more help if you follow the problem reporting guidelines 
>>at
>>http://cygwin.com/problems.html
>>
>>Tthe XWin log file would be helpful as well.
>>
>>Regards,
>>Ken
>It seems I should know a lot more to make gv running...
>
>My only purpose is to view a postscript file content and as I know I should 
>run gv, so i installed gv package and then in cygwin shell I type 
>"/usr/X11R6/bin/gv.exe".


'gv' is an X program.  It requires the X-server to run before it will 
display.  You need to start the server first.  Type 'startxwin' and that
should help.  For more info, see:

<http://x.cygwin.com/docs/ug/cygwin-x-ug.html>


>In the installation process there is nothing obvious wrong.


There isn't anything wrong.  'setup.exe' knows 'gv' is a X program.  It 
knew to install the X-server for you.  But you have to know to run the
server.


>You mentioned I should run X first, what that mean? Is there some program I 
>should run before I fire up gv?


Yep, as I mentioned above.




--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: gv: Unable to open the display.

2005-07-25 Thread lin q



From: Ken Dibble <[EMAIL PROTECTED]>
To: cygwin ,  cygwin-xfree@cygwin.com
Subject: Re: gv: Unable to open the display.
Date: Mon, 25 Jul 2005 15:03:43 -0500





lin q wrote:


Hi,
 I just installed gv using the cygwin installer, I select "Download from 
the internet" option and the install process runs for quite a while.


 After that I run "/usr/X11R6/bin/gv.exe" and I saw this error,

gv: Unable to open the display.

 What does that mean?

 Should I install something else for gv to run? Shoudn't cygwin installer 
already consider that?


Thanks.


Moved to Cygwin-Xfree .

Is X running or are you trying to run gv from a cmd-type shell?

You'll probably get more help if you follow the problem reporting 
guidelines at

http://cygwin.com/problems.html

Tthe XWin log file would be helpful as well.

Regards,
Ken


It seems I should know a lot more to make gv running...

My only purpose is to view a postscript file content and as I know I should 
run gv, so i installed gv package and then in cygwin shell I type 
"/usr/X11R6/bin/gv.exe".


In the installation process there is nothing obvious wrong.

You mentioned I should run X first, what that mean? Is there some program I 
should run before I fire up gv?


Thanks.

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: gv: Unable to open the display.

2005-07-25 Thread Ken Dibble





lin q wrote:


Hi,
 I just installed gv using the cygwin installer, I select "Download 
from the internet" option and the install process runs for quite a while.


 After that I run "/usr/X11R6/bin/gv.exe" and I saw this error,

gv: Unable to open the display.

 What does that mean?

 Should I install something else for gv to run? Shoudn't cygwin 
installer already consider that?


Thanks.


Moved to Cygwin-Xfree .

Is X running or are you trying to run gv from a cmd-type shell?

You'll probably get more help if you follow the problem reporting 
guidelines at

http://cygwin.com/problems.html

Tthe XWin log file would be helpful as well.

Regards,
Ken




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: gv: Unable to open the display

2004-09-28 Thread Igor Pechtchanski
On Mon, 27 Sep 2004, Igor Furlan wrote:

> --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:

, now with more reasons.

> > #include 
> > int main(int ac, char *av[]){
> > for(int i=0;i<500;i++){
> > printf("I will re-read my messages before hitting
> > SEND\n");}}
> > Igor
>
> http://sourceforge.net/people/viewprofile.php?user_id=189422

And your point was?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw


Re: gv: Unable to open the display

2004-09-27 Thread Igor Furlan

--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:

> #include 
> int main(int ac, char *av[]){
> for(int i=0;i<500;i++){
> printf("I will re-read my messages before hitting
> SEND\n");}}
> 
>   Igor


http://sourceforge.net/people/viewprofile.php?user_id=189422




Re: gv: Unable to open the display

2004-09-27 Thread Igor Pechtchanski
On Mon, 27 Sep 2004, Igor Pechtchanski wrote:

> On Mon, 27 Sep 2004, Alex Vinokur wrote:
>
> > However
> > $ gs foo.tex
> > [legitimate Ghostscript error snipped]
> > GNU Ghostscript 7.05: Unrecoverable error, exit code 1
>
> Now, why would ever you do something silly like this?

!sed -e 's/\(ever\) \(you\)/\2 \1/'

#include 
int main(int ac, char *av[]){
for(int i=0;i<500;i++){
printf("I will re-read my messages before hitting SEND\n");}}

Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw