Re: How to use ddd with XWindows?

2004-07-13 Thread Arturus Magi
Siegfried Heintze wrote:
I apologize if I had already posted this question. However, I did not see my
own posting and I assume it never made it to the mailing list.
I see from the posting below that you are using startx. H... I think
that is the command I use on Linux. I tried it on Win2003 server running
cygwin and there is no such command.
Just to interject, the startx script does exist on Cygwin.  That's how I 
typically start X.  You have to invoke it in a posix shell on some 
versions of Windows because of the way Windows detects executable 
scripts, though.


Re: How to use ddd with XWindows?

2004-07-13 Thread Igor Pechtchanski
On Tue, 13 Jul 2004, Siegfried Heintze wrote:

> I apologize if I had already posted this question. However, I did not
> see my own posting and I assume it never made it to the mailing list.
>
> I see from the posting below that you are using startx. H... I think
> that is the command I use on Linux. I tried it on Win2003 server running
> cygwin and there is no such command.

Did you install the X-startup-scripts package?  Do you have /usr/X11R6/bin
in your PATH?

> I'm using the command XWin.exe & and I'm trying to run the ddd debugger.
> XWindows seems to start OK. I can run X utilities like the XClock.
>
> However, when I try to start "ddd main_assert.exe" I get the "Error: Can't
> open display:".

You did try "export DISPLAY=:0.0; ddd main_assert.exe", right?  Or even
"DISPLAY=:0.0 ddd main_assert.exe"?

> Someone in the [EMAIL PROTECTED] mailing list suggested I need to set the
> display and then I was chastised for carrying on off topic.

Actually, the other way around (first the "off-topic" part, then "set the
DISPLAY"), and you weren't chastised, just informed.  The message got
redirected to this list, too. :-)

It also said "set the DISPLAY" (note the capitals).  What it meant was
"set the DISPLAY environment variable to the correct value".  Above are a
couple of ways that could be done.

> Can someone help me run ddd? Currently, ddd is my only motivation for
> running XWindows. I was told I needed to start the XWindows server before I
> could run ddd.

"XWin&" should do it, but "startx" will also include some standard
command-line options and start an xterm.
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!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


Re: How to use ddd with XWindows?

2004-07-13 Thread Alexander Gottwald
On Tue, 13 Jul 2004, Siegfried Heintze wrote:

> I apologize if I had already posted this question. However, I did not see my
> own posting and I assume it never made it to the mailing list.
> 
> I see from the posting below that you are using startx. H... I think
> that is the command I use on Linux. I tried it on Win2003 server running
> cygwin and there is no such command.
> 
> I'm using the command XWin.exe & and I'm trying to run the ddd debugger.
> XWindows seems to start OK. I can run X utilities like the XClock.
> 
> However, when I try to start "ddd main_assert.exe" I get the "Error: Can't
> open display:".
> 
> Someone in the [EMAIL PROTECTED] mailing list suggested I need to set the
> display and then I was chastised for carrying on off topic.
> 
> Can someone help me run ddd? Currently, ddd is my only motivation for
> running XWindows. I was told I needed to start the XWindows server before I
> could run ddd.

After you've started XWindows run "DISPLAY=:0.0 ddd main_assert.exe"

The DISPLAY environment variable is important you can set it with
export DISPLAY=:0.0 in bash or setenv DISPLAY :0.0 in tcsh.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


How to use ddd with XWindows?

2004-07-13 Thread Siegfried Heintze
I apologize if I had already posted this question. However, I did not see my
own posting and I assume it never made it to the mailing list.

I see from the posting below that you are using startx. H... I think
that is the command I use on Linux. I tried it on Win2003 server running
cygwin and there is no such command.

I'm using the command XWin.exe & and I'm trying to run the ddd debugger.
XWindows seems to start OK. I can run X utilities like the XClock.

However, when I try to start "ddd main_assert.exe" I get the "Error: Can't
open display:".

Someone in the [EMAIL PROTECTED] mailing list suggested I need to set the
display and then I was chastised for carrying on off topic.

Can someone help me run ddd? Currently, ddd is my only motivation for
running XWindows. I was told I needed to start the XWindows server before I
could run ddd.
Thanks,
Siegfried


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Alexander Gottwald
Sent: Tuesday, July 13, 2004 9:32 AM
To: [EMAIL PROTECTED]
Subject: Re: X startup hangs

On Tue, 13 Jul 2004, electa wrote:

> When i try to start X with command:
> $ startx
> 
> (--) Setting autorepeat to delay=500, rate=31
> (--) winConfigKeyboard - Layout: "0410" (0410)
> (--) Using preset keyboard for "Italian" (410), type "4"
> Rules = "xorg" Model = "pc105" Layout = "it" Variant = "(null)" Options =
> "(null
> )"
> 
> at this point output stops, and no window appear.
> with 'ps' I can see that Xwin.exe and xinit.exe are both running (in winXp
> task manager too)
> 
> trying with startxwin.bat, I get the same output and again no window.

what does "mount" report?

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723