WISH8.3 instead of WISH 8.0
Dear all, While trying to solve my problem with PGACCES, I found that TCL/TK 8.0 has a problem with dynamic loading and the problem should be solved in a newer version 8.3. My problem with PGACCESS has, from what I believe after searching several mailing lists and reading manuals and mails, nothing to do with PGACCESS itselve. Im not able to load the libpgtcl.dll (libpgtcl library) giving me the error "couldn't load file 'libpgtcl.dll': invalid argument while executing 'load libpgtcl[info sharedlibextension]'(procedure 'main') line 3) invoked from within 'main $argc $argv' (file 'main.tcl' line 249)" When I installed cygwin a few weeks ago I also installed TCL/TK using setup, however this is version 8.0. Now I wonder if what do I need to do when I want install TCL/TK 8.3 in stead. Especially how can I remove the older version. kind regards, Danny -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: regarding compatible OS
Hello Someshwar, Thursday, April 11, 2002, 6:37:37 AM, you wrote: SPlc> Dear Sir/Madam, SPlc> Is this cygwin works on Windows 2000? http://www.cygwin.com - read the section "What Is Cygwin ?". -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Error compiling cygwin-snapshot-20020409-1
Hello Steve, Wednesday, April 10, 2002, 11:44:44 PM, you wrote: [snip] SH> In file included from cygheap.cc:17: SH> fhandler.h: In method `select_stuff::select_stuff()': SH> fhandler.h:1089: implicit declaration of function `int memset(...)' SH> make: *** [cygheap.o] Error 1 Obviously, this source file calls memset without including the approapriate header file (string.h). I don't have the latest CVS sources to verify this - what I've stated above is just and assumption based on the gcc error message. Btw no need to repeat ;) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Perhaps a silly question
I performed a download for the latest cygwin release on a win2000 machine and it seemed like I got all the packages including the C compilers. However, on a win98 machine I have at home, I do not get the compilers in the install. That is, gcc and g++ are missing entirely. What am I doing wrong?? Thanks, Jeff -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Perhaps a silly question
Hello Jeffrey, Thursday, April 11, 2002, 10:30:49 AM, you wrote: JDW> I performed a download for the latest cygwin release on a win2000 JDW> machine JDW> and it seemed like I got all the packages including the C compilers. JDW> However, JDW> on a win98 machine I have at home, I do not get the compilers in the JDW> install. JDW> That is, gcc and g++ are missing entirely. JDW> What am I doing wrong?? You have not selected the gcc package from the Devel category. If you have trouble managing the category view of the package chooser page you can click the "View" button until the text after it reads 'Full'. Then just find out gcc in the list of packages and click on the 'Skip' text until it changes to the version of gcc you want to install. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: getting dos path from cygwin (programmatically)
Hi all, Pavel Tsekov <[EMAIL PROTECTED]> writes: > Yes! Use the cygpath.exe utility. I've got a related question: Is there an easy to use interface (say in cygwin1.dll) to convert paths between cywin and windows conventions programmatically i.e. directly callable from C-code? If so, which header(s) do I need? TIA andreas -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Bug: Wrong text file type from CVS under Perl?
- Original Message - From: "Gerrit P. Haase" <[EMAIL PROTECTED]> To: "Peter Andersen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, April 10, 2002 11:05 PM Subject: Re: Bug: Wrong text file type from CVS under Perl? ... > Oops, I am a little tired... > I'm using perl-5.7.3 here;) > Well at least this is good news to know that it will work > with perl-5.8. This means I cannot reproduce this bug now > because I have no perl-5.6.1 installed here. > > Another option is PERLIO. > Try to: > 1. export PERLIO=perlio > and: > 2. export PERLIO=stdio > maybe this makes a difference. Unfortunately not. Here is a session showing the problem: $ /bin/rm CHANGES $ cvs up CHANGES U CHANGES $ cat -v CHANGES | head -1 ** $ /bin/rm CHANGES $ perl -e "system 'cvs up CHANGES';" U CHANGES $ cat -v CHANGES | head -1 **^M As you can see I get ^M at the end of the lines (all lines - here just first shown). This does not happen with all repositories, though. I have tried looking at the CHANGES,v file in the repository, and there are no ^M characters in there. Also, as you can see, this does not happen when call cvs directly on the command line. So the repository seems OK. It must be a perl issue(?) I have verified that it is the same version of cvs that I run directly in the shell and via perl. I have tried to reinstall the entire cygwin (from installer 2.194.2.22). I cannot get newer versions of perl than 5.6.1-2. How do I get 5.7 or 5.8 that you mention? /Peter Andersen -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
can somebody show me an example Rxvt config file?
On Thursday 11 Apr 02, jinhyuk choi writes: > I found rxvt works so cool. > now It replaced stupid command.com but can not find > any example Rxvt config file in doc directory. > somebody can show me an example Rxvt configuration > file? "man rxvt" David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: sshd authentication
On Fri, Apr 05, 2002 at 03:28:56PM -0600, Chetan Tiwari wrote: > Hi, > > This may be a basic question, but I was wondering if there was any way > to setup the SSH Daemon so that it authenticates users based on a text > file or a SQL database, rather than the default passwd file/NT security > authentication. No. You can use public key authentication instead of password auth. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: getting dos path from cygwin (programmatically)
On Thu, Apr 11, 2002 at 09:46:30AM +0200, Andreas Ames wrote: > Hi all, > > Pavel Tsekov <[EMAIL PROTECTED]> writes: > > > Yes! Use the cygpath.exe utility. > > I've got a related question: Is there an easy to use interface (say in > cygwin1.dll) to convert paths between cywin and windows conventions > programmatically i.e. directly callable from C-code? If so, which > header(s) do I need? #include A look into that file gives you all you need. Please use the "cygwin_XXX" functions rather than the "cygwin32_XXX" functions which are deprecated. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: getting dos path from cygwin (programmatically)
At 03:46 AM 4/11/2002, Andreas Ames wrote: >Hi all, > >Pavel Tsekov <[EMAIL PROTECTED]> writes: > > > Yes! Use the cygpath.exe utility. > >I've got a related question: Is there an easy to use interface (say in >cygwin1.dll) to convert paths between cywin and windows conventions >programmatically i.e. directly callable from C-code? If so, which >header(s) do I need? Documentation is your friend! :-) http://cygwin.com/cygwin-api/cygwin-api.html Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: WISH8.3 instead of WISH 8.0
At 03:45 AM 4/11/2002, Gaethofs, Danny wrote: >Especially how can I remove the older >version. Run setup and uninstall it. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Wierdness of WSASendTo()??
I am attempting to port MTR (Matt's TraceRoute), and after getting the minires library, I can get it all to compile and it seems to run, except for one small problem. I never see any output. So, after further analysis, and also using iptraf & tcpdump on my linux box, I have this to report: MTR believes it's sending out a good ICMP packet of 64 bytes (0x40). cygwin_sendto() also thinks it's sending out 64 bytes (as reported by strace). However, tcpdump on my linux box is receiving 84 bytes. What it looks like to me is that somehow WSASendTo is re-formatting the packet that is going out. But, this turns it into an invalid packet, and causes a "network unreachable" error on the linux box, and the response never comes back. Has anyone seen this behaviour before?? Here is a synopsis of the data traffic: What cygwin/MTR creates/sends out: 0x 4500 0040 0601 f40d E..@ 0x0010 c0a8 0008 0800 1ef7 d408 0500 0x0020 0x0030 Strace Result: 285 10960006 [main] mtr 1944 cygwin_sendto: 64 = sendto (3, 22ED84, 40, 0) showing a 64 byte packet going out to WSASendTo() Here is what my linux box/tcpdump sees: 20:33:36.661467 gairloch.recluce.org > seti2.recluce.org: ip-proto-255 64 0x 4500 0054 6fa8 80ff 48a8 c0a8 0002E..To.H. 0x0010 c0a8 0008 4500 0040 0601 f40dE..@ 0x0020 c0a8 0008 0800 1ef7 d408 0500 0x0030 0x0040 0x0050 .. As can be seen above, the original packet is buried within the new packet, but an additional 20 byte header has been prepended to this packet, which skews everything and invalidates the packet. Here is how my linux box responds: 20:33:36.661506 seti2.recluce.org > gairloch.recluce.org: icmp: seti2.recluce.or g protocol 255 unreachable [tos 0xc0] 0x 45c0 0070 5207 ff01 e76a c0a8 0008E..pR..j 0x0010 c0a8 0002 0302 fcfd 4500 0054E..T 0x0020 6fa8 80ff 48a8 c0a8 0002 c0a8 0008o.H. 0x0030 4500 0040 0601 f40d E..@ 0x0040 c0a8 0008 0800 1ef7 d408 0500 0x0050 .. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Error compiling cygwin-snapshot-20020409-1
On Thu, Apr 11, 2002 at 10:10:28AM +0200, Pavel Tsekov wrote: >Wednesday, April 10, 2002, 11:44:44 PM, you wrote: >> In file included from cygheap.cc:17: >SH> fhandler.h: In method `select_stuff::select_stuff()': >SH> fhandler.h:1089: implicit declaration of function `int memset(...)' >SH> make: *** [cygheap.o] Error 1 > >Obviously, this source file calls memset without including the >approapriate header file (string.h). Not so obvious at all. How do you suppose I could generate a snapshot if that was true? >I don't have the latest CVS sources to verify this - what I've stated >above is just and assumption based on the gcc error message. If you can't check the source, why are you responding? Since I can't see any reason for the error, I assume that the source has been locally modified or the header files are screwed up. >Btw no need to repeat ;) That's for sure. Basically, it seems to me that if you can't solve simple things like basic compilation errors, you probably shouldn't be building cygwin from scratch. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
how to create an import library with cygwin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greetings I am using cygwin and cl.exe to build a project that links to some 3rd party dlls. My issue is that libtool keeps createing static libs. Can anyone tell me how to convince libtool to create import libs so that i can make my dll link to other windows applications. Basicly I am using libtool and autoconf because i am porting a lib to Windows, but I must use msvc because I am linking to Qt and it seems not to want to play nice with cygwin gcc. Thanks -ian reinhart geiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8tZ+yPy62TRm8dvgRAu2cAJ9S0xMqYFgaAWXcdDp5NclyRlEV+wCgo9XJ OTxunxyxRjpqwN0cckqg8+s= =zFAQ -END PGP SIGNATURE- _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re[2]: Error compiling cygwin-snapshot-20020409-1
Hello Christopher, Thursday, April 11, 2002, 4:37:27 PM, you wrote: CF> On Thu, Apr 11, 2002 at 10:10:28AM +0200, Pavel Tsekov wrote: >>Wednesday, April 10, 2002, 11:44:44 PM, you wrote: >>> In file included from cygheap.cc:17: >>SH> fhandler.h: In method `select_stuff::select_stuff()': >>SH> fhandler.h:1089: implicit declaration of function `int memset(...)' >>SH> make: *** [cygheap.o] Error 1 >> >>Obviously, this source file calls memset without including the >>approapriate header file (string.h). CF> Not so obvious at all. How do you suppose I could generate a snapshot CF> if that was true? I say this because of the gcc error message. >>I don't have the latest CVS sources to verify this - what I've stated >>above is just and assumption based on the gcc error message. CF> If you can't check the source, why are you responding? Because I'm mean... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Wierdness of WSASendTo()??
On Thu, Apr 11, 2002 at 08:20:59AM -0600, Mark Paulus wrote: > MTR believes it's sending out a good ICMP packet of 64 bytes (0x40). > cygwin_sendto() also thinks it's sending out 64 bytes (as reported by strace). > > However, tcpdump on my linux box is receiving 84 bytes. > > What it looks like to me is that somehow WSASendTo is re-formatting > the packet that is going out. But, this > turns it into an invalid packet, and causes a "network unreachable" error > on the linux box, and the response never comes back. > > Has anyone seen this behaviour before?? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/wsanxref_8xo2.asp Look for IP_HDRINCL. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Problems installing cygwin-XFree86 on a Dell WIN2K box
Sirs: This is a (hopefully more illuminating) follow-up to a post from yesterday. I am midstroke in installing cygwin-XFree86 on a Dell Win2000 box. As of yesterday, I had followed the directions on the webpage detailing the installation process verbatim. This meant that I had a limited cygwin install (no vi, no grep, etc.). I have installed more of the tools as of this A.M. and am able to provide more info on my status as of now. I attach the output of "cygcheck -s -r -v" to describe my install as of now. I also looked through the Xinstall.sh script to try to assess why it was stopping. It appears to need a program called extract, which I think is part of the XFree86 download. The script also contains comments about linking extract to gnu-tar. I did an "ls -l" on my bin directory, which contains the extract executable as well as the tar executable, & observed that they are different (different sizes & date stamps). I want the XFree86 to be able to use rxvt as a shell to begin with, but we will be possibly wanting to do more later. I am still stuck in the XFree86 install with error messages from the Xinstall.sh script complaining about the extract program being bad. Thanks in advance for your time. I will be happy to provide any more info if needed. --- Begin Message --- --- End Message --- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Error compiling cygwin-snapshot-20020409-1
On Thu, Apr 11, 2002 at 04:51:09PM +0200, Pavel Tsekov wrote: >CF> If you can't check the source, why are you responding? > >Because I'm mean... Touche'! LOL for 20 seconds! cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Perhaps a silly question
Thanks - I got it. Jeff Pavel Tsekov wrote: > Hello Jeffrey, > > Thursday, April 11, 2002, 10:30:49 AM, you wrote: > > JDW> I performed a download for the latest cygwin release on a win2000 > JDW> machine > JDW> and it seemed like I got all the packages including the C compilers. > JDW> However, > JDW> on a win98 machine I have at home, I do not get the compilers in the > JDW> install. > JDW> That is, gcc and g++ are missing entirely. > JDW> What am I doing wrong?? > > You have not selected the gcc package from the Devel category. If you > have trouble managing the category view of the package chooser page > you can click the "View" button until the text after it reads 'Full'. > Then just find out gcc in the list of packages and click on the 'Skip' > text until it changes to the version of gcc you want to install. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
strange delay in date?
when I do in my winbox: C:\TEMP>time /T 17.35 I get the system time, but when I do it using date I get 2 hours less than the true hour: C:\TEMP>c:\cygwin\bin\date Thu Apr 11 15:35:04 2002 Anyone can give me a clue? Thx. m4c. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
strange delay in date?
date returns UTC, time returns your local time. regards, Markus Marcos Lorenzo de Santiago writes: > > when I do in my winbox: > > C:\TEMP>time /T > 17.35 > > I get the system time, but when I do it using date I get 2 hours less than > the true hour: > > C:\TEMP>c:\cygwin\bin\date > Thu Apr 11 15:35:04 2002 -- Markus Hoenicka, PhD UT Houston Medical School Dept. of Integrative Biology and Pharmacology 6431 Fannin MSB4.114 Houston, TX 77030 (713) 500-6313, -7477 (713) 500-7444 (fax) [EMAIL PROTECTED] http://ourworld.compuserve.com/homepages/hoenicka_markus/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: strange delay in date?
On Thu, 11 Apr 2002, Markus Hoenicka wrote: > date returns UTC, time returns your local time. > > regards, > Markus Well, now the question is: how can I get *MY* localtime?? thx in advance m4c. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: strange delay in date?
Upon re-reading my reply I noticed that it was too terse. date shows UTC in your case because you did not set up your timezone correctly. If you do, date will show your local time, date -u will show UTC. In my case, I set TZ to CST6CDT, which means time zone is CST, I'm 6 h west of UTC, and my daylight savings time zone is CDT regards, Markus Marcos Lorenzo de Santiago writes: > Well, now the question is: how can I get *MY* localtime?? -- Markus Hoenicka, PhD UT Houston Medical School Dept. of Integrative Biology and Pharmacology 6431 Fannin MSB4.114 Houston, TX 77030 (713) 500-6313, -7477 (713) 500-7444 (fax) [EMAIL PROTECTED] http://ourworld.compuserve.com/homepages/hoenicka_markus/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Wierdness of WSASendTo()??
Ok, I have done some browsing, and now I'm totally confused. According to Microsoft, there are 2 headers and libraries: winsock.h Ws2tcpip.h Since I can seem to use the IP_HDRINCL macro, I am picking ws2tcpip.h file. However, I can't seem to figure out how to set the option. When I invoke the following code fragment: #ifdef IP_HDRINCL /* FreeBSD wants this to avoid sending out packets with protocol type RAW to the network. */ if(setsockopt(sendsock, SOL_IP, IP_HDRINCL, &trueopt, sizeof(trueopt))) { perror("setsockopt(IP_HDRINCL,1)"); return -1; } #endif I get the following from strace, which indicates that maybe cygwin doesn't support IP_HDRINCL??? 202 280647 [main] mtr 2576 cygwin_socket: socket (2, 3, 255) 4034 284681 [main] mtr 2576 wsock_init: res 0 210 284891 [main] mtr 2576 wsock_init: wVersion 514 281 285172 [main] mtr 2576 wsock_init: wHighVersion 514 177 285349 [main] mtr 2576 wsock_init: szDescription WinSock 2.0 174 285523 [main] mtr 2576 wsock_init: szSystemStatus Running 171 285694 [main] mtr 2576 wsock_init: iMaxSockets 0 170 285864 [main] mtr 2576 wsock_init: iMaxUdpDg 0 372 286236 [main] mtr 2576 wsock_init: lpVendorInfo 0 64252 350488 [main] mtr 2576 fdsock: not setting socket inheritance since winsock2_active 1 272 350760 [main] mtr 2576 dtable::build_fhandler: fd 3, fh 0x615607C0 169 350929 [main] mtr 2576 fdsock: fd 3, name '/dev/udp', soc 0x27C 168 351097 [main] mtr 2576 cygwin_socket: 3 = socket (2, 3, 255) 5043 356140 [main] mtr 2576 cygwin_setsockopt: setsockopt optval=1 352 356492 [main] mtr 2576 cygwin_setsockopt: 0 = setsockopt (3, 0, 1 (SO_DEBUG), 22FE40, 4) Do I need to maybe restructure my code so that I do not create a header??? On Thu, 11 Apr 2002 17:07:40 +0200, Corinna Vinschen wrote: >On Thu, Apr 11, 2002 at 08:20:59AM -0600, Mark Paulus wrote: >> MTR believes it's sending out a good ICMP packet of 64 bytes (0x40). >> cygwin_sendto() also thinks it's sending out 64 bytes (as reported by strace). >> >> However, tcpdump on my linux box is receiving 84 bytes. >> >> What it looks like to me is that somehow WSASendTo is re-formatting >> the packet that is going out. But, this >> turns it into an invalid packet, and causes a "network unreachable" error >> on the linux box, and the response never comes back. >> >> Has anyone seen this behaviour before?? > >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/wsanxref_8xo2.asp > >Look for IP_HDRINCL. > > >Corinna > >-- >Corinna Vinschen Please, send mails regarding Cygwin to >Cygwin Developermailto:[EMAIL PROTECTED] >Red Hat, Inc. > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problems installing cygwin-XFree86 on a Dell WIN2K box
"Dr. Lawrence Ward Spradley" <[EMAIL PROTECTED]> writes: > I also looked through the Xinstall.sh script to try to assess why it > was stopping. It appears to need a program called extract, which I > think is part of the XFree86 download. Yes it is. It worked for me by having extract in the same directory as the various X files, Xbin.tgz, Xdoc.tgz, etc. For example, I downloaded the X files into the /tmp directory, including extract.exe ; it installed very easily. If the extract.exe you downloaded is compressed (it looks like "extract.exe.gz") then you'll need to decompress it with the gunzip command. Provided you've installed the gzip package, this can be done with "gunzip extract.exe.gz". > The script also contains comments about linking extract to gnu-tar. # Link extract to gnu-tar so it can also be used as a regular tar case "$OsName" in CYGWIN*) rm -f gnu-tar ln -s extract.exe gnu-tar ;; *) rm -f gnu-tar ln extract gnu-tar ;; esac This is simply providing a link between exact and gnu-tar - making gnu-tar a synonym for extract (that is, when you run "gnu-tar" it does the same thing as running extract - they're the same programs [ note this is entitled "gnu-tar" ]. Is extract.exe in the same directory as the Xinstall.sh? Elizabeth -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Serial programming patch
Hello, I've been searching through the mailing lists trying to find a painless way of toggling DTR/RTS lines for some test code which I am writing. I was trying to use ioctl() but TIOCMSET, TIOCM_DTR and all the other definitions needed are currently unsupported. I also found in the archive a patch written by Jacek Trzcinski (see http://sources.redhat.com/ml/cygwin/2001-05/msg01163.html) and wondered what the current status of this is, i.e. is it still under development? If the patch has been abandoned what can one do to help, how would I go about testing it? Not knowing anything about tweaking cygwin packages could you point me to appropriate documentation. Forgive my ignorance but all I'm doing at the moment is a bit of C so looking at the Trzcinski's posting of the patch is a bit like reading Arabic. All I really want is to be able to toggle those lines so if there is an easier way that you know of, sharing your knowledge would be much appreciated. Thanks in advance, Deya -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: strange delay in date?
On Thu, 11 Apr 2002, Markus Hoenicka wrote: > Upon re-reading my reply I noticed that it was too terse. date shows > UTC in your case because you did not set up your timezone > correctly. If you do, date will show your local time, date -u will > show UTC. > > In my case, I set TZ to CST6CDT, which means time zone is CST, I'm 6 h > west of UTC, and my daylight savings time zone is CDT > > regards, > Markus Thanks a lot now I know what is the problem, but I don't know how to resolve it. I know how to do it in linux, but not in cygwin (arrgh! :) In linux you just had to link /etc/localtime to /ush/share/zoneinfo/wherever_you_are and that's it, but in cygwin there's no /usr/share/zoneinfo folder. I looked manpages but I found nothing. Another question: how can I add inetd the inetd service to my winbox list of services? and how can I get my crond running? If there's documentation that you know over the net just redirect me to the page so I can stop bothering! ;) rgrds, m4c. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: strange delay in date?
The date manpage tells you that date uses the environment variable TZ. Set this variable in your /etc/profile or ~/.bashrc to the correct value. regards, Markus Marcos Lorenzo de Santiago writes: > Thanks a lot now I know what is the problem, but I don't know how to > resolve it. I know how to do it in linux, but not in cygwin (arrgh! :) > > In linux you just had to link /etc/localtime to > /ush/share/zoneinfo/wherever_you_are and that's it, but in cygwin there's > no /usr/share/zoneinfo folder. I looked manpages but I found nothing. -- Markus Hoenicka, PhD UT Houston Medical School Dept. of Integrative Biology and Pharmacology 6431 Fannin MSB4.114 Houston, TX 77030 (713) 500-6313, -7477 (713) 500-7444 (fax) [EMAIL PROTECTED] http://ourworld.compuserve.com/homepages/hoenicka_markus/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Serial programming patch
On Thu, Apr 11, 2002 at 05:46:39PM +0100, briseida deyanira maytorena sanchez wrote: >Hello, > >I've been searching through the mailing lists trying to find a painless >way of toggling DTR/RTS lines for some test code which I am writing. I was >trying to use ioctl() but TIOCMSET, TIOCM_DTR and all the other >definitions needed are currently unsupported. > >I also found in the archive a patch written by Jacek Trzcinski >(see http://sources.redhat.com/ml/cygwin/2001-05/msg01163.html) and >wondered what the current status of this is, i.e. is it still under >development? As far as I know, we never received an assignment for the patch so it was never applied. >If the patch has been abandoned what can one do to help, how >would I go about testing it? No idea. I guess you'd have to contact the original author. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: strange delay in date?
On Thu, 11 Apr 2002, Marcos Lorenzo de Santiago wrote: > On Thu, 11 Apr 2002, Markus Hoenicka wrote: > > > Upon re-reading my reply I noticed that it was too terse. date shows > > UTC in your case because you did not set up your timezone > > correctly. If you do, date will show your local time, date -u will > > show UTC. > > > > In my case, I set TZ to CST6CDT, which means time zone is CST, I'm 6 h > > west of UTC, and my daylight savings time zone is CDT > > > > regards, > > Markus > > Thanks a lot now I know what is the problem, but I don't know how to > resolve it. I know how to do it in linux, but not in cygwin (arrgh! :) OK! I answer myself: setting the TZ variable: $ export TZ=CST-1CDT; date Thu Apr 11 18:55:26 2002 $ date -u Thu Apr 11 16:55:29 2002 How can I set this variable as the default? In /etc/profile?... let's try... yes! it works although I don't get bash hour prompt to work: 17:01:07 ~$ date Thu Apr 11 19:01:10 2002 there's still a delay of 2 hours between the two dates. Maybe there's any other configuration for this... And now I want this command (date) to work from cmd.exe too (not only from bash.exe): I guessed that probably setting a variable TZ to the timezone in cmd.exe would work and so it does!: C:\>c:\cygwin\bin\date Thu Apr 11 17:00:15 2002 C:\>set TZ=CST-1CDT C:\>c:\cygwin\bin\date Thu Apr 11 19:00:35 2002 That's it! m4c. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: strange delay in date?
At 12:51 PM 4/11/2002, Marcos Lorenzo de Santiago wrote: >If there's documentation that you know over the net just redirect me to >the page so I can stop bothering! ;) Well, let's see. There's documentation at the Cygwin web site (user's guide, api guide, FAQ, email list archives), there's documentation in /usr/doc and /usr/doc/Cygwin, and there's documentation all over the web concerning GNU packages and their setup/configuration. Seems like that should be an adequate pointer to get you started. These are all great places to review for any question before posting too. Hope that helps, Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: strange delay in date?
On Thu, 11 Apr 2002, Markus Hoenicka wrote: > The date manpage tells you that date uses the environment variable > TZ. Set this variable in your /etc/profile or ~/.bashrc to the correct > value. > > regards, > Markus Thanx. I just answered to myself just before reading your mail :) m4c. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Advance WinMain@16
Folks To forestall calls of RTFF (Read the Fabulous FAQ) and RTFM (Read the FAQ,Man) I should inform you that I have the Cygwin FAQ open to the pertinent question on my browser window even as I type this. I am attempting to get AutoGen to compile under Cygwin on a W2K machine. This package comes with a support library as well as the main executable. The support library initially failed to link due to the missing WinMain@16, so I read the FAQ. Following its suggestion, I added a dummy main to one of the source files of the support library. After this it built fine. But, when I attempted to build main application which uses the support library, I got the multiple definitions of main complaint and the link failed. I did check and the real main is in the linker command line before the library reference. I suspect that what really needed to be done with the support library was to create an additional source file with the dummy main, so it would be its own .o within the archive. Thus the linker would not try to grab it when building the main app, and no multiple definition complaint would occur. One note is that the support library is directly referenced (the .a explicitly named in the linker line) vs. using the -l option. My understanding of linkers is that this should not affect the linking, but I thought I should mention it. The purpose of this note is two-fold. The first is to see if some more experience Cygwin library builders could confirm my conjecture, before I munge with the makefiles to test this and pass it on to the package maintainer. The second is to suggest that if the first is true, the FAQ might want to be amended to make more clear what needs to be done in the library case. Thank you for your time. Dale Pennington -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
serial problem take 2
Hello, Here we go again, I am writing some test code which will eventually become a boot loader for a microcontroller. I need to be able to toggle DTR and RTS lines on the serial port and would have liked to use ioctl() but TIOCMSET, TIOCM_DTR are not supported at the moment. Any ideas on how to do this? I am willing to pay a box of chocolates of their choice from chocexpress (http://www.chocexpress.com/cx1/) to the first person that gets this going. Regards, Deya -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: can somebody show me an example Rxvt config file?
> somebody can show me an example Rxvt configuration file? > ~/.Xdefaults --- # Resources documented in the manual pages for xterm and rxvt xterm*geometry: 90x30 xterm*background: midnightblue xterm*foreground: grey xterm*cursorColor: red xterm:pointerColor: yellow xterm:saveLines: 2000 xterm:scrollBar: true xterm*font: -*-lucidatypewriter-medium-r-*-*-12-*-*-*-*-*-*-* -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: serial problem take 2
At 01:49 PM 4/11/2002, briseida deyanira maytorena sanchez wrote: >Hello, > >Here we go again, I am writing some test code which will eventually become >a boot loader for a microcontroller. >I need to be able to toggle DTR and RTS lines on the serial port and would >have liked to use ioctl() but TIOCMSET, TIOCM_DTR are not supported at the >moment. > >Any ideas on how to do this? > >I am willing to pay a box of chocolates of their choice from chocexpress >(http://www.chocexpress.com/cx1/) >to the first person that gets this going. LOL! Bribery or "honest pay for honest work"? You decide! ;-) Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Cygwin 1.3.10 Setup.exe 2.194.2.22 Install Problems With MSVCRT.DLL and source code on Win98
Cliff, Thanks for the help. After i saw your note, I did discover that another computer running win98 had an older MSVCRT.DLL, and when I tried to install Cygwin on in, the install went fine (although I still could not install source code properly). Thanks again, RJ -Original Message- From: Cliff Hones [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 02:24 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Cygwin 1.3.10 Setup.exe 2.194.2.22 Install Problems With MSVCRT.DLL and source code on Win98 > Two major problems (summary): > > 1. Setup.exe (2.194.2.22) ends with a invalid page fault against MSVCRT.DLL > (details below) on my Windows 98 machine, before complely fininshing the > install. Your copy of MSVCRT.DLL may be out of date. The one originally issued with W98 is likely to be too old and buggy to run newer executables correctly. Many (non-MS) products and downloads include a compatible version of MSVCRT.DLL, and their installer autmatically installs it if it's newer than the current one; thus on most machines MSVCRT.DLL gets updated without you ever being aware of it. [This also has a downside - I believe MS (or the product supplier) have on occasion issued a MSVCRT with bugs or with an incorrect version number, so your system may get stuck with a bad copy.] Anyway, it's worth trying to update your MSVCRT.DLL. My current version is 6.10.8637.0 and I have no setup crashes. You can get an update here: http://www.microsoft.com/windows95/downloads/contents/WURecommended/S_WUServicePacks/MFCLi brary/Default.asp > 2. I cannot install source files for any packages (using same setup.exe). > When installing source code, I get "Can't open (null) for reading: No such > file" error. I see this problem when I ask to install packages which haven't been downloaded. So it looks as though your install run is not finding the files that were previously downloaded into your local directory. I suppose this could be a MSVCRT problem too. Re your more detailed questions - yes, setup should run the post-install stuff and write a log file on W98 too. The crash is presumably preventing this. If it doesn't run, Cygwin can be used but you may need to check a few things: - Your startup script (cygwin.bat)may not be correct. It should be like this: @echo off C: chdir C:\cygwin\bin bash --login -i - Check your mounts using the mount command - Generate your /etc/passwd file Cliff. > > Questions: > > 1. I had installed the same version of Cygwin with the same setup.exe on a > box running NT 4.0, and had no problems. However, on the NT box, a > post-install script was ran after creating the icons and startup groups. On > this failed install I have on Windows 98, I never have a post-install script. > Is that supposed to happen on Cygwin on a Win98 system? Is Cygwin safe to run > if I am supposed to have the post-install script, but because of the failure > the script does not run? > > 2. How do I install source code with the current setup.exe? I have not been > able to figure out how. Is it possible with this setup.exe? (I could not > install source on the NT box either. No error other than the "Can't open > (null) for reading: No such file" error, the same on the Win98 box). > > Details: > > When installing Cywin 1.3.10 with setup.exe 2.194.2.22, I can never completely > finish an install without getting an invalid page fault right after hitting > "FINISH" on the dialog box that has the checkboxes for putting a shortcut on > the desktop and in a program group. > > I do not get a cycwin.bat shortcut on the desktop, nor a program group for > Cygwin. I also do not get a post-install script like I did on an NT box using > the same setup.exe. > > I can also not install any source code. > > Thank you for the help. > > RJ > > == > Test Case/Results: (very repeatable) > > Computer: Asus P2B-F with Pentium-3 450MHz, 256MB ram, running Windows 98 > v4.10.1998. > > 1. Download "Install Cygwin Now!" from http://www.cygwin.com > 2. Save setup.exe (2.194.2.22). > 3. Run setup.exe > 4. Choose download from internet. > 5. Choose directory where files are to be stored. > 6. Choose Internet connection of "Direct Connection" > 7. Choose mirror of ftp://mirrors.rcn.net > 8. Setup downloads setup.ini > 9. Hit the view button till full is displayed. > 10. Hit all "Skip"s under "New" column till version is displayed. > 11. Check all binaries and source boxes. > 12. Setup.exe downloads all files successfully (but in a long > path called > ftp%3a%2f%2fmirrors.rcn.net%2fmirrors%2fsources.redhat.com%2fcygwin, which > translated, gives > ftp://mirrors.rcn.net/mirrors/sources.redhar.com/cygwin > 13. Close all programs using task manager except for explorer and systray. > 14. Close all programs in the task bar by the clock. > 15. Run setup.exe > 16. Choose Install fro
RE: Re[2]: Cygwin 1.3.10 Setup.exe 2.194.2.22 Install Problems With MSVCRT.DLL and source code on Win98
Pavel, I am glad to have been of help finding this bug. However, a quick question if I may. The file version.cc. Is this part of the setup.exe source files in http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cinstall/?cvsroot=src? If so, what is the compiler used for it? I assume it is GNU C++ for DOS/Windows? (from a comment in main.cc) What version is it? Where can you get this compiler? Can anyone check out this code? Is it on Sourceforge? It might be fun to look at the code, and see if I could figure out what is going on with the source code install (my 2nd problem). Thanks the help in advance. RJ -Original Message- From: Pavel Tsekov [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 05:06 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re[2]: Cygwin 1.3.10 Setup.exe 2.194.2.22 Install Problems With MSVCRT.DLL and source code on Win98 Hello, there! :) Wednesday, April 10, 2002, 10:11:46 AM, you wrote: Ok, found it - its canonicalize_version() in version.cc. There is a pointer 'v' which is modified and then delete[]'d. A trivial patch is attached :) 2002-04-10 Pavel Tsekov <[EMAIL PROTECTED]> * version.cc (canonicalize_version): Fix a call delete[] to delete. PT> Wednesday, April 10, 2002, 4:03:24 AM, you wrote: rkrc>> Two major problems (summary): rkrc>> 1. Setup.exe (2.194.2.22) ends with a invalid page fault against MSVCRT.DLL rkrc>> (details below) on my Windows 98 machine, before complely fininshing the rkrc>> install. PT> I have not investigated this yet - but from what I see the crash is PT> similiar to one reported earlier to the ml. The address at which the PT> crash occurs is inside the code of a helper function for PT> free() and realloc(). PT> I'll look into this maybe this night. PT> P.S. Thanks for the very good description of your problem :) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: help with using windows dll
Hi Frank, BTW, please fix your mail settings to use the correct charset=iso-8859-1 since iso_8859_1 is invalid! Bye, Heribert ([EMAIL PROTECTED]) > -Original Message- > From: Frank Motta [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, April 10, 2002 22:35 > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: help with using windows dll > > This message uses a character set that is not supported by the Internet > Service. To view the original message content, open the attached > message. If the text doesn't display correctly, save the attachment to > disk, and then open it using a viewer that can display the original > character set. << File: message.txt >> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Automating Package Updates
Has anyone developed a mechanism to notify and automatically update Cygwin packages on deployed systems? I've searched the list and haven't seen anything like this yet, so I'm working on a perl script do it, which I will share if there is interest. The idea is similar to RedHat's RHN/ up2date program for Linux. But if something like this already exists for Cygwin, then I won't reinvent the wheel. The script I'm working on requires Cygwin to already be installed, so it's not intended as a replacement for the setup program, and it would probably no longer be needed once there is a command-line setup. It also requires perl to run, along with bzip and tar for package installation, ssmtp for e-mail notification, and cron for automation. It compares setup's installed.db file with the latest setup.ini to determine what has changed. If it updates any packages, it revises the entries in installed.db and the package contents files in /etc/setup to keep setup happy for future manual updates with the GUI. Alan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Automating Package Updates
At 04:25 PM 4/11/2002, Alan Dobkin wrote: >Has anyone developed a mechanism to notify and automatically >update Cygwin packages on deployed systems? I've searched >the list and haven't seen anything like this yet, so I'm >working on a perl script do it, which I will share if >there is interest. The idea is similar to RedHat's RHN/ >up2date program for Linux. But if something like this >already exists for Cygwin, then I won't reinvent the wheel. > >The script I'm working on requires Cygwin to already be >installed, so it's not intended as a replacement for the >setup program, and it would probably no longer be needed >once there is a command-line setup. It also requires perl >to run, along with bzip and tar for package installation, >ssmtp for e-mail notification, and cron for automation. >It compares setup's installed.db file with the latest >setup.ini to determine what has changed. If it updates >any packages, it revises the entries in installed.db and >the package contents files in /etc/setup to keep setup >happy for future manual updates with the GUI. I haven't seen any reports of such a utility for Cygwin. If you're interested, go for it! Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Locking for error logs commend?
Dose any one know, if cygwin haas any commend to log a proces, like the script commend dose on the Solaris? Thanks for any help Eli -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
rsync doesn't work with firewall?
Hallo, Has someone experience with rsync through a firewall? I have zonealarm running here and cannot rsyncing through. error with an older version (rsync-2.4.6-3): receiving file list ... done read error: Connection reset by peer read error: Connection reset by peer with a newer version (2.5.4-1): receiving file list ... done rsync: read error: Connection reset by peer rsync error: error in rsync protocol data stream (code 12) at io.c(162) rsync: read error: Connection reset by peer rsync error: error in rsync protocol data stream (code 12) at io.c(162) and with latest (2.5.5-1): Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: rsync doesn't work with firewall?
- Original Message - From: "Gerrit P. Haase" <[EMAIL PROTECTED]> Sent: Thursday, April 11, 2002 10:31 PM > Has someone experience with rsync through a firewall? > I have zonealarm running here and cannot rsyncing through. rsync uses TCP over port 873 if you run it in server mode. I have successfully used it this way through a gauntlet firewall after setting up an outgoing plug proxy for this port. I've just tried it successfully with ZoneAlarm (free) version 2.6.357 - though I did have to click allow on several zonealarm popup boxes before it would start properly. For this test I was using it in non-server mode, where you specify the remote rsync executable location using the -rsync-path= option, and use rsh access. > error with an older version (rsync-2.4.6-3): > receiving file list ... done > read error: Connection reset by peer > read error: Connection reset by peer > > with a newer version (2.5.4-1): > receiving file list ... done > rsync: read error: Connection reset by peer > rsync error: error in rsync protocol data stream (code 12) at io.c(162) > rsync: read error: Connection reset by peer > rsync error: error in rsync protocol data stream (code 12) at io.c(162) > > and with latest (2.5.5-1): -- Cliff -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: rsync doesn't work with firewall?
> I've just tried it successfully with ZoneAlarm (free) > version 2.6.357 ... I should have mentioned that I was using the latest Cygwin version of rsync (2.5.5-1). -- Cliff -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Bash shell extension ?
I am looking for a pre-made Windows shell extension to open a folder in Bash, or information on how to do so .. I know there is one for opening a DOS command prompt, but who wants to use DOS when we've got Bash? Basically what I have in mind is this: Right-click on a folder and on the explorer menu you see "Bash prompt here" or something like that .. Click on that, and your Bash opens in the folder you clicked on .. The only trick would be the path translation, but it shouldn't be too hard to do that .. This would be a very handy tool to have, and I imagine someone out there has already coded it .. Thanks for your help -Adam Richards Toronto, Canada -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Bash shell extension ?
At 06:17 PM 4/11/2002, Adam wrote: >I am looking for a pre-made Windows shell extension to open a folder in Bash, >or information on how to do so .. I know there is one for opening a DOS command >prompt, but who wants to use DOS when we've got Bash? > >Basically what I have in mind is this: Right-click on a folder and on the >explorer menu you see "Bash prompt here" or something like that .. Click on >that, and your Bash opens in the folder you clicked on .. The only trick would >be the path translation, but it shouldn't be too hard to do that .. > >This would be a very handy tool to have, and I imagine someone out there has >already coded it .. You've imagined correctly. When you think of something like this and it occurs to you that it may already exist, the first place you should think of looking is the email list archives. If anything has been previously discussed, you'll find it there. This particular topic has come up at least a couple of times. One of those times (if not more) had sufficient information that I was able to create for myself exactly what you describe. As I recall, it required little more than adding an entry or two to the registry in the proper spot. But I forget the details. You should be able to find these details in the email list archives though. Now I've gone full circle so it's time to stop. ;-) Good luck, Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
extra cygwin OutputDebugString spew
Every time a cygwin process is started, I get a line like: 3196: cYg 610F5EE0 on my OutputDebugString monitor. Is this really necessary and can we ditch it for the release cygwin1.dll? _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: extra cygwin OutputDebugString spew
On Thu, Apr 11, 2002 at 04:38:09PM -0700, C. J. wrote: >Every time a cygwin process is started, I get a line like: >3196: cYg 610F5EE0 > >on my OutputDebugString monitor. >Is this really necessary Yes. >and can we ditch it for the release cygwin1.dll? No. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
ppc cross compiler
Is there a cross compiler for the mpc750 available? If not are there instructions somewhere on how to build one from the pc based x86 gcc compiler using the gnu source? __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Bash shell extension ?
With the help of Larry Hall (thanks Larry), I have gotten this working like I want .. Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Folder\shell\Bash Prompt] [HKEY_CLASSES_ROOT\Folder\shell\Bash Prompt\command] @="bash.exe -c 'cd \"%1\"; exec bash'" Add this to a .reg file and import it into your registry (I know this works for Windows 2000, and I'm assuming the key is the same for other Windows as well). It seems you might also have to mount the drives you want to use .. I did mine like this: mount -f c:/ /c mount -f d:/ /d .. etc Then, right-click on any folder in Windows Explorer, and you will see "Bash Prompt" somewhere in the Explorer menu. Click on that and you should get a Bash window in the folder you clicked on. To edit the size like you want, click on the title bar and go to Properties-->Layout and set it up however you want .. When you hit OK, it will ask you if you want to save these settings for all future windows with the same title (again, this might be a Windows 2000 thing only) .. This way you don't have to edit the size every time .. Now, if you want to be a little fancier, you could always use rxvt: bash.exe -c 'cd "%1"; exec rxvt -sr -fn "Courier New" -sl 2500 -fg lightgrey -geometry 120x60 -bg black -sb -e bash' Read the rxvt manpage for options (there are a ton) .. Last, make sure your /cygwin/bin is in your Windows PATH, otherwise it won't find your bash.exe .. Hope this helps others get this working as well .. Email me or the list (or both) if you have ideas for enhancements .. :) -Adam -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Bash shell extension ?
> [HKEY_CLASSES_ROOT\Folder\shell\Bash Prompt] > [HKEY_CLASSES_ROOT\Folder\shell\Bash Prompt\command] > @="bash.exe -c 'cd \"%1\"; exec bash'" > It seems you might also have to mount the drives you want to use. Use single quotes for the cd command so that if the Windows shell substitutes something ending in backslash for %1 it doesn't escape the close quote. Use the Directory key instead of the Folder one. (The difference being that Folder includes fictions of the Windows shell namespace that don't correspond to real directories.) To allow invocation of a prompt via the context menu of a drive icon apply the command to the Drive key as well as the Directory one. Finally, by including a default value for the command, you can add an underline shortcut to the context menu. (Most of this is really nothing to do with cygwin - it's all standard Windows stuff.) REGEDIT4 [HKEY_CLASSES_ROOT\Directory\shell\BashHere] @="&Bash Prompt Here" [HKEY_CLASSES_ROOT\Directory\shell\BashHere\command] @="c:\\cygwin\\bin\\bash.exe -c \"cd '%1' ; exec /bin/bash\"" [HKEY_CLASSES_ROOT\Drive\shell\BashHere] @="&Bash Prompt Here" [HKEY_CLASSES_ROOT\Drive\shell\BashHere\command] @="c:\\cygwin\\bin\\bash.exe -c \"cd '%1' ; exec /bin/bash\"" -- Sam Edge -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Automating Package Updates
> -Original Message- > From: Alan Dobkin [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 12, 2002 6:25 AM > > Has anyone developed a mechanism to notify and automatically > update Cygwin packages on deployed systems? AFA I am aware, no. > I've searched > the list and haven't seen anything like this yet, so I'm > working on a perl script do it, which I will share if > there is interest. The idea is similar to RedHat's RHN/ > up2date program for Linux. But if something like this > already exists for Cygwin, then I won't reinvent the wheel. Well the wheel half exists. Setup can do what you want, but only interactively. > The script I'm working on requires Cygwin to already be > installed, so it's not intended as a replacement for the > setup program, and it would probably no longer be needed > once there is a command-line setup. There is now. It simply needs for more command line options to be added. I checked in some support classes a couple of weeks back, and announced this in cygwin-apps. > It also requires perl > to run, along with bzip and tar for package installation, > ssmtp for e-mail notification, and cron for automation. > It compares setup's installed.db file with the latest > setup.ini to determine what has changed. This is dangerous. installed.db is not currently versioned, and is not an API. In other words, setup may change it's format or remove it completely as setup gets more advanced. I like the idea though. It'd be really neat if you were to help add appropriate command line options to setup.exe. That should be quite straight forward now. Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Re[4]: Frequent crashes in 2.194.2.22 setup.exe
I've checked the patch in. A new setup.exe will be uploaded when the build completes. Thanks again to Pavel for tracking these 'oversights' :} down! Rob > -Original Message- > From: Pavel Tsekov [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 11, 2002 1:49 AM > To: Eric Hanchrow > Cc: Pavel Tsekov > Subject: Re[4]: Frequent crashes in 2.194.2.22 setup.exe > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
setup.exe v.2.194.2.24 : tetex-beta-20001218-4
Either it's the new setup.exe v.2.194.2.24, or some glitch in the current associated setup.ini (setup-timestamp: 1018593006), but every visit to http://cygwin.com/setup.exe now results in a new installation of tetex-beta-20001218-4. Fergus -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: setup.exe v.2.194.2.24 : tetex-beta-20001218-4
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 12, 2002 5:10 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: setup.exe v.2.194.2.24 : tetex-beta-20001218-4 > > > Either it's the new setup.exe v.2.194.2.24, or some glitch in > the current associated setup.ini (setup-timestamp: > 1018593006), but every visit to http://cygwin.com/setup.exe > now results in a new installation of tetex-beta-20001218-4. Fergus Not for me. You'll need to provide more details + the /var/log/setup.* files for me to debug this ... Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Updated setup.exe to fix recent win98 crashes.
Setup 2.194.2.24 has been uploaded to the usual place. It contains Pavel Tsekov's patch, so should correct the recently reported crashing. Cheers, Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problems installing cygwin-xfree86 on a Dell WIN2K box
Redirecting to the proper mailing list. cgf On Thu, Apr 11, 2002 at 10:17:28AM -0500, Dr. Lawrence Ward Spradley wrote: >Sirs: > > This is a (hopefully more illuminating) follow-up to a post from yesterday. >I am midstroke in installing cygwin-XFree86 on a Dell Win2000 box. As of >yesterday, I had followed the directions on the webpage detailing the >installation process verbatim. This meant that I had a limited cygwin install >(no vi, no grep, etc.). I have installed more of the tools as of this A.M. >and am able to provide more info on my status as of now. I attach the output >of "cygcheck -s -r -v" to describe my install as of now. I also looked >through the Xinstall.sh script to try to assess why it was stopping. It >appears to need a program called extract, which I think is part of the >XFree86 download. The script also contains comments about linking extract to >gnu-tar. I did an "ls -l" on my bin directory, which contains the extract >executable as well as the tar executable, & observed that they are different >(different sizes & date stamps). I want the XFree86 to be able to use rxvt as >a shell to begin with, but we will be possibly wanting to do more later. I am >still stuck in the XFree86 install with error messages from the Xinstall.sh >script complaining about the extract program being bad. Thanks in advance for >your time. I will be happy to provide any more info if needed. > >Cygwin Win95/NT Configuration Diagnostics >Current System Time: Thu Apr 11 09:56:29 2002 > >Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 1 > >Path: C:\cygwin\usr\local\bin > C:\cygwin\bin > C:\cygwin\bin > c:\Program Files\Microsoft Visual Studio\Common\Tools > c:\Program Files\Microsoft Visual Studio\Common\Msdev98\BIN > c:\Program Files\Microsoft Visual Studio\DF98\BIN > c:\Program Files\Microsoft Visual Studio\VC98\BIN > c:\WINNT\system32 > c:\WINNT > c:\WINNT\System32\Wbem > c:\ > c:\dell > c:\Program Files\Dell\Resolution Assistant\Common\bin > c:\TEC75\BIN > c:\ABSOFT\BIN > >SysDir: C:\WINNT\System32 >WinDir: C:\WINNT > >HOME = `c:\' >MAKE_MODE = `unix' >PWD = `/cygdrive/c/cygwin' >USER = `lws' > >ABSOFT = `C:\ABSOFT' >ALLUSERSPROFILE = `C:\Documents and Settings\All Users' >APPDATA = `C:\Documents and Settings\Dr. Lawrence W. Spra\Application Data' >COMMONPROGRAMFILES = `C:\Program Files\Common Files' >COMPUTERNAME = `DELL' >COMSPEC = `C:\WINNT\system32\cmd.exe' >CPU = `i386' >HOMEDRIVE = `C:' >HOMEPATH = `\' >INCLUDE = `C:\ABSOFT\CINCLUDE' >LIB = `C:\ABSOFT\LIB' >LINK_F90 = `imsl.lib imsls_err.lib imslmpistub.lib' >LOGONSERVER = `\\DELL' >MANPATH = `:/usr/ssl/man' >NUMBER_OF_PROCESSORS = `1' >OLDPWD = `/cygdrive/c/cygwin/tmp' >OS2LIBPATH = `C:\WINNT\system32\os2\dll;' >OS = `Windows_NT' >PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' >PROCESSOR_ARCHITECTURE = `x86' >PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 6, GenuineIntel' >PROCESSOR_LEVEL = `6' >PROCESSOR_REVISION = `0806' >PROGRAMFILES = `C:\Program Files' >PROMPT = `$P$G' >PS1 = `\[\033]0;\w\007 >\033[32m\]\u@\h \[\033[33m\w\033[0m\] >$ ' >SHLVL = `1' >SYSTEMDRIVE = `C:' >SYSTEMROOT = `C:\WINNT' >TEC75HOME = `C:\TEC75' >TEMP = `c:\DOCUME~1\DRLAWR~1.SPR\LOCALS~1\Temp' >TERM = `cygwin' >TMP = `c:\DOCUME~1\DRLAWR~1.SPR\LOCALS~1\Temp' >TMPDIR = `c:\DOCUME~1\DRLAWR~1.SPR\LOCALS~1\Temp' >USERDOMAIN = `DELL' >USERNAME = `lws' >USERPROFILE = `C:\Documents and Settings\Dr. Lawrence W. Spra' >VIM = `C:\PGI\cygusr\share\vim' >VNI_F90_MSG = `C:\Program Files\Microsoft Visual Studio\DF98\IMSL\MESSAGE' >WINDIR = `C:\WINNT' >_ = `/usr/bin/cygcheck.exe' > >HKEY_CURRENT_USER\Software\Cygnus Solutions >HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin >HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 > (default) = `/cygdrive' > cygdrive flags = 0x0022 >HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts >HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 > (default) = `C:' > unix = `/' > fbinary = 0x > fsilent = 0x >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ > (default) = `C:\cygwin' > flags = 0x000a >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin > (default) = `C:\cygwin/bin' > flags = 0x000a >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib > (default) = `C:\cygwin/lib' > flags = 0x000a >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN