Re: Support for Baud Rates above 250000 baud?

2007-01-10 Thread Corinna Vinschen
On Jan 10 10:18, David le Comte wrote: > I'm wondering if the most general way of modifying fhandler_serial.cc > (and cf[io]speed()?) is to do what SetCommState() is doing, ie, > if the value that is passed is NOT equivalent to one of the Bn > "define"s, then assume it is a literal speed and p

Re: bug in syscalls.cc sync()

2007-01-10 Thread Corinna Vinschen
On Jan 9 13:39, Howard Chu wrote: > I was just browsing the CVSweb repository looking at the sync() > implementation and noticed this small typo. It's not worth the trouble > for me to download the CVS repository just for this: > > /* sync: SUSv3 */ > extern "C" void > sync () > { > char vol[CYG

Re: New procps package filename is procps-3.2.7-1-bin.tar.bz2 instead of procps-3.2.7-1.tar.bz2

2007-01-10 Thread Corinna Vinschen
On Jan 10 07:39, Dr. Volker Zell wrote: > see subject Thanks, fixed on sourceware. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe

Re: 1.7.0 CVS mmap failure

2007-01-10 Thread Corinna Vinschen
On Jan 5 20:23, Corinna Vinschen wrote: > On Jan 5 12:42, Brian Ford wrote: > > On Fri, 5 Jan 2007, Corinna Vinschen wrote: > > So, it does indeed look taken. > > Too bad. > > > > Actually this shows a problem in the mmap implementation with respect to > > > MEM_TOP_DOWN. I think, what mmap sh

RE: username should be lower-case for $USER

2007-01-10 Thread Dave Korn
On 09 January 2007 22:15, David Smiley wrote: > I forgot to add, I log into a windows domain and so I can't set the case. > Perhaps this issue only relates to windows domain logins. Maybe they are > case insensitive because when I log into the domain, I ALWAYS specify it in > lower case. I don't

RE: Fw: help win winxp install

2007-01-10 Thread Dave Korn
On 10 January 2007 01:43, Larry Hall (Cygwin) wrote: > It's not old code but gcc is a long time package. Looks like it incorrectly > picked up cygintl-3.dll for cc1.exe the last time it was built. But looking > at the setup.hint files, it correctly says that it depends on it. So if you > were

RE: windows bluescreens while looking for ANSI C headers

2007-01-10 Thread Dave Korn
On 10 January 2007 04:30, Morgan Gangwere wrote: > is this an issue with the configure script or make? No. It is impossible for a user-mode program to cause a BSoD. Only a device driver or kernel bug can cause that. cheers, DaveK -- Can't think of a witty .sigline today --

Re: [ANNOUNCEMENT] Updated: git-1.4.4.4-1

2007-01-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Dr. Volker Zell on 1/9/2007 11:38 PM: >> Eric Blake writes: > > > A new release of git, 1.4.4.4-1, has been uploaded, replacing 1.4.4.3-1 > as > > the current version. > > No big deal but I'm wondering why all files are list

Re: Link errors related to vtable

2007-01-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to George on 1/9/2007 11:02 PM: > Hi, > I am getting link errors like below when I compile my > code(systemc) which is on cygwin 1.5.23 with gcc > 3.4.4 > (systemc is a c++ class library) No wonder. C++ code MUST be compiled with g++, not

Re: activestate perl on cygwin

2007-01-10 Thread Andrew DeFaria
Kevin T Cella wrote: I don't actually install through cygwin, but use the ppm installer from Activestate. Why people would want to use a proprietary Perl with a proprietary installer is beyond me. Let me ask you a question, what happens when you call setsid in this ActiveState Perl? Anyways...

Re: activestate perl on cygwin

2007-01-10 Thread Igor Peshansky
On Mon, 8 Jan 2007, Kevin T Cella wrote: > I understand the trouble with using Activestate perl on cygwin is the > path conversion problem. Searching online I found the following wrapper > script useful for most perl commands: > > #! /bin/sh > > # This is necessary to make perl work wi

Re: activestate perl on cygwin

