Re: Switching Default Text Type

2005-12-15 Thread Igor Pechtchanski
On Thu, 15 Dec 2005, Shankar Unni wrote: > Lennart Borgman wrote: > > What is the minimum sequence of operations needed to switch default > > text type in Cygwin? > > mount -m > commands.sh > > # edit commands.sh, and change -t to -b or vice versa > > sh commands.sh Or, in one shot: Text->Binary

Re: Switching Default Text Type

2005-12-15 Thread Shankar Unni
Lennart Borgman wrote: What is the minimum sequence of operations needed to switch default text type in Cygwin? mount -m > commands.sh # edit commands.sh, and change -t to -b or vice versa sh commands.sh -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Patch and Cygwin

2005-12-15 Thread Lennart Borgman
This is a summary of my tests with Cygwin patch and different line ending styles. (Only LF and CRLF are tested here.) I have downloaded patch 2.5.9 from ftp://alpha.gnu.org/gnu/diffutils/patch-2.5.9.tar.gz and compiled it using Cygwin. I have used this patch and the patch that currently comes

Re: Rsync over SSH not working when ZoneAlarm installed

2005-12-15 Thread Zarko Roganovic
Dave Korn artimi.com> writes: > > Zarko Roganovic wrote: > > > When I set ZoneAlarm to block rsync.exe from accessing the internet I got > > the following error > > > > rsync: failed to connect to 192.168.1.2: Connection refused (111) > > rsync error: error in socket IO (code 10) at > > /h

Re: Switching Default Text Type

2005-12-15 Thread Lennart Borgman
Lennart Borgman wrote: What is the minimum sequence of operations needed to switch default text type in Cygwin? I answer myself here: It seems to me to be to start setup.exe and run it to its end. Maybe it would be good to make it a bit more clear? -- Unsubscribe info: http://cygwin.c

