Re: Command boxes popping up

2004-12-14 Thread Rui-Tao Dong


 jurgen.defurne == jurgen defurne [EMAIL PROTECTED] writes:

 jurgen.defurne Hello, everybody, Since I switched from Cygwin 1.5.3
 jurgen.defurne to Cygwin 1.5.11, I keep getting annoying DOS boxes
 jurgen.defurne when starting a non-cygwin process inside a cygwin
 jurgen.defurne process.

 jurgen.defurne Is this a feature (bug) of 1.5.11, so I should
 jurgen.defurne upgrade, or is this the result of a setting ? 
 jurgen.defurne Upgrading is not that easy because we share cygwin
 jurgen.defurne from a central drive.

 jurgen.defurne I've found other people having the same problem in
 jurgen.defurne the past, but I did not find any answers.

I don't know if it is related, but I get cmd box when I call nmake
from (cygwin/X11) XEmacs' compiling mode and I don't get to see that
error message in XEmacs' compiling buffer.  The strange thing is that
it is intermittent.  However, I can consistently kill the cmd box if I
compile with

ssh localhost cd ${PWD}; nmake -f *.mak

and get the compiler output in my XEmacs buffer.


-- 

Rui-Tao Dong
(949) 673-1907 x116
(949) 673-1058(Fax)
[EMAIL PROTECTED]

ALL INFORMATION IN THIS EMAIL OR ATTACHED TO THIS EMAIL IS CONFIDENTIAL.


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



RE: Command boxes popping up

2004-12-14 Thread jurgen . defurne
Morche Matthias [EMAIL PROTECTED]
Sent by: 
[EMAIL PROTECTED]
2004-12-13 04:57 PM
 
To: [EMAIL PROTECTED]
cc: (bcc: Jurgen Defurne/BRG/CE/PHILIPS)
Subject:RE: Command boxes popping up
Classification: 




[EMAIL PROTECTED] wrote:
...
 I have run a small test :
 $ /cygdrive/c/Perl/bin/perl -e system \dir\
 
 and this pops up a DOS command box while the command
 executes.
...

I do get these boxes only if use wperl instead of perl...
In that case they pop up and vanish immediately.

Yep that is the behavior I get.

Did You replace perl with a copy of wperl? By the way, 

Well, not intentionally, anyway, and if I use command
completion upon 'wp' I do not get 'wperl'.

Btw. my Perl version is v5.8.5 built for cygwin-thread-multi-64int.

why don't You use the cygwin perl?!

For 95% of my work I use the Cygwin perl, but this is a build
application that was shoved down our throat here, and Cygwin
interferes with the used compilers, so all references to
cygwin in any form or measure, are removed before the build
process starts. So I use the AS Perl, which is also needed
by the build process, to control everything in this case.


  matthias


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




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


RE: Command boxes popping up

2004-12-13 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of jurgen.defurne
 Sent: 13 December 2004 15:39

 Hi Dave,
 
 No, I have no problems with graphical applications.

  Cool, it would have _really_ confused me if you did!

 My scripts run a variety of commands, mostly cygwin,
 but some applications run in a DOS shell.
 
 To elaborate, I run bash, and inside this shell I start 
 ActiveState Perl,
 which of course knows nothing about Cygwin. The script run by
 ActiveState's Perl, then starts system or `` commands, and it is
 from there that I get command boxes.
 
 I have run a small test :
 $ /cygdrive/c/Perl/bin/perl -e system \dir\
 
 and this pops up a DOS command box while the command
 executes.
 
 I did not have that before, and the only thing changed was
 the upgrade to Cygwin 1.5.11.

  Nonetheless, it would seem that ActiveState Perl is the thing with the bug in
it.  Not being a cygwin program, a change to the cygwin dll could hardly affect
ActiveState Perl's behaviour, could it?

  Well, it shouldn't of course, but I can imagine one way in which it could.

  Bear in mind that running inside the bash shell - unlike if you were to just
try your test from a cmd.exe shell - has one major difference: the $PATH setting
includes the cygwin bin directories at the front.

  Now, given that cygwin includes its own distribution of Perl, which presumably
is also called perl.exe, we have a potential for clashes here.

  FWIW, running the example that you gave with cygwin perl doesn't produce a DOS
box.  I'm not surprised that AS perl wants to have its system commands run in a
dos box, as that's the only system it knows about.  OTOH I see Jason's post
saying that he can't reproduce your problem.  Therefore I suggest the two of you
compare $PATH settings, in particular which order AS perl and cygwin's bin
directories occur in both your $PATHs, and that may give us some further
clues...

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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



RE: Command boxes popping up

2004-12-13 Thread Morche Matthias
[EMAIL PROTECTED] wrote:
...
 I have run a small test :
 $ /cygdrive/c/Perl/bin/perl -e system \dir\
 
 and this pops up a DOS command box while the command
 executes.
...

I do get these boxes only if use wperl instead of perl...
In that case they pop up and vanish immediately.
Did You replace perl with a copy of wperl? By the way, 
why don't You use the cygwin perl?!

  matthias


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



RE: Command boxes popping up

2004-12-13 Thread jurgen . defurne
Hi Dave,

No, I have no problems with graphical applications.

My scripts run a variety of commands, mostly cygwin,
but some applications run in a DOS shell.

To elaborate, I run bash, and inside this shell I start ActiveState Perl,
which of course knows nothing about Cygwin. The script run by
ActiveState's Perl, then starts system or `` commands, and it is
from there that I get command boxes.

I have run a small test :
$ /cygdrive/c/Perl/bin/perl -e system \dir\

and this pops up a DOS command box while the command
executes.

I did not have that before, and the only thing changed was
the upgrade to Cygwin 1.5.11.

Regards,

Jurgen










Dave Korn [EMAIL PROTECTED]
Sent by: 
[EMAIL PROTECTED]
2004-12-13 03:45 PM
 
To: [EMAIL PROTECTED]
cc: (bcc: Jurgen Defurne/BRG/CE/PHILIPS)
Subject:RE: Command boxes popping up
Classification: 




 -Original Message-
 From: cygwin-owner On Behalf Of jurgen.defurne
 Sent: 13 December 2004 14:22

 Hello, everybody,
 
 Since I switched from Cygwin 1.5.3 to Cygwin 1.5.11, I keep
 getting annoying DOS boxes when starting a non-cygwin
 process inside a cygwin process.

  Yeh?  Do you mean if you're at the prompt in a bash shell, and you type
notepad or calc and press return, then a cmd.exe box appears?
 
 Is this a feature (bug) of 1.5.11, so I should upgrade, or
 is this the result of a setting ? 

  I think it's neither the result of a setting nor a bug of 1.5.11; I 
think it's
down to something you haven't yet told us about the exact fashion in which 
you
are starting a non-cygwin process inside a cygwin process.


cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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




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



Re: Command boxes popping up

2004-12-13 Thread Yitzchak Scott-Thoennes
On Mon, Dec 13, 2004 at 04:38:50PM +0100, jurgen.defurne wrote:
 I have run a small test :
 $ /cygdrive/c/Perl/bin/perl -e system \dir\
 
 and this pops up a DOS command box while the command
 executes.

Outputs to the bash window for me.  ActivePerl build 810, cygwin 1.5.12,
Windows XP Pro SP1, CYGWIN=tty.

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



RE: Command boxes popping up

2004-12-13 Thread jurgen . defurne
Dave Korn [EMAIL PROTECTED]
2004-12-13 04:54 PM
 
To: Jurgen Defurne/BRG/CE/[EMAIL PROTECTED]
[EMAIL PROTECTED]
cc: 
Subject:RE: Command boxes popping up
Classification: 




 -Original Message-
 From: cygwin-owner On Behalf Of jurgen.defurne
 Sent: 13 December 2004 15:39

 Hi Dave,
 
 No, I have no problems with graphical applications.

  Cool, it would have _really_ confused me if you did!

 My scripts run a variety of commands, mostly cygwin,
 but some applications run in a DOS shell.
 
 To elaborate, I run bash, and inside this shell I start 
 ActiveState Perl,
 which of course knows nothing about Cygwin. The script run by
 ActiveState's Perl, then starts system or `` commands, and it is
 from there that I get command boxes.
 
 I have run a small test :
 $ /cygdrive/c/Perl/bin/perl -e system \dir\
 
 and this pops up a DOS command box while the command
 executes.
 
 I did not have that before, and the only thing changed was
 the upgrade to Cygwin 1.5.11.

  Nonetheless, it would seem that ActiveState Perl is the thing with the 
bug in
it.  Not being a cygwin program, a change to the cygwin dll could hardly 
affect
ActiveState Perl's behaviour, could it?

###

Yes, but how does that explain that I did not have the problems if I ran
the same things when Cygwin 1.5.3 was still installed ?

###

  Well, it shouldn't of course, but I can imagine one way in which it 
could.

  Bear in mind that running inside the bash shell - unlike if you were to 
just
try your test from a cmd.exe shell - has one major difference: the $PATH 
setting
includes the cygwin bin directories at the front.

###

I will check this PATH setting, although my script fixes up the path 
before
starting system calls.

###

  Now, given that cygwin includes its own distribution of Perl, which 
presumably
is also called perl.exe, we have a potential for clashes here.

###

The subscripts explicit remove any references to any Cygwin environment, 
because they know that they clash with each other.

###

  FWIW, running the example that you gave with cygwin perl doesn't produce 