2007-01-10 Thread Igor Peshansky
On Wed, 10 Jan 2007, Andrew DeFaria wrote: > I'm not sure I agree with your script's premise which states in the > comment "Cygwin passes 'cygwin style' paths to the program in the #! > statement". I don't believe that is true. Cygwin passes what you specify > at the command line. That part is ac

RE: Link errors related to vtable

2007-01-10 Thread Dave Korn
On 10 January 2007 13:04, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to George on 1/9/2007 11:02 PM: >> Hi, >> I am getting link errors like below when I compile my >> code(systemc) which is on cygwin 1.5.23 with gcc >> 3.4.4 >> (systemc is a c++ class libr

Re: Arkeia

2007-01-10 Thread Saro Engels
ignacious schrieb: I'm working with Arkeia and I'm trying to get Cygwin on a windows xp client to connect to the Linux backup server using SSH. Does anybody have experience with this? I'm able to connect to the server but I can't get the gui to come up. I can ping both ways and I've shut down fir

Re: Fw: help win winxp install

2007-01-10 Thread Larry Hall (Cygwin)
Dave Korn wrote: On 10 January 2007 01:43, Larry Hall (Cygwin) wrote: It's not old code but gcc is a long time package. Looks like it incorrectly picked up cygintl-3.dll for cc1.exe the last time it was built. But looking at the setup.hint files, it correctly says that it depends on it. So

cygrunsrv interactive?

2007-01-10 Thread Max Kipness
Hello, I've been trying to use CYGRUNSRV to run an application that runs in a loop and basically just contacts a socket server every 15 seconds. I've tried various options to install the service so that it can run as SYSTEM and interactive. When starting the app with an appropriate user in the do

Re: 1.7.0 CVS mmap failure

2007-01-10 Thread Brian Ford
On Fri, 5 Jan 2007, Corinna Vinschen wrote: > Actually this shows a problem in the mmap implementation with respect to > MEM_TOP_DOWN. I think, what mmap should actually do is to create a > lightweight MAP_RESERVE anonymous mapping of the whole requested mapping > size, then close it again and th

Re: cygrunsrv interactive?

2007-01-10 Thread Igor Peshansky
On Wed, 10 Jan 2007, Max Kipness wrote: > Hello, > > I've been trying to use CYGRUNSRV to run an application that runs in a > loop and basically just contacts a socket server every 15 seconds. I've > tried various options to install the service so that it can run as > SYSTEM and interactive. > > W

Re: activestate perl on cygwin

2007-01-10 Thread moka
Andrew DeFaria wrote: ... >> I don't actually install through cygwin, but use the ppm installer >> from Activestate. >Why people would want to use a proprietary Perl with a proprietary >installer is beyond me. Let me ask you a question, what happens when you >call setsid in this ActiveState Perl?

Re: cygwin-email utility clipping attached zips

2007-01-10 Thread Joey Officer
I'm using it send attachments, but I would like to be able to send multiple attachments using a wildcard expression. Unfortunately when I specify something like *.pdf , it only grabs the first PDF file within the directory. my sample command line is something along the following: $ email.exe

Re: 1.7.0 CVS mmap failure

2007-01-10 Thread Corinna Vinschen
On Jan 10 09:37, Brian Ford wrote: > On Fri, 5 Jan 2007, Corinna Vinschen wrote: > > > Actually this shows a problem in the mmap implementation with respect to > > MEM_TOP_DOWN. I think, what mmap should actually do is to create a > > lightweight MAP_RESERVE anonymous mapping of the whole request

RE: cygwin-email utility clipping attached zips

2007-01-10 Thread Dave Korn
On 10 January 2007 16:03, Joey Officer wrote: > I'm using it send attachments, but I would like to be able to send > multiple attachments using a wildcard expression. Unfortunately when I > specify something like *.pdf , it only grabs the first PDF file within > the directory. > > my sample comm

RE: cygwin-email utility clipping attached zips

2007-01-10 Thread Dave Korn
On 10 January 2007 16:46, Dave Korn wrote: > On 10 January 2007 16:03, Joey Officer wrote: > >> my sample command line is something along the following: >> >> $ email.exe [EMAIL PROTECTED] -s testing -a *.pdf < body.txt >> >> This grabs files1.pdf but not files2.pdf or any other file. >> >> I

Re: cygwin-email utility clipping attached zips

2007-01-10 Thread Joey Officer
I spoke with Dean as well, the author, and he advised the same. I wrote a little script that accomplishes what I need, and wanted to share it, pasted in line below: email.bash #!/bin/bash export file="" for x in *.pdf; do export file=$file,$x done echo $file email [EMAIL PROTECTED] -s

Re: cygwin-email utility clipping attached zips

2007-01-10 Thread Saro Engels
I spoke with Dean as well, the author, and he advised the same. I wrote a little script that accomplishes what I need, and wanted to share it, pasted in line below: email.bash #!/bin/bash export file="" for x in *.pdf; do export file=$file,$x done echo $file email [EMAIL PROTECTED] -s

Re: cygwin-email utility clipping attached zips

2007-01-10 Thread Saro Engels
Saro Engels schrieb: I spoke with Dean as well, the author, and he advised the same. I wrote a little script that accomplishes what I need, and wanted to share it, pasted in line below: email.bash #!/bin/bash export file="" for x in *.pdf; do export file=$file,$x done echo $file email

Re: cygwin-email utility clipping attached zips

2007-01-10 Thread Brian Dessent
Saro Engels wrote: > I wasn't right: > It should be: > $ file=*.pdf; file=`echo $file | sed "s/ /,/g"` > $ echo $file > $ email [EMAIL PROTECTED] -s test -a $file < sample.txt Firstly this can be simplified to simply: email [EMAIL PROTECTED] -s test -a $(echo *.pdf|sed "s/ /,/g") http://cygwin.c

spawnvp is "unbreakable" for non-cygwin programs - Was: spawn doesn't return for non-cygwin programs (and also is unbreakable)

2007-01-10 Thread Volker Quetschke
ut not passed down to the child (As I learned this is/should be done by the shell.) Thanks for the quick fix of the major part of the problem Volker P.S.: I'm using the current snapshot: $ uname -a CYGWIN_NT-5.1 Turion 1.7.0s(0.161/4/2) 20070110 09:38:11 i686 Cygwin -- PGP/

Re: spawnvp is "unbreakable" for non-cygwin programs - Was: spawn doesn't return for non-cygwin programs (and also is unbreakable)

2007-01-10 Thread Christopher Faylor
On Wed, Jan 10, 2007 at 12:53:31PM -0600, Volker Quetschke wrote: >Christopher Faylor wrote: >>On Mon, Dec 25, 2006 at 04:02:20PM -0500, Volker Quetschke wrote: >>>I recently tripped over the following problem: If a non-cygwin >>>program gets started by cygwin's spawnvp() the spawn doesn't return >

Re: cygwin-email utility clipping attached zips

2007-01-10 Thread Matt Wozniski
Firstly this can be simplified to simply: email [EMAIL PROTECTED] -s test -a $(echo *.pdf|sed "s/ /,/g") But that won't work for files with commas in the name! (Rare, but it can happen...) I'd prefer something like email [EMAIL PROTECTED] -s test -a "$(ls -1 *.pdf | tr '\n' ',' )" < sample.t

Re: cygwin-email utility clipping attached zips

2007-01-10 Thread Joey Officer
And thank you as well Brian. I'm still fairly new to bash scripting, and am unfamiliar with all of the tools that make our lives easier. Thanks for the additions. Regards, joey Brian Dessent wrote: Saro Engels wrote: I wasn't right: It should be: $ file=*.pdf; file=`echo $file | sed "s/

Re: How to resolve hiccups by patch program?

2007-01-10 Thread Markus Elfring
Does running d2u over the rejected hunk fix your problem? No luck on my system ... $ uname -a CYGWIN_NT-5.1 sonne 1.5.23(0.156/4/2) 2006-12-19 10:52 i686 Cygwin $ cd /cygdrive/e/Projekte/Asterisk/Probe $ d2u -U app_db.c const4.patch.part010 app_db.c: done. const4.patch.part010: done. $ patc

RE: Re: username should be lower-case for $USER

2007-01-10 Thread Irwin, Doug
...snip... > If the user ID is created with lower-cased letters, it will be stored > and reported in lower-cased letters. At least that is how the Windows > 2003 Active Directory where I work expresses its user IDs. ...snip... U-huh. Just played around in the GUI and that seems to be true. I rec

RE: activestate perl on cygwin

2007-01-10 Thread Kevin T Cella
Win32::Mechanize Win32::OLE Win32::GuiTest Win32::Process -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yitzchak Scott-Thoennes Sent: Tuesday, January 09, 2007 10:58 PM To: cygwin@cygwin.com Subject: Re: activestate perl on cygwin Kevin T Cella nycap.r

dealing with spaces in paths

2007-01-10 Thread David Bear
I'm attempting to script building mount points in order to handle spaces in file names. So I do something like this: homedir=`cygpath -w $USERPROFILE` mount -buf "\"$homedir\" $HOME/myh When I echo the mount command to the syntax looks correct. However, when I actually run the mount command via

RE: activestate perl on cygwin

2007-01-10 Thread Kevin T Cella
Offer an alternative. As I mentioned in my original post, I got this script online. In using it I found it was not sufficient, I started this thread in the hopes that someone would provide me with a better wrapper script. Instead I got a bunch of replies about how it is a bad idea to use Activestat

RE: activestate perl on cygwin

2007-01-10 Thread Igor Peshansky
Ugh, top-posting... Reformatted. On Wed, 10 Jan 2007, Kevin T Cella wrote: > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > Igor Peshansky > Sent: Wednesday, January 10, 2007 9:06 AM > To: Kevin T Cella > Cc: [EMAIL PROTECTED]

Re: dealing with spaces in paths

2007-01-10 Thread Larry Hall (Cygwin)
David Bear wrote: I'm attempting to script building mount points in order to handle spaces in file names. So I do something like this: homedir=`cygpath -w $USERPROFILE` mount -buf "\"$homedir\" $HOME/myh When I echo the mount command to the syntax looks correct. However, when I actually run th

RE: activestate perl on cygwin

2007-01-10 Thread Kevin T Cella
> . Thanks. Seeing as I do not know how to configure this, I cannot oblige. >> Offer an alternative. As I mentioned in my original post, I got this >> script online. In using it I found it was not sufficient, I started this >> thread in the hopes that

Re: dealing with spaces in paths

2007-01-10 Thread David Bear
Larry Hall (Cygwin) wrote: > David Bear wrote: >> I'm attempting to script building mount points in order to handle spaces >> in file names. So I do something like this: >> >> homedir=`cygpath -w $USERPROFILE` >> mount -buf "\"$homedir\" $HOME/myh >> >> When I echo the mount command to the synta

Re: "cscope -d" can't find trailer offset if path contains space

2007-01-10 Thread Dave & Diane
Hi Fred, Sorry for the delay - let me take a look at this in more detail. Given the sleuthing you've done I'll probably have to go back to the cscope owner at Bell-Labs. Will keep you posted. Dave [mlcscope maintainer for cygwin] Fred Ma wrote: Bug fix request submitted for cscope via sour

Re: activestate perl on cygwin

2007-01-10 Thread Andrew DeFaria
[EMAIL PROTECTED] wrote: Andrew DeFaria wrote: ... I don't actually install through cygwin, but use the ppm installer from Activestate. Why people would want to use a proprietary Perl with a proprietary installer is beyond me. Let me ask you a question, what happens when you call setsid in thi

Re: activestate perl on cygwin

2007-01-10 Thread DePriest, Jason R.
On 1/10/07, Kevin T Cella wrote: Offer an alternative. As I mentioned in my original post, I got this script online. In using it I found it was not sufficient, I started this thread in the hopes that someone would provide me with a better wrapper script. Instead I got a bunch of replies about ho

re: dealing with spaces in paths

2007-01-10 Thread Morgan Gangwere
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Bear wrote: > > I'm attempting to script building mount points in order to handle spaces in > > file names. So I do something like this: > > > > homedir=`cygpath -w $USERPROFILE` > > mount -buf "\"$homedir\" $HOME/myh > > > > When I echo the mou

Re: dealing with spaces in paths

2007-01-10 Thread David Bear
David Bear wrote: > I'm attempting to script building mount points in order to handle spaces > in file names. So I do something like this: > > homedir=`cygpath -w $USERPROFILE` > mount -buf "\"$homedir\" $HOME/myh > > When I echo the mount command to the syntax looks correct. > > However, whe

Re: dealing with spaces in paths

2007-01-10 Thread Morgan Gangwere
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Bear wrote: > On Wed, Jan 10, 2007 at 07:26:44PM -0700, Morgan Gangwere wrote: > David Bear wrote: I'm attempting to script building mount points in order to handle spaces in file names. So I do something like this: homedir=`c

Re: activestate perl on cygwin

2007-01-10 Thread DePriest, Jason R.
On 1/10/07, Andrew DeFaria wrote: some dude wrote: > Andrew DeFaria wrote: > ... >>> I don't actually install through cygwin, but use the ppm installer >>> from Activestate. >> Why people would want to use a proprietary Perl with a proprietary >> installer is beyond me. Let me ask you a question

Re: activestate perl on cygwin

2007-01-10 Thread Andrew DeFaria
Kevin T Cella wrote: Offer an alternative. As I mentioned in my original post, I got this script online. In using it I found it was not sufficient, I started this thread in the hopes that someone would provide me with a better wrapper script. Instead I got a bunch of replies about how it is a b

Re: activestate perl on cygwin

2007-01-10 Thread Andrew DeFaria
Kevin T Cella wrote: ... there is nothing Cygwin-specific about writing such a wrapper script. As I said, any good bash tutorial would have contained enough information for you to write one. Since this is not a bash support list, discussion of techniques for making such scripts work is off-topi

Re: activestate perl on cygwin

2007-01-10 Thread Andrew DeFaria
DePriest, Jason R. wrote: > checked activestate. Then I needed some modules, DBD:Orcale to be exact. Maybe you should have looked for DBD::Oracle instead? :-) According to ActiveState's website (http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/faq/ActivePerl-faq2.html) DBD::Oracle Oracl

