A PROBLEM

2003-06-11 Thread Anubhav Agrawal
SIR, There are 2 VC++ projects. one of them is using MFC APPLICATION WIZARD and the other is a WIN32 CONSOLE program. Now what i require is to somehow use the MFC program in the WIN32 console program. Is there any way of doing it directly. waitng for ur answer ( can u please send the answer

Re: exim 4.20.x patch to handle sendmail -O switch

2003-06-11 Thread Philip Hazel
On Tue, 10 Jun 2003, Jason Pyeron wrote: > Dear Sirs/Madams, > > Please find enclosed patches for your respective distributions. These > patches allow exim to not fail on sendmail like switch -O. Thanks, Jason. I've added it to my list of things to look at. Regards, Philip -- Philip Hazel

Re: A PROBLEM

2003-06-11 Thread Elfyn McBratney
On Wed, 11 Jun 2003, Anubhav Agrawal wrote: > SIR, > There are 2 VC++ projects. one of them is using MFC > APPLICATION WIZARD and the other is a WIN32 CONSOLE program. Now > what i require is to somehow use the MFC program in the WIN32 > console program. > Is there any way of doing it direct

RE: AC_CYGWIN?

2003-06-11 Thread Ronald Landheer-Cieslak
Note, though, that there is absolutely no problem with the filename ".mumbleinit" on Cygwin (I just did a `touch .mumbleinit` to make sure) In fact, there are less and less reasons to distinguish Cygwin from *NIX platforms. (Thanks to the core developers and various contributers for that!) rlc

Re: [ANNOUNCEMENT] Updated: libxslt-1.0.30-2

2003-06-11 Thread Patrick Eisenacher
Elfyn, you rock! :o) The new version runs smooth like butter. Thank you so much for all your effort and energy and time that you put into making this new version happen. You did a tremendous job! Patrick I've made a new version of LibXSLT (1.0.30-2) available for downloading. This is a *main

Re: Problem w/ c++,threads,static initializers

2003-06-11 Thread Rasmus Hahn
Hi Thomas, Problem solved: it was not the mutex but the but the pthread_mutexattr_t that caused the error. cygwin's pthread_mutexattr_init () function checks if its argument points to a valid object. If the pthread_mutexattr_t's value still points to a valid object (from a previous call) pthread

Re: Problem w/ c++,threads,static initializers

2003-06-11 Thread Thomas Pfaff
Rasmus Hahn wrote: Hi Thomas, Problem solved: it was not the mutex but the but the pthread_mutexattr_t that caused the error. cygwin's pthread_mutexattr_init () function checks if its argument points to a valid object. If the pthread_mutexattr_t's value still points to a valid object (from a prev

Re: Problem w/ c++,threads,static initializers

2003-06-11 Thread Robert Collins
Because the results are undefined, you are permitted to return EBUSY... Rob -- 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 w/ c++,threads,static initializers

2003-06-11 Thread Thomas Pfaff
Robert Collins wrote: Because the results are undefined, you are permitted to return EBUSY... Linux and Solaris do not return an error when the attr is already initialized, therefore i will do the change to return 0. The code must be changed anyway, since some attr_init functions erroneously ret

Re: non network install

2003-06-11 Thread Max Bowsher
B Thomas wrote: > In-Reply-To: <[EMAIL PROTECTED]> > > Thank you very much for all your replies. Having the distribution in > folder below the top one does indeed solve the problem. > > I wrote a bunch of tiny bash scripts to make the check dependencies and > make the iso image for two CD's. I shal

Re: Some useful permission setting scripts

2003-06-11 Thread Max Bowsher
Max Polk wrote: > WARNING: If you omit "administrators" then if you reinstall Windows, > you can NEVER, NEVER, EVER get to the file again, even as > administrator! (SOLUTION: use partition magic, convert > your drive to "FAT32" drops the bad permission, then >

Re: Some useful permission setting scripts

2003-06-11 Thread Corinna Vinschen
On Wed, Jun 11, 2003 at 12:59:59PM +0100, Max Bowsher wrote: > Max Polk wrote: > > WARNING: If you omit "administrators" then if you reinstall Windows, > > you can NEVER, NEVER, EVER get to the file again, even as > > administrator! (SOLUTION: use partition magic, convert > >

CYGWIN_NT-5.0 ZPC207050 1.3.22(0.78/3/2) bug

2003-06-11 Thread Hornsby, Kelly
I just discovered that an environment variable OSTYPE is not longer exported by default to a subprocess under this version of Cygwin. Why did this occur? Was it intentional, or inadvertent? I use this often, and although I can perform an export OSTYPE explicitly, I now have lots of broken ma

Problem in shell scripting - possible memory leak / violation?

2003-06-11 Thread Tomasz Rojek
Hi, After long hours (for example 7 days with hibernation / dehibernation only) of running cygwin without restart it often happens that I get similar error to those below. I tried to execute some commands in loop (it works perfectly after machine restart!): $ for i in `seq 0 9`; do for j in `seq

Re: CYGWIN_NT-5.0 ZPC207050 1.3.22(0.78/3/2) bug

2003-06-11 Thread Corinna Vinschen
On Wed, Jun 11, 2003 at 06:04:40AM -0700, Hornsby, Kelly wrote: > I just discovered that an environment variable OSTYPE is not longer exported by > default to a subprocess under this version of Cygwin. Why did this occur? Was it > intentional, or inadvertent? I use this often, and although I c

command window/console with cols > 132, vim restore screen (t_ti, t_te)

2003-06-11 Thread Ljubomir Josifovski
When I use a command window/cygwin console with large number of columns (e.g. 160, 180) vim does not restore the screen upon exit/suspend (^Z) correctly (or maybe does not save it correctly upon entry). The restored region is just a black area (black fg on black bg?). The "console" is created via

Re: CYGWIN_NT-5.0 ZPC207050 1.3.22(0.78/3/2) bug

2003-06-11 Thread Max Bowsher
Hornsby, Kelly wrote: > I just discovered that an environment variable OSTYPE is not longer exported by default to a > subprocess under this version of Cygwin. Why did this occur? Was it intentional, or > inadvertent? I use this often, and although I can perform an export OSTYPE explicitly, I n

colons with rsync

2003-06-11 Thread Ben Smith
I am trying to rsync from a SCO box to a Windows 2000 server as a (temporary) backup while I build a more suitable Linux backup server. Rsync on SCO reports errors such as the following: rsync: recv_generator: mkdir "var/opt/K/SCO/MMDF/2.43.3b/spool/mail/:saved": No such file or directory (2) stat

Re: w32api/windef.h

2003-06-11 Thread Igor Pechtchanski
On Wed, 11 Jun 2003, Lionel Zhou wrote: > - Original Message - > From: Igor Pechtchanski <[EMAIL PROTECTED]> > Date: Mon, 9 Jun 2003 09:17:21 -0400 (EDT) > To: Lionel Zhou <[EMAIL PROTECTED]> > Subject: Re: w32api/windef.h > > > On Sun, 8 Jun 2003, Lionel Zhou wrote: > > > > > - Origin

Re: colons with rsync

2003-06-11 Thread Igor Pechtchanski
On Wed, 11 Jun 2003, Ben Smith wrote: > I am trying to rsync from a SCO box to a Windows 2000 server as a > (temporary) backup while I build a more suitable Linux backup server. > Rsync on SCO reports errors such as the following: > > rsync: recv_generator: mkdir > "var/opt/K/SCO/MMDF/2.43.3b/spoo

Re: colons with rsync

2003-06-11 Thread Max Bowsher
Igor Pechtchanski wrote: > I did manage to create a file called ':saved' (on NTFS). It didn't show > up in directory listings (simple 'ls'), but did in an explicit 'ls > :saved'. I also could write to it and read from it, so I'm not sure > exactly where or how the file was created ('mv :saved ./Z

Re: colons with rsync

2003-06-11 Thread Igor Pechtchanski
On Wed, 11 Jun 2003, Max Bowsher wrote: > Igor Pechtchanski wrote: > > I did manage to create a file called ':saved' (on NTFS). It didn't show > > up in directory listings (simple 'ls'), but did in an explicit 'ls > > :saved'. I also could write to it and read from it, so I'm not sure > > exactl

Error message when compling simple program, help please :)

2003-06-11 Thread Max Palatnik
Hi guys, First time emailing a community like this, hopefully it works. I just installed cygwin using the setup program available on the website and I'm trying to copile a program I have from the Sams publishing "teach yourself C in 24 hours book" The program is the following: #include mai

RE: Error message when compling simple program, help please :)

2003-06-11 Thread Robb, Sam
> $ gcc 02l01.c > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin > /bin/ld: > cannot find -luser32 > collect2: ld returned 1 exit status > > I have no idea what to do now. I searched google for help but > i didn't find anything referring specifically to the -luser32 > error. If

Re: Processes are unable to fully discard their controlling terminal

2003-06-11 Thread Matt
I would like ssh-agent to function like you say it is for you... but i can't understand what you did besides obtain the latest versions which i should have.. what else do i need to do? - Christopher Faylor wrote: > On Sun, Mar 02, 2003 at 12:43:28PM

Re: Perl 5.8.0-3 requires binary-mounted .cpan

2003-06-11 Thread Gerrit P. Haase
Gary schrieb: > -1 worked with text mounts, never tried binary ones but I have to assume they > worked as well. This is with cygwin1.dll "1.5.0s(0.87/3/2) 20030608". Hmmm, this is not better as before, with the default (unpatched) perl-5.8.0 we get CR/LF lineendings on every perl generated outpu

RE: AC_CYGWIN?

2003-06-11 Thread Alexander Enchevich
> Note, though, that there is absolutely no problem with the filename > ".mumbleinit" on Cygwin (I just did a `touch .mumbleinit` to make sure) On Cygwin there isn't but on "Win" there is - try copying/renaming an existing file to something like .filename in Explorer (I tried it on Win2K). You wi

Re: Processes are unable to fully discard their controlling terminal

2003-06-11 Thread Max Bowsher
Some time ago I (Max Bowsher) wrote: > I can now successfully share an ssh-agent between all > my shells, with it > starting with the first one, and ending with the last, > and no zombie windows > if I end shells in the wrong order. Matt wrote: > I would like ssh-agent to function like you say it

port query: any "fping"? & cygwin headers

2003-06-11 Thread Soren Andersen
Hey! Hello all. Has anyone ever ported the network tool "fping" to cygwin? I came across some Google results that seemed to be viable but it appears not (I don't have the complete URL I checked, but it was a site that showed a dir listing under a software project named "mon". maybe some of you kno

Re: colons with rsync

2003-06-11 Thread Ben Smith
Igor Pechtchanski wrote: > Windows filenames cannot contain ':', so there is no way around this > limitation in Cygwin, since it uses Windows filenames. Igor, So does this mean that Cygwin doesn't do any file munging? Is this something that applications are normally left to deal with? I found

Re: colons with rsync

2003-06-11 Thread Igor Pechtchanski
On 11 Jun 2003, Ben Smith wrote: > Igor Pechtchanski wrote: > > > Windows filenames cannot contain ':', so there is no way around this > > limitation in Cygwin, since it uses Windows filenames. > > Igor, > > So does this mean that Cygwin doesn't do any file munging? Is this > something that appli

Re: latest version of vi messes up bash for me

2003-06-11 Thread Stephen Biggs
On 10 Jun 2003 at 16:56, Larry Hall wrote: > Stephen Biggs wrote: > > On 9 Jun 2003 at 21:16, Pierre A. Humblet wrote: > > > > > >>On Tue, Jun 10, 2003 at 03:57:32AM +0200, Stephen Biggs wrote: > >> > >> > >> > >> > >>>Maybe it is relevant to say that I am invoking cygwin by the shortcut of: >

Re: colons with rsync

2003-06-11 Thread Ben Smith
Thanks for the link. I can see now that this is a hot topic. http://cygwin.com/ml/cygwin/2002-09/msg00858.html It seems to me that, with respect to the colon issue at least, it is being actively ignored in order to maintain the "File Streams" functionality of NTFS in Cygwin. The question is "W

Re: Error message when compling simple program, help please :)

2003-06-11 Thread Tomasz Rojek
> I am using the following command: > > $ gcc 02l01.c > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: > cannot find -luser32 > collect2: ld returned 1 exit status Hi Max, I would advise you to go thru the archive. There you can find a simplest syntax how to compile a C pro

Re: colons with rsync

2003-06-11 Thread Christopher Faylor
On Wed, Jun 11, 2003 at 03:36:03PM -0500, Ben Smith wrote: >Also, since no one seems to be interested in making this change to >Cygwin itself, is there really a technical reason that rsync can't be >adjusted to work around it? I don't think the current behavior achieves >anything other than strife

Re: Problem in shell scripting - possible memory leak / violation?

2003-06-11 Thread Tomasz Rojek
I should have included this info in my initial post: $ uname -a CYGWIN_NT-5.1 waw0968b 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown Cygwin Greetings -- Tomasz Rojek begin 666 cygcheck output.txt M)"!C>6=C:&5C:R M8PI#>6=W:[EMAIL PROTECTED]&%C:V%G92!);F9O7!T(" @(" @(" @(" @(" @(" @(#$

':' - was rsync..

2003-06-11 Thread Robert Collins
Sorry for not replying in thread - I deleted the email a little fast :p. Anyway, ':' is -not- in the POSIX portable filename character set: http://www.opengroup.org/onlinepubs/007908799/xbd/glossary.html#tag_004_000_ 207 ':' as a special behaviour is not a Windows invention, it harks (in windows'

Re: ':' - was rsync..

2003-06-11 Thread Christopher Faylor
On Thu, Jun 12, 2003 at 07:18:12AM +1000, Robert Collins wrote: >Sorry for not replying in thread - I deleted the email a little fast >:p. > >Anyway, ':' is -not- in the POSIX portable filename character set: >http://www.opengroup.org/onlinepubs/007908799/xbd/glossary.html#tag_004_000_ >207 > >':'

Re: Processes are unable to fully discard their controlling terminal

2003-06-11 Thread Matt
works like a champ.. thanks for the pointer. you've never tried to get cygwin to use pageant have you (or anybody)?? pageant = putty's ssh agent --- Max Bowsher <[EMAIL PROTECTED]> wrote: > Some time ago I (Max Bowsher) wrote: > > I can now successfully share an ssh-agent between > all > > my shel

Re: Processes are unable to fully discard their controlling terminal

2003-06-11 Thread Max Bowsher
Matt wrote: > works like a champ.. thanks for the pointer. you've > never tried to get cygwin to use pageant have you (or > anybody)?? pageant = putty's ssh agent No, and I'm pretty sure that it is impossible. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem rep

Re: latest version of vi messes up bash for me

2003-06-11 Thread Larry Hall
Stephen Biggs wrote: After I created the user ID 'steve' in Windows 98 and then logged on to it, Vim works flawlessly now. It seems to be some sort of ID screw-up (proved by the lockup with cygcheck) if your Windows user name is not the same as your cygwin name. I can see how this can be a pro

patch in cygutil/lpr

2003-06-11 Thread gilles civario
Hello. I've found that the new version of lpr provided with cygutils-1.1.4 no longer works with my PostScript network printer. With the previous version of cygutils (1.1.3), I had to change the datatype provided to StartDocPrinter from "raw" to "RAW". This time, the trouble I've encounted wath thi

Re: port query: any "fping"? & cygwin headers

2003-06-11 Thread Gerrit P. Haase
Hallo Soren, > /usr/include/cygwin/icmp.h > that is an empty file. Is this a TODO for Cygwin? Another header under > netinet/, "/usr/include/netinet/ip_icmp.h", just #include's this empty > file. The fact that another header does this with an *empty* file seems > decidedly bizarre to me. Ther