Re: run programs typed under cygwin under W2K

2004-01-28 Thread Larry Hall
At 10:15 AM 1/28/2004, Skippy the Kangoo you wrote:
>Igor Pechtchanski a écrit :
>
>>On Wed, 28 Jan 2004, Skippy the Kangoo wrote:
>>
>> 
>>
>>>Hi,
>>>
>>>My english is very bad.
>>>
>>>I want running a program typed under cygwin but I want running under a
>>>Windows 2000 pro
>>>
>>>Thank you
>>>Best regards,
>>>Skippy the Kangoo
>>>   
>>
>>I'm not sure I understand the question.  Cygwin programs are Windows
>>programs.  You should have no problems running them, as long as the
>>required DLLs are present and in the PATH.  If you have a specific
>>problem, please read and follow the Cygwin problem reporting guidelines at
>><http://cygwin.com/problems.html>.
>>Igor
>> 
>If you speak french, I write in frernch languge, for me is very more simple
>
>J'ai lu sur Internet que l'on pouvait faire tourner un programme sous windows 
>compiler sous cygwin, mais je n'ai plus l'adresse et je ne connais pas non plus  la 
>methode a adopter


Here's my response and an automated translation of it (sorry, I'm not a 
native French speaker so...)

You can compile any program you want with Cygwin's
compilers.  Of course, there can be incompatibilities in 
programs written specifically for Windows that will make 
this difficult.  But, the only way to know for sure what the
problems will be is to try to compile it and work through 
the problems.

Vous pouvez compiler n'importe quel programme que vous voulez avec les 
compilateurs de Cygwin. Bien sûr, il peut y avoir des incompatibilités 
dans les programmes écrits en particulier pour le Windows qui fera ce
difficile. Mais, la seule façon pour savoir exactement que les problèmes 
seront seront obligé à essayer de le compiler et travail par les problèmes. 


--
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: run programs typed under cygwin under W2K

2004-01-28 Thread Larry Hall
At 11:01 AM 1/28/2004, Skippy the Kangoo you wrote:
>Larry Hall a écrit :
>>



>>Here's my response and an automated translation of it (sorry, I'm not a native 
>>French speaker so...)
>>
>>You can compile any program you want with Cygwin's
>>compilers.  Of course, there can be incompatibilities in programs written 
>>specifically for Windows that will make this difficult.  But, the only way to know 
>>for sure what the
>>problems will be is to try to compile it and work through the problems.
>>
>>Vous pouvez compiler n'importe quel programme que vous voulez avec les compilateurs 
>>de Cygwin. Bien sûr, il peut y avoir des incompatibilités dans les programmes écrits 
>>en particulier pour le Windows qui fera ce
>>difficile. Mais, la seule façon pour savoir exactement que les problèmes seront 
>>seront obligé à essayer de le compiler et travail par les problèmes. 




>sorry, I typed 'hello' and no './hello'


Understood.  Yes, '.' is not in your path by default so if you want 
to run a program in your current directory, you must use './'.



--
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: setup change this year?

2004-01-29 Thread Larry Hall
At 06:38 PM 1/29/2004, Rutten, Mark you wrote:

>Is there something different about the way that "setup" runs since Christmas?
>
>I have a local mirror of the cygwin packages (neatened up using Michael Chase's 
>clean_setup perl script) which I access across the local network.  I always call 
>setup with the "-5" option (no md5 checks).
>
>All was working fine last year, now setup bogs down my machine (excessive processor 
>usage by the "system" process) after parsing the setup.ini file.  My first impression 
>is that setup is doing the md5 checks without telling me that it is, but I can't be 
>sure.  My main confusion stems from the fact that there hasn't been any changes in 
>the setup program since last October(ish) - I'm using version 2.416.
>
>If anyone could please give me some hints, that would be fantastic.


Sounds like a local network problem if you're actually just using a local 
mirror and not just using it in addition to other mirrors on the Internet.
That's just a WAG though.  Perhaps you want to visit:

<http://cygwin.com/setup-snapshots/>

You can pull down 2.418 (really just adds resizable controls) and see if
it acts differently.  You can also pull down the debug version of 2.415.
If it acts similarly, it would give you a quick basis to debug from, 
without having to rebuild 2.416.  But if you're really serious about 
finding your problem, building 2.416 as debug locally is probably your
best course of action.



--
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: C COM objects?

2004-01-29 Thread Larry Hall
At 06:43 PM 1/29/2004, Brian Ford you wrote:
>I admit to know almost nothing about COM objects, but I have been tasked
>to find out if they can be built from code that uses cygwin1.dll services.
>
>Searching for Cygwin and COM on the web, and in the archives, is difficult
>for the obvious .com reason.
>
>What I think I do know is that C++ COM objects are probably out because of
>name mangling and vtable issues.  I am still unclear about whether the
>libs that implement COM use msvcrt*.dll.  I assume if that is true, then
>all COM objects are out because of the newlib conflict.
>
>Any pointers to C COM object examples or information about using Cygwin
>based code in them would be *greatly* appreciated.  If you feel this
>subject is too far OT, then please feel free to ignore my Reply-To header
>and send me personal email.  Thanks.


COM doesn't require MSVCRT, though it doesn't preclude it either.  So,
depending on what you're doing and what you're using in COM-land, it's 
possible to dodge the MSVCRT bullet.

COM is language independent, which means it's possible to use COM
objects from C code.  I've never done this though.  I remember some
rumblings about people successfully "working with COM" under Cygwin
but it was long ago and I don't remember any details.

Sorry.


--
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 1.5.6-1: CTRL-C freezes bash

2004-01-30 Thread Larry Hall
At 10:50 AM 1/30/2004, Brandon Nelson you wrote:

>> > I've looked all over for an answer to this problem, but 
>> haven't seen any
>> > reference to it in such a basic form.
>> >
>> > Pressing CTRL-C in bash freezes the shell. I get this error 
>> (examples of
>> > varying numbers in curly brackets):
>> >
>> > {10, 8} [main] bash {1312} sig_send: wait for 
>> sig_complete event failed, signal {-33, 2}, rc 258, Win32 error {2, 3}
>> >
>> > Sometimes followed by:
>> >
>> > Terminate batch job (Y/N)?
>> >
>> > I've tried the latest snapshot, in addition to the current 
>> installer,
>> > and still encounter this problem. Below is my cygcheck -svr 
>> output. Has
>> > anyone else seen this?
>> >
>> > Brandon
>> 
>> I believe <http://cygwin.com/ml/cygwin/2004-01/msg01336.html> 
>> sums it up
>> pretty nicely.  BTW, your cygcheck output below does not show 
>> you using
>> the latest snapshot.  See <http://cygwin.com/snapshots/> for 
>> instructions
>> on installing and using snapshots.
>>   Igor
>> P.S. Next time, please attach the cygcheck output as an 
>> uncompressed text
>> *attachment*, as per <http://cygwin.com/problems.html>.> 
>
>
>Thanks for the help Igor. I wonder if perhaps 1.5.6-1 shouldn't be offered right off 
>the home page, or whether a disclaimer should be prominent. As a release announced in 
>the news section, it has the appearance of a stable release.


I don't want to get into a debate over what a "stable release" should be
defined as but Cygwin 1.5.6 is a release of the Cygwin package that has
as much (and perhaps more) testing as any other release of the package.
It just contains more fundamental changes than the typical release and
it took the release before some of them were found (snapshots of the
upcoming release are always available to anyone who would like to test 
things out before they are unleashed publicly).  There is still some 
benefit to people using 1.5.6 to see if there are other problems not already
found too, though it's even better if people would try the latest snapshot
(since that's the first thing we'll suggest if someone writes in with a 
problem with 1.5.6 ;-) ).  1.5.7 will be along to make all this moot 
anyway. :-)


--
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: setup change this year?

2004-01-30 Thread Larry Hall
At 12:20 PM 1/30/2004, Sam Steingold you wrote:
>> * Larry Hall <[EMAIL PROTECTED]> [2004-01-29 20:32:28 -0500]:
>>
>> <http://cygwin.com/setup-snapshots/>
>>
>> You can pull down 2.418 (really just adds resizable controls)
>
>resizable controls is a big thing, 2.418 has been there for 3 months,


I wasn't suggesting that resizable controls isn't a "good thing" or
something that people don't want.  I was just pointing out that there 
are no big changes to setup's operation other than these GUI enhancements
when compared to 2.416.


>why hasn't it been released yet?
>


Here's Rob Collin's answer:

<http://www.mail-archive.com/[EMAIL PROTECTED]/msg09485.html>


--
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 1.5.6-1: CTRL-C freezes bash

2004-01-30 Thread Larry Hall
At 12:23 PM 1/30/2004, Brandon Nelson you wrote:

> 
>> Please try and configure your mailer to line wrap at <= 80 characters.
>> It *really* messes up the mailing list archives:
>> 
>> http://www.cygwin.com/ml/cygwin/2004-01/msg01381.html
>
>I'm working with IT on it... with Outlook 2000, it can only be
>set in the Exchange server. (heavy sigh)
>
>> 
>> > Thanks for the help Igor. I wonder if perhaps 1.5.6-1 shouldn't be
>> > offered right off the home page, or whether a disclaimer should be
>> > prominent. As a release announced in the news section, it has the
>> > appearance of a stable release.
>> >
>> It was originally thought to be a stable release.  1.5.7 is 
>> immanent now,
>> so there should be no reason to pull or disclaim 1.5.6.
>>
>
>Other than to save many people perhaps many hours of 
>troubleshooting effort... people like me who thought the problem
>must lie in their own configurations.


Always watch the email list after installing a new version.  If there
are significant (or even not so significant) problems, you'll see others
reporting them.


--
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: Problems with Emacs

2004-01-30 Thread Larry Hall
At 01:23 PM 1/30/2004, Charles Plager you wrote:
>Hello,
>Before I managed to  up my cygwin install, I had emacs 21.2.1 installed as 
> well as an emacs package tramp installed.
>
>Yesterday, I reinstalled cygwin from scratch choosing (among other packages) the 
> latest version 21.2.12 of emacs.  Most of the time I try to start the program (using 
> X) , it launches o.k.  But sometimes, the window pops up and it freezes taking all 
> of the cpu (it says "loading ed mode").  I have repeatedly tried to uninstall and 
> reinstall emacs and I keep getting the same errors.
>
>Does anybody have any ideas?  Has anybody else seen this?
>


Try installing the latest snapshot of the Cygwin DLL
<http://cygwin.com/snapshots/>.


--
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: cvs problems

2004-01-31 Thread Larry Hall
At 05:58 PM 1/30/2004, Clare McInerney you wrote:
>Hi,
>I'm a new user to cygwin and recently installed 1.5.6.1 on windows xp. I 
>installed the cvs module (cvs 1.11.6), and added these to .bash_profile:
>export CVSROOT=:ext:[EMAIL PROTECTED]:/src/ois-projects/cvsroot  
>export CVS_RSH=ssh
>
>When I try
>$ cvs get -d dev ted
>
>I get a segmentation fault - I've attached a sample of the output - I also 
>got a cvs.exe.stackdump that I can forward if necessary.
>
>$ cvs 
>runs correctly.
>
>I've tried uninstalling the cvs module and reinstalling from different 
>mirror sites but that didn't help. Thanks for any help. 
>Clare.


Please try again with the latest Cygwin package snapshot available
from <http://cygwin.com/snapshots/>.  If problems persist, please
follow the problem investigation and reporting procedures outlined
at <http://cygwin.com/problems.html>.



--
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: stderr issues when running bat scripts

2004-01-31 Thread Larry Hall
Try removing 'tty' from your Cygwin environment variable.

Larry


At 06:10 PM 1/30/2004, Clint Bennion you wrote:
>-I have been unable to create a test case only using cygwin
>-I was unable to reproduce the problem on another box, indicating that it is some 
>"configuration"
>issue that is only effecting 1.5.6-1.
>-I tried creating another account on my box, it had the same problem.
>-I installed the 1.5.5 version using setup, made sure it worked, and then copied the 
>1.5.6 dll in
>place (not using setup), I still had the problem.
>
>I would be very interested in hearing if someone has another suggestion on what to 
>try or
>something to look for.
>
>Clint
>
>
>--- Clint Bennion <[EMAIL PROTECTED]> wrote:
>> I have downloaded the latest snapshot and the issue remains.  Also attached is the 
>> cygcheck -srv
>> output.
>> Clint
>> 
>> --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote:
>> > On Wed, 28 Jan 2004, Clint Bennion wrote:
>> > 
>> > > Although this appears on the surface to be a windows issue I am bringing
>> > > this to the cygwin group for two reasons.
>> > > 1 - It only fails when I run it from a bash shell.
>> > > 2 - It recently started failing.  I re-installed an older version of the
>> > > cygwin package and the problem goes away.
>> > >
>> > > Version that failed:
>> > > Cygwin 1.5.6-1
>> > >
>> > > Tested working version:
>> > > Cygwin 1.5.5-1
>> > >
>> > > OS
>> > > Windows 2000 Professional
>> > > 5.0.2195 Service Pack 4 Build 2195
>> > 
>> > There's more to your Cygwin configuration than the version of the DLL.
>> > Please read and follow .  Attaching the
>> > output of "cygcheck -svr" is not optional.
>> > 
>> > > Here are two scripts for a test case.  The bat script calls the cscript in a 
>> > > for loop.  The
>> > for
>> > > loop catches the last line from stdout and puts it in the variable out.  The 
>> > > cscript simply
>> > puts
>> > > the text "STDOUT" to stdout and "STDERR" to stderr.
>> > >
>> > > ==Start tst.bat
>> > > rem echo "" 1>&2
>> > > echo ""
>> > > set CMD=cscript /nologo tst.wsf
>> > > FOR /F "delims=#" %%A IN ('%CMD%') DO set OUT=%%A
>> > > echo %OUT%
>> > > ==End tst.bat
>> > > ==Start tst.wsf
>> > > 
>> > > 
>> > > 
>> > > WScript.stderr.writeLine( "STDERR" );
>> > > WScript.stdout.writeLine( "STDOUT" );
>> > > 
>> > > 
>> > > 
>> > > ==End tst.wsf
>> > >
>> > > ==Start output
>> > > m:\class\cmd>rem echo "" 1>&2
>> > >
>> > > m:\class\cmd>echo ""
>> > > ""
>> > >
>> > > m:\class\cmd>set CMD=cscript /nologo tst.wsf
>> > >
>> > > m:\class\cmd>FOR /F "delims=#" %A IN ('cscript /nologo tst.wsf') DO set OUT=%A
>> > >
>> > > m:\class\cmd>set OUT=CScript Error: Execution of the Windows Script Host failed.
>> > >  (Unspecified error
>> > >
>> > > m:\class\cmd>set OUT=)
>> > >
>> > > m:\class\cmd>echo )
>> > > =End Output
>> > >
>> > > There are multiple things that I can do to get the scripts to run.
>> > > 1) Uncomment the first echo line.  This line redirects a return to stderr.
>> > > 2) Don't ever send to stderr in the cscript
>> > > 3) Redirect either stdout or stderr to a file when running tst.bat
>> > >
>> > > Another interesting test case that I will describe.  Adding a line with
>> > > "%CMD%" before and after the for loop causes the cscript to be called
>> > > directly.  In this case the first call succeeds.  The for loop fails and
>> > > the next call to cscript fails.
>> > >
>> > > I probably shouldn't do this, since I know so little about the inner
>> > > workings, but here is my musings. It would seem that the for loop causes
>> > > special problems.  Possibly because it is doing a form of redirection,
>> > > stdout to the set commands and stderr should go to the screen.
>> > > Although this causes problems for future calls to cscript I don't know
>> > > why.  It must be that adding the echo to stderr at the first causes the
>> > > plumbing for stderr to be setup properly and all future commands
>> > > succeed.  There is no need to respond to this paragraph.  I wrote it
>> > > just to help get the thought process going if it is needed.
>> > >
>> > > Clint
>> > 
>> > Did you try the latest snapshot?  There were some problems with 1.5.6 that
>> > were fixed in CVS.  See .
>> > 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
>> > 
>> > --
>> > Unsubscribe info:   

Re: Server Report

2004-01-31 Thread Larry Hall
At 06:45 PM 1/30/2004, [EMAIL PROTECTED] you wrote:
>This account will cease to exist on:
>Dit account wordt opgeheven op:
>
>1 sep 2003
>
>Thomas.


And please make sure the change is retroactive.



--
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: setup did not ask me to reboot

2004-01-31 Thread Larry Hall
At 12:19 PM 1/31/2004, Karl M you wrote:
>Hi All...
>
>I am running win2k and just updated to the latest cygwin dll. When I ran setup the 
>install went fine
>for both 1.5.7-1 dlls :>). However it did not ask me to reboot sometime soon. I have 
>sshd running
>under cygrunsrv.
>
>Is there something new here or should I have beed asked to reboot?


The output from 'uname -a' should answer this question.



--
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: installation of jgraph

2004-01-31 Thread Larry Hall
At 12:32 PM 1/31/2004, Simon Koo you wrote:
>Hello,
>
>I would like to use jgraph in cygwin to plot some graph. However I don't really know 
>how I should do it. How can I make jgraph works in my cygwin? I appreciate it so much 
>if you could help and tell me about the procedure. Thanks.


This question is off-topic for this list.  I'm sure you can find a site
or list to ask specific questions about the operation of jgraph if you 
need it.  However, I will point you to the available docs that come
with all Cygwin packages in /usr/doc or /usr/share/doc.  Also, you can
consult the man page for jgraph.

HTH,



--
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: cvs problems

2004-01-31 Thread Larry Hall
At 12:51 PM 1/31/2004, Larry Hall you wrote:
>At 05:58 PM 1/30/2004, Clare McInerney you wrote:
>>Hi,
>>I'm a new user to cygwin and recently installed 1.5.6.1 on windows xp. I 
>>installed the cvs module (cvs 1.11.6), and added these to .bash_profile:
>>export CVSROOT=:ext:[EMAIL PROTECTED]:/src/ois-projects/cvsroot  
>>export CVS_RSH=ssh
>>
>>When I try
>>$ cvs get -d dev ted
>>
>>I get a segmentation fault - I've attached a sample of the output - I also 
>>got a cvs.exe.stackdump that I can forward if necessary.
>>
>>$ cvs 
>>runs correctly.
>>
>>I've tried uninstalling the cvs module and reinstalling from different 
>>mirror sites but that didn't help. Thanks for any help. 
>>Clare.
>
>
>Please try again with the latest Cygwin package snapshot available
>from <http://cygwin.com/snapshots/>.  If problems persist, please
>follow the problem investigation and reporting procedures outlined
>at <http://cygwin.com/problems.html>.
>


Scratch the part about downloading and installing a snapshot.  Just rerun
setup and install the new Cygwin package (1.5.7).  Make sure the date on
the Cygwin package you download is 2004-01-30 19:32 though.  If it's any
earlier, try another mirror.

The stuff I mentioned about reporting problems is still valid.



--
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: sys/types.h fails to compile under g++

2004-01-31 Thread Larry Hall
WFM with 'g++ -o sock sock.cpp'.  

Your gcc/g++ is out of date, though I doubt that's the main problem.  See 
<http://cygwin.com/problems.html> if you need to post again for help on
this issue.

Thanks,

Larry


At 09:52 AM 1/31/2004, Graham Walsh you wrote:
>Hiya, first time using cygwin I have a linker error when compiling a stock socket 
>app.  All I use is standard calls to socket, bind etc. etc.
>
>All the symbols usually located in libsocket.so on unix are missing, i.e. bind, 
>socket, etc. etc. I am at a loss as to what to link against. If anybody knows the 
>compilation and link options I need it would help me out completely. I am assuming 
>that the standard cygwin release provides all the libs I need to do this type of unix 
>coding on my humble XP box. If I've missed anything, please let me know. I am using 
>GCC v3.2 on an XP machine with the latest cygwin installation.
>
>
>my goal here is simply to write unix style code with gcc on my xp box.
>
>
>Cheers,
>
>
>GrahamO
>
>
>#include 
>#include 
>#include 
>#include 
>#include 
>#include 
>#include 
>#include 
>#include 
>#define PORT 3550   /* Port that will be opened */
>#define BACKLOG 2   /* Number of allowed connections */
>extern "C" int close(int);
>extern "C" void bzero(void *, size_t);
>using namespace std;
>main()
>{
> int fd, fd2; /* file descriptors */
> struct sockaddr_in server; /* server's address information */
> struct sockaddr_in client; /* client's address information */
> int sin_size;
> if ((fd=socket(AF_INET, SOCK_STREAM, 0)) == -1 )
> {  /* calls socket() */
>   printf("socket() error\n");
>   exit(-1);
> }
> server.sin_family = AF_INET;
> server.sin_port = htons(PORT);   /* Remember htons() from "Conversions" section? =) 
> */
> server.sin_addr.s_addr = INADDR_ANY;  /* INADDR_ANY puts your IP address 
> automatically */
>//   bzero(&(server.sin_zero),8); /* zero the rest of the structure */
>//  void *memset (void *ptr, int val, size_t len);
> memset(&(server.sin_zero), 0, 8);
>
> if(bind(fd,(struct sockaddr*)&server,sizeof(struct sockaddr))==-1){ /* calls bind() 
> */
> printf("bind() error\n");
> exit(-1);
>
> }
> if(listen(fd,BACKLOG) == -1){  /* calls listen() */
> printf("listen() error\n");
> exit(-1);
> }
>while(1){
> sin_size=sizeof(struct sockaddr_in);
> if ((fd2 = accept(fd,(struct sockaddr *)&client,&sin_size))==-1){ /* calls accept() 
> */
>   printf("accept() error\n");
>   exit(-1);
> }
>
> printf("You got a connection from %s\n",inet_ntoa(client.sin_addr) ); /* prints 
> client's IP */
>
> send(fd2,"Welcome to my server.\n",22,0); /* send to the client welcome message */
>
> close(fd2); /*  close fd2 */
>}
>}
>/* < SOURCE CODE ENDS HERE > */
>
>_____
>Scope out the new MSN Plus Internet Software — optimizes dial-up to the max!   
>http://join.msn.com/?pgmarket=en-us&page=byoa/plus&ST=1
>
>
>--
>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/

--
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: stderr issues when running bat scripts

2004-01-31 Thread Larry Hall
At 02:29 PM 1/31/2004, Clint Bennion you wrote:
>Thank you, That worked.
>
>Do you suspect that the change in 1.5.6:
> 
>- Protect tty access from unauthorized users.  (Pierre Humblet,
>Christopher Faylor)
>
>is somehow kicking in and not allowing this script to run?
>If so, should this script be considered an unathorized user?


Sorry.  The tty code isn't my specialty.  I'll let Pierre or Chris comment
on this if they feel the urge.  In general, ttys don't play that well in
pure Win32 land (which bat files are).


--
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: Linking problems

2004-02-01 Thread Larry Hall
At 12:40 PM 2/1/2004, Sean LeBlanc you wrote:
>Hi all. I'm currently having troubles linking against a lib. The signature
>it complains about certainly shows up when I search the lib. I have been
>able to build against other libs in the same set (MS' Host Integration
>Server API), but not against anything in this lib.
>
>Are there a set of things to look for when link failures like this happen?
>Do some windows libs get exported in different ways that require something
>beyond this:
>
>I'm compiling with both -L and -l.  
>
>-v doesn't seem to give me any helpful information.


Please read and follow:

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

when contacting the list with an issue you believe to be Cygwin-related.
This allows interested parties on the list to evaluate your problem in 
the light of some specifics and ask informed follow-up questions.

Thanks,


--
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: Linking problems

2004-02-01 Thread Larry Hall
At 07:34 PM 2/1/2004, Sean LeBlanc you wrote:
>On 02-01 18:16, Larry Hall wrote:
>> At 12:40 PM 2/1/2004, Sean LeBlanc you wrote:
>> >Hi all. I'm currently having troubles linking against a lib. The signature
>> >it complains about certainly shows up when I search the lib. I have been
>> >able to build against other libs in the same set (MS' Host Integration
>> >Server API), but not against anything in this lib.
>> >
>> >Are there a set of things to look for when link failures like this happen?
>> >Do some windows libs get exported in different ways that require something
>> >beyond this:
>> >
>> >I'm compiling with both -L and -l.  
>> >
>> >-v doesn't seem to give me any helpful information.
>> 
>> 
>> Please read and follow:
>> 
>> >Problem reports:   http://cygwin.com/problems.html
>> 
>> when contacting the list with an issue you believe to be Cygwin-related.
>> This allows interested parties on the list to evaluate your problem in 
>> the light of some specifics and ask informed follow-up questions.
>> 
>> Thanks,
>
>Well, I guess this is a way of telling me that I didn't include enough info.
>:) 


You're very astute.  I'd give you a gold star for this [this is in no way 
related to CGF's Gold Star program <http://cygwin.com/goldstars/>] but you 
didn't fully digest the content.  I see no output from cygcheck *attached*.
:-(


>I'm not intimating that this is a problem with Cygwin or the gcc (ld)
>port per se, I'm just trying to find out if maybe there is a different way
>that some libs export their methods. Or maybe there is a quirk I'm unaware
>of.  Let me reiterate that I have been able to link against other libs in
>this same api using this same version of gcc on this same version of
>Cygwin...so it's clear that it's possible. 


There's no magic, if that's what you're asking.  You imply that you can
determine that the function you're looking for is in the library.  I'm
not sure how you're doing this but if you can find it via 'nm', then 
you're all set.  


>Anyway, here is a listing of what happens during make when the error occurs.
>Maybe this will be provide more insight:
>
>gcc -v -mno-cygwin -L./lib -Wl,--add-stdcall-alias -shared -o cpic.dll


Ah, so you're using the MinGW version of gcc.  This really takes you out
of the realm of this list and into the MinGW one <http://www.mingw.org/>


>cpic.o -lwcpic32 -lwappc32 -wincsv32
>Reading specs from /usr/lib/gcc-lib/i686-pc-mingw32/3.2/specs
>gcc: unrecognized option `-wincsv32'

^^

This seems like a problem to me.


>Configured with: /netrel/src/gcc-3.2-3/configure
>--enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix
>--with-system-zlib --enable-
>nls --without-included-gettext --enable-interpreter
>--disable-sjlj-exceptions --disable-version-specific-runtime-libs
>--enable-shared --build=i686-pc-
>linux --host=i686-pc-cygwin --target=i686-pc-cygwin --enable-haifa
>--prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib
>--includedir=/
>nonexistent/include --libexecdir=/usr/sbin
>Thread model: posix
>gcc version 3.2 20020927 (prerelease)

^^
gcc is out of date.


> /usr/lib/gcc-lib/i686-pc-mingw32/3.2/../../../../i686-pc-mingw32/bin/ld.exe
>--shared -Bdynamic -e [EMAIL PROTECTED] -o cpic.dll /usr/lib/gcc-lib/
>i686-pc-mingw32/3.2/../../../../i686-pc-mingw32/lib/dllcrt2.o
>/usr/lib/gcc-lib/i686-pc-mingw32/3.2/crtbegin.o -L./lib
>-L/usr/lib/gcc-lib/i686-pc-mingw
>32/3.2
>-L/usr/lib/gcc-lib/i686-pc-mingw32/3.2/../../../../i686-pc-mingw32/lib
>-L/usr/lib/gcc-lib/i686-pc-mingw32/3.2/../../.. --add-stdcall-alias cpic
>.o -lwcpic32 -lwappc32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt
>-lmingw32 -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc
>-lmoldname -lm
>ingwex -lmsvcrt /usr/lib/gcc-lib/i686-pc-mingw32/3.2/crtend.o
>cpic.o(.text+0x6a):cpic.c: undefined reference to [EMAIL PROTECTED]'
>
>
>Note that this is a DLL I'm trying to build, but I'm also unable to link
>when just building an executable that uses this same lib. BTW, searching for
>[EMAIL PROTECTED] on wcpic32.lib does come back with results.


Ah!  Here's some details.  Well, here's what I get:

nm /Program\ Files/Microsoft\ Visual\ Studio/VC98/Lib/WCPIC32.LIB | grep cminit
 I [EMAIL PROTECTED]
 T [EMAIL PROTECTED]
 I [EMAIL PROTECTED]
 T [EMAIL PROTECTED]


This implies to me that you don't have the proper prototype included in 

Re: Modular setup?

2004-02-02 Thread Larry Hall
At 08:09 PM 2/2/2004, Chris Jefferson you wrote:
>Hello.
>
>I suspect that this is a FAQ, but I haven't found it, so I'll ask it!
>
>Unlike linux / *BSD / etc distributions, it doesn't seem easy to automate the cygwin 
>install utility. I don't seem able to get a list of installed packages, give a 
>package to install from a given file, examine the package cache , etc.


For automating the Cygwin install, see 

<http://www.cygwin.com/ml/cygwin/2002-11/msg01490.html>

For many of the others, see 'man cygcheck'.


>Now I think I can figure out how to get to these things, but I would personally 
>perfer a nice command-line package utility which I could use to automate things 
>(particularily an interest of mine, downloading binary patches to existing cached 
>downloads to avoid having to redownload).


Nobody is generating binary patches right now and there is no facility
for downloading these.


>This would perhaps require seperating the existing setup into two pieces, a 
>"bootstrap" section which just installed a minimal system involving this setup 
>program, and then running the setup program itself, or perhaps some other method.
>
>Is this kind of thing not covered in cygwin because it is felt it would needlessly 
>complicate things, or simply because no-one has written the code? :)


Certainly the latter.  I expect some of the former as well.  But don't 
let that stop you from playing. :-)


--
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: Problem with ssh keys

2004-02-03 Thread Larry Hall
At 09:10 AM 2/3/2004, Pedro Luiz Nani Costa you wrote:
>Hello everyone
>
>I know this subject is exausted on the list, but i can't figured out 
>what's happening on my case.
>
>Look, i have winXP e win2000 machines and i set up properly sshd on 
>cygwin(CYGWIN_NT-5.1 pcdep06 1.5.5(0.94/3/2) 2003-09-20 16:31 i686).
>
>The hole thing is i have to use HOME directories in NTFS drives on my net, 
>e. g., my home is like //pcdep41/home/$USER. So when i'm trying  to 
>authenticate with ssh keys, which is generated e registered on other 
>machines properly. So, i get the obvious:
>
>$ ssh kirin
>@@@
>@ WARNING: UNPROTECTED PRIVATE KEY FILE!  @
>@@@
>Permissions 0644 for '//pcdep41/home/pcosta/.ssh/id_dsa' are too open.
>It is recommended that your private key files are NOT accessible by 
>others.
>This private key will be ignored.
>bad permissions: ignore key: //pcdep41/home/pcosta/.ssh/id_dsa
>Enter passphrase for key '//pcdep41/home/pcosta/.ssh/id_dsa':
>[EMAIL PROTECTED]'s password:
>
>
>Indeed, look my home directory:
>
>[EMAIL PROTECTED] ~/.ssh
>$ ls -l
>total 4
>-rw-r--r--1 pcosta   Nenhum602 Feb  3 11:09 authorized_keys2
>-rw-r--r--1 pcosta   Nenhum668 Jan 29 12:57 id_dsa
>-rw-r--r--1 pcosta   Nenhum604 Jan 29 12:57 id_dsa.pub
>-rw-r--r--1 pcosta   Nenhum697 Feb  2 11:08 known_hosts
>
>
>And of course, chmod or chown doesn't work. I try to define permissions on 
>windows, check my Cygwin environmental variable, all stuff that i could 
>find on this list, but nothing solve the problem.
>
>It is possible do that??? i mean, set the right permissions on my windows 
>drive network


Please read and follow the link below for all problem reports to the list:


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


My WAG is that you haven't set 'smbntsec' in your CYGWIN environment 
variable.  Try it and let us know if that helps.  If it doesn't, let 
us know exactly what you did as specified by the link 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://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Problem with ssh keys

2004-02-03 Thread Larry Hall
513:Fernanda Yara dos Santos 
>Foschiani,U-PCDEP06\yara,S-1-5-21-1645522239-838170752-682003330-1028:/home/yara:/bin/bash
>
>
>My variables are now:
>
>CYGWIN   smbntsec tty
>CYGWIN32 smbntsec tty

^^
You don't need this.



>Is there a explicit way to tell Cygwin that i am owner of my drive???
>


chown pcosta.513 .


--
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: update via setup.exe removed NTFS junction?

2004-02-03 Thread Larry Hall
At 09:56 PM 2/3/2004, Rafael Kitover you wrote:
>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
>>Robert Collins
>>Sent: Tuesday, February 03, 2004 4:36 PM
>>To: Robert R Schneck
>>Cc: [EMAIL PROTECTED]
>>Subject: Re: update via setup.exe removed NTFS junction?
>>
>>On Wed, 2004-02-04 at 11:25, Robert R Schneck wrote:
>>
>>> In fact you are correct.  setup.log.full contains:
>>> 2004/02/03 22:59:17 Uninstalling man
>>> ...
>>> rmdir C:\cygwin/var/cache/man
>>> rmdir C:\cygwin/var/cache
>>> rmdir C:\cygwin/var
>>
>>> Indeed, calling rmdir on a junction point will remove it, I suppose
>>> since there's an empty placeholder which gets removed.
>>>
>>>
>>> > Short answer is: 'don't do that'.
>>>
>>> Reasonably good advice.  But it's possible that this should be
>>> considered a bug: uninstalling man shouldn't even try to get rid of var,
>>> perhaps?
>>
>>Nope. When uninstalling, directories are cleaned up. I'm not going to
>>special case 'uninstall completely' when we don't need to.
>>
>>Sounds to me like the windows API has yet another idiocy.
>
>Maybe either Cygwin or fileutils could have some support for NTFS junctions,
>since they sound like a useful feature, or symlinks could be implemented as
>junctions. While we're throwing around unrealistic ideas anyway :)


Well, at least they're ideas that have been discussed before.



--
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: How can I export the errors and warnings to a file in a window program

2004-02-04 Thread Larry Hall
At 07:05 AM 2/4/2004, vikie you wrote:

>In VC++ program,I call the CreateProcess() fuction to run the 
> arm-920t-elf-gcc.exe, How can I export the errors and warnings to a file.Thanks! 
>  


Sorry, this question is off-topic for this list.  Here we talk about
Cygwin (see <http://cygwin.com/lists.html>).  This is really a question 
about CreateProcess() and Windows API functionality.  You'd be best
to ask this question in a Windows forum.


--
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: Problem with ssh keys

2004-02-04 Thread Larry Hall
At 08:41 AM 2/4/2004, Pedro Luiz Nani Costa you wrote:
>On Tue, 3 Feb 2004, Larry Hall wrote:
>
>> At 12:22 PM 2/3/2004, Pedro Luiz Nani Costa you wrote:





>> >My variables are now:
>> >
>> >CYGWIN   smbntsec tty
>> >CYGWIN32 smbntsec tty
>> 
>> ^^
>> You don't need this.
>> 
>Hey man, sorry for the ignorance.but you just told to use smbntsec 
>and work for the permissions.you confuse me..


Sorry.  Yes, I guess that was a little confusing.  You don't need "CYGWIN32".
That variable hasn't been used by Cygwin in ages.


>should i set "ntsec tty" like was before?


No.  Leave CYGWIN as you've set it.  Loose CYGWIN32.




--
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: NFS

2004-02-04 Thread Larry Hall
At 09:19 AM 2/4/2004, Lauer Rainer you wrote:
>I have installed the latest version of cygwin on my PC onto drive c:. I'm
>running Windows2000. The installation was done for ALL users. When I start
>the NFS-server I get the warning, that my version is running for a single
>user.
>I'm not able to set any share, even I've converted all links to SYSTEM. In
>the file /etc/exports I deliberately introduced a bug, but a restart of the
>service ( or new start after re-boot) doesn't report it. Hence, I've got the
>suspicion this file isn't taken into account at all.
>When I try to edit the file exports from the command line, I've to change to
>the directory /etc, otherwise VI opens a new file. Trying out a different
>editor (gvim), the file is opened in C:/etc (not under C:/cygwin/etc).
>Somewhat I managed to screw up the installation despite of following the
>instructions to the letter.
>Should I remove cygwin to re-install in a different way (maybe as admin).


Maybe.


>How?


See:


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

--
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: Text entry to command line program

2004-02-04 Thread Larry Hall
At 09:26 AM 2/4/2004, Ross Boulet you wrote:
>> [...]
>> > > Try something like:
>> > > 
>> > > CYGWIN=notty sqlplus
>> > > 
>> > 
>> > Is that saying notty for sqlplus and tty for everything else?
>> [...]
>> 
>> No, that's an interactive command line, it's not a setting of 
>> the CYGWIN
>> variable (i.e. it's not CYGWIN="notty sqlplus"). The above 
>> actually launches
>> sqlplus, setting the CYGWIN variable to "notty" for its process.
>> 
>> SLao
>> 
>Unfortunately, this does not work.  I had previously tried setting CYGWIN
>within a shell to no avail.  I found it must be set from dos before
>launching bash or ksh.


Correct.  Just as stated in the User's Guide:

<http://cygwin.com/cygwin-ug-net/using-cygwinenv.html>


--
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: Is it possible to move emacs from one computer to another?

2004-02-04 Thread Larry Hall
At 10:25 AM 2/4/2004, Charles Plager you wrote:
>>>>>>>"Charles" == Charles Plager <[EMAIL PROTECTED]> writes:
>>Charles> Is it possible to move the emacs from that distribution
>>Charles> to a computer where emacs isn't working?  
>>I think what you want to do is simply uninstall the version that's
>>not working, and then install an older version which does work.  The
>>setup program should give you a few versions to choose from.
>
>I downgraded my version of emacs to the only other version available (.11 I think).  
>It is behaving differently than the latest (.12), but still crashes.
>
>Any ideas on how I can get a functioning version?


Perhaps some debugging will help solve the problem for you, if you're up 
to it.


--
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: cannot run POPFile with cygrunsrv anymore

2004-02-04 Thread Larry Hall
At 10:08 AM 2/4/2004, dAniel hAhler you wrote:
>Hello cygwin-list,
>
>on Wed, 4. Feb 2004 at 15:07:41 +0100 I wrote:
>
>d> Hello cygwin-list,
>...snip...
>
>I managed to put the required BerkeleyDB.pm files into my new cygwin
>directory and now it works from my account, even as a service..
>
>But installing POPFile as a SYSTEM service still fails..
>
>I verified that the whole cygwin directory is set with full permission
>to SERVICE and are inherited to all objects below..
>
>I checked \var and \var\log - both are with full permissions to
>SERVICE.. only the existing popfile log in \var\log (under d:\cygwin)
>had strange setting:
>Read/Write for daniel (BASE\daniel)
>Read for everyone ("Jeder")
>Read for Nobody ("Kein (BASE\Kein)")
>
>But even I deleted the file, creating a "normal" service still fails
>(cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error
>1062)
>


First, see:

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


This seems to point to the fact that there is something in your environment
that isn't available to SYSTEM.  Check that.


--
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: [v2.416] Cannot install Cygwin, using setup.exe

2004-02-04 Thread Larry Hall
At 03:03 AM 2/4/2004, Jochen Dehmer you wrote:
>Hello,
>
>I have a problem in installing cygwin. It won't 
>work :(
>I describe what I were doing:
>
>1) Start setup.exe v2.416
>2) Clicked next
>3) Chosen: Install from local directory
>4) Clicked next
>5) Root directory: "C:\Cygwin", install for "all 
>users", default text file type "Unix"
>6) Clicked next
>7) Local package directory "C:\Temp"
>8) Clicked next
>[MD5 Check here]
>9) Set all categories to "Install"
>10) CANNOT click next nor back. Just Cancel works 
>fine. :-(
>
>So, how am I able to install cygwin using 
>setup.exe?
>
>Some further stories about this pc:
>[Windows 2000, German edition]
>[P3 500Mhz, 768 MB RAM (SDRAM)]
>Before I want to install this cygwin, I tried to 
>install some older version (don't know exactly 
>which version). The installation process won't 
>complete. It locks up itself on about 80% of total 
>installation completed.
>Using taskmanager to kill the setup process, 
>delete the installed files manually and delete 2 
>registry keys (cygnus solutions) should leave a 
>clean system (i think).
>Now all I want to do is to reinstall cygwin, but 
>the "next" button is always disabled :( I am not 
>able to install cygwin.
>
>Anybody knows what this is about?


Yep.  Here's one short thread on the issue.

<http://www.cygwin.com/ml/cygwin-apps/2003-09/msg00045.html>

Doesn't look like it's been debugged by anyone so if you're interested,
take a look.  IIRC, the problem is only noticed when installing from 
a local directory.  If you're just looking for the "quick fix", try 
installing from the Internet.


--
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: Is it possible to move emacs from one computer to another?

2004-02-04 Thread Larry Hall
At 12:14 PM 2/4/2004, Charles Plager you wrote:


>Larry Hall wrote:
>
>>At 10:25 AM 2/4/2004, Charles Plager you wrote:
>>
>>>>>>>>>"Charles" == Charles Plager <[EMAIL PROTECTED]> writes:
>>>>
>>>>  Charles> Is it possible to move the emacs from that distribution
>>>>  Charles> to a computer where emacs isn't working?  
>>>>I think what you want to do is simply uninstall the version that's
>>>>not working, and then install an older version which does work.  The
>>>>setup program should give you a few versions to choose from.
>>>
>>>I downgraded my version of emacs to the only other version available (.11 I think). 
>>> It is behaving differently than the latest (.12), but still crashes.
>>>
>>>Any ideas on how I can get a functioning version?
>>
>>Perhaps some debugging will help solve the problem for you, if you're up to it.
>
>
>If anyone has any ideas on how to debug this, I'm up for it.


OK.  I'd suggest building a debug version and just try running it in gdb
until you see the problem.  This should be pretty easy to do for crash
anyway.  I'd recommend starting with this. 


--
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: Text entry to command line program

2004-02-04 Thread Larry Hall
At 11:41 AM 2/4/2004, Buchbinder, Barry (NIH/NIAID) you wrote:
>To be more specific, while tty must be set beforehand, 


Right, that's what the doc says and it's right! ;-)


>the web page is
>silent about other CYGWIN options.


Sounds sinister.  We must all combat this conspiracy of silence.


>Here's an example:  I set codepage:oem in CYGWIN.  When I run ascii, I see
>the correct OEM characters.  Then, in the same bash shell (no rxvt), if I
>change CYGWIN to have codepage:ansi, I get the ANSI characters.  Resetting
>in bash to codepage:oem gives OEM.  Then if I mark, block, and copy high
>order characters, and then paste the high order characters onto the command
>line, they look just like they were when ascii displayed them, no matter
>what codepage is set to.  if they were pasted behind echo, and then execute
>echo, again they look just like what they were when ascii displayed them.
>Doing echo x | tr x '\266' gives what character is appropriate for what
>codepage is set to at the time.
>
>So changing codepage in CYGWIN after a bash shell is launched can change
>cygwin behavior.


Yep.  Some options are only read at DLL start time.  Others are read 
"more frequently".  Feel free to offer a patch to the User's Guide to 
update it with this information for each option if you're interested.


>-Original Message-
>From: Larry Hall [mailto:[EMAIL PROTECTED] 
>Sent: Wednesday, February 04, 2004 11:03 AM
>To: Ross Boulet; [EMAIL PROTECTED]
>Subject: RE: Text entry to command line program
>
>At 09:26 AM 2/4/2004, Ross Boulet you wrote:
>>> [...]
>>> > > Try something like:
>>> > > 
>>> > > CYGWIN=notty sqlplus
>>> > > 
>>> > 
>>> > Is that saying notty for sqlplus and tty for everything else?
>>> [...]
>>> 
>>> No, that's an interactive command line, it's not a setting of 
>>> the CYGWIN
>>> variable (i.e. it's not CYGWIN="notty sqlplus"). The above 
>>> actually launches
>>> sqlplus, setting the CYGWIN variable to "notty" for its process.
>>> 
>>> SLao
>>> 
>>Unfortunately, this does not work.  I had previously tried setting CYGWIN
>>within a shell to no avail.  I found it must be set from dos before
>>launching bash or ksh.
>
>
>Correct.  Just as stated in the User's Guide:
>
><http://cygwin.com/cygwin-ug-net/using-cygwinenv.html>
>
>
>--
>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/
>
>--
>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[2]: cannot run POPFile with cygrunsrv anymore

2004-02-04 Thread Larry Hall
At 11:46 AM 2/4/2004, dAniel hAhler you wrote:
>Hello cygwin-list,
>
>on Wed, 04. Feb 2004 at 11:17:39 -0500 Larry Hall wrote:
>
>>>But even I deleted the file, creating a "normal" service still fails
>>>(cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error
>>>1062)
>
>L> First, see:
>>>Problem reports:   http://cygwin.com/problems.html
>
>FAQ did not help, but you'll get a checkout..
>
>L> This seems to point to the fact that there is something in your environment
>L> that isn't available to SYSTEM.  Check that.
>
>Please check with me - as I cannot see anything that'd be wrong..
>
>At first, the path was somehow messed up, as the "Norton Ghost" part
>was in '"'s (like "...Wbem;"d:\Programme\Norton Ghost 2003";...") what
>lead to wrong displaying (at least with cygcheck).. one line consisted
>of 'd' only, ..


Services don't work if you install Cygwin as "Just Me".  Either rerun 
setup.exe and choose "All Users" or remount your "user" mounts as "system"
(see 'man mount').




--
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: wincvs and cygwin (tcl DLL naming issue)

2004-02-04 Thread Larry Hall
At 07:36 PM 2/4/2004, Shankar Unni you wrote:
>Daniel Atallah wrote:
>
>>I agree with both of you.  It is definitely a path
>>problem, and i also agree that the cygwin bin
>>shouldn't be in the windows path and vice versa.
>
>Well, we also use Cygwin tools from a lot of non-cygwin programs (e.g. Visual C++), 
>so it has to be in the Windows Path, at least for me.
>
>(Larry Hall: this may be why you couldn't reproduce this problem - it doesn't happen 
>unless (a) you have c:\cygwin\bin in your PATH, and (b) you have the Cygwin tcl/tk 
>and/or Python installed, and (c) you don't have any native Windows Tcl or Python 
>installed).


No, that describes my installation.  What wasn't clear initially and is
now is that folks were starting wincvs from Cygwin's shell.  If I do that,
I don't get the hang some have reported but wincvs will exit immediately
after it displays any "startup" dialogs (the tips and the reminder about
installing Python - even though I have the Cygwin one installed).  I don't
have a problem starting wincvs from Windows, even though Cygwin is still
in my path (although not at the front the way it is for my Cygwin shell).


>Anyway, given that this will happen even in other circumstances, I'd just like to 
>understand what it is that has changed to cause this to hang.


OK, but you'll need to dig a bit for that.


>But I don't want to waste anyone's time debugging this - I was just looking to see if 
>anyone had an "oh yeah, xxx or yyy has changed" type ready answer. 


Yeah, no one is going to be able to point to "this" or "that" and say it's
the problem.  This will take some debugging on someone's part.  It's 
possible it's just a DLL naming clash as previously mentioned.  However, 
the name of Cygwin's TCL DLL isn't new so again, it would be good to 
understand the cause better.  Clearly, this problem is just a symptom of
something of the real problem.


>If not, let's just document this and move on..


Well, seems unproductive in terms of getting to the bottom of the problem
but if that works for all of you having the problem and/or no one is 
interested enough to look for the resolution, the "documentation" is 
done.  It's in the email archives now.



--
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: Is there any option to export the errors and warnings to a file

2004-02-04 Thread Larry Hall
At 07:38 PM 2/4/2004, vikie you wrote:
>Larry Hall,ÄúºÃ£¡
>
>Is there any option to export the errors and warnings to a file.
>Thanks.


Hm, this is an interesting approach.  You ask a question on the Cygwin
list.  I point out that the question is off-topic for the list and 
suggest that you look for another, more appropriate forum.  You respond
by addressing me directly on the list and asking the same question again.
I guess this means we're not connecting.  I'll repeat myself one more time
in case I just wasn't clear enough for you the first time.  This is not a 
list for general questions about how to make Win32 API functions and some
specific gcc cross-compiler work together.  If you need information about
subjects along this line, you need to find a more appropriate list to ask
these questions.  They are off-topic here and won't be discussed.

I hope that's clearer for you and that you'll find the answers to your
questions from the proper forum (or research).



>=== 2004-02-04 10:50:00 ÄúÔÚÀ´ÐÅÖÐдµÀ£º===
>
>>At 07:05 AM 2/4/2004, vikie you wrote:
>>
>>>In VC++ program,I call the CreateProcess() fuction to run the 
>>> arm-920t-elf-gcc.exe, How can I export the errors and warnings to a file.Thanks!
>>
>>
>>Sorry, this question is off-topic for this list.  Here we talk about
>>Cygwin (see <http://cygwin.com/lists.html>).  This is really a question
>>about CreateProcess() and Windows API functionality.  You'd be best
>>to ask this question in a Windows forum.
>>
>>
>>--
>>Larry Hall  http://www.rfk.com
>>RFK Partners, Inc.  (508) 893-9779 - RFK Office
>>838 Washington Street   (508) 893-9889 - FAX
>>Holliston, MA 01746
>
>= = = = = = = = = = = = = = = = = = = =
>
>
>ÖÂ
>Àñ£¡
>
>
>vikie
>[EMAIL PROTECTED]
>2004-02-05
>
>
>
>
>--
>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: cannot run POPFile with cygrunsrv anymore

2004-02-04 Thread Larry Hall
At 08:02 PM 2/4/2004, dAniel hAhler you wrote:
>Hello cygwin-list,
>
>on Wed, 04. Feb 2004 at 14:24:36 -0500 Larry Hall wrote:
>
>L> Services don't work if you install Cygwin as "Just Me". Either
>L> rerun setup.exe and choose "All Users" or remount your "user"
>L> mounts as "system" (see 'man mount').
>
>That's a very good hint!
>
>I tried the second approach, and now have:
>->8
>$ mount
>d:\cygwin\bin on /usr/bin type system (binmode)
>d:\cygwin\lib on /usr/lib type system (binmode)
>d:\cygwin on / type system (binmode)
>a: on /cygdrive/a type system (binmode)
>c: on /cygdrive/c type system (binmode)
>d: on /cygdrive/d type system (binmode)
>e: on /cygdrive/e type system (binmode)
>->8
>
>and after deleting /var/log/popfile.log (which had no permissions for
>SYSTEM), it now works..


Excellent!


>If I understood correctly, the mount settings are stored in registry
>and so I do not have to put anything into /etc/profile or sth?!


I never mentioned anything about where the mount settings are stored.
Their storage location is completely inconsequential overall.  It just
so happens that, at the moment (and for many moments in the past ;-) ),
mount information is stored in the registry.  This will not be true in 
the future.  This is why I pointed you to the 'mount' command.  It 
queries and manipulates the mount settings from the command line 
irrespective of where the data is stored.  So, to answer your question 
about whether something needs to be added to /etc/profile relative to
your original inquiry, the answer is "no".


>Thank you!


You're welcome.  Glad I could help.


>btw: what would be changed, when running cygwin-setup.exe and going
>from "Installed for Just Me" to "All Users"?


What changed is the mount type for the default mount points created by
setup.exe.  They changed from "user" to "system".  This means the mount
points are no longer user-specific but available to all users (including
SYSTEM).



--
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: cannot run POPFile with cygrunsrv anymore

2004-02-05 Thread Larry Hall
At 04:29 AM 2/5/2004, dAniel hAhler you wrote:
>Hello cygwin-list,
>
>on Wed, 04. Feb 2004 at 23:33:20 -0500 Larry Hall wrote:
>
>>>and after deleting /var/log/popfile.log (which had no permissions for
>>>SYSTEM), it now works..
>L> Excellent!
>
>
>>>If I understood correctly, the mount settings are stored in registry
>>>and so I do not have to put anything into /etc/profile or sth?!
>L> I never mentioned anything about where the mount settings are stored.
>
>But I read it somewhere in the docs.. :)
>
>>>btw: what would be changed, when running cygwin-setup.exe and going
>>>from "Installed for Just Me" to "All Users"?
>L> What changed is the mount type for the default mount points created by
>L> setup.exe.  They changed from "user" to "system".  This means the mount
>L> points are no longer user-specific but available to all users (including
>L> SYSTEM).
>
>So this is exactly what I changed now manually?


I don't understand your question.  I gave you two options to fix the 
problem.  One used setup.  The other used the 'mount' command.  You 
said you chose to use setup.  If that's what you call doing it 
"manually" then yes.  Both options I gave allow you to alter the 
mount points setup creates from "user" to "system".  Personally, I 
would call the technique of using the 'mount' command a manual
procedure since it requires changing the mount type explicitly for 
each mount point.  But I suppose there's more than one way of looking
at it.




--
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: rsync 2.6.0-1 coredump with Cygwin 1.5.7-1

2004-02-05 Thread Larry Hall
At 09:25 AM 2/5/2004, Greg Larkin you wrote:
>Hello,
>
>I have been using rsync to perform some remote backups for a while, and it
>is has been working well.  Here are the details:
>
>Remote host: Redhat Linux 9, openssh-3.5p1-11 RPM (has backported Redhat
>security fixes)
>Backup host: Windows XP, cygwin 1.5.7-1, rsync 2.6.0-1, F-Secure SSH v5.3
>build 21
>
>I have been tunneling my rsync backups through SSH with no problem for many
>months.  After the recent Cygwin DLL update (and rsync update from v2.5.7 to
>v2.6.0), rsync has been exiting with a "signal 11" message displayed in the
>Cygwin bash window.  This only happens for certain entries in the remote
>rsyncd.conf file.
>
>I have verified that my SSH connection is not timing out, nor are the
>firewalls closing the connection.  I believe this is a problem introducted
>by the Cygwin DLL update, because I had an archived copy of rsync version
>2.5.7-2.  I tried the backup with that version of rsync, and the same thing
>happened.
>
>I also attempted to downgrade to Cygwin DLL 1.5.5-1, but that didn't seem to
>work.  I kept getting undefined DLL entry point error alerts.  If anyone has
>some instructions on how to properly downgrade, let me know and I'll try
>that to see if the problem goes away.


You must have a package that depends on an exported function that isn't in 
1.5.5.  You'll need to downgrade that package too.


--
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: Segfault in _cygwin_dll_entry

2004-02-05 Thread Larry Hall
At 06:10 AM 2/5/2004, [EMAIL PROTECTED] you wrote:
>Hello!
>
>I have been trying to get LibGGI to build and work on cygwin and
>I have the following problem:
>
>When I run an application linked against the resulting cygggi-2.dll
>it segfaults in [EMAIL PROTECTED] (according to gdb) before main
>is reached.
>
>LibGGI consists of three core libraries: ggi, gii and gg.
>
>Now, cygggi-2.dll is linked against both cyggii-0.dll and
>cyggg-0.dll. cyggii-0.dll is in turn linked against cyggg-0.dll. I
>don't know if there is any relevance to this dependency tree, but
>I include it since programs linked directly against cyggii-0.dll
>does _not_ segfault.
>
>I can not find any relevant difference between how cygggi-2.dll and
>cyggii-0.dll are built. None of them defines a _cygwin_dll_entry,
>which means that cygwin should provide one, if I understand things
>correctly?
>
>strace on the failing application produces no output.
>The only other dlls these dlls depend on (directly) are cygwin1.dll
>and kernel32.dll (according to depends.exe provided with MSVC)
>
>How can I get more info on what is going on? 


I'd suggest 'cygcheck cygggi-2.dll'.  Make sure there's no MS CRT in 
there anywhere.  If there is, you're on dangerous ground.  Comparing the 
output of this with that of cygii-0.dll might be instructive too.


>Is it a known problem?


No.  If nothing "obvious" turns up in your initial efforts to scope the 
problem, you're probably going to be best off debugging into the Cygwin
DLL to see where it crashes.



--
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: cygdrive path

2004-02-05 Thread Larry Hall
At 01:36 PM 2/5/2004, Jan Buys you wrote:
>Hello,
>
>Sorry if this is a dumb newbie question.  I am a dumb newbie to cygwin after 
>all :-)
>
>I use the gcc compiler under cygwin to make some big builds.  gdb is used to 
>debug.  However : I want to use a DDD-style visual front-end to gdb and my 
>first choice was GNAT/GPS (looks DDD-like :) ).  The problem I experience 
>however is that software like this has problems when it encounters '/cygdrive/' 
>in the source file paths in the debug info of the executables I want to debug.
>
>Is there anyone who has a solution to this or can point me to an interesting 
>read ?  AFAIK it would be a bit of a pain to start using a solution set diff 
>than cygwin now...  let me make the best out of it :)


Non-Cygwin applications don't understand Cygwin POSIX paths.  The 'cygpath'
command can be used to translate POSIX paths to Win32/DOS and back but
it's a command-line utility.  You could use it to translate a POSIX path
to a Win32/DOS one as a parameter to a pure Win32 application at the time
that the application starts but you won't find that you can easily invoke
it as an integrated part of a Win32 application, at least not without 
altering the code of that application.  I don't see an option for you 
here unless you plan on building things in Cygwin under "/" and you change
"/" to mount as ":" where  is one of C, D, E,
etc.  If you use the Win32 application from the same drive, you can 
probably squeak by.

Of course, Cygwin has 'ddd' if that's what you want.  You'll need to 
install and run Cygwin's Xfree too though.  If that's not a problem for 
you, I'd say this is a better solution for you.



--
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: cannot run POPFile with cygrunsrv anymore

2004-02-05 Thread Larry Hall
At 02:36 PM 2/5/2004, dAniel hAhler you wrote:
>Hello cygwin-list,
>
>on Thu, 05. Feb 2004 at 12:56:12 -0500 Larry Hall wrote:
>
>>>>>btw: what would be changed, when running cygwin-setup.exe and going
>>>>>from "Installed for Just Me" to "All Users"?
>>>L> What changed is the mount type for the default mount points created by
>>>L> setup.exe.  They changed from "user" to "system".  This means the mount
>>>L> points are no longer user-specific but available to all users (including
>>>L> SYSTEM).
>>>So this is exactly what I changed now manually?
>
>L> I don't understand your question.  I gave you two options to fix the
>L> problem.  One used setup.  The other used the 'mount' command.  You
>L> said you chose to use setup.
>
>Nope. I did the mount way, but wondered, what setup.exe would do..


Same thing, essentially.


>btw: I just installed libxml2 for cygwin and "For all users" was
>checked in setup.exe..


Right.  The options won't change unless you change them.


--
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: ldd equivalent

2004-02-05 Thread Larry Hall
At 09:10 PM 2/5/2004, Edward S. Peschko you wrote:
>hey,
>
>I was wondering if - when you ran cygcheck - it gave equivalent output to 
>ldd.
>
>If so, why isn't it called ldd?
>
>If not, what's the equivalent?
>
>I see mention of an 'ldd-like script' in
>
>http://sources.redha.com/ml/binutils/2002-09/msg00353.html
>
>but unfortunately, the link internal to the message seems to be broken.


Try:

http://sources.redhat.com/ml/binutils/2002-09/msg00353.html

You have a typo in the URL 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://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: ldd equivalent

2004-02-05 Thread Larry Hall
At 09:42 PM 2/5/2004, Edward S. Peschko you wrote:
>On Thu, Feb 05, 2004 at 09:38:33PM -0500, Larry Hall wrote:
>> At 09:10 PM 2/5/2004, Edward S. Peschko you wrote:
>> >hey,
>> >
>> >I was wondering if - when you ran cygcheck - it gave equivalent output to 
>> >ldd.
>> >
>> >If so, why isn't it called ldd?
>> >
>> >If not, what's the equivalent?
>> >
>> >I see mention of an 'ldd-like script' in
>> >
>> >http://sources.redha.com/ml/binutils/2002-09/msg00353.html
>> >
>> >but unfortunately, the link internal to the message seems to be broken.
>> 
>> 
>> Try:
>> 
>> http://sources.redhat.com/ml/binutils/2002-09/msg00353.html
>> 
>> You have a typo in the URL above.
>> 
>
>well, I was there - I'm referring to the link *inside* the message.


Of course.  My apologies.


>It points to some site which no longer exists.


Quite true.


>In any case, why isn't ldd bundled with binutils? 


Sorry, I'm not equipped to answer that.


>Is it just because 
>ldd is implemented on top of objdump?


Certainly not.  Cygwin's binutils has 'objdump'.  



--
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: Segfault in _cygwin_dll_entry

2004-02-06 Thread Larry Hall
At 02:57 AM 2/6/2004, [EMAIL PROTECTED] you wrote:
>Larry Hall wrote:
>
>>I'd suggest 'cygcheck cygggi-2.dll'.  Make sure there's no MS CRT in
>>there anywhere.  If there is, you're on dangerous ground.  Comparing the
>>output of this with that of cygii-0.dll might be instructive too.
>
>~$ cygcheck /bin/cyggg-0.dll
>C:/cygwin/bin/cyggg-0.dll
>  C:/cygwin/bin\cygwin1.dll
>C:\WINNT\system32\ADVAPI32.DLL
>  C:\WINNT\system32\NTDLL.DLL
>  C:\WINNT\system32\KERNEL32.DLL
>  C:\WINNT\system32\RPCRT4.DLL
>
>~$ cygcheck /bin/cyggii-0.dll
>C:/cygwin/bin/cyggii-0.dll
>  C:/cygwin/bin\cygwin1.dll
>C:\WINNT\system32\ADVAPI32.DLL
>  C:\WINNT\system32\NTDLL.DLL
>  C:\WINNT\system32\KERNEL32.DLL
>  C:\WINNT\system32\RPCRT4.DLL
>  C:/cygwin/bin\cyggg-0.dll
>
>~$ cygcheck /bin/cygggi-2.dll
>C:/cygwin/bin/cygggi-2.dll
>  C:/cygwin/bin\cyggg-0.dll
>C:/cygwin/bin\cygwin1.dll
>  C:\WINNT\system32\ADVAPI32.DLL
>C:\WINNT\system32\NTDLL.DLL
>C:\WINNT\system32\KERNEL32.DLL
>C:\WINNT\system32\RPCRT4.DLL
>  C:/cygwin/bin\cyggii-0.dll


OK, fine.


>>>Is it a known problem?
>
>>No.  If nothing "obvious" turns up in your initial efforts to scope the
>>problem, you're probably going to be best off debugging into the Cygwin
>>DLL to see where it crashes.
>
>What should I read to get going with debugging into the Cygwin DLL?


Start here:

<http://cygwin.com/contrib.html>



--
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: Executing windows commands via ssh

2004-02-06 Thread Larry Hall
At 10:00 AM 2/6/2004, Thomas Dorf Nielsen you wrote:
>Hi!
>
>I've been through page after page without finding the answer, so now I
>try here.
>
>We are trying to find a way to execute commands remotely on a Windows XP
>box. We were hoping to be able to install a SSH server (sshd) and then
>login and execute.
>
>But only partial success followed...
>
>We can install a SSH server and login to it from another PC using
>eg. PuTTY, no problem. We get into the remote machine and can do dir,
>cd, etc. But if we try executing other programs, nothing seems to
>happen. For instance we have found a program that can change the
>resolution of the Windows screen, ResSwitch. It can be called from a DOS
>prompt like this:
>
>--
>C:\>ResSwitch 800 600 32 60
>--
>
>If it is run without the right number of parameters ResSwitch displays a
>requester explaining it's usage.
>
>If we run the same command via SSH nothing happens! The prompt just
>returns and nothing is changed:
>
>--
>C:\>ResSwitch 800 600 32 60
>
>C:\>
>--
>
>This is strange, as the "ResSwitch.exe" *is* found. This we believe
>because we get an error if we type something non-existant:
>
>--
>C:\>thingy
>'thingy' is not recognized as an internal or external command,
>operable program or batch file.
>--
>
>So what to do? Do we need to tell the Windows environment to allow the
>SSH login to manipulate the Windows settings, some kind of "xhost +"?
>
>If this *is* in the documentation somewhere please forgive me and direct
>my attention in the right direction! :-)


Actually, this sounds to me like you're trying to interact with your 
desktop remotely, which is a topic that's been covered before for 
Cygwin and ssh.  I'm sure there's something in the email archives 
about it, though I haven't looked for a specific pointer for you.

If I'm right, you need to specify the '-i' flag to 'cygrunsrv' when you
install 'sshd'.  You can also achieve this after the fact by launching
the "Services" applet (of "Administrator Tools") in Windows (NT and 
later) and check "Allow service to interact with desktop" under the 
"Log On" tab.  You can get to the "Administrator Tools" from the control
panel, among other ways.

If this isn't the problem, just build ResSwitch as debugable and 
debug it (you'll want something like VNC if you plan to try to do 
this remotely with VC++).  I assume you know the source is available
from Code Project if you don't already have it.

Good luck,


--
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: installing apache causes setup.exe to crash

2004-02-06 Thread Larry Hall
At 11:20 AM 2/6/2004, loren jan wilson you wrote:
>Hello.
>
>I've been trying to install apache on a brand new cygwin installation.
>I've done this before on a different machine without problems. Now,
>though, I can't find the package on most mirrors. On some mirrors, it
>shows up in "net" but when I click the button to install it, setup.exe
>crashes.
>
>I assume everybody knows about this already? When will it be fixed?
>Is there a suggested workaround?


See <http://sources.redhat.com/ml/cygwin-apps/2004-01/msg00266.html>


--
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: accessing a raw partition

2004-02-06 Thread Larry Hall
At 05:52 PM 2/6/2004, Greg Freemyer you wrote:

>I have used cygwin and dd to access a raw  physical drive before.
>
>$ mount -f -b //./physicaldrive2 /dev/tmp_name
>
>$ dd if=/dev/tmp_name 
>
>
>
>Is there a way to access a raw partition?


You don't need to do any mounting.  See the User's Guide:

<http://cygwin.com/cygwin-ug-net/using-specialnames.html#AEN812>



--
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: libtool linking problem

2004-02-06 Thread Larry Hall
At 07:22 PM 2/6/2004, Goran Frehse you wrote:
>Hi,
>
>I'm trying to compile a project made in Mandrake Linux under Cygwin.
>It goes fine until the following message:
>
>libtool: link: cannot find the library `/GCC/gcc-3.3.1-3/.inst/package-
>gcc/usr/lib/./libstdc++.la'
>
>The Cygwin installation is fresh from the web.
>
>Any help would be greatly appreciated, since I need this to work urgently.
>Thanks,


See:


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


It's hard to work with partial problem reports.

My WAG is that you didn't install the gcc-g++ package.  If that's true, do
so.  If it's not, do a 'cygcheck -c gcc-g++'.  If the "Status" isn't
"OK", reinstall the gcc-g++ package.  If it is "OK" already, I don't 
know what to think beyond pointing you at the link above and suggesting
you follow the procedures it outlines.


--
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: Win 2K Permission issues

2004-02-06 Thread Larry Hall
At 01:38 PM 2/6/2004, Steve you wrote:
>Hi;
>
>I'm on win2K.
>
>I made myself a bash script to back up some vital files on my hard drive.  The script 
>first consolidates a bunch of files from all over my hard drive to one location.
>
>I created logging with my script.  The log has a LOT of "permission denied" error 
>statements.
>
>Eventhough I signed in as myself("steve"), installed cygwin as myself, and ran the 
>script as myself the directories that are getting created by the backup script are 
>getting created as user "Admin".
>
>Is there anyway around this?
>
>Thanks in advance


I'm going to direct you as well to:

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


You have to realize that without proper methods and detailed error-reporting,
folks on the list can only wager guesses as to what's wrong when receiving
reports like this.  To the extent possible, we like to limit "garbage in, 
garbage out" threads.  Read the above link and see if you can help us help
you.



--
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: cp claiming my files are the same when they aren't

2004-02-06 Thread Larry Hall
At 01:44 PM 2/6/2004, Steve you wrote:
>Hi;
>
>I know this might not be the right place to ask this, but I am at a loss to find a 
>more appropriate place.
>
>I am on win2k at work where I am using the "ported gnu utilities" to do some copying 
>of files.
>
>cp keeps sending me error messages that it can't copy the file ( even with -f ) 
>because the files are the same.
>
>They aren't.  Content, size, and datestamps changed.  Only the name remains the same.
>
>Anyone have any idea what this could be about and how I might get around it?
>
>Thanks in advance


Same as with your last inquiry.  Read this:

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

--
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: FLTK porgramming and Cygwin

2004-02-08 Thread Larry Hall
At 10:55 PM 2/8/2004, Maya you wrote:
>"A required .DLL file CYGFLTKNOX-0.DLL, was not found"
>Why am I getting this message when trying to run a small program I just
>compiled using FLTK 1.1.4? It is obvious that I don't have the .DLL, but why
>would I not have it?


You didn't install the fltk package apparently.


>Most importantly, how do I fix the problem?


As with all problems like this, you go to <http://cygwin.com/packages/>,
type in the name of the file you're looking for (cygfltknow-0.dll in this
case - the package search engine is case sensitive), find the package it's 
in, and run setup.exe to install that package.


>Please note that have Dev-C++ using an earlier version of FLTK, that
>compilation works fine and the program runs without any problems.

Good to know.


--
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: IPv6 integration status in Cygwin

2004-02-09 Thread Larry Hall
At 12:54 PM 2/9/2004, Antonio Querubin you wrote:
>I was looking through the archives and noticed there hasn't been much
>recent work on integrating IPv6 into Cygwin.  I've been using Jun-ya
>Kato's IPv6 extensions which work great for simple IPv6 apps - even
>multicast works for some simple cases.
>
>So I was wondering what are the current barriers preventing the
>integration of IPv6 into Cygwin and if there was anything that could be
>done to overcome those barriers.  If full integration isn't possible or
>discouraged for whatever reason, I'd like to at least eventually see an
>IPv6 package option that can be selected during setup.  Reply off-list if
>you wish.


 From my 2 minute perusal of the email archives on this subject, I see 
nothing that suggests this can't be done and some attempts at doing so.
If you're interested in helping to move this work along, then perhaps
you want to start here:

<http://www.cygwin.com/ml/cygwin/2002-08/msg01581.html>

This points to at least one on-going, albeit somewhat external, effort 
for melding Cygwin and IPv6.  There may be others you can find as well.
I think everyone would be interested in seeing IPv6 in Cygwin if you 
have interest in helping make that a reality.



--
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: IPv6 integration status in Cygwin

2004-02-09 Thread Larry Hall
At 02:23 PM 2/9/2004, Antonio Querubin you wrote:
>On Mon, 9 Feb 2004, Larry Hall wrote:
>
>> At 12:54 PM 2/9/2004, Antonio Querubin you wrote:
>> >I was looking through the archives and noticed there hasn't been much
>> >recent work on integrating IPv6 into Cygwin.  I've been using Jun-ya
>> >Kato's IPv6 extensions which work great for simple IPv6 apps - even
>> >multicast works for some simple cases.
>> >
>> >So I was wondering what are the current barriers preventing the
>> >integration of IPv6 into Cygwin and if there was anything that could be
>> >done to overcome those barriers.  If full integration isn't possible or
>> >discouraged for whatever reason, I'd like to at least eventually see an
>> >IPv6 package option that can be selected during setup.  Reply off-list if
>> >you wish.
>>
>>
>>  From my 2 minute perusal of the email archives on this subject, I see
>> nothing that suggests this can't be done and some attempts at doing so.
>> If you're interested in helping to move this work along, then perhaps
>> you want to start here:
>>
>> <http://www.cygwin.com/ml/cygwin/2002-08/msg01581.html>
>
>Actually that's sort of what I already was suggesting above.  Whether it
>be as a separate package or as a beta option for the DLL probably doesn't
>matter as long as there was a way to uninstall either way if that became
>necessary.


Actually, I was pointing more at the general discussion and the embedded
reference than anything else.  The discussion of how it's distributed
is less interesting overall than the content.  


>> This points to at least one on-going, albeit somewhat external, effort
>> for melding Cygwin and IPv6.  There may be others you can find as well.
>> I think everyone would be interested in seeing IPv6 in Cygwin if you
>> have interest in helping make that a reality.
>
>Yeah I'm willing to do any developmental work (time permitting) but want
>to get a feel for where things currently stand.  The message you referred
>to in the archive is almost 1.5 years old so I suspect the environment has
>probably changed especially now that the IPv6 stack in current releases of
>Windows works out of the box.


And the internal link to <http://win6.jp/Cygwin/> states that there are 
still problems, particularly in some of MS's older, IPv6-challenged 
O/S versions.  Cygwin still supports these less capable brethren generally
and there is no plans to jettison support for them.  Whatever is implemented
here has to address any problems that may occur on these platforms. 

This site also contains a zip file with, among other things, a patch against 
cygwin 1.5.7-1.  You're not going to get too much more current than that. ;-)



--
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: cyclical dependencies in setup.ini?

2004-02-09 Thread Larry Hall
At 10:20 PM 2/9/2004, Edward S. Peschko you wrote:
>I was looking at setup.ini, and found the following entries:
>
>@ cygwin
>
>requires: libintl2 _update-info-dir base-passwd
>
>and then...
>
>@ libintl2
>
>requires: cygwin libiconv2
>
>hunh? what's going on? which comes first? 


The chicken.  Wait no, the egg.  Ah, well no, I think it's the chicken...


>Dependencies like this are all over the place inside of setup.ini - where's an 
>accurate representation of what needs to get compiled first?  How do you compile 
>from scratch?


These are package installation dependencies.  If you're trying to build
the Cygwin DLL, visit <http://cygwin.com/contrib.html> for info.  If you're
trying to build some other package, its configure script will tell you
the libraries it depends on.  You can then go looking in 
<http://cygwin.com/packages/> to find the packages you need to install 
if you don't already have them.



--
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: "entry point __getreent" not found errors with sshd and inetd

2004-02-09 Thread Larry Hall
At 11:35 PM 2/9/2004, Christopher G. Morlier you wrote:
>Hi everyone,
>
>I have been attempting to setup sshd and inetd, and have consistently received entry 
>point not found errors when both try to execute (specifically: "The procedure entry 
>point __getreent could not be located in the dynamic link library cygwin1.dll").
>
>I have googled this problem and seen recommendations to ensure I have the latest 
>package versions, to reboot, and to ensure that I do not have multiple copies of 
>cygwin1.dll.   I have done all of these and continue to get the error.  I am running 
>Windows XP Home.
>
>Is there anything else I should try?  What are the possible causes of this problem?


An old or duplicate cygwin1.dll.  I can only point you to:

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

--
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: cyclical dependencies in setup.ini?

2004-02-09 Thread Larry Hall
At 11:40 PM 2/9/2004, Edward S. Peschko you wrote:
>> 
>> >Dependencies like this are all over the place inside of setup.ini - where's an 
>> >accurate representation of what needs to get compiled first?  How do you compile 
>> >from scratch?
>> 
>> 
>> These are package installation dependencies.  If you're trying to build
>> the Cygwin DLL, visit <http://cygwin.com/contrib.html> for info.  If you're
>> trying to build some other package, its configure script will tell you
>> the libraries it depends on.  You can then go looking in 
>> <http://cygwin.com/packages/> to find the packages you need to install 
>> if you don't already have them.
>> 
>
>ok, right, but I want to build versus the snapshots of code; not versus 
>CVS. For one thing, cvs access and ssh access to the outside world is blocked
>here from work, and http access is controlled through a javascript-thingy 
>which would be difficult (so I'm told) to integrate with CVS. Its also nice
>to know that you are building against a given numbered release. 


Yeah, though it's easier said than done.


>If possible, I'd like to avoid having to run across dependencies inside
>of configure files, hence I'm hoping that somewhere its documented 
>(centrally or in someone's head) which packages are dependent on other packages..


For building cygwin1.dll, the dependencies are pretty much what you see
in CVS.  You can look at CVS from the web if you don't know that already.


>(
>ps - I'm looking at CVS right now, and it looks like there are configure/makefiles
>common to all of winsup but not part of any given package. Is it possible to build
>all the sub-packages separately? 


Not if you want to do it the easy way. ;-)


>And are there a list of compilers that people have used to bootstrap cygwin with
>(ex: borland?)
>)


I don't know of anyone who has built cygwin1.dll with anything other than
gcc/g++.


--
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: Problem rolling back cygwin from 1.5.7.1 to 1.5.5.1

2004-02-10 Thread Larry Hall
At 09:07 AM 2/10/2004, Charles Plager you wrote:
>Hello,
>Since I've been having so much trouble with many different versions of emacs, I 
> decided to try to go back to cygwin 1.5.5.1 using setup.exe. It installs without any 
> complaints and tells me to reboot before using.  So after rebooting, I keep getting 
> an error message popping up when I try to use bash or calling commands from perl:
>
>(title) Sh.exe: Entry Point Not Found
>(body) The procedure entry point _fcntl64 could not be located in the dynamically 
>linked library cygwin1.dll.
>
>Upgrading back to 1.5.7.1 solves this problem.  Has this been seen before?   


A good way to answer questions like this for yourself is to check the
email archives. 


--
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: Problem rolling back cygwin from 1.5.7.1 to 1.5.5.1

2004-02-10 Thread Larry Hall
At 11:09 AM 2/10/2004, Ken Thompson you wrote:


>This would seem to indicate that you have two copies of the cygwin1 dll in
>your path.
>


Sorry, no not in this case.  Charles' problem is that he has an app, 'sh',
which is built against Cywgin 1.5.7 but now he's running 1.5.5.  That won't
work.


--
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: Problem rolling back cygwin from 1.5.7.1 to 1.5.5.1

2004-02-10 Thread Larry Hall
At 12:34 PM 2/10/2004, Charles Plager you wrote:


>Larry Hall wrote:
>
>>At 09:07 AM 2/10/2004, Charles Plager you wrote:
>>
>>>Hello,
>>>  Since I've been having so much trouble with many different versions of emacs, I 
>>> decided to try to go back to cygwin 1.5.5.1 using setup.exe. It installs without 
>>> any complaints and tells me to reboot before using.  So after rebooting, I keep 
>>> getting an error message popping up when I try to use bash or calling commands 
>>> from perl:
>>>
>>>(title) Sh.exe: Entry Point Not Found
>>>(body) The procedure entry point _fcntl64 could not be located in the dynamically 
>>>linked library cygwin1.dll.
>>>
>>>  Upgrading back to 1.5.7.1 solves this problem.  Has this been seen before?   
>>
>>A good way to answer questions like this for yourself is to check the
>>email archives. 
>
>I tried to do just that.  Part of the problem is that if you search for version 
>numbers (say 1.5.7), the search engine isn't set up for that:
>
>Search results
>No matches were found for '1 and 5 and 7'


I use google so I wouldn't have noticed that.  Still, you'd probably find 
that searching for "_fcntl64" would be more instructive in any search engine
on this issue.


>Rolling back 'ash' seems to have done the trick.  Thanks Yaakov.


We can all breathe a sigh of relief. ;-)


--
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: cyclical dependencies in setup.ini?

2004-02-10 Thread Larry Hall
At 04:01 PM 2/10/2004, Edward S. Peschko you wrote:
>> > well, I need to know which ones to *build* first, and which order
>> > to build them.. Like I said I want to do it with as few deps as possible,
>> > if possible just g++ and make, and shell.
>> 
>> I believe I mentioned this before, but anyway...  Most maintainers put the
>> build requirements in the Cygwin-specific READMEs in their packages.
>
>what you said was that it was based inside 'configure', ie: if you run configure
>that configure would tell you what you need. READMEs are much better.


No, I mentioned about the configure approach.  Igor's right that this 
information is typically stored in the READMEs.  It was a thinko on my 
part that I didn't mention this as well.  No matter but I just didn't 
want you attributing some less helpful information coming from me to Igor.


--
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: How to install *normal* WordNet after installing CygWin

2004-02-11 Thread Larry Hall
At 01:03 PM 2/11/2004, Lance Ramshaw you wrote:
>I downloaded WordNet-2.0.exe from Princeton to install WordNet in its normal
>Windows mode on a new XP machine.  However, I had installed Cygwin first,
>and since WordNet2.0 is now also available within Cygwin, the normal
>installation process seems to somehow trigger Cygwin's installer, and
>neither version gets successfully installed.
>
>Is there a way to disable Cygwin's installer enough to allow WordNet for
>Windows to install normally?


Sounds like a question for the folks at Princeton.  Our recommendation to 
all third parties integrating Cygwin is to install their application and 
then point to or invoke setup.exe from the Cygwin site for the Cygwin piece.
That will keep existing Cygwin installations from breaking as well as 
subsequent.  It's quite possible that you now have two cygwin1.dlls on your
system which is a recipe for disaster.  There's also a hundred other things
that could be wrong but you'll need the Princeton folks to help you track
down what those could be.


--
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 rebooting computer

2004-02-11 Thread Larry Hall
At 01:25 PM 2/11/2004, Shankar Unni you wrote:
>Anders Nyström wrote:
>
>>Now, my harddisk is partitioned in 2 so sometimes (not always)
>>when doing cd /cygdrive/d TAB, teh computer goes black = softboot = reset
>>Am I doing anything wrong or what
>
>I'm sure Chris and others are getting tired of saying this by now, so:
>
>Follow the guidelines in http://cygwin.com/problems.html for reporting these 
>problems. That'll be a good start. Please follow the directions *exactly*, especially 
>the one about attaching your cygcheck output as an *attachment*.
>
>No, cygwin shouldn't cause the OS to crash, so there's something else going on here..


Quite right.  And while any problem report to this list should follow the
guidelines of the link you pointed to, in this case, it's unlikely that 
additional information will help anyone here diagnose the problem.  These 
crashes are bugs in the O/S or drivers.  Much to the chagrin of some folks 
on this list, we're not a Windows O/S help desk. ;-)  So much discussion of
the issue is off-topic for this list.

Sorry.


--
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: zsh-4.1.1-2 still seems broken under Cygwin-1.5.7-1 .

2004-02-11 Thread Larry Hall
At 05:48 PM 2/11/2004, Morris Siegel you wrote:
>My PC is running under Windows XP Professional, and until recently with 
>Cygwin-1.5.5-1 and zsh-4.1.1-1 .  I upgraded to Cygwin-1.5.6-1, installing everything 
>available, in particular including zsh-4.1.1-2 .  zsh behaved in a buggy fashion.  I 
>reported it; you kindly replied that similarly problems had been reported by others, 
>and that Cygwin-1.5.7-1 should fix matters.  I upgraded to that, and the behavior is 
>improved, but still buggy: (1) sometimes when I start zsh it hangs, sometimes it 
>starts normally; (2) zsh command-line editing generally badly messes up the display 
>when long command lines are being edited.  I seem to recall that problem (2) was a 
>consistent nuisance a while back, but then some new Cygwin release (I don't remember 
>which) fixed it.  (I generally run zsh under screen, by the way.) 
>The only reason I upgraded from Cygwin-1.5.5 was to have the most up-to-date release; 
>it behaved without problem for me.  Is there any way I can restore it? 
>Thanks for your attention and reply. 
>-- Morris M. Siegel
> [EMAIL PROTECTED]


Sure.  Run setup again and downgrade all the packages you upgraded.  But
you're better off trying a snapshot to see if that fixes any problems
you're seeing.  Otherwise, the problems may persist beyond 1.5.7.  It's
good to be moving things forward rather than being stuck in the past. ;-)


--
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: linking with static .lib

2004-02-11 Thread Larry Hall
At 09:27 PM 2/11/2004, Vikram Shrowty you wrote:
>Hi,
>   I have a windows static .lib that I want to use in a cygwin program.
>   Now, since 
>the .lib requires the microsoft c-runtime, I cant directly link it into
>my cygwin program. So I thought I'd make a dll out of it that is linked
>with the microsoft
>c-runtime and then link with the import lib of that dll.
>   So I did this to try and create the dll:
>%gcc -mno-cygwin -shared -o mydll.dll -Wl,--export-all-symbols
>-Wl,--whole-archive windows_static.lib Wl,--no-whole-archive
>
>But im getting these errors:
>fu01.o(.idata$3+0xc): undefined reference to `_libmsvcrt_a_iname'
>fu02.o(.idata$3+0xc): undefined reference to `_libmsvcrt_a_iname'
>fu03.o(.idata$3+0xc): undefined reference to `_libmsvcrt_a_iname'
>fu04.o(.idata$3+0xc): undefined reference to `_libmsvcrt_a_iname'
>fu05.o(.idata$3+0xc): undefined reference to `_libmsvcrt_a_iname'
>fu06.o(.idata$3+0xc): more undefined references to
>`_libmsvcrt_a_iname' follow
>nmth00.o(.idata$4+0x0): undefined reference to `__nm___pctype'
>nmth14.o(.idata$4+0x0): undefined reference to `__nmmb_cur_max'
>nmth28.o(.idata$4+0x0): undefined reference to `__nm___iob'
>
>And these warnings:
>Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized
>Warning: .drectve `-defaultlib:LIBCMT ' unrecognized
>Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized
>Warning: .drectve `-defaultlib:LIBCMT ' unrecognized
>Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized
>.
>.
>many more of these.
>
>
>
>First of all, am I going down the right path in linking to the lib? 


No, not at all unfortunately.  Doing this doesn't get you around your 
initial stated concern, which is a valid one, of linking MSVCRT.  You'll
either need to remove the dependency in the library code itself or forgo
using the library.  There's a slim chance you'd get lucky and squeak by
with both MSVCRT and cygwin1.dll in the same code but if you don't know
what you're doing, the likelihood of success for this is minimal.  I 
can't recommend it.


>And
>if so, what am
>I doing wrong.


I guess, in a nutshell, you're starting from a faulty premise as I 
explained above.  The rest of what you see is just fallout from that
first mistep.

Sorry I don't have better news for you.


--
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: zsh-4.1.1-2 still seems broken under Cygwin-1.5.7-1 .

2004-02-12 Thread Larry Hall
At 02:03 AM 2/12/2004, Peter A. Castro you wrote:
>On Wed, 11 Feb 2004, Morris Siegel wrote:
>
>> My PC is running under Windows XP Professional, and until recently with
>> Cygwin-1.5.5-1 and zsh-4.1.1-1 .  I upgraded to Cygwin-1.5.6-1, installing
>> everything available, in particular including zsh-4.1.1-2 .  zsh behaved in
>> a buggy fashion.  I reported it; you kindly replied that similarly problems
>> had been reported by others, and that Cygwin-1.5.7-1 should fix matters.  I
>> upgraded to that, and the behavior is improved, but still buggy: (1)
>> sometimes when I start zsh it hangs, sometimes it starts normally; (2) zsh
>> command-line editing generally badly messes up the display when long command
>> lines are being edited.  I seem to recall that problem (2) was a consistent
>> nuisance a while back, but then some new Cygwin release (I don't remember
>> which) fixed it.  (I generally run zsh under screen, by the way.)
>
>cgf said in earlier email that this has been fixed in CVS and will be
>pushed into the next release.  For the moment, if you really need zsh
>(like me :), downgrade to 1.5.5 and wait for the update to appear.
>


As I mentioned before, it's better to verify that the current snapshot does
address the problem you're seeing locally.  Otherwise, if you're seeing a 
variant or something different than the rest, your problem won't be known 
until after 1.5.8 is released.  See <http://cygwin.com/snapshots/> for the
latest snapshots you can download and try.



--
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: 1.5.7: core sump: ls /proc/registry

2004-02-12 Thread Larry Hall
At 11:59 AM 2/12/2004, Chuck you wrote:
>Corinna Vinschen <[EMAIL PROTECTED]> wrote in
>news:[EMAIL PROTECTED]: 
>
>> On Feb 11 18:24, Corinna Vinschen wrote:
>>> On Feb 11 11:32, Pierre A. Humblet wrote:
>>> > On Wed, Feb 11, 2004 at 11:26:59AM -0500, Christopher Faylor wrote:
>>> > > On Wed, Feb 11, 2004 at 03:42:24PM +, Chuck wrote:
>>> > > >I just upgraded to 1.5.7. When I do "ls /proc/registry" I get a
>>> > > >core dump. 
>>> > > >
>>> > > >$ ls /proc/registry
>>> > > >Segmentation fault (core dumped)
>>> > > 
>>> > > "Works for me"
>>> > 
>>> > /bin/ls /proc/registry works for me too but
>>> > /bin/ls -F /proc/registry fails.
>>> 
>>> Something's going wrong in get_nt_object_attribute.
>> 
>> Should be fixed in CVS now.
>> 
>> Corinna
>> 
>
>Does that mean it will be fixed in the next release?


Actually it means you should keep an eye out for the next snapshot 
<http://cygwin.com/snapshots/> and try it locally when it becomes 
available.  We'd appreciate a thumbs up or down (with details provided
as specified <http://cygwin.com/problems.html> if there are still problems) 
when you do try the snapshot with this fix.



--
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: zsh-4.1.1-2 still seems broken under Cygwin-1.5.7-1 .

2004-02-12 Thread Larry Hall
At 01:06 PM 2/12/2004, Peter A. Castro you wrote:
>On Thu, 12 Feb 2004, Larry Hall wrote:
>
>> At 02:03 AM 2/12/2004, Peter A. Castro you wrote:
>> >On Wed, 11 Feb 2004, Morris Siegel wrote:
>> >
>> >> My PC is running under Windows XP Professional, and until recently with
>> >> Cygwin-1.5.5-1 and zsh-4.1.1-1 .  I upgraded to Cygwin-1.5.6-1, installing
>> >> everything available, in particular including zsh-4.1.1-2 .  zsh behaved in
>> >> a buggy fashion.  I reported it; you kindly replied that similarly problems
>> >> had been reported by others, and that Cygwin-1.5.7-1 should fix matters.  I
>> >> upgraded to that, and the behavior is improved, but still buggy: (1)
>> >> sometimes when I start zsh it hangs, sometimes it starts normally; (2) zsh
>> >> command-line editing generally badly messes up the display when long command
>> >> lines are being edited.  I seem to recall that problem (2) was a consistent
>> >> nuisance a while back, but then some new Cygwin release (I don't remember
>> >> which) fixed it.  (I generally run zsh under screen, by the way.)
>> >
>> >cgf said in earlier email that this has been fixed in CVS and will be
>> >pushed into the next release.  For the moment, if you really need zsh
>> >(like me :), downgrade to 1.5.5 and wait for the update to appear.
>>
>> As I mentioned before, it's better to verify that the current snapshot does
>> address the problem you're seeing locally.  Otherwise, if you're seeing a
>> variant or something different than the rest, your problem won't be known
>> until after 1.5.8 is released.  See <http://cygwin.com/snapshots/> for the
>> latest snapshots you can download and try.
>
>Thanks, Larry, but I've already confirmed the latest snapshot (20040206)
>fixes the problem.  


Great!


>Still, I feel it's best for most regular users to
>wait for the official release instead of possibly compromising their
>current environment.


I guess I'd soften that statement by saying that one should always 
feel free to roll back to 1.5.5 from the current snapshot.  Testing 
is good but doing so doesn't mean you have to be stuck on some bleeding
edge with no recourse.  There's nothing permanently destabilizing or 
compromising about running a snapshot if you keep around the version of 
cygwin1.dll that you were using before installing the snapshot.  That's 
pretty easy to do, even if your favorite cygwin1.dll version isn't still 
available via setup.exe (which 1.5.5 is).  So I don't view using 
snapshots as compromising an environment but rather insurance against
a release that generates problems for everyone.  I think anyone who
can run a snapshot, at least from time to time, should.  In this case,
I certainly highly recommend that folks try the latest snapshot and report 
any problems they find that haven't already been reported. 



--
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: zsh-4.1.1-2 still seems broken under cygwin-1.5.7-1.

2004-02-12 Thread Larry Hall
At 01:21 PM 2/12/2004, Peter A. Castro you wrote:
>On Thu, 12 Feb 2004, Christopher Faylor wrote:
>
>> On Thu, Feb 12, 2004 at 09:44:26AM -0500, Larry Hall wrote:
>> >As I mentioned before, it's better to verify that the current snapshot does
>> >address the problem you're seeing locally.  Otherwise, if you're seeing a
>> >variant or something different than the rest, your problem won't be known
>> >until after 1.5.8 is released.  See <http://cygwin.com/snapshots/> for the
>> >latest snapshots you can download and try.
>>
>> Right.  This is *exactly* why there are problems with zsh.  Someone had
>> an easily reproducible problem that showed up in 1.5.6.  Rather than
>> report it they apparently waited for 1.5.7 to show up, assuming that all
>> of their problems would be solved.
>
>Well, I would have reported it, but I never had a chance to upgrade to
>1.5.6 in the first place (have been too busy with other things), and then
>along came 1.5.7 any all hell broke loose.  For anyone who wants a stable
>environment, what's the harm in stepping back a version or two so that
>they can get back to work?  


I think I answered this in my prior response but I'll clarify.  I'm not 
recommending that people jump head-first into using the latest snapshot 
and never look back no matter how much trouble they find.  It's prudent and 
recommended to have a backup that you're comfortable with.  If 
you find a problem with the snapshot that significantly impacts your 
productivity, report it, roll back, and do what you need to do.  It's not
an all or nothing affair.  Of course, if you can help debug, that's great 
too!  Sounds like you recognize all this but I'm just a little concerned 
that you're giving the impression to others that once you step into the 
realm of a snapshot, you can't roll back.


>I know that when things like this break in my
>*work* environment, the last thing I'd want is to play russian roulette
>with a snapshot which might make things worse.  


And if it does, so what?  Report, roll back, move on.  What's so hard 
about that?


>If you're not a
>developer, why not just wait?  


You certainly can but then you run the risk of your problem not getting
fixed even if others think the problem has been fixed.  Actually, I would
characterize that stance as russian roulette but if that's what you want
to do and it works for you, I can't stop you.  


>For the life of me, I could never quite
>understand why you and Larry keep pushing the latest stuff when it hasn't
>been fully tested or released.  


And how do you expect it to get tested and ready for release without 
people's help?  That's my point (and I think Chris would concur).


>Now, that being said, I am a developer
>and I do play with the latest snapshots from time to time (like in this
>case), but that's in my home environment where I can tollerate things
>breaking (and often break them myself for fun :).


Everyone has to figure out where and how it makes sense to work with new
software (and not just Cygwin).  If running with newer stuff at home while 
keeping older stuff at work is what works for you, I won't argue.  But it 
does seem like you're pushing too hard on this notion that one cannot recover 
from a snapshot that doesn't work for them.  This is clearly false.


>> There are still problems with the latest snapshot that I hope to have
>> fixed today.  We'll see.
>
>And, that little statement would make me even more nervious about getting
>back to something stable if I had a work schedule to keep.


That's OK.  There are still known problems, as the email archives can
attest.  If those aren't an issue for you, then running with the latest
snapshot is a good idea.  If not, then wait for the next one.  Snapshots
aren't just generated willy-nilly.  They're only generated when someone,
generally Chris, thinks it's worthwhile to have something to test by 
the community at large.  It's an attempt to get releases that are very
stable and generally useful.  If no one uses them, then releases suffer.
But no one can complain about the low quality release then. ;-)


--
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: NTFS links

2004-02-12 Thread Larry Hall
At 01:14 PM 2/12/2004, Chris Jefferson you wrote:
>Cygwin includes quite a number of  symlinks. I personally have changed a number of 
>the cygwin-style symlinks to windows-style ones to fix (as has been mentioned 
>recently) the problem that cygwin-style symlinks don't work from cmd
>
>Would it be possible to automagically change all the cygwin-style symlinks to 
>windows-style ones? is there anything I should watch for if I attempted such a thing?


Setup creates the "old-style" symlinks.  A patch to it that creates
"new-style" is one way of automagically doing this.  A script could be
concocted too. 'ln -s' creates the "new-style" by default.



--
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: What kind of executable is zcat? Crashes from cmd.exe

2004-02-12 Thread Larry Hall
At 03:22 PM 2/12/2004, Bakken, Luke you wrote:
>> Jamshid Afshar wrote:
>> > I just installed Cygwin. What kind of executable is 
>> zcat.exe? It doesn't
>> > show up when I "dir c:\cygwin\bin\zc*" (only zcmp), but I 
>> see it's 19
>> > bytes in Explorer. It works fine within bash, but I want 
>> UNIX utilities I
>> > can use in the regular Windows Command Prompt.
>> 
>> $ ls -l zcat.exe
>> lrwxrwxrwx1 rcampbel Users  19 Jan  6 17:06 
>> zcat.exe -> gzip.exe
>> 
>> As you can see from the ls output, it's a symbolic link 
>> (doesn't work in 
>> cmd).  You can still call gunzip -c (or whatever).
>
>I had a similar problem when trying to use gunzip from a cmd prompt
>outside of a cygwin shell - I was getting illegal ntvdm CPU errors. The
>fix is to replace the softlink with a hard link:
>
>$ cd /bin
>/bin
>$ ls -l zcat*
>lrwxrwxrwx1 lukebUsers  19 Sep 21 16:29 zcat.exe ->
>gzip.exe
>/bin
>$ rm zcat.exe 
>/bin
>$ ln gzip.exe zcat.exe
>/bin
>$ ls -li zcat* gzip* gunzip*
>1125899906888251 -rwxr-xr-x+   3 lukebUsers   62976 Jul 23  2003
>gunzip.exe
>1125899906888251 -rwxr-xr-x+   3 lukebUsers   62976 Jul 23  2003
>gzip.exe
>1125899906888251 -rwxr-xr-x+   3 lukebUsers   62976 Jul 23  2003
>zcat.exe
>
>I would suggest doing the same with any other cygwin executable that is
>a symbolic link that you intend to use "outside" cygwin.


Sure, that's another option but one that eats up disk space if your 
partition isn't formatted for NTFS.  Replacing "ln" with "ln -s" in your
examples above will get you "Windows shortcuts" which you can use at the
command prompt directly, so long as you don't mind typing ".lnk" at the
end of each linked executable.  This assumes you haven't added 
"nowinsymlinks" to your CYGWIN environment variable of course.  This 
approach will save the disk space on non-NTFS partitions.



--
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: zsh-4.1.1-2 still seems broken under cygwin-1.5.7-1.

2004-02-12 Thread Larry Hall
OK Peter, clearly you feel strongly about your position and I'm not trying
to change that.  I'm not suggesting that people should be force-fed Cygwin
or it's snapshots.  I'm not implying that everyone should be using them
all the time.  I'm just trying to raise awareness generally of their 
existence and let people know how they can use them.  People will then 
decide for themselves when is right for them to try them.  And we will,
of course, continue to encourage people, specifically and in general, to 
try them when we think they should. :-)  But we can't (and won't be trying
to) do more than that.  Right now, snapshots don't get allot of use, though 
it is clear that people are getting to know they are there and how to try 
them out.  That's good!  I'd like to see that trend continue.  We can use
all the help we can get.  So I'm just trying to encourage people to consider 
them as an avenue in which they can help improve Cygwin for themselves and 
for others, if they are so inclined.  That's all.

But, as you say, the continued discussion isn't very on-topic and probably
not of much general interest.  So I think it is best to end the discussion 
now.  But if anyone reading this thread (is anyone actually still reading 
this thread? ;-) ) has questions about snapshots, when they could and should 
be used, or how they should be used, feel free to send an inquiry to the 
list (but let's start another thread on it).  I don't want anybody to think 
that snapshots are a "no-man's land" or something.  They are there for anyone
that wants them and they're pretty easy and painless to try.

Sorry if anyone got hot and bothered by this thread.  I didn't think 
that I was saying anything controversial but I'll admit I'm not always 
articulate enough to say what's needed clearly the first time.

Larry


At 05:19 PM 2/12/2004, Peter A. Castro you wrote:
>On Thu, 12 Feb 2004, Larry Hall wrote:
>
>I have to preface this by saying it's quite long and very OT.  If you
>have something better to do, like fixing bugs, by all means skip reading
>the rest of this.
>
>> At 01:21 PM 2/12/2004, Peter A. Castro you wrote:
>> >On Thu, 12 Feb 2004, Christopher Faylor wrote:
>> >
>> >> On Thu, Feb 12, 2004 at 09:44:26AM -0500, Larry Hall wrote:
>> >> >As I mentioned before, it's better to verify that the current snapshot does
>> >> >address the problem you're seeing locally.  Otherwise, if you're seeing a
>> >> >variant or something different than the rest, your problem won't be known
>> >> >until after 1.5.8 is released.  See <http://cygwin.com/snapshots/> for the
>> >> >latest snapshots you can download and try.
>> >>
>> >> Right.  This is *exactly* why there are problems with zsh.  Someone had
>> >> an easily reproducible problem that showed up in 1.5.6.  Rather than
>> >> report it they apparently waited for 1.5.7 to show up, assuming that all
>> >> of their problems would be solved.
>> >
>> >Well, I would have reported it, but I never had a chance to upgrade to
>> >1.5.6 in the first place (have been too busy with other things), and then
>> >along came 1.5.7 any all hell broke loose.  For anyone who wants a stable
>> >environment, what's the harm in stepping back a version or two so that
>> >they can get back to work?
>>
>> I think I answered this in my prior response but I'll clarify.  I'm not
>> recommending that people jump head-first into using the latest snapshot
>> and never look back no matter how much trouble they find.  It's prudent and
>> recommended to have a backup that you're comfortable with.  If
>> you find a problem with the snapshot that significantly impacts your
>> productivity, report it, roll back, and do what you need to do.  It's not
>> an all or nothing affair.  Of course, if you can help debug, that's great
>> too!  Sounds like you recognize all this but I'm just a little concerned
>
>Recognize?  Hell, I *do* debug!  But, debugging isn't for everyone and
>everyone shouldn't be encouraged to attempt debugging unless they have
>the skills to do so.
>
>> that you're giving the impression to others that once you step into the
>> realm of a snapshot, you can't roll back.
>
>I'm not trying to debate you on this issue.  I feel snapshots are a good
>thing to try, *if you can afford to do it*.  I never stated that you
>couldn't rollback from a snapshot, given one saves the original version
>first (and even that's not a requirement), but doing all that is

Re: Cygwin homedirs and roaming profiles.

2004-02-12 Thread Larry Hall
At 08:08 PM 2/12/2004, Hr. Daniel Mikkelsen you wrote:
>Hi.
>
>I've been unable to find information on this in the documentation, the FAQs and
>on the net:
>
>I have a situation where I want to use Cygwin in a multiuser environment where
>users hop from one computer to the next, with roaming profiles (stored on a
>Samba server).
>
>I have two problems:
>
>1) It appears domain users are stored in the local passwd file in a
>"domain\user" format on each workstation. But each user has to run Cygwin once
>to have this (and the homedir) set up. Are there neat ways to do all this
>automaticly and correctly in my situation?


This actually happens on installation, through postinstall scripts.  So
unless the installation happens through some method other than setup.exe
(in which case it is unsupported ;-) ), these files should be on the 
local machine as part of the install.  OK, I just wanted to correct any
misconception you had about how and when these files are made.  On to your
question now.
 
If the machines in question are always on the same domain (it sounds like
they are), you can put the passwd and group files on a central server and
have all the local machines just point to them via symlinks.  If you want
to set them up on the fly, you can always add a little script that's 
invoked from /etc/profile or some such that checks for the file's existence
locally and creates the link if it's not there already.


>2) It looks like I can't have my users' homedirs on the Samba server also be
>the Cygwin homedir for that user - if I want ssh to work. Ssh complains about
>ownership of the ~/.ssh file. Is there a way to fix this short of patching ssh?


Add "smbntsec" to your CYGWIN environment variable and then make sure the
permissions are correct for .ssh and subordinates.



--
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 homedirs and roaming profiles.

2004-02-12 Thread Larry Hall
At 09:09 PM 2/12/2004, Igor Pechtchanski you wrote:
>On Thu, 12 Feb 2004, Larry Hall wrote:
>
>> At 08:08 PM 2/12/2004, Hr. Daniel Mikkelsen you wrote:
>> >Hi.
>> >
>> >I've been unable to find information on this in the documentation, the
>> >FAQs and on the net:
>> >
>> >I have a situation where I want to use Cygwin in a multiuser
>> >environment where users hop from one computer to the next, with roaming
>> >profiles (stored on a Samba server).
>> >
>> >I have two problems:
>> >
>> >1) It appears domain users are stored in the local passwd file in a
>> >"domain\user" format on each workstation. But each user has to run
>> >Cygwin once to have this (and the homedir) set up. Are there neat ways
>> >to do all this automaticly and correctly in my situation?
>>
>> This actually happens on installation, through postinstall scripts.  So
>> unless the installation happens through some method other than setup.exe
>> (in which case it is unsupported ;-) ), these files should be on the
>> local machine as part of the install.  OK, I just wanted to correct any
>> misconception you had about how and when these files are made.  On to
>> your question now.
>>
>> If the machines in question are always on the same domain (it sounds
>> like they are), you can put the passwd and group files on a central
>> server and have all the local machines just point to them via symlinks.
>
>Or just mount /etc (or even /etc/passwd and /etc/group) off a network
>drive...


OK, yeah.  I was thinking of that variant when I mentioned the above 
but I didn't explicitly mention it.  The "central server" doesn't have
to be anything more than some shared folder somewhere on the network.
Don't anybody go a buyin' a Windows server machine just for this! ;-)


--
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: localtime_r not returning local time

2004-02-13 Thread Larry Hall
At 10:11 AM 2/13/2004, [EMAIL PROTECTED] you wrote:

>YEA! - I need this fix since I use the localtime feature of perl and have
>been stuck with 5.8.0 (and rolling back
>to 5.6 required complete re-installation of all other CPAN modules) - which
>had been removed from setup.
>
>Anyhow THANK YOU!!!
>
>( I know I should be a nice guy and test the snapshot - but unfortunately I
>don't a suitible test environment available at the moment. )
>
>( BURNING QUESTION  -  Are  *THANK YOU's*  from non-contributors  ...
>off - topic??? )


If they are Cygwin-specific, they are on-topic for this list. ;-)


--
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 movemail file truncation

2004-02-13 Thread Larry Hall
At 02:31 PM 2/13/2004, Peter Wisnovsky you wrote:
>Hi! I'm trying to figure out a problem I seem to be having with cygwin
>movemail, installed in
>
>/usr/sbin/emacs/21.2/i686-pc-cygwin/movemail
>
>My mail directory for procmail/fetchmail is ~/usr/mail. HOME is
>/users/pwisnovsky. /users is mounted from C:/Documents and Settings in
>textmode:
>
>c:\Documents and Settings on /users type system (textmode)
>
>I have a mailbox tmp.spool which got mail routed into it via
>procmail/fetchmail:
>
>-rw---1 pwisnovs mkgroup-67067 Feb 13 10:32 tmp.spool
>
>When I run movemail -p tmp.spool tmp I end up with
>
>-rw-rw-r--1 pwisnovs mkgroup- 1024 Feb 13 11:17 tmp
>-rw---1 pwisnovs mkgroup-67067 Feb 13 10:32 tmp.spool
>
>Ick! Where did the rest of my email go? I'm trying to bin up my email using
>procmail automagically for later perusal via Emacs VM.
>
>Any suggestions? Could this be a CR/NL/lseek issue? I'm running the cygwin
>emacs 21.2.1 under Xfree86.


Sounds like it could be a binary/text mode issue.  Try mounting '/users'
as binary instead of text.  If it works then, you'll know movemail hasn't
been properly ported to Windows.


--
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 movemail file truncation

2004-02-13 Thread Larry Hall
Movemail is part of the Cygwin Emacs and XEmacs packages so the Cygwin 
package maintainer will know about this problem from this thread.  However, 
it sounds to me like this is a general Win32 problem.  I would think that the 
bug fix would need to be pushed upstream too.  It's probably best to report 
this upstream as well.

Larry


At 04:34 PM 2/13/2004, Peter Wisnovsky you wrote:
>Ah, ok, thanks, that fixed it. However running with a binmode home directory
>will break other things, since everything in there is generally a text file.
>Who maintains the cygwin compile of stuff like emacs movemail? I'm not sure
>where I can file a bug...
>
>Peter
>
>- Original Message - 
>From: "Larry Hall" <[EMAIL PROTECTED]>
>To: "Peter Wisnovsky" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Sent: Friday, February 13, 2004 12:57 PM
>Subject: Re: cygwin movemail file truncation -#- MailID:CNAA
>
>
>> At 02:31 PM 2/13/2004, Peter Wisnovsky you wrote:
>> >Hi! I'm trying to figure out a problem I seem to be having with cygwin
>> >movemail, installed in
>> >
>> >/usr/sbin/emacs/21.2/i686-pc-cygwin/movemail
>> >
>> >My mail directory for procmail/fetchmail is ~/usr/mail. HOME is
>> >/users/pwisnovsky. /users is mounted from C:/Documents and Settings in
>> >textmode:
>> >
>> >c:\Documents and Settings on /users type system (textmode)
>> >
>> >I have a mailbox tmp.spool which got mail routed into it via
>> >procmail/fetchmail:
>> >
>> >-rw---1 pwisnovs mkgroup-67067 Feb 13 10:32 tmp.spool
>> >
>> >When I run movemail -p tmp.spool tmp I end up with
>> >
>> >-rw-rw-r--1 pwisnovs mkgroup- 1024 Feb 13 11:17 tmp
>> >-rw---1 pwisnovs mkgroup-67067 Feb 13 10:32 tmp.spool
>> >
>> >Ick! Where did the rest of my email go? I'm trying to bin up my email
>using
>> >procmail automagically for later perusal via Emacs VM.
>> >
>> >Any suggestions? Could this be a CR/NL/lseek issue? I'm running the
>cygwin
>> >emacs 21.2.1 under Xfree86.
>>
>>
>> Sounds like it could be a binary/text mode issue.  Try mounting '/users'
>> as binary instead of text.  If it works then, you'll know movemail hasn't
>> been properly ported to Windows.
>>
>>
>> --
>> 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/
>>
>
>
>--
>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: latex painfully slow

2004-02-13 Thread Larry Hall
At 06:25 PM 2/13/2004, John M. Adams you wrote:
>Dear Friends,
>
>Yesterday I updated cygwin and now latex is amazingly slow.  By this I
>mean that its output comes out about 1 line per second.  You know,
>stuff like this:
>
>..
>(/usr/share/texmf/tex/latex/hyperref/hyperref.sty
>(/usr/share/texmf/tex/latex/hyperref/pd1enc.def)
>(/usr/share/texmf/tex/latex/config/hyperref.cfg)
>Implicit mode ON; LaTeX internals redefined
>(/usr/share/texmf/tex/latex/misc/url.sty))
>*hyperref using driver hdvips*
>(/usr/share/texmf/tex/latex/hyperref/hdvips.def
>(/usr/share/texmf/tex/latex/hyperref/pdfmark.def)) (./PPRjmadams.sty
>Jmadams style for Prosper ---
>...
>
>It is normal for this stuff to fly by even on slower machines like my
>Linux box, which is only 433Mhz.
>
>I am not observing any other performance problems on the system.  So,
>I wonder whether something is wrong with latex.
>
>Comments?


Sure.  How about:

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




--
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: What kind of executable is zcat? Crashes from cmd.exe

2004-02-13 Thread Larry Hall
At 06:27 PM 2/13/2004, [EMAIL PROTECTED] you wrote:
>Larry Hall writes:
>>Bakken, Luke writes:
>>>$ ls -l zcat*
>>>lrwxrwxrwx1 lukebUsers  19 Sep 21 16:29 zcat.exe ->
>>>gzip.exe
>>>$ rm zcat.exe
>>>$ ln gzip.exe zcat.exe
>
>Thanks, Luke, now I can use zcat from the Windows command line.
>
>>Sure, that's another option but one that eats up disk space if your
>>partition isn't formatted for NTFS.  Replacing "ln" with "ln -s" in your
>>examples above will get you "Windows shortcuts" which you can use at the
>>command prompt directly, so long as you don't mind typing ".lnk" at the
>>end of each linked executable.  This assumes you haven't added
>>"nowinsymlinks" to your CYGWIN environment variable of course.  This
>>approach will save the disk space on non-NTFS partitions.
>
>I really think it's worth a few bytes of disk space (even then only on
>non-NTFS partitions) to have zcat work out of the box in the Windows
>Command Prompt.


OK, if you can get everyone that uses Cygwin on non-NTFS partitions to 
agree to have all the currently linked programs become copies instead, 
let the list know.  ;-)


>That definitely seems like a much better option to having zcat crash or
>having to type "zcat.lnk", right? 


Depends on your point of view, I guess.  The Cygwin lot can be a fickle 
bunch.  Actually, what's been discussed before is to move in the direction
of Windows shortcuts, which you poo-poo above too.


>Should I file an enhancement request?


Nah.  It's a known issue so you'd just be covering the same ground again.
Clearly, it's not a high-priority for anyone since the issue has been 
known for a while.  If you really are interested in seeing some kind of
change here, a patch to setup might stir-up some action (or further 
discussion).  


--
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: Question reg the kernel location

2004-02-13 Thread Larry Hall
At 10:48 PM 2/13/2004, Lakshmy Ramaswamy you wrote:
>Hi,
>I am new to cygwin. I wanted to install ALSA in Cygwin but I am getting an error 
>which states that I need to specify the kernel location since the program is unable 
>to find the kernel location. Specifically it is unable to find:
>checking for kernel version... The file /usr/src/linux/include/linux/version.h does 
>not exist.
>Any suggestion is welcome.


I think you're out of luck.  ALSA stands for Advanced *Linux* Sound 
Architecture so the chances of getting it to build and run on anything
other than Linux with little effort isn't likely.  It's tied to the 
Linux kernel, as the above configure message implies.  Cygwin is great 
but it will never be Linux. ;-)


--
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 : CVS server install on Cygwin with SSH Authentification on Windows XP Pro : author still the same

2004-02-14 Thread Larry Hall

At 03:53 AM 2/14/2004, Flo you wrote:
>> Doesn't look like you're using Cygwin's cvs client...
>
>No i use cygwin only for the server but for the client station (another
>PC from my network) : i make the client tests from my IDE (Intellij
>IDEA). i copied the CVS.exe (from cygwin i think) and put it on the
>client station in the directory : D:\dev\cvs\. Then i configured IDEA to
>use this CVS.exe to execute my CVS commands.
>


I believe Igor was trying to make the point that you should try this with
the cvs client that is Cygwin-based.  If you see problems there, then it's
either a Cygwin-specific issue or a local configuration problem.  If you 
don't have problems with the Cygwin cvs client, then you know it's a 
problem with your client or the interaction between the server and the 
client.  Running this kind of test is a worthwhile effort.


--
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: Why choice between unix and dos line endings?

2004-02-15 Thread Larry Hall
At 09:10 PM 2/14/2004, Chuck Irvine you wrote:
>Something I've never been able to figure out is why Cygwin offers to
>install with the choice of either dos or unix line endings. The way I
>see it is that using dos line endings allows for good integration with
>native windows apps. I can see no advantage of using unix line endings,
>though I guess there must be one otherwise the option wouldn't be
>offered. Can any one shed some light on this. Thanks
>
>Chuck


By definition, there's only 1 reason to choose UNIX over DOS as an 
installation option.  It facilitates the use of packages that have not been 
completely/properly ported to Windows.  If you want maximum compatibility 
with UNIX apps, choose UNIX.  Otherwise, choose DOS.  Practically, this 
boils down to the fact that you'll run into less trouble overall (whether 
using Windows or Cygwin apps) with the UNIX setting.  But there are certain 
usage patterns that make it reasonable to offer the option.  So the 
recommendation here is to use UNIX unless you know of a reason you need to 
do 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: Plausibility of sendmail?

2004-02-15 Thread Larry Hall
At 02:17 AM 2/15/2004, AG you wrote:
>I didn't want to send this to the whole [EMAIL PROTECTED] mailing list,
>but when I googled for "cygwin sendmail" Brian's email asking why
>in the world anyone would want to run sendmail on cygwin came up
>first.
>
>Here's why I am interested:
>
>(0) I am *not* interested in running a production mail server
>under CYGWIN
>
>(1) I want to use CYGWIN to allow me to use NMH to read email
>on my TabletPC running Windows XP TabletPC edition - and to finally
>allow me to get off Microsoft Outlook.
>
>I want to read email on my TabletPC because, well, I *like* the TabletPC
>even if it is not UNIX. And Linux does not yet run on the TabletPC and
>preserve many of the useful TabletPC features.
>
>(By the way, I do not want to run NMH on VMware on my TabletPC 
>because I have run VMware, in the past, and find that VMware is much 
>more of a hassle than CYGWIN.)
>
>NMH can be configured to send email directly to an SMTP server,
>but this is not sufficient to meet my needs
>   a) this is a TabletPC, a mobile device, which frequently is not 
>   connected.  I.e. outgoing mail needs to be queued and sent
>   later when the outgoing SMTP server is accessible.
>   b) I need to route email selectively: my company mail is not
>   supposed to go through my personal, non-company, ISP,
>   and vice versa.
>
>In my limited understanding I require more than just connecting
>to an SMTP server; I need a mail transport agent that can queue
>outgoing mail for several different outgoing mail servers.
>
>
>Why SendMail?   Yes, I know just how horrible sendmail is.
>I welcome advice on alternatives, such as exim or ssmtp.
>
>The main reason I am interested in using SendMail on CYGWIN
>with NMH is that NMH already has support for talking to SendMail:
>in /usr/local/nmh/mts.conf, you can just say "SendMail", and it is
>supposed to work. 
>
>Yes, that leaves the ugly job of doing a sendmail.cf;
>but my configuration is simple enough that I can crib most of
>it.
>
>Now, I have never used ssmtp or exim.  Are they really drop in replacements
>for sendmail from the commandline / protocol level?   (Not from the
>sendmail.cf file level.) 
>
>I.e. if I configure NMH by putting the path to exim in the SendMail entry in mts.conf,
>will it just work?


Sounds to me like you want to read up on exim <http://www.exim.org/> to 
see what it can do and if it will work for you.  Discussion of exim's 
capabilities compared to sendmail is really off-topic for this list.



--
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: SSH and Remote Key authentication

2004-02-15 Thread Larry Hall
At 03:25 PM 2/15/2004, Norman Vine you wrote:
>Hi all
>
>I am trying to use SSH remote key authentication  
>It appears as if the remote $HOST does not like 
>the permissions on my home dir
>
>Any guidance appreciated
>
>TIA
>
>Norman
>
>$ cd ~
>
>$ ls -ld
>drwxr-xr-x+  21 $USER  None32768 Feb 13 06:29 .
>
>$ ls -ld .ssh
>drwx--+   3 $USER  None 4096 Feb 12 13:49 .ssh
>
>$ ssh -v [EMAIL PROTECTED]
>OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.7c 30 Sep 2003
>debug1: Reading configuration data /home/$USER/.ssh/config
>debug1: Reading configuration data /etc/ssh_config
>debug1: Connecting to $HOST [128.128.109.18] port 22.
>debug1: Connection established.
>debug1: identity file /home/$USER/.ssh/identity type 0
>debug1: identity file /home/$USER/.ssh/id_rsa type 1
>debug1: identity file /home/$USER/.ssh/id_dsa type 2
>debug1: Remote protocol version 1.99, remote software version OpenSSH_3.1p1
>debug1: match: OpenSSH_3.1p1 pat OpenSSH_2.*,OpenSSH_3.0*,OpenSSH_3.1*
>debug1: Local version string SSH-1.5-OpenSSH_3.7.1p2
>debug1: Waiting for server public key.
>debug1: Received server public key (768 bits) and host key (1024 bits).
>debug1: Host '$HOST' is known and matches the RSA1 host key.
>debug1: Found key in /home/$USER/.ssh/known_hosts:17
>debug1: Encryption type: 3des
>debug1: Sent encrypted session key.
>debug1: Installing crc compensation attack detector.
>debug1: Received encrypted confirmation.
>debug1: Trying RSA authentication with key '/home/$USER/.ssh/identity'
>debug1: Remote: Authentication refused: bad ownership or modes for directory 
>/home/$USER
>^^^
>
>debug1: Server refused our key.
>debug1: Doing challenge response authentication.
>debug1: No challenge.
>debug1: Doing password authentication.
>


Please read and follow the link below for all bug reports:

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


Sounds like a simple permissions problem on ~/.ssh/identity.  Your best
bet is to read up on openssh docs so that you're sure you get everything 
configured correctly.  FWIW, I doubt that this is a Cygwin specific issue
but there isn't really enough information here for me to tell for sure one
way or the other.  But you might also find the email archives helpful.  
There's been lots of people that ask about configuring openssh for Cygwin
here.



--
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: SSH and Remote Key authentication

2004-02-15 Thread Larry Hall
At 03:43 PM 2/15/2004, Norman Vine you wrote:
>Larry Hall writes:
>> 
>> At 03:25 PM 2/15/2004, Norman Vine you wrote:
>> >Hi all
>> >
>> >I am trying to use SSH remote key authentication  
>> >It appears as if the remote $HOST does not like 
>> >the permissions on my home dir
>> >
>> >Any guidance appreciated
>> >
>> >$ cd ~
>> >
>> >$ ls -ld
>> >drwxr-xr-x+  21 $USER  None32768 Feb 13 06:29 .
>> >
>> >$ ls -ld .ssh
>> >drwx--+   3 $USER  None 4096 Feb 12 13:49 .ssh
>> >
>> >$ ssh -v [EMAIL PROTECTED]
>
>> >debug1: Remote: Authentication refused: bad ownership or modes for directory 
>> >/home/$USER
>> >^^^
>> > 
>> 
>> Sounds like a simple permissions problem on ~/.ssh/identity.  Your best
>> bet is to read up on openssh docs so that you're sure you get everything 
>> configured correctly
>
>AFAICT I have the correct permissions on ~/.ssh/identity
>and the permissions on the $HOST files are identical to 
>those that [EMAIL PROTECTED] uses to connect from a remote Linux machine
>
>$ cd ~
>$ ls -la .ssh/identity
>-rw---1 $USER  None  525 Feb 12 14:51 .ssh/identity
>
>Thanks


OK then.  I agree, that looks fine.  So since this is all the information
you've given, besides a possible implication that you can ssh to the $HOST
machine from a Linux machine, I can't really help much.  If you can ssh in
from a Linux machine, try comparing all differences between that machine
and the problem "box" and see if you can find what's missing.  You could 
also turn on debugging on the server to help, though I think the message
you got already is pretty clear about what it thinks the problem is.  Check
the permissions real close (use 'getfacl' if you need to), read the docs - 
Cywgin-specific and otherwise, and narrow down the potential problem areas.  
If you find a Cygwin specific issue, I'd encourage you again to read and 
follow the guidelines of <http://cygwin.com/problems.html> before consulting 
the email list further.  But I still suspect that your problems aren't Cygwin
specific but rather installation-specfic, though information that 
<http://cygwin.com/problems.html> asks for might indicate otherwise.  Feel
free to prove my suppositions wrong of course.



--
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: Problems with the right-button.

2004-02-16 Thread Larry Hall
At 12:20 PM 2/16/2004, Gonzalo Cano you wrote:
>Hi!
>
>I am using cygwin/x to connect via XDMCP to a server with SunOs 5.7 and CDE
>1.3.4, working as a management server with the graphical application
>"Openview Operations for Solaris" to manage a Regional Corporative Network.
>
>The mouse right-button (button 3) works fine over the CDE desktop and the
>title bars, displaying the contextual menus, but inside the windows (xterm,
>Openview windows,...) it does not work (no contextual menu), but I need this
>functionality!!!
>
>Can anybody help me?


Not here, no.  You have the wrong list.  See <http://cygwin.com/lists.html>.
If you still have questions after reading this page, please post them to the 
cygwin-xfree list.



--
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: limiting strace?

2004-02-16 Thread Larry Hall
At 04:32 PM 2/16/2004, Thomas L Roche you wrote:
>On Mon, 16 Feb 2004, Thomas L Roche wrote:
>>> Is there a way to limit the [strace] file size directly, or to
>>> script its rotation?
>
>Igor Pechtchanski 02/16/2004 03:56:10 PM:
>> You're on Cygwin, man!  Use the scripting tools! :-)
>
>The will is there! It's the howto I need :-(
>
>> Don't forget that strace by default sends the trace to stdout. You
>> can then pipe it to any program you wish (e.g., "tail -100", or
>
>That part I understand, and I know how to use those tools to *report
>from* strace.out ... but that's not what I'm trying to do. I don't
>want to say, "give me the last million lines from strace.out"--windows
>being what it is, if the file's big enough I may not get a chance to
>ask!
>
>I want instead to say something like, "don't let strace.out get bigger
>than a million lines," or 1GB, or something like that. How to do
>_that_, script wizards?


I don't think Igor was proposing anything too involved or complicated.  
In your case, it sounds to me like you could just pipe the output of 
strace into grep looking for a keyword or two specific to the error 
message and the strace message that Chris embellished for you.  That 
should add up to very few lines overall.  No?


--
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 Mailing list

2004-02-16 Thread Larry Hall
At 09:55 PM 2/16/2004, utomo you wrote:
>Hi, 
>
>I suggest that cygwin mailing list add in the subject  "(Cygwin)", so we
>can easily identify and manage the mails which coming from cygwin
>mailing list. 


Since this "suggestion" is made every once in a blue moon on this list,
I won't bore those who've been through this thread before with all the 
reasons why there won't be a change like this made to accommodate the
few folks out there that won't or can't categorize their mail with any
field other than "Subject".  

Sorry but you'll have to find a better email client or investigate other 
possibilities to help you with your problem.



--
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 Mailing list

2004-02-16 Thread Larry Hall
Hi Utomo,

Actually, this and many other arguments have already been made and refuted 
in previous rounds of discussion on this subject.  I think everyone here
would appreciate it if you would review the old threads so that you don't
rehash the same issues.  What other lists do is not important.  There's
no benefit to adding tags to the subject line.  It won't be done here.  If
there's a good reason for continuing this thread, I'm at a loss to see it.

Larry


At 10:35 PM 2/16/2004, utomo you wrote:
>Hi Larry, 
>
>I can catagorize my email using [EMAIL PROTECTED] as rules. But it is a
>suggestions. 
>In many mailing list (I guess more than 70%) they use a subject as
>indicator. I think it also one of the good way to do. We did not need to
>be a different, or do somethings which others did not do. 
>
>Regards,
>
>Utomo
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED] 
>> [mailto:[EMAIL PROTECTED] On Behalf Of Larry Hall
>> Sent: Tuesday, February 17, 2004 10:15 AM
>> To: utomo; [EMAIL PROTECTED]
>> Subject: Re: Cygwin Mailing list
>> 
>> 
>> At 09:55 PM 2/16/2004, utomo you wrote:
>> >Hi,
>> >
>> >I suggest that cygwin mailing list add in the subject  
>> "(Cygwin)", so 
>> >we can easily identify and manage the mails which coming from cygwin 
>> >mailing list.
>> 
>> 
>> Since this "suggestion" is made every once in a blue moon on 
>> this list, I won't bore those who've been through this thread 
>> before with all the 
>> reasons why there won't be a change like this made to 
>> accommodate the few folks out there that won't or can't 
>> categorize their mail with any field other than "Subject".  
>> 
>> Sorry but you'll have to find a better email client or 
>> investigate other 
>> possibilities to help you with your problem.
>> 
>> 
>> 
>> --
>> 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/
>> 
>> 
>
>
>--
>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: good top program for Cygwin

2004-02-17 Thread Larry Hall
At 10:32 AM 2/17/2004, Simon you wrote:

>Anyone know of a decent top program to run from the command line?
>The one i have with cygwin installation has no help


Did you try 'man top'?


--
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: Java Thread Dump in Bash

2004-02-18 Thread Larry Hall
OK.  Maybe now it's time for you to look at and follow:

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

Sounds like you have an installation specific problem that you need to 
dig a little deeper to resolve.

Larry


At 06:31 AM 2/18/2004, Frank-Michael Moser you wrote:
>Ha, now I saw a thread dump in bash console. Unfortunately it kills immediately the 
>java app. In RXVT I see a single new line with "i" printed and the app is killed.
>
>My $CYGWIN is "nontsec nosmbntsec". Java is run from SDK as you do. My cygwin is 
>latest, too (just updated again).
>
>Frank-Michael.
>
>Randall R Schulz wrote:
>>Frank-Michael,
>>At 12:09 2004-02-17, Frank-Michael Moser wrote:
>>
>>>Unfortunately neither Ctrl-Break nor Ctrl-Scroll produce a thread dump not in pure 
>>>bash and not in RXVT for me. I'm using latest cygwin and tried JDK 1.4.2_02 and 
>>>1.5.0 beta.
>>>
>>>Also the java applications I tried do not read from standard input.
>>>
>>>What versions (cygwin/java) do you use.
>>
>>Cygwin: Latest "kernel" and latest version of all packages.
>>Java: Latest (specifically, 1.4.2_03); If it might matter, I generally use the 
>>"java" and "javac" commands from the SDK bin, not the "jre" bin. That's the 
>>directory that includes the compiler and related development tools, where as the jre 
>>bin has only the JVM and other runtime resources.
>>By "pure BASH" I take it you mean BASH in a console window, in contrast to an RXVT 
>>window. I do _not_ use the "tty" option in the CYGWIN environment variable. Do you?
>>
>>>Is it worth to send my cygcheck output attached? Should I really expect Ctrl-Break 
>>>to work - this would be great?
>>
>>I expect it to work because it does work for me...
>>Cygcheck output isn't anything I can use for any purpose I can think of in resolving 
>>this discrepancy between how your system and mine behave.
>>
>>>Frank-Michael
>>
>>Randall Schulz
>>
>>>Randall R Schulz wrote:
>>>
>>>>Frank-Michael,
>>>>
>>>>CTRL-BREAK produces a thread-dump using the latest Sun JVM on my system when 
>>>>launched from BASH. However, if the program is reading standard input from the 
>>>>unredirected console, it receives an end-of-file indication on that stream as well.
>>>>
>>>>Randall Schulz
>>>>
>>>>At 03:42 2004-02-17, Frank-Michael Moser wrote:
>>>>
>>>>>Searching the mailing list archive I found that there is an old thread from Dec 
>>>>>2000 which exactly describes my problem:
>>>>>
>>>>>http://sources.redhat.com/ml/cygwin/2000-12/msg00490.html
>>>>>
>>>>>In short: Using Ctrl-Scroll does not cause a Java program to dump threads as it 
>>>>>does in cmd.exe. Unfortunately the thread ended up with some personal strife.
>>>>>
>>>>>I understand that the signal problem could be by design. But now (3 years later) 
>>>>>maybe there are news about this issue? Has someone a way to work around this 
>>>>>problem?
>>>>>
>>>>>Frank-Michael
>>
>>-- 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/
>
>
>-- 
>
>DECODON GmbHphone: +49(0)3834 515231
>W.-Rathenau-Str. 49a  fax: +49(0)3834 515239
>17489 Greifswaldemail: [EMAIL PROTECTED]
>Germany   web:   www.decodon.com
>
>
>
>--
>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/

--
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: Assembler

2004-02-18 Thread Larry Hall
At 09:04 AM 2/18/2004, Krzysztof Duleba you wrote:
>Williams, Gerald S (Jerry) wrote:
>> By asking for int 0x80 support, you're really asking
>> for the ability to run precompiled Linux applications.
>
>What do you mean by "precompiled"?


He means Linux ix86 binaries running unmodified on Windows.
That was a goal of "LINE" <http://line.sourceforge.net/>.


--
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: good top program for Cygwin

2004-02-18 Thread Larry Hall
Then you either do not have the 'top' that's part of Cygwin or your
environment is incorrect.  Try installing/upgrading the procps package.
There's a man page for the Cygwin version of 'top' that comes with this
package.  I don't know if this will help you with the issue you originally
had or not but the documentation for Cygwin's 'top' is definitely available.

Larry


At 09:07 AM 2/18/2004, Simon you wrote:
>Of course :
> $ man top
>No manual entry for top
>
>Simon
>
>- Original Message - 
>From: "Larry Hall" <[EMAIL PROTECTED]>
>To: "Simon" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>Sent: Tuesday, February 17, 2004 6:42 PM
>Subject: Re: good top program for Cygwin
>
>
>> At 10:32 AM 2/17/2004, Simon you wrote:
>> 
>> >Anyone know of a decent top program to run from the command line?
>> >The one i have with cygwin installation has no help
>> 
>> 
>> Did you try 'man top'?
>> 
>> 
>> --
>> 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/


--
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: search and replace tool

2004-02-18 Thread Larry Hall
At 02:59 PM 2/18/2004, dAniel hAhler you wrote:
>Hello cygwin-list,
>
>I'm looking for a search and replace tool to replace a text portion in
>a bunch (3500+) of files.
>
>That should be an easy one.. :)
>
>


This isn't really Cywgin-specific.  As a result, it's off-topic for this 
list.  I will, however, point you in one direction that could help.  'sed' 
or 'awk' are good possibilities here.  Of course, you'd want to wrap
these in a script that created a new file and then replaced the original 
with the result.  This same process could be used on any platform that
supports these tools however so talking much about the details isn't really
appropriate.  There's plenty of information on the net about these utilities
if you're interested in finding out more about how they work.

HTH,


--
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: search and replace tool (Attn: gawk maintainer)

2004-02-18 Thread Larry Hall
At 04:46 PM 2/18/2004, Igor Pechtchanski you wrote:
>On Wed, 18 Feb 2004, Larry Hall wrote:
>
>> At 02:59 PM 2/18/2004, dAniel hAhler you wrote:
>> >Hello cygwin-list,
>> >
>> >I'm looking for a search and replace tool to replace a text portion in
>> >a bunch (3500+) of files.
>> >
>> >That should be an easy one.. :)
>>
>> This isn't really Cywgin-specific.  As a result, it's off-topic for this
>> list.  I will, however, point you in one direction that could help.  'sed'
>> or 'awk' are good possibilities here.  





>Larry, you missed 'perl'.  How could you? ;-)


Just trying to instigate a riot. ;-)


--
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: Gdb runtime error

2004-02-19 Thread Larry Hall
At 12:15 AM 2/19/2004, Chih-Yi Kuan you wrote:
>After the cygwin setup from the cygwin installer. Execution of gdb in
>bash results in the follow error message:
>
>*
>
> 3 [main] ? 3552 cygheap_fixup_in_child: Couldn't reserve space
>for cygwin's heap (0x6167 <0x15A>) in child, Win32 error 487
>C:\cygwin\bin\gdb.exe (3552): *** m.AllocationBase 0x0, m.BaseAddress
>0x6167, m.RegionSize 0xB8, m.State 0x1
>
>**
>
>Could anybody help me about this?


Try a recent snapshot <http://cygwin.com/snapshots/>.  1.5.7 is known to 
have some problems.

--
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: ftp bug report

2004-02-19 Thread Larry Hall
At 12:37 PM 2/19/2004, Corinna Vinschen you wrote:
>On Feb 19 17:02, Corinna Vinschen wrote:
>> On Feb 19 05:31, Thomas Mellman wrote:
>> > ftp> nmap $1;$2 $1
>> > ftp> case
>> > Case mapping on.
>> > ftp> get mspp_i_seq.h
>> > 200 PORT command successful.
>> > 150 Opening data connection for somewhere:MSPP_I_SEQ.H;1 (x.x.x.x,y)
>> > Segmentation fault (core dumped)
>> 
>> FYI, I can reproduce it now.  I really didn't know about that nmap
>> command, I never used it before.
>
>I fixed the bug (which could only show up when using nmap) and uploaded
>a new version of inetutils.
>
>As an exercise for the reader:
>
>  buf = (char *) malloc (size);
>  to = buf;
>  [...]
>  if (newsize > size)
>buf = realloc (buf, newsize);
>  while (newsize--)
>*to++ = *src++;
>
>What's wrong with this picture?



I know, I know.  Pick me, pick me!  Oo!  OOO!   ;-)


--
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: search and replace tool

2004-02-19 Thread Larry Hall
At 06:47 PM 2/19/2004, Reini Urban you wrote:
>Larry Hall schrieb:
>>At 02:59 PM 2/18/2004, dAniel hAhler you wrote:
>>>I'm looking for a search and replace tool to replace a text portion in
>>>a bunch (3500+) of files.
>>>
>>>That should be an easy one.. :)
>>This isn't really Cywgin-specific.  As a result, it's off-topic for this list.  
>
>But fixing perl's long-standing inability to do direct inline editing via perl -i 
>would be cygwin specific.
>Anyone investigated this lately?


Huh.  Interesting way to open a new subject.  Since the text you 
quoted above makes absolutely no mention whatsoever about Perl but later
responses to this thread do, I'm going to assume that you at least read
further along, saw the subsequent suggestions about using Perl for the 
above, and then decided to reply to my post, which doesn't mention Perl,
bringing up the new topic of how -i does or doesn't work with Cygwin's
Perl.  I guess this just goes to show there are a thousand different ways
to look at things.  I never would have imagined this would seem like a 
straight line to anyone.

Anyway, as mentioned later in the thread, the problem is the implied 
semantics of "unlink()" which isn't supported by the Windows API.  So 
this long-standing inability for Perl is likely to remain for the 
foreseeable future AFAICS.

This list prefers that you start new threads for new subjects, just for
future reference.


--
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: Installing Apache as a new Service = Win32 error 1062

2004-02-20 Thread Larry Hall
At 06:26 AM 2/20/2004, [EMAIL PROTECTED] you wrote:
>Hello,
>
>I think this doc isn't enough to succesfully install Apache as service for new 
>users of cygwin as me :
>
>Installing Apache as a new Service 
>Use the following statement to install httpd.exe as a new service:
>
>  $ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
>  [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
>Where -a is used to pass command line arguments (such as -DFOO defines) to 
>httpd.exe, and -e is used to pass environment variables. If necessary you may 
>use the -t options to set the autostart configuration for the service. If you 
>want the new service to run under a different userid, you will have to supply 
>the -u and -w options.
>
>When i start apache as this : /usr/sbin/httpd.exe
>apache is running ok
>
>but when i install it as service with : cygrunsrv -I apache -p 
>/usr/sbin/httpd.exe
>and i try to start the service with :
>$ cygrunsrv -S apache
>i get :
>cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
>Le service n'a pas été démarré.
>
>I think there is other thing to do but what ?


As with all problem reports to the list, you should start here:

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


Following this helps us here on the list refine the infinite realm of
possible suggestions down to a reasonable set of possible solutions or
follow-up questions.  I think everyone on this list will agree that there's
too much traffic here to support email exchanges with infinite content. ;-)


--
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: cygpath bug (windows 2000)

2004-02-20 Thread Larry Hall
At 08:02 AM 2/20/2004, Christian Matuszewski you wrote:
>Hello,
>
>the following command crashes:
>
>cygpath -p -m
>/d
>
>with: Segmentation fault (core dumped)
>
>The contents of cygpath.exe.stackdump is:
>
>Exception: STATUS_ACCESS_VIOLATION at eip=61063500
>eax= ebx=64646464 ecx=0A0402ED edx=0022EB39 esi=0022EB4C
>edi=003A
>ebp=6B6E6C00 esp=0022EB40 program=C:\cygwin\bin\cygpath.exe
>cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
>Stack trace:
>Frame Function  Args
>  6 [main] cygpath 1280 handle_exceptions: Error while dumping state
>(probably corrupted stack) 
>
>My system is:
>Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3
>
>uname -a:
>CYGWIN_NT-5.0 foows0029 1.5.7(0.109/3/2) 2004-01-30 19:32 i686 unknown
>unknown
> Cygwin


Try the latest snapshot <http://cygwin.com/snapshots/>.



--
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: when to rebase?

2004-02-20 Thread Larry Hall
At 01:23 PM 2/20/2004, Thomas L Roche you wrote:
>Christopher Faylor Fri, 20 Feb 2004 10:41:45 -0500 -
>> I run rebaseall on all of my systems.
>
>When? After every install? Periodically? Only on weirdness?
>
>Is this just CYA, or is it UG- or FAQ-worthy? (Note that searching 
>either's big-HTML versions for 'rebas' fails.)


It should never hurt to 'rebase' so you could do it after every install.
Rebasing will eventually become automatic, done by setup.  Some 
discussion of 'rebase' could be added to the User's Guide though IMO.



--
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: cp, install, and the .exe extension

2004-02-20 Thread Larry Hall
At 01:33 PM 2/20/2004, Robert R Schneck you wrote:
>Christopher Faylor <[EMAIL PROTECTED]> wrote:
>> On Thu, Feb 19, 2004 at 10:09:55PM +, Robert R Schneck wrote:
>>>If I replace "copy.c" with either of the other two and rebuild, I get a 
>>>"cp" which *does* have special handling for the .exe extension.
>>>Did the fileutils maintainer just forget to do this?
>>
>> No.
>
>Indeed.  Does this mean there is some reason that it is considered 
>harmful to have cp do it, but appropriate to have install do it?


Yes.


>If so, can you explain?  


No.


>I don't question, I'm just curious!


Yeah, sure...

OK, I'm just kiddin' you. ;-)  Think about a 'cp' that transparently handles 
'.exe' and a directory with 'foo' and 'foo.exe'.  You need to be able to 
copy both.  'install' is a special purpose utility.  Many projects that
use it to install don't consider that executables may require extensions on 
other platforms.  So they're written to just install 'foo'.  That causes
install failures.  It makes sense to "relax" the rules here, since it 
helps more than it hurts.  The reverse is true for 'cp' and other general 
purpose utilities.


>In any case, I'd like to put in a request to change the error message cp 
>gives when "cp foo bar" is tried and only foo.exe exists.  
>Currently it says
>cp: `foo' and `bar' are the same file
>which is needlessly obscure.


How about a patch instead of a request? ;-)


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



<    1   2   3   4   5   6   7   8   9   10   >