RE: CR/NL problem with cpp.exe

2002-10-01 Thread Dan Vasaru
Nick, please refer to: "How is the DOS/Unix CR/LF thing handled?" in the cygwin faq: http://cygwin.com/faq/faq_4.html#SEC72 Also, read the documentation for the "mount" utility and the CYGWIN environment variable setting. If you want to make sure that the input to your "cpp" is translated no ma

RE: CR/NL problem with cpp.exe

2002-10-01 Thread Dan Vasaru
an example of a utility that *doesn't* use O_TEXT, and still handles all styles of line terminations gracefully. At least in principle. Dan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kris Warkentin Sent: Tuesday, October 01, 2002 10:26 PM To: Dan Vasa

RE: multithread C lib -- LIBCMT.LIB

2002-10-16 Thread Dan Vasaru
Jie, LIBCMT is the Microsoft implementation of the C runtime, and is compiled using the microsoft c compiler. CYGWIN is another implementation of the a unix-style C runtime, and the two of them don't mix. The _beginthread and _endthread calls are Microsoft specific extensions to the C standard;

RE: starting a CYGWIN app from a Windows Service

2002-10-16 Thread Dan Vasaru
Mark, As Chris suggested, if you want consistent behaviour under cygwin, always open text files in text mode (O_TEXT or "rt"). Even better, wrt portability to Unix platforms, is to: 1. open the file in binary mode 2. be prepared to accept both CRLF- and LF-style text files (i.e. strip the CR you

RE: starting a cygwin app from a Windows Service

2002-10-16 Thread Dan Vasaru
at 12:09:35AM +0200, Dan Vasaru wrote: >Mark, > >As Chris suggested, if you want consistent behaviour under cygwin, always >open text files in text mode (O_TEXT or "rt"). >Even better, wrt portability to Unix platforms, is to: > >1. open the file in binary mode >

[package bug] protoize missing from gcc3 and gcc2

2002-10-25 Thread Dan Vasaru
What happened to protoize & unprotoize ? They used to be in gcc-2.95-3-5, but they are nowhere to be found in the new gcc/gcc2: It was there: http://cygwin.com/cgi-bin2/package-cat.cgi?file=gcc/gcc-2.95.3-5&grep=protoi ze But they are neither here http://cygwin.com/cgi-bin2/package-cat.cgi?file

RE: [ANNOUNCEMENT] Updated: gcc-3.2-2

2002-11-10 Thread Dan Vasaru
Christopher, Could you please include protoize and unprotoize in the binary distribution ? They were included in 2.95.3-5 but vanished from both 3.2 and 2.95.3-10. Or maybe they are deprecated ? Thank you, Dan -Original Message- From: [EMAIL PROTECTED] [mailto:cygwin-owner@;cygwi

RE: Performance Issues due to Anti-Virus software.

2002-09-23 Thread Dan Vasaru
Graham, If you insist that each developer runs AV software on it's development platform, you could consider setting up a separate box (without antivirus software) with ssh access for performing your builds. Throw in a few network shares, and a smart home directory mapping, and the developers will

[OT] RE: Performance Issues due to Anti-Virus software.

2002-09-23 Thread Dan Vasaru
dan > Seriously, aren't your developers local administrators ? In that case, they dan > could easily disable the AV. Igor >I'm of half a mind to set up an ssh server just to be able to su to local Igor >system and kill it. But for now I live with it. Igor, Try installing the PSTOOLS package fr

RE: cscript errors out from daemon

2002-09-25 Thread Dan Vasaru
Brandon, I don't see the problem on my w2k system : ~$ssh dan@localhost . Fanfare!!! You are successfully logged in to this server!!! ~$cscript.exe Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. Usage: CScript scriptname.ext

[Proposal] Moving user mount information to HKLM

2002-09-26 Thread Dan Vasaru
Problem: The mount -u command fails if a domain user's registry hive is not downloaded from the domain controller and no local hive cache exists. Solution: Change cygwin1.dll/mount to 1. store mount information under HKLM/CYGWIN/MOUNTS/{USER-SID}, or 2. let mount succeed without persisting the

RE: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Dan Vasaru
> On the user mount in HKLM idea, it's a no-goer. Normal users don't > have write access to most of HKLM, on any partly-secure install > of NT (which is where the original posters issue arose). I may be wrong, but couldn't setup, or whoever creates the original HKLM/../cygwin key, set up the se

RE: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Dan Vasaru
neous users. But we'll go with it while waiting for a better mount. Thanks, Dan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Collins Sent: Friday, September 27, 2002 4:28 PM To: Dan Vasaru Cc: [EMAIL PROTECTED] Subject: RE: [Proposal] Moving

RE: [Proposal] Moving user mount information to HKLM

2002-09-27 Thread Dan Vasaru
Robert, >FWIW the HKLM user mounts would have the same security >ramification (which is why it's not a generically viable solution). True, but one could fine-tune access rights to "HKLM/Software/Cygwin" such that: 1) All users have "Create subkey" permission in "HKLM/./Cygwin/Users". 2) All