Re: your mail

2005-12-28 Thread Christopher Faylor
On Wed, Dec 28, 2005 at 04:28:32AM -0800, Said Hanafy wrote:
>   dear Christopher
> i try ti install cygwin in WINME platform
>   and i follow the instruction exactly but the window is closed
>   instantly (this means there is a problem in the setup of the software)
>what i did exactly is downloading the setup.exe and then try to setup
>   the software from CD to my PC, i changed the AUTOEXEC.BAT manually by
>   adding the  line
>   SET DISPLAY127.0.0.1:0.0 and edit the path line by adding the
>
>   ;C:\cygwin\bin;C:\cygwin\usr\X11R6\lib at the end of the Path line in
>   that file
>
>   in the end i changed the initial environment to 4096
>
>   but the problem still occur
>
>
>   thank you for your help
>
>   said hanafy

Please check out the project web page for links to available information
and ports:  http://cygwin.com/ .

If you don't see what you need there, then the cygwin mailing list is
the best place to make observations or get questions answered.
Information on the mailing list is available at the project web page.

For your convenience, I've reset the Reply-To: address to point to the
cygwin mailing list.  I've also Cc'ed this reply there.

--
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: your mail

2005-12-28 Thread Larry Hall (Cygwin)

Christopher Faylor wrote:

On Wed, Dec 28, 2005 at 04:28:32AM -0800, Said Hanafy wrote:


 dear Christopher
   i try ti install cygwin in WINME platform
 and i follow the instruction exactly but the window is closed
 instantly (this means there is a problem in the setup of the software)
  what i did exactly is downloading the setup.exe and then try to setup
 the software from CD to my PC, i changed the AUTOEXEC.BAT manually by
 adding the  line
 SET DISPLAY127.0.0.1:0.0 and edit the path line by adding the

 ;C:\cygwin\bin;C:\cygwin\usr\X11R6\lib at the end of the Path line in
 that file

 in the end i changed the initial environment to 4096

 but the problem still occur


 thank you for your help

 said hanafy



Please check out the project web page for links to available information
and ports:  http://cygwin.com/ .

If you don't see what you need there, then the cygwin mailing list is
the best place to make observations or get questions answered.
Information on the mailing list is available at the project web page.

For your convenience, I've reset the Reply-To: address to point to the
cygwin mailing list.  I've also Cc'ed this reply there.



And, more specifically, please read and follow the problem reporting
guidelines found at the link below:


Problem reports:   http://cygwin.com/problems.html


In addition, please make sure you address the correct list with any inquiry.
See  for more information.

--
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://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Why no-X11 ghostscript?

2005-12-28 Thread Rodrigo Medina
Hi,
If I am not mistaken, gs-X11 does everything that gs-no-X11 does, then
why distributing gs-no-X11 at all? A lot problems may arise due to the
presence of two different programs with the same name.
Of course all the programs of the package should go into /bin.
Bye
Happy holidays
R.M.


--
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: 2.510.2.2: bash won't open after install

2005-12-28 Thread René Berber
Nick Low wrote:

> This morning, I tried to reinstall everything and see if that would
> make a difference.  It did not seem to matter though.  I have attached
> both the setup.log and setup.log.full files to this message.

Try not to send such big files, and if you have to, why not compress them?

> It appears that none of the postinstall scripts (which are all called
> using bash) are running on this server.
> 
> The 00ash.sh which looks like it is supposed to copy the bash.exe to
> sh.exe does not appear to be doing anything, nor does an error get
> generated anywhere either.  I still do not have a sh.exe file in the
> /bin directory.
> 
> According to the installer application, I am trying to install bash
> version 3.0-14.
> 
> 
> 
> OK - now here is some weirdness to add to the mix, which hopefully
> will give someone the information they need to answer my question.
> 
> I ran 'strace bash > bashtrace.out' to collect data off of that in
> case it was asked for, and the bash prompt came up!  I was then able
> to run all of the post installation scripts manually.  All of the
> files in the /etc directory were created properly.  Then, I opened my
> bash shell window using the shortcut on the desktop successfully too.
> 
> Thinking that everything was now fine, I close both the cmd window
> running strace and the bash window, and the old habit was once again
> displayed.  The bash window flashed on the screen and went away.
> 
> So, I opened up a new cmd window, reran 'strace bash > bashtrace.out',
> got a new bash prompt in that window and was then able to once again
> launch bash from its shortcut on the desktop.
> 
> Any help would be appreciated greatly.

There is a big difference between running "strace bash > bashstrace.out" and
using the cygwin.bat file: one is running bash with no parameters the other is
running "bash --login -i".

This means that you probably have user configuration problems, it could be a
Windows Server 2003 problem, or your $HOME is in some weird place, or whatever.

Why don't you edit the cygwin.bat file, put a "pause" at the end, and see what
the error message says?
-- 
René Berber


--
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/



Grace peculiarities

2005-12-28 Thread Rodrigo Medina
Hi,

Two questions about GRACE:
1- Why is the folder of GRACE in /usr/ and not in /usr/share/ as
   everything else?
2- Why there is in /bin/ a soft-link to xmgrace.exe while the actual
   program is in /usr/grace/bin/ ?

   Soft-links are not equivalent to the actual program, e.g. a
   Windows native cmd batch script cannot run them.

   Happy holidays

   R.M.



--
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: 2.510.2.2: bash won't open after install

2005-12-28 Thread Nick Low
>Nick Low wrote:
>
>> This morning, I tried to reinstall everything and see if that would
>> make a difference.  It did not seem to matter though.  I have attached
>> both the setup.log and setup.log.full files to this message.
>
>Try not to send such big files, and if you have to, why not compress them?

My bad.  I was just trying to be thorough and make sure that all of
the information that had been asked for in previous posts was included
in my question.  In my rush to get all of the information there, I
forgot.

>> It appears that none of the postinstall scripts (which are all called
>> using bash) are running on this server.
>>
>> The 00ash.sh which looks like it is supposed to copy the bash.exe to
>> sh.exe does not appear to be doing anything, nor does an error get
>> generated anywhere either.  I still do not have a sh.exe file in the
>> /bin directory.
>>
>> According to the installer application, I am trying to install bash
>> version 3.0-14.
>>
>> 
>>
>> OK - now here is some weirdness to add to the mix, which hopefully
>> will give someone the information they need to answer my question.
>>
>> I ran 'strace bash > bashtrace.out' to collect data off of that in
>> case it was asked for, and the bash prompt came up!  I was then able
>> to run all of the post installation scripts manually.  All of the
>> files in the /etc directory were created properly.  Then, I opened my
>> bash shell window using the shortcut on the desktop successfully too.
>>
>> Thinking that everything was now fine, I close both the cmd window
>> running strace and the bash window, and the old habit was once again
>> displayed.  The bash window flashed on the screen and went away.
>>
>> So, I opened up a new cmd window, reran 'strace bash > bashtrace.out',
>> got a new bash prompt in that window and was then able to once again
>> launch bash from its shortcut on the desktop.
>>
>> Any help would be appreciated greatly.
>
>There is a big difference between running "strace bash > bashstrace.out" and
>using the cygwin.bat file: one is running bash with no parameters the other is
>running "bash --login -i".
>
>This means that you probably have user configuration problems, it could be a
>Windows Server 2003 problem, or your $HOME is in some weird place, or
>whatever.
>
>Why don't you edit the cygwin.bat file, put a "pause" at the end, and see what
>the error message says?
>--
>René Berber

Alright, I put in the pause at the end of the batch file like you
suggested, and now the window opens and displays the following
message:  "Press any key to continue..."  Of course, pressing any key
closes the window.

There is no other information displayed in the window.

I tried out the following command from a cmd window:

strace bash --login -i > nick.out

This command yielded a command prompt.  When I doubled clicked on the
shortcut located on my desktop, I was able to use Cygwin normally in
that window.  I typed set at the prompt and can see that the HOME
value is set to /home/Administrator.  I am able to cd to that
directory from the Cygwin window without any problems.

I can close out the window in which I was running the strace, and the
Cygwin window that I started up while it was running works fine.  If I
open up another Cygwin window while the second window is open (and now
the first window with the strace running in it is closed), that works
fine as well.  If I close all of the Cygwin windows though, and then
try to open up a new window, I am back to square one - "Press any key
to continue..."

Any other ideas out there?

Thanks,

Nick

--
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: 2.510.2.2: bash won't open after install

2005-12-28 Thread René Berber
Nick Low wrote:

> Alright, I put in the pause at the end of the batch file like you
> suggested, and now the window opens and displays the following
> message:  "Press any key to continue..."  Of course, pressing any key
> closes the window.
> 
> There is no other information displayed in the window.

OK, if you want more output change the first line to "@echo on", and while you
are there why not put "--verbose --debug" parameters to bash.

> I tried out the following command from a cmd window:
> 
> strace bash --login -i > nick.out
> 
> This command yielded a command prompt.  When I doubled clicked on the
> shortcut located on my desktop, I was able to use Cygwin normally in
> that window.  I typed set at the prompt and can see that the HOME
> value is set to /home/Administrator.  I am able to cd to that
> directory from the Cygwin window without any problems.

Change to $HOME?  it should have started on $HOME, was it somewhere else?

> I can close out the window in which I was running the strace, and the
> Cygwin window that I started up while it was running works fine.  If I
> open up another Cygwin window while the second window is open (and now
> the first window with the strace running in it is closed), that works
> fine as well.  If I close all of the Cygwin windows though, and then
> try to open up a new window, I am back to square one - "Press any key
> to continue..."

Never seen something like that.

> Any other ideas out there?

Only questions: your cygcheck output said the PC has 4 processors, is it 2 with
hyper-threading or really 4?  Some people have reported unusual errors with
hyper-threaded CPUs, most problems where solved some time ago but you should
search the list just to make sure.

Perhaps you can get out something interesting with the --debug parameter to 
bash.
-- 
René Berber


--
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: I need cygcygipc-2.dll, where is it?

2005-12-28 Thread Angelo Graziosi

I had that problem some weeks ago, using CERNLIB libraries in building
fortran programs. (http://cygwin.com/ml/cygwin/2005-12/msg00641.html)

I solved deleting '-lcygipc' from the build command. Also PAW, a CERN
application had problems, so I rebuilt all CERNLIB deleting -lcygipc.

Now all works fine.


Best regards,

Angelo.



--
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/



ls -l output / rights problem

2005-12-28 Thread cwpbl

Hello,

I have a problem with rights on font file. In a directory, with many ttf 
files, when a double-click on some files, I have a message "This is not 
a valid font file".

Then I do a ls -l in the concerned directory.

All the font files *with problem* have rights such as :
-rw-rw-rw-    xxx.ttf
and those *without problem* :
-rw-rw-rw-+   yyy.ttf

1. What means "+" in the first column of "ls -l" ?
2. Secondly, if I do "chmod a+x *.ttf", all works. Why ?

(Certainly, this is not a specific font problem but a right problem).

Someone can explain this to me ?
Thanx.


--
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/



Cygwin Setup Command Line

2005-12-28 Thread Bruce Dobrin
 Hi all,

Is there anything new in automating Cygwin setup since the short command
line list at:
http://sources.redhat.com/ml/cygwin-apps/2003-03/msg00526.html
(Referenced in the Cygwin-apps Homepage)?
... And do these commands still work?

Since this is a slow week I'm once again digging into trying to figure
out how to efficiently update 500 machines with a recent copy of Cygwin
( some are as old as 1.3.10).  If anyone has any suggestions,  I'd love
to hear them. Fortuna I at least have inetd running on all of them so I
have somewhere to start.

Bruce D.
[EMAIL PROTECTED]


--
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/



gcc crash (memory?)

2005-12-28 Thread Dan Stratila
Hi,

I am experiencing a gcc/g++ crash when compiling polymake (the polyhedron
manipulation utility at http://www.math.tu-berlin.de/polymake/, download at
http://www.math.tu-berlin.de/polymake/download_choice.html):

---
g++ -c -o facets_from_incidence.o   -I../../../apps/polytope/include
-I../../../modules/co
mmon/include -I../../../modules/graph/include
-I../../../lib/poly_client/include -I../../.
./lib/PTL/include -I../../../lib/PTL/include/std
-I../../../lib/gmp_wrapper/include -march
=pentium4 -Wall -ftemplate-depth-200 -DALL_PLAUSIBLE_CHECKS=0 -O0 -MD
../../../apps/polyt
ope/src/facets_from_incidence.cc
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [facets_from_incidence.o] Error 1
make[1]: *** [do_all] Error 2
make[1]: Leaving directory
`/cygdrive/d/install/Polymake/x/polymake-2.1.0/build/apps/polyt
ope'
make: *** [all] Error 2
---

Since cc1plus is pushing the total commit charge for the machine to 1.1GB at
the point of the crash, I suspect this may be a memory-related problem. The
cc1plus process is taking 560,116KB at the moment of the crash. 

As you can see from the above, it also happens when I disable optimizations
(-O0). A successful build on a Red Hat Enterprise Linux 4 showed that
gcc/g++ needs about 1.5GB to get through facets_from_incidence.cc

I also investigated whether this is an inherent Windows limitation. As is
well known, Windows XP allows at most 2GB of user-side memory. A test
program I wrote successfully allocated 1.7GB in 10 blocks of 170MB each on
this machine. 

Your help would be most appreciated.

Sincerely,
Dan


cygcheck.out
Description: Binary data
--
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: Grace peculiarities

2005-12-28 Thread Volker Quetschke

Hi,


Two questions about GRACE:
1- Why is the folder of GRACE in /usr/ and not in /usr/share/ as
   everything else?

Because that is the default setting if --prefix is pointing to /usr.
I didn't know that there is a --enable-grace-home=DIR switch for
configure that can be used to change this default as I build that
package.


2- Why there is in /bin/ a soft-link to xmgrace.exe while the actual
   program is in /usr/grace/bin/ ?

That's how "make install links" installs grace.


   Soft-links are not equivalent to the actual program, e.g. a
   Windows native cmd batch script cannot run them.

That is true.


   Happy holidays

Merry Christmas!

  Volker

--
PGP/GPG key  (ID: 0x9F8A785D)  available  from  wwwkeys.de.pgp.net
key-fingerprint 550D F17E B082 A3E9 F913  9E53 3D35 C9BA 9F8A 785D


signature.asc
Description: OpenPGP digital signature


Re: ls -l output / rights problem

2005-12-28 Thread Brian Dessent
cwpbl wrote:

> 1. What means "+" in the first column of "ls -l" ?

It means there are additional ACL privileges that cannot be represented
in the unix "rwx" format.  Use getfacl, cacls, xcacls, "file -
properties" in explorer, etc. to view them.

> 2. Secondly, if I do "chmod a+x *.ttf", all works. Why ?

Windows requires the execute permission on font files.

Brian

--
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: Cygwin Setup Command Line

2005-12-28 Thread Larry Hall (Cygwin)

On 12/28/2005, Bruce Dobrin wrote:
Is there anything new in automating Cygwin setup since the short command 
line list at: 
http://sources.redhat.com/ml/cygwin-apps/2003-03/msg00526.html (Referenced 
in the Cygwin-apps Homepage)? 



I think that still about covers it.  You can check the source if you're
interested though.



... And do these commands still work?



Nobody has reported otherwise.

--
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://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Cygwin Setup Command Line

2005-12-28 Thread Bruce Dobrin
 Hmm,  I just tried it and it does appear to sort of work,  but it only
installs the "default" and I don't see any way to tell it to do
otherwise.  (  plus the -q flag still doesn't' suppress the "you must
reboot" window)
-Original Message-
From: Larry Hall (Cygwin) [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 28, 2005 4:18 PM
To: Bruce Dobrin
Cc: cygwin@cygwin.com
Subject: Re: Cygwin Setup Command Line

On 12/28/2005, Bruce Dobrin wrote:
> Is there anything new in automating Cygwin setup since the short 
> command line list at:
> http://sources.redhat.com/ml/cygwin-apps/2003-03/msg00526.html 
> (Referenced in the Cygwin-apps Homepage)?


I think that still about covers it.  You can check the source if you're
interested though.


>... And do these commands still work?


Nobody has reported otherwise.

-- 
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://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cygwin Setup Command Line

2005-12-28 Thread Yitzchak Scott-Thoennes
On Wed, Dec 28, 2005 at 04:23:33PM -0800, Bruce Dobrin wrote:
>  Hmm,  I just tried it and it does appear to sort of work,  but it only
> installs the "default" and I don't see any way to tell it to do
> otherwise.

This has been discussed many times.  In short, set up a dummy package
in setup.iniwith category Base and listing all non-default packages that
you want as prerequisites.

> (  plus the -q flag still doesn't' suppress the "you must
> reboot" window)

--
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: Why no-X11 ghostscript?

2005-12-28 Thread Rodrigo Medina

On 2005/12/28 18:08:11,  Larry Hall (Cygwin) wrote:

>Rodrigo Medina wrote:
>> Hi,
>> If I am not mistaken, gs-X11 does everything that gs-no-X11 does, then
>> why distributing gs-no-X11 at all? A lot problems may arise due to the
>> presence of two different programs with the same name.
>> Of course all the programs of the package should go into /bin.
>> Bye
>> Happy holidays
>> R.M.

>Are you suggesting that gs-no-X11 requires X11?  If so, that's a bug.  If
>not, should we assume your question is rhetorical?

As the gs-no-X11 does something that gs-X11 does no do, that is it works
without
X11 DLLs, my question was not rhetorical, it was stupid. Nevertheless that
does not
solve the problem of the conflict between the two programs. I suggest doing
the following:

1- Having a unique ghostscript package,  with both gs-x.exe and gs.no-x.exe.
2- Install all executables, including both gs programs in /bin.
3- If X11 is installed then copy gs-x.exe to gs.exe, otherwise copy
gs.no-x.exe to gs.exe

Bye

Happy New Year

R.M.


--
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: Why no-X11 ghostscript?

2005-12-28 Thread Larry Hall (Cygwin)

Rodrigo Medina wrote:

On 2005/12/28 18:08:11,  Larry Hall (Cygwin) wrote:



Rodrigo Medina wrote:


Hi,
If I am not mistaken, gs-X11 does everything that gs-no-X11 does, then
why distributing gs-no-X11 at all? A lot problems may arise due to the
presence of two different programs with the same name.
Of course all the programs of the package should go into /bin.
Bye
Happy holidays
R.M.




Are you suggesting that gs-no-X11 requires X11?  If so, that's a bug.  If
not, should we assume your question is rhetorical?



As the gs-no-X11 does something that gs-X11 does no do, that is it works
without
X11 DLLs, my question was not rhetorical, it was stupid. Nevertheless that
does not
solve the problem of the conflict between the two programs. I suggest doing
the following:

1- Having a unique ghostscript package,  with both gs-x.exe and gs.no-x.exe.
2- Install all executables, including both gs programs in /bin.
3- If X11 is installed then copy gs-x.exe to gs.exe, otherwise copy
gs.no-x.exe to gs.exe


Yes, we've been over this ground before, have we not?   OK, you're coming
at it from a slightly different perspective.  But if we're making suggestions
on how to handle the case where both are installed, wouldn't leveraging the
alternatives package scripts be a better approach?

--
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://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



COMSPEC environment variable missing

2005-12-28 Thread Ingo Brueckl
Hi.

I'm using the 20051227-snapshot of cygwin1.dll. This is my Windows 98SE
environment as told by the 'set' command:

  TMP=C:\WINDOWS\TEMP
  TEMP=C:\WINDOWS\TEMP
  PROMPT=$p$g
  winbootdir=C:\WINDOWS
  PATH=C:\WINDOWS;C:\WINDOWS\COMMAND
  COMSPEC=C:\WINDOWS\COMMAND.COM
  DIRCMD=/o:gne
  windir=C:\WINDOWS
  BLASTER=A220 I5 D1 H5 P330 T6
  CMDLINE=myset

In a cygwin program, there is no COMSPEC environment variable. I get NULL
when using getenv().

In order to check my cygwin environment, I wrote the following program:

  #include 
  #include 

  int main()
  {
int i;

for(i = 0;; i++)
  if (environ[i]) puts(environ[i]);
  else break;

return 0;
  }

which returns:

  !C:=C:\WINDOWS\TEMP
  TMP=/tmp
  TEMP=/tmp
  PROMPT=$p$g
  WINBOOTDIR=C:\WINDOWS
  PATH=/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND
  DIRCMD=/o:gne
  WINDIR=C:\WINDOWS
  BLASTER=A220 I5 D1 H5 P330 T6
  CMDLINE=myset
  PATH=/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND
  TERM=cygwin
  HOME=/home/ib

Indeed, COMSPEC is missing, and PATH is twice.

A bug?

Ingo

--
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: 1.5.18-1: Crash launching COMMAND.COM (W98)

2005-12-28 Thread Ingo Brueckl
On Mon, 05 Sep 2005, Sean Gugler wrote:

> Score!  Snapshot 20050905 did the trick.

Unfortunately, there is still a crash with:

  #include 
  #include 
  #include 
  #include 

  int cygwinsystem (const char *cmd)
  {
pid_t pid;
int rc;
static int result;

if (!(pid = fork()))
{
  char *com = getenv("COMSPEC");
  if (!com) com = "COMMAND.COM";

  if (cmd) rc = execlp(com, com, "/c", cmd, NULL);
  else rc = execlp(com, com, NULL);

  exit(rc);
}
wait(&result);
return result;
  }

  int main (int argc, char **argv)
  {
return cygwinsystem(argv[1]);
  }

When calling this program with an argument like 'dir'. The dir listing
appears, but then the program crashes. Tested with latest snapshot 20051227.

Ingo

--
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/



scp/ssh: non-interactive commands using "PasswordAuthentication" fail

2005-12-28 Thread Tom Rodman
<2 informal tests on my home PC, /etc/ssh_config is "OTTB">

no problem, using PubkeyAuthentication:

  $ uname -a #login shell is bash, started by 'sshing in'
  CYGWIN_NT-5.0 argon 1.5.19s(0.149/4/2) 20051227 16:45:51 i686 unknown unknown 
Cygwin
  $ ssh localhost date
  Wed Dec 28 21:03:43 CST 2005
  $ scp [EMAIL PROTECTED]:/etc/passwd /tmp/toss
  passwd100%  704   
  0.7KB/s   00:00
  $

problems w/same tests using PasswordAuthentication:

  $ eval $(ssh-agent -k) #same bash session continuing
  Agent pid 304 killed
  $ uname -a
  CYGWIN_NT-5.0 argon 1.5.19s(0.149/4/2) 20051227 16:45:51 i686 unknown unknown 
Cygwin
  $ ssh localhost date
  Enter passphrase for key '/home/adm_tsr/.ssh/id_rsa':
  [EMAIL PROTECTED]'s password:
  $ : skipped passphrase prompt, entered password; no date shows up
  $ scp [EMAIL PROTECTED]:/etc/passwd /tmp/toss
  Enter passphrase for key '/home/adm_tsr/.ssh/id_rsa':
  [EMAIL PROTECTED]'s password:
  $ : skipped passphrase prompt, notice nothing echoed after password was 
entered

comments?  can anyone else duplicate this?

--
thanks,
Tom

--
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/