Re: Exclude cygwin folder from malware scans?

2007-01-10 Thread Gmane User
Fred Ma wrote: > After some surfing, I haven't found any evidence of malware targetting > cygwin. I'm considering excluding the massive file tree from scans > (AV, SpyBot, AdAware). I'd be interested in more experienced opinions > about this. Thanks. Thanks for your response. In summary, the l

Re: "cscope -d" can't find trailer offset if path contains space

2007-01-10 Thread Fred Ma
Thanks. Here's some further info: http://groups.google.ca/group/comp.editors/msg/7ffc56871c614f4b Fred Dave & Diane wrote: > > Sorry for the delay - let me take a look at this in more detail. Given > the sleuthing you've done I'll probably have to go back to the cscope > owner at Bell-Labs.

Re: [ANNOUNCEMENT] Updated: git-1.4.4.4-1

2007-01-10 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eric Blake wrote: > You've got me. I suspect it may be a (harmless) upstream bug in the way > that git is using perl's makefile-making facilities. Or there may be a > cygport issue when using 'inherit perl'. It's not just git; the same happened wi

Re: 1.7.0 CVS mmap failure

2007-01-10 Thread Christopher Layne
> Since overmapping doesn't work on Windows, unfortunately, I implemented > the above mentioned technique, which isn't much code anyway. It > reserves a memory lot big enough to fit in the whole mapping, memorizes > the address, free's the memory again and then uses the new address in > the subseq

Re: 1.7.0 CVS mmap failure

2007-01-10 Thread Christopher Layne
> On Jan 10 09:37, Brian Ford wrote: > > Yes, this fixes my STC and the application from which it was derived. > > Thanks. BTW: a couple of things: 1. Is there a possibility of another application or thread reserving that just alloc/free'd area right after using it to obtain (at that time) a vali

cygwin support for shared objects (modules)

2007-01-10 Thread Casey
I am wanting to use InspIRCd IRC Server for Windows (C++ Modular IRCd). InspIRCd has stopped coming out with new versions of InspIRCd for Windows as it does not support shared objects (modules). Will cygwin have support for shared objects later on with new releases? Thank You Casey -- Unsu