1.5.18 /usr/lib/gcc/i686-pc-cygwin/3.4.4/libfrtbegin.a(frtbegin.o):: undefined reference to `_MAIN__'

2005-12-15 Thread Crehan, Martin J
I am trying to compile overflow 1.8aa, a large Computational Fluid Dynamics code written in Fortran with some C. The code will compile and run using gcc and g77 on Linux. The code compiles successfully under Cygwin 1.5.18. The link fails as follows: g77 -O3 -ffast-math -malign-double -o overflo

Switching Default Text Type

2005-12-15 Thread Lennart Borgman
What is the minimum sequence of operations needed to switch default text type in Cygwin? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygw

Re: download cygwin packages in multiple session

2005-12-15 Thread Igor Pechtchanski
On Thu, 15 Dec 2005, Cj2k5 wrote: > Hi all > > I have created a shell script because I dont have an internet connection > and this script allow me to do a dowload session limited in n Mbytes > using wget. I then fill a usb flash memory key and go home to update my > local cygwin miror. Then repeat

download cygwin packages in multiple session

2005-12-15 Thread Cj2k5
Hi all I have created a shell script because I dont have an internet connection and this script allow me to do a dowload session limited in n Mbytes using wget. I then fill a usb flash memory key and go home to update my local cygwin miror. Then repeat the session. The script compare a latest

Re: Where is patch?

2005-12-15 Thread Brian Dessent
Lennart Borgman wrote: > I believe I did that without opening anything in the selection tree > first, but I am not totally sure. Is it necessary to open a node in the > tree for the process to continue? No, it's not necessary. It should fill in any missing packages regardless of what you do. Br

Re: Vorbisfile and gdb

2005-12-15 Thread Brian Dessent
"William J. Leslie" wrote: > It seems that the mere presence of any symbol from vorbisfile, anywhere in > the program, causes gdb to hang at the beginning of the program. Does anyone > else's gdb have the same behaviour? I can't reproduce the hang, using the same commands: $ ./blah ov_open is

Re: Where is patch?

2005-12-15 Thread Lennart Borgman
Brian Dessent wrote: I am not sure I understand what you mean. What is the "requires" line? It is in the setup.ini file (which is generated from the individual setup.hint files), which are not directly seen by the user but parsed by setup.exe. Where is it? Should binutils have been d

Re: Where is patch?

2005-12-15 Thread Lennart Borgman
Dave Korn wrote: This is (one of the reasons) why you should never put "." in your $PATH! Thanks, but I did not. Also, after installing new software, you need to use "hash -r" to refresh bash's cached list of locations of executables. Ah, there it is. This is what I needed. -- Unsub

Re: Where is patch?

2005-12-15 Thread Brian Dessent
Lennart Borgman wrote: > I am not sure I understand what you mean. What is the "requires" line? It is in the setup.ini file (which is generated from the individual setup.hint files), which are not directly seen by the user but parsed by setup.exe. > Where is it? Should binutils have been dowload

RE: Where is patch?

2005-12-15 Thread Dave Korn
Lennart Borgman wrote: > I tried a just to copy patch.exe. Then I saw this that I just wish I did > not. Here is a copy and paste from my screen output (a bit truncated): > > >> from my screen > > /cygdrive/d/dl/gnu/patch-2.5.9 > ./patch.exe --version > patch 2.5.9 > ... > /cygdrive/

Re: Cygwin logo

2005-12-15 Thread L Anderson
Brian Dessent wrote: "Larry Hall (Cygwin)" wrote: Can anyone work an otter or a hippo into the logo? ;-) ;-) ;-) For what it's worth when I made this back in April I first had to make the basic logo . This

Re: Where is patch?

2005-12-15 Thread Lennart Borgman
Dave Korn wrote: Hooray! Thanks ;-) 1) You didn't say if you've run "make install" yet though, you should do that rather than attempting to manually copy all the files to their correct locations. I tried a just to copy patch.exe. Then I saw this that I just wish I did not. Here is a c

Vorbisfile and gdb

2005-12-15 Thread William J. Leslie
It seems that running any program linked with vorbisfile in gdb causes gdb to hang immediately at the beginning of the program, even before reaching main(). Note, everything works fine outside the debugger! I've simplified it to a very basic sanity check: #include extern int ov_open; int mai

Re: Where is patch?

2005-12-15 Thread René Berber
Corinna Vinschen wrote: [snip] > Err... huh? > > [...] > $ patch --version > patch 2.5.8 > [...] > $ cd mailman-2.1.6/ > $ patch -p1 --dry-run < ../indexing-2.1.6-0.1.patch > patching file templates/da/archidxfoot.html > $ patch -p1 < ../indexing-2.1.6-0.1.patch > patching file templates/da/archi

RE: Where is patch?

2005-12-15 Thread Dave Korn
Lennart Borgman wrote: > Lennart Borgman wrote: > >> Dave Korn wrote: >> >>> And the answer is that as is the GNU assembler, and it is part of the >>> binutils package, which lives under the 'Devel' category in setup. >>> >>> >> Thanks for this! That trick is so handy in my opinion so it ought

Re: Rsync over SSH not working when ZoneAlarm installed

2005-12-15 Thread Zarko Roganovic
From: Dave Korn artimi.com> Subject: RE: Rsync over SSH not working when ZoneAlarm installed Newsgroups: gmane.os.cygwin Date: 2005-12-15 15:48:40 GMT (2 hours and 31 minutes ago) Zarko Roganovic wrote: > When I set ZoneAlarm to block rsync.exe from accessing the internet I got > the follo

Re: Where is patch?

2005-12-15 Thread Lennart Borgman
Lennart Borgman wrote: Dave Korn wrote: And the answer is that as is the GNU assembler, and it is part of the binutils package, which lives under the 'Devel' category in setup. Thanks for this! That trick is so handy in my opinion so it ought to be as a tip on the search page right under t

Re: Where is patch?

2005-12-15 Thread Lennart Borgman
Brian Dessent wrote: Lennart Borgman wrote: Thanks! There is a hit, I did not have "as" from Cygwin. Changed my path a bit. But how do I find "as"? I would get the package search as it is now is of no big use for such a name? ;-) Sigh. 'as' is part of binutils. It contains the asse

Re: Where is patch?

2005-12-15 Thread Lennart Borgman
Dave Korn wrote: Heh, that's true, although there is a handy trick for the package search: since cygwin runs on windows, all executables use the ".exe" ending in cygwin packages. Compare: http://cygwin.com/cgi-bin2/package-grep.cgi?grep=as Cygwin Package List Search Results Found 755 matches

RE: Where is patch?

2005-12-15 Thread Dave Korn
Lennart Borgman wrote: > Thanks! There is a hit, I did not have "as" from Cygwin. Changed my path > a bit. But how do I find "as"? I would get the package search as it is > now is of no big use for such a name? ;-) Heh, that's true, although there is a handy trick for the package search: since

Re: Where is patch?

2005-12-15 Thread Brian Dessent
Lennart Borgman wrote: > Thanks! There is a hit, I did not have "as" from Cygwin. Changed my path > a bit. But how do I find "as"? I would get the package search as it is > now is of no big use for such a name? ;-) Sigh. 'as' is part of binutils. It contains the assembler and linker and you wil

Re: Where is patch?

2005-12-15 Thread Lennart Borgman
Dave Korn wrote: What do I need to be able to build patch 2.5.9 for Cygwin? I downloaded gcc-core and make and some other things. OK, so what happens if you try a command like as -o /cygdrive/d/temp/foo.o < /dev/null or a command like touch /cygdrive/d/temp/ccXbQKlo.o cheers, Dav

[ANNOUNCEMENT] Updated: vim-6.4-3

2005-12-15 Thread Corinna Vinschen
I have updated the version of vim on cygwin.com to 6.4-3. This version contains a fixed xxd, which does not create the text output files always using CRLF line endings anymore, but rather honors the mount mode (text/binary) of the underlying mount point, the output file is written to. Output to s

RE: Where is patch?

2005-12-15 Thread Dave Korn
Lennart Borgman wrote: > Dave Korn wrote: > >> Lennart Borgman wrote: >> >>> What do I need to be able to build patch 2.5.9 for Cygwin? I downloaded >>> gcc-core and make and some other things. Trying to run ./conficure I get >>> >>> configure:1652: chec

RE: Add setup.exe to the start menu

2005-12-15 Thread Dave Korn
Lennart Borgman wrote: > Dave Korn wrote: > >> Setup.exe doesn't actually install a copy of itself anywhere, but then >> again we could always get it to create a shortcut to >> http://cygwin.com/setup.exe, which would also have the advantage of >> making sure people use the latest version all the

Re: Add setup.exe to the start menu

2005-12-15 Thread Lennart Borgman
Dave Korn wrote: Setup.exe doesn't actually install a copy of itself anywhere, but then again we could always get it to create a shortcut to http://cygwin.com/setup.exe, which would also have the advantage of making sure people use the latest version all the time... Doesn't it check this ever

RE: Add setup.exe to the start menu

2005-12-15 Thread Dave Korn
LENNART BORGMAN wrote: > I do not know if I missed something when I installed Cygwin, but I do not > have a shortcut to setup.exe in the Cygwin group in the start menu. I > think it should be there. It is not a command line tool. Setup.exe doesn't actually install a copy of itself anywhere, bu

Re: Where is patch?

2005-12-15 Thread Lennart Borgman
Dave Korn wrote: Lennart Borgman wrote: What do I need to be able to build patch 2.5.9 for Cygwin? I downloaded gcc-core and make and some other things. Trying to run ./conficure I get > configure:1652: checking for C compiler default output configure:16

RE: Where is patch?

2005-12-15 Thread Dave Korn
Lennart Borgman wrote: > What do I need to be able to build patch 2.5.9 for Cygwin? I downloaded > gcc-core and make and some other things. Trying to run ./conficure I get > > > > configure:1652: checking for C compiler default output > configure:1655: gcc

RE: Rsync over SSH not working when ZoneAlarm installed

2005-12-15 Thread Dave Korn
Zarko Roganovic wrote: > When I set ZoneAlarm to block rsync.exe from accessing the internet I got > the following error > > rsync: failed to connect to 192.168.1.2: Connection refused (111) > rsync error: error in socket IO (code 10) at > /home/lapo/packaging/tmp/rsync-2.6.6/clientserver.c(9

Re: PerlTK under Windows

2005-12-15 Thread Andrew DeFaria
Larry Hall (Cygwin) wrote: Andrew DeFaria wrote: Yaakov S (Cygwin Ports) wrote: Andrew DeFaria wrote: However I'd like PerlTk to fall back to using Windows widgets much like rxvt will do a Windows window if there is no X server to connect to. Just how rxvt manages to use both X11 and Wi

Re: [ANNOUNCEMENT] Updated [experimental]: coreutils-5.93-2 [attn base-files maintainer]

2005-12-15 Thread Eric Blake
> A new release of coreutils, 5.93-2, is available for experimental use. > > > dircolors now supports SETUID, SETGID, STICKY_OTHER_WRITABLE, > OTHER_WRITABLE, and STICKY, with ls providing default colors for these > categories if not specified by dircolors. Just a heads-up to the base-files m

Re: CygWin + gcc to build Windows application written in C.

2005-12-15 Thread Christopher Faylor
On Thu, Dec 15, 2005 at 05:45:40AM -0800, Tim Prince wrote: >Piero Silvestri wrote: >>Brain wrote: >>>-mno-cygwin essentially turns gcc into the gcc provided by mingw.org. >>>Read the docs/wiki/faq/etc at that site for more information. Note >>>that when you use gcc -mno-cygwin your search paths w

[ANNOUNCEMENT] Updated [experimental]: coreutils-5.93-2

2005-12-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A new release of coreutils, 5.93-2, is available for experimental use. NEWS: = I've uploaded a test version of coreutils, 5.93-2. This is a new, stable upstream release, with a number of changes from 5.3.0. However, this build depends on feature

Re: Where is patch?

2005-12-15 Thread Lennart Borgman
Joe Smith wrote: Actually considering that the changelog of 2.5.9 indicates that it is an actual release, it seems likely that it was never moved over to the main site only because it was in the wrong directory. What do I need to be able to build patch 2.5.9 for Cygwin? I downloaded gcc-co

Re: CygWin + gcc to build Windows application written in C.

2005-12-15 Thread Tim Prince
Tim Prince wrote: Going further on, more recent gfortran and libstdc++ versions employ __builtin_pow, and that is failing for my installation. I suppose I'll have to search for a work-around. They tell me __builtin_pow should have been taken care of in 'make bootstrap.' I'll have another g

Re: CygWin + gcc to build Windows application written in C.

2005-12-15 Thread Tim Prince
Piero Silvestri wrote: Brain wrote: -mno-cygwin essentially turns gcc into the gcc provided by mingw.org. Read the docs/wiki/faq/etc at that site for more information. Note that when you use gcc -mno-cygwin your search paths will be modified so that no Cygwin libraries/headers will be found, i

Re: CygWin + gcc to build Windows application written in C.

2005-12-15 Thread Brian Dessent
Piero Silvestri wrote: > But then I downloaded the gcc 4.0.2 sources, which I compiled in Cygwin with > the old gcc provided, so now I have a second version of gcc currently > working. The problem is that this version has some problem with > the -mno-cygwin option; if I use it when compiling I get

Patch mystery (at least partly) solved.

2005-12-15 Thread Dave Korn
This makes things seem a good deal clearer, at least to me: http://savannah.gnu.org/projects/diffutils/ -- This project is part of the GNU Project. The GNU diffutils are comprised of diff, diff3, sdiff, and cmp, utilities for showing di

Re: Where is patch?

2005-12-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Joe Smith on 12/14/2005 8:43 PM: > Well, path 2.5.9 is available from an official gnu server, but is in a > very strange place: > ftp://alpha.gnu.org/gnu/diffutils/ > diffutils? in the main archive it is in its own directory! Yes, because

Re: status of bash-3.0-12

2005-12-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Yitzchak Scott-Thoennes on 12/15/2005 1:43 AM: >>My plan for bash-3.0-12 and beyond is to only upgrade /bin/sh to the >>newest bash version if /bin/sh has an older timestamp than /bin/bash, >>and is not ksh or zsh. > > I see about a week a

RE: Where is patch?

2005-12-15 Thread Dave Korn
René Berber wrote: > Dave Korn wrote: > [snip] >> And I imagine both of you have testcases available to prove your >> respective claims. ? > > Test case attached. > > The files are part of mailman, I just included a shortened patch file and > the > file to be patched. The test procedure (

Re: CygWin + gcc to build Windows application written in C.

2005-12-15 Thread Piero Silvestri
Brain wrote: -mno-cygwin essentially turns gcc into the gcc provided by mingw.org. Read the docs/wiki/faq/etc at that site for more information. Note that when you use gcc -mno-cygwin your search paths will be modified so that no Cygwin libraries/headers will be found, instead the mingw ones wi

Add setup.exe to the start menu

2005-12-15 Thread LENNART BORGMAN
I do not know if I missed something when I installed Cygwin, but I do not have a shortcut to setup.exe in the Cygwin group in the start menu. I think it should be there. It is not a command line tool. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http

Re: recreate_mmaps_after_fork_failed errors post-11-30 snapshot

2005-12-15 Thread Corinna Vinschen
On Dec 14 20:07, Van Sickle, Gary wrote: > > From: Corinna Vinschen > > On Dec 14 15:00, Van Sickle, Gary wrote: > > > OK, lessee what I missed: > > > > The error message content. When fixup_mmaps_after_fork fails, there's > > a message in your window which gives at least some details for a > st

Re: Where is patch?

2005-12-15 Thread Corinna Vinschen
On Dec 14 15:22, Ren? Berber wrote: > Dave Korn wrote: > [snip] > > And I imagine both of you have testcases available to prove your > > respective > > claims. ? > > Test case attached. > > The files are part of mailman, I just included a shortened patch file and the > file to be patched

status of bash-3.0-12 (was: Re: How do I make /bin/sh=sh)

2005-12-15 Thread Yitzchak Scott-Thoennes
On Mon, Aug 22, 2005 at 08:40:06PM +, Eric Blake wrote: > > > Actually, I'm playing with a change to bash, soon to be bash-3.0-12, > > > where the postinstall script will leave /bin/sh alone if its timestamp > > > is newer than /bin/bash. > > > > For one release. What happens after the next