setting baud for USB serial adaptors

2005-10-22 Thread tns1
WinXP SP2, cygwin 5.19 snapshot Once I grabbed the latest cygwin snapshot and made sure I had the coreutils 5.9xxx, I could finally use stty to set the baud of my built-in COM port, but it does not work for my USB serial adaptors. Any ideas? -- Unsubscribe info: http://cygwin.com/ml/#u

Re: Where is documentation on keyring?

2005-10-22 Thread Gerrit P. Haase
Siegfried Heintze wrote: I'm stuck. Can someone please point me to the documentation? There is not much more included as you can find in /usr/share/doc/gnome-keyring-0.4.5/ Other Gnome applications hold their docs under /usr/share/gtk-doc where it may be accessed by the Gnome help browser, ho

Re: Where is documentation on keyring?

2005-10-22 Thread René Berber
Siegfried Heintze wrote: [snip] > I'm stuck. Can someone please point me to the documentation? /usr/share/doc/Cygwin/gnome-keyring-0.4.5.README -- René Berber -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation

Where is documentation on keyring?

2005-10-22 Thread Siegfried Heintze
I'm poking around in c:/cygwin/usr/share/doc/gnome-keyring-0.4.3 trying to understand how to use this program called keyring. Can I expect all Cygwin utilities to be already compiled and have a file that contains a URL to the documentation? I could google for it, but I wanted to be assured that

Re: Socket read problem on Windows XP Pro & Cygwin

2005-10-22 Thread Todd Rearick
Brian Dessent dessent.net> writes: > What I was trying to emphasize is that passing "COM4" to open() in a > Cygwin program sets you up for a world of hurt... > > Brian It's even worse than you think. In this case...COM4 is not even a real serial port...but a "virtual" serial port constructed b

Re: When are Windows Short Path Names required

2005-10-22 Thread Brian Dessent
Brian Dessent wrote: > Generation of the short name from the long name is not even not > guaranteed to exist or work. s/not even not guaranteed/not even guaranteed/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documenta

Re: When are Windows Short Path Names required

2005-10-22 Thread Brian Dessent
zzapper wrote: > $ cygpath -d c:/Program\ Files/Internet\ Explorer > c:\PROGRA~1\INTERN~1 > > I've just had another case where the I had to use the short form, is the > short form the "real name"? Huh? What do you mean? Does the short form uniquely identify the file? Yes, of course. But onl

Re: Socket read problem on Windows XP Pro & Cygwin

2005-10-22 Thread Brian Dessent
Todd Rearick wrote: > > > #define OUTPUT_DEVICE "COM4" > > > > *cough* > > Like I said. I'm not having a problem with output. The program fails even > when I run it with the options "-x -d"in this case, COM4 is never even > opened..and no attempts are made to write to it. All the program

When are Windows Short Path Names required

2005-10-22 Thread zzapper
Hi $ cygpath -d c:/Program\ Files/Internet\ Explorer c:\PROGRA~1\INTERN~1 I've just had another case where the I had to use the short form, is the short form the "real name"? -- zzapper Success for Techies and Vim,Zsh tips http://SuccessTheory.com/ -- Unsubscribe info: http://cygwin.co

Re: struct msghdr in socket.h is wrong

2005-10-22 Thread Corinna Vinschen
On Oct 22 11:07, Corinna Vinschen wrote: > On Oct 21 16:18, Sam Steingold wrote: > > > * Corinna Vinschen <[EMAIL PROTECTED]> [2005-10-17 23:34:52 +0200]: > > > > > > Never mind, I've changed it in CVS. Note that msg_control, > > > msg_controllen and msg_flags members are still without function. >

Re: Please help on GCC

2005-10-22 Thread Christopher Faylor
On Sat, Oct 22, 2005 at 08:37:46AM -0700, estech users wrote: >But is there any advantage of using GCC over MS products when it comes >to the issue of security? No. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentat

Re: Please help on GCC

2005-10-22 Thread Gerrit P. Haase
estech users wrote: But is there any advantage of using GCC over MS products when it comes to the issue of security? If you find a security problem in GCC you may fix it yourself. Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http

Re: info bash - Bash Features: No such file or directory

2005-10-22 Thread Lennart Borgman
Eric Blake wrote: I don't know if you are reproducing the same problem as the OP, since the OP didn't exactly print what error message he was getting, but you certainly reproduced a problem. ... This is probably because you've mounted / as textmode. I don't know if it is a bug in info or

Re: Please help on GCC

2005-10-22 Thread estech users
Dear Sir, Thanks for yours. But is there any advantage of using GCC over MS products when it comes to the issue of security? Best wishes, Olorunfemi, Temitope --- Eric Blake <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to estech users on 10/22/20

Re: info bash - Bash Features: No such file or directory

2005-10-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Arend-Jan Westhoff on 10/22/2005 7:02 AM: >>It works for me. You'll have to help by giving me a better formula for >>reproducing the problem. What does "info -w bash" print? Also, could you >>please follow the problem-reporting directio

Re: Cygwin on Windows x64

2005-10-22 Thread Sebastian Tillmann
Hi, I've downloaded the latest snapshot, it works now, everything fine. Thanks for the help. Sebastian What happens is that Cygwin reports the *real* CPU type, which is a 64 bit type, instead of the emulated 32 bit type it's running on (i686 inside of WOW64). This is fixed in recent develope

Re: Please help on GCC