a DOS
box.  I'm not surprised that AS perl wants to have its system commands run 
in a
dos box, as that's the only system it knows about.  OTOH I see Jason's 
post
saying that he can't reproduce your problem.  Therefore I suggest the two 
of you
compare $PATH settings, in particular which order AS perl and cygwin's bin
directories occur in both your $PATHs, and that may give us some further
clues...

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today




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



Re: Command boxes popping up

2004-12-13 Thread jurgen . defurne
Well,

According to this mail and another poster who say that they
do not have a problem, I will first try to find time to upgrade
to Cygwin 1.5.12 and see if the problem persists.

Now, with the end of the year in sight, it could probably
be that this is more a matter for January.


Thanks everybody for replying.

Jurgen










Yitzchak Scott-Thoennes [EMAIL PROTECTED]
Sent by: 
[EMAIL PROTECTED]
2004-12-13 09:49 PM
 
To: [EMAIL PROTECTED]
cc: (bcc: Jurgen Defurne/BRG/CE/PHILIPS)
Subject:Re: Command boxes popping up
Classification: 




On Mon, Dec 13, 2004 at 04:38:50PM +0100, jurgen.defurne wrote:
 I have run a small test :
 $ /cygdrive/c/Perl/bin/perl -e system \dir\
 
 and this pops up a DOS command box while the command
 executes.

Outputs to the bash window for me.  ActivePerl build 810, cygwin 1.5.12,
Windows XP Pro SP1, CYGWIN=tty.

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




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



RE: Command boxes popping up

2004-12-13 Thread Morche Matthias
[EMAIL PROTECTED] wrote:
...
 Well, not intentionally, anyway, and if I use command
 completion upon 'wp' I do not get 'wperl'.
 
 Btw. my Perl version is v5.8.5 built for cygwin-thread-multi-64int.
 
 why don't You use the cygwin perl?!
 
 For 95% of my work I use the Cygwin perl, but this is a build
 application that was shoved down our throat here, and Cygwin
 interferes with the used compilers, so all references to
 cygwin in any form or measure, are removed before the build
 process starts. So I use the AS Perl, which is also needed
 by the build process, to control everything in this case.
...

The version You mentioned is the one from the cygwin, not from activestate
This is the public msi package from activestate version 
v5.8.4 built for MSWin32-x86-multi-thread
and it comes with wperl and perl living in the same directory
The facts You told make me believe, that the activestate-perl isn't within
Your path at all, thus no completion for wpTAB isn't really surprising.

  matthias

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



RE: Command boxes popping up

2004-12-13 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of jurgen.defurne
 Sent: 13 December 2004 14:22

 Hello, everybody,
 
 Since I switched from Cygwin 1.5.3 to Cygwin 1.5.11, I keep
 getting annoying DOS boxes when starting a non-cygwin
 process inside a cygwin process.

  Yeh?  Do you mean if you're at the prompt in a bash shell, and you type
notepad or calc and press return, then a cmd.exe box appears?
 
 Is this a feature (bug) of 1.5.11, so I should upgrade, or
 is this the result of a setting ? 

  I think it's neither the result of a setting nor a bug of 1.5.11; I think it's
down to something you haven't yet told us about the exact fashion in which you
are starting a non-cygwin process inside a cygwin process.


cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


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


RE: Command boxes popping up

2004-12-13 Thread DePriest, Jason R.


On Monday, December 13, 2004 9:39 AM, [DELETED] wrote

 Hi Dave,
 
 No, I have no problems with graphical applications.
 
 My scripts run a variety of commands, mostly cygwin,
 but some applications run in a DOS shell.
 
 To elaborate, I run bash, and inside this shell I start ActiveState
 Perl, which of course knows nothing about Cygwin. The script run by
 ActiveState's Perl, then starts system or `` commands, and it is
 from there that I get command boxes.
 
 I have run a small test :
 $ /cygdrive/c/Perl/bin/perl -e system \dir\
 
 and this pops up a DOS command box while the command
 executes.
 
 I did not have that before, and the only thing changed was
 the upgrade to Cygwin 1.5.11.
 
 Regards,
 
 Jurgen

I am running Cygwin 1.5.12.

I also have ActiveState Perl installed (5.6.1, build 638).

Running your test script does not produce a pop-up box for me.  It
displays the results in the existing cygwin bash shell.

-Jason

PS - I apologize in advance for the legal disclaimer at the bottom of my
email message.  This is tacked on by our SMTP gateway and I have no
control over it.
-- 

--
Confidentiality notice:
This e-mail message, including any attachments, may contain legally privileged 
and/or confidential
information. If you are not the intended recipient(s), or the employee or agent 
responsible for delivery
of this message to the intended recipient(s), you are hereby notified that any 
dissemination,
distribution, or copying of this e-mail message is strictly prohibited. If you 
have received this message
in error, please immediately notify the sender and delete this e-mail message 
from your computer.

==


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