2005-10-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to estech users on 10/22/2005 3:19 AM: > Dear all, > > Please can you enlighten me on why it is more > advantageous to use gcc rather that Microsoft > studio.net visual c ? 1) gcc is free, Microsoft is not (even if you can obtain a copy wit

Re: Socket read problem on Windows XP Pro & Cygwin

2005-10-22 Thread Corinna Vinschen
On Oct 22 14:58, Todd Rearick wrote: > Todd Rearick cox.net> writes: > > Thanks for all of your help. Unfortunately...now the problem isn't really > > directly under my control...hope I can find a solution. > > HAHA!!! I'm such an idiot. [...] No worries, me too. Thanks to your report I was

Re: Socket read problem on Windows XP Pro & Cygwin

2005-10-22 Thread Todd Rearick
Todd Rearick cox.net> writes: > Thanks for all of your help. Unfortunately...now the problem isn't really > directly under my control...hope I can find a solution. > HAHA!!! I'm such an idiot. I have firewall software running on the 2 PC's that don't work (Norton Internet Security). When

Re: Socket read problem on Windows XP Pro & Cygwin

2005-10-22 Thread Todd Rearick
Corinna Vinschen cygwin.com> writes: > > This I can't tell you since I don't know the server side of the > connection. It's normal to get EOF (== 0) over and over again if EOF > has been detected. This behaviour can be observed on, for instance, > Linux, too. Well..I thought it shouldn't if i

Re: Socket read problem on Windows XP Pro & Cygwin

2005-10-22 Thread Corinna Vinschen
On Oct 22 13:31, Todd Rearick wrote: > Corinna Vinschen cygwin.com> writes: > > What you're entirely missing at this point is the fact that a return > > value of 0 (zero) indicates EOF. You don't test for this. Instead > > you're also testing errno in case of EOF, which has no meaning in this >

Re: python problems with dos lineendings in python-scripts

2005-10-22 Thread Thorsten Kampe
* marco (2005-10-21 19:27 +0100) > i can not run any python scripts with dos lineendings. Works for me. Probably a classical "Problem exists between chair and computer" issue? > if i run such scripts i get stupid syntax error messages from python. But you forgot to tell us this "stupid syntax er

Re: Socket read problem on Windows XP Pro & Cygwin

2005-10-22 Thread Todd Rearick
Brian Dessent dessent.net> writes: > > > #define OUTPUT_DEVICE "COM4" > > *cough* > > Like I said. I'm not having a problem with output. The program fails even when I run it with the options "-x -d"in this case, COM4 is never even opened..and no attempts are made to write to it.

Re: Socket read problem on Windows XP Pro & Cygwin

2005-10-22 Thread Todd Rearick
Corinna Vinschen cygwin.com> writes: > > On Oct 22 07:06, Todd Rearick wrote: > > while(1) > > { > > char buf[80]; > > int len; > > > > len = recv(infd,buf,1,0); > > > > if (len < 1) > > { > > printf("len = %d\n",len); > >

Re: python problems with dos lineendings in python-scripts

2005-10-22 Thread Jason Tishler
Marco, On Fri, Oct 21, 2005 at 08:27:12PM +0200, marco wrote: > i can not run any python scripts with dos lineendings. > if i run such scripts i get stupid syntax error messages from python. Sorry, but I can't reproduce your problem. > what can i do to run these scripts without changing the line

Re: Please help on GCC

2005-10-22 Thread estech users
Dear all, Please can you enlighten me on why it is more advantageous to use gcc rather that Microsoft studio.net visual c ? Thank you. Best wishes, Olorunfemi, Temitope --- Igor Pechtchanski <[EMAIL PROTECTED]> wrote: > Ugh, top-posting... Reformatted. > > On Fri, 30 Sep 2005, estech users

Re: Cygwin on Windows x64

2005-10-22 Thread Corinna Vinschen
On Oct 21 20:05, Sebastian Tillmann wrote: > Hi, > > I'm trying to compile ClanLib with Cygwin on my Windows XP Professional > x64 Edition. [...] > > $ ./configure --enable-static --disable-shared > checking build system type... ./config.guess: unable to guess system type What happens is that C

Re: struct msghdr in socket.h is wrong

2005-10-22 Thread Corinna Vinschen
On Oct 21 16:18, Sam Steingold wrote: > > * Corinna Vinschen <[EMAIL PROTECTED]> [2005-10-17 23:34:52 +0200]: > > > > Never mind, I've changed it in CVS. Note that msg_control, > > msg_controllen and msg_flags members are still without function. > > that's OK, as long as they are there. > > whil

Re: Socket read problem on Windows XP Pro & Cygwin

2005-10-22 Thread Corinna Vinschen
On Oct 22 07:06, Todd Rearick wrote: > while(1) > { > char buf[80]; > int len; > > len = recv(infd,buf,1,0); > > if (len < 1) > { > printf("len = %d\n",len); > printf("errno = %d\n",errno); >

Re: Socket read problem on Windows XP Pro & Cygwin

2005-10-22 Thread Brian Dessent
Todd Rearick wrote: > #define OUTPUT_DEVICE "COM4" *cough* -- 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: Socket read problem on Windows XP Pro & Cygwin

2005-10-22 Thread Todd Rearick
Brian Dessent dessent.net> writes: > > Your test case does not compile... ...good point...I was just trying to cut down on the length of the post...but it really didn't save that much anyway...I'll attach the full code on the end of this post in case anyone wants to try it. > > Is there any