Re: Compiled program does nothing when executing it under Cygwin

2011-03-17 Thread Corinna Vinschen
On Mar 11 16:48, Corinna Vinschen wrote: > On Mar 11 15:14, Greg Chicares wrote: > > On 2011-03-11 14:56Z, Mengsk wrote: > > > > > [...previously-compiled program stopped working after partial Cygwin > > upgrade...] > > > > > > "Cannot find entry point _feinitialise in dynamic link library > > >

Re: ITP dos2unix 5.2.1-1

2011-03-17 Thread Erwin Waterlander
On 03/16/2011 10:38 PM, Charles Wilson wrote: Moved to main cygwin list for more feedback. Background: currently the following utilities unix2dos dos2unix u2d d2u are all provided by the cygutils package. They are, in fact, all hardlinks/copies of the same 'conv.e

Re: Cygwin 1.7 string pattern matching problem with case sensitivity

2011-03-17 Thread Greg Chicares
On 2011-03-17 12:44Z, jean-benoit.ouel...@hidden.ca wrote: > > I just upgraded Cygwin from 1.5.21-2 to 1.7.8-1 and I'm getting problems with > case sensitivity. > Let's assume that 'file.csv' contains these 2 lines: > Hello, 123 > hello, 456 > > The following commands will output both lines inste

Re: How do I make a COM port in windows accessible using cygwin?

2011-03-17 Thread Vinod Pillai
When I typed ls /dev/tty, I did not get any response. Any other possible solutions Vaclav Haisman wrote: > > Vinod Pillai wrote, On 15.3.2011 21:03: >> >> Im sorry but Im a complete novice at this. I cd-ed into the /dev folder. >> But >> I could not find a ttyS1. If you could elaborate what ex

Re: ITP dos2unix 5.2.1-1

2011-03-17 Thread Charles Wilson
Dropped cygwin-apps. On 3/17/2011 5:05 AM, Erwin Waterlander wrote: > On 03/16/2011 10:38 PM, Charles Wilson wrote: >> 5) cygutils always follows symlinks. This new package does not, >>unless --force, according to the man page (which is >>unfortunate: the same option means "fol

Re: How do I make a COM port in windows accessible using cygwin?

2011-03-17 Thread Jeremy Bopp
On 3/17/2011 08:22, Vinod Pillai wrote: > Vaclav Haisman wrote: >> >> Vinod Pillai wrote, On 15.3.2011 21:03: >>> >>> Im sorry but Im a complete novice at this. I cd-ed into the /dev folder. >>> But >>> I could not find a ttyS1. If you could elaborate what exactly I must do, >>> it >>> would be hel

RE: Cygwin 1.7 string pattern matching problem with case sensitivity

2011-03-17 Thread Nellis, Kenneth
> From: jean-benoit.ouel...@bell.ca > > Hi! > I just upgraded Cygwin from 1.5.21-2 to 1.7.8-1 and I'm getting > problems with case sensitivity. > Let's assume that 'file.csv' contains these 2 lines: > Hello, 123 > hello, 456 > > The following commands will output both lines instead of the desired

Re: ITP dos2unix 5.2.1-1

2011-03-17 Thread Andrew Schulman
> Moved to main cygwin list for more feedback. > > Background: currently the following utilities > unix2dos > dos2unix > u2d > d2u > are all provided by the cygutils package. They are, in fact, all > hardlinks/copies of the same 'conv.exe' program, developed specifically >

List of available network printer

2011-03-17 Thread DEWI - N. Zacharias
Hi all, just a simple question : how to get the list of available network printers for using lpr -P ? eg /// /// .. Thanks a lot Norbert -- Dipl. Phys. Norbert Zacharias Wind Measurements & Power Curve Measurements DEWI

misleading message fatal error - cygheap base mismatch detected

2011-03-17 Thread Robert Sandefur
Hi- I have some legacy FORTRAN code which works fine on ubuntu 64bit. However when I recompiled on cygwin I got the following error: $ bin/mseval   1 [main] mseval 5468 P:\rlstools\bin\mseval.exe: *** fatal error - cygheap base mismatch detected - 0x61239790/0x6D3D9790. This problem is pro

Re: ITP dos2unix 5.2.1-1

2011-03-17 Thread Erwin Waterlander
On 03/17/2011 02:32 PM, Charles Wilson wrote: Dropped cygwin-apps. Erwin, you don't seem to understand the importance of not changing current behavior, when replacing existing apps. I'm trying to point out (a) how little your proposed package actually differs from the current cygutils implemen

Re: [ANNOUNCEMENT] Updated: openssl-0.9.8r-2, openssl-devel-0.9.8r-2, libopenssl098-0.9.8r-2

2011-03-17 Thread Jon TURNEY
On 16/03/2011 21:23, Corinna Vinschen wrote: > I've updated the version of OpenSSL to 0.9.8r-2. > > This is a minor bugfix release, which contains a patch for a Cygwin > specific issue. For details see > http://cygwin.com/ml/cygwin/2011-03/msg00437.html Thanks. Confirming this fixes the crash I

[SOLVED] cygwin1.dll upgrade problem

2011-03-17 Thread Alan J. Wylie
Hi, Corinna et al. I'm not subscribed to the mailing list: I read it via gmane, but I've just solved a problem that might be run into by other users. Initial symptom: svn exits immediately without any output I traced this to a recent upgrade of base/cygwin which left behind /bin/cygwin1.dll.ne

[ANNOUNCEMENT] Updated: {serf,libserf0_1,libserf0-devel}-0.7.1-1

2011-03-17 Thread David Rothenberger
The serf packages have been updated to the new upstream release 0.7.1. See http://code.google.com/p/serf/source/browse/tags/0.7.1/CHANGES for more details about the changes in this release. More information about serf can be found at http://code.google.com/p/serf/. CYGWIN NOTES: =

[ANNOUNCEMENT] Updated: subversion-1.6.16-1

2011-03-17 Thread David Rothenberger
A new version of subversion is available. This is a new upstream release. NEWS: = See CHANGES (URL below) for more information about the differences between 1.6.16 and previous Subversion releases. In addition to the normal collection of bug fixes, and stability enhancements, this release als

Re: ITP dos2unix 5.2.1-1

2011-03-17 Thread Charles Wilson
On 3/17/2011 10:41 AM, Erwin Waterlander wrote: > I do understand you very well, but I come from the other side. The > dos2unix that I packed and maintain is around on Unix/Linux since 1989. > I assume there are much more Linux users than Cygwin users. So I don't > want to break things on Linux. Y

Re: [SOLVED] cygwin1.dll upgrade problem

2011-03-17 Thread Matthias Andree
Am 17.03.2011 16:50, schrieb Alan J. Wylie: Hi, Corinna et al. I'm not subscribed to the mailing list: I read it via gmane, but I've just solved a problem that might be run into by other users. Initial symptom: svn exits immediately without any output I traced this to a recent upgrade of bas

Re: Cygwin 1.7 string pattern matching problem with case sensitivity

2011-03-17 Thread jean-benoit.ouel...@bell.ca
I changed my LANG from en_US.ISO-8859-1 to C.ISO-8859-1 and it resolved the problem. Thanks for your quick input. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: htt

Re: Cygwin 1.7 string pattern matching problem with case sensitivity

2011-03-17 Thread Matthias Andree
Am 17.03.2011 18:26, schrieb jean-benoit.ouel...@bell.ca: I changed my LANG from en_US.ISO-8859-1 to C.ISO-8859-1 and it resolved the problem. Thanks for your quick input. Possibly you can use LC_COLLATE and/or LC_CTYPE instead, if you're looking for narrower overrides. -- Matthias Andree

Problems with the new base-files-4.0-5?

2011-03-17 Thread Angelo Graziosi
I have just updated Cygwin, and now starting a console (Cygwin.bat or MinTTY) prints: -bash: ${p}: ambiguous redirect and PRINTER variable isn't set. Reverting to base-files-4.0-4 works just fine and PRINTER is set correctly to my default printer. In 4.0-5 it seems something is broken in /e

[ANNOUNCEMENT] New package: gnucap-2009.12.07-1

2011-03-17 Thread Peter Li
Version 2009.12.07-1 of gnucap has been uploaded. GNUCAP is the GNU Circuit Analysis Package, a modern "post-spice" analog and mixed signal circuit simulator. It is a work in progress, but can replace Spice for many simulation purposes. It has several technical advantages over historical Spi

Re: ITP dos2unix 5.2.1-1

2011-03-17 Thread Christopher Faylor
On Thu, Mar 17, 2011 at 10:13:51AM -0400, Andrew Schulman wrote: >> Moved to main cygwin list for more feedback. >> >> Background: currently the following utilities >> unix2dos >> dos2unix >> u2d >> d2u >> are all provided by the cygutils package. They are, in fact, all >> hard

Re: Problems with the new base-files-4.0-5?

2011-03-17 Thread Angelo Graziosi
Il 17/03/2011 19.00, Angelo Graziosi ha scritto: I have just updated Cygwin, and now starting a console (Cygwin.bat or MinTTY) prints: -bash: ${p}: ambiguous redirect and PRINTER variable isn't set. Reverting to base-files-4.0-4 works just fine and PRINTER is set correctly to my default printe

Re: Problems with the new base-files-4.0-5?

2011-03-17 Thread Christopher Faylor
On Thu, Mar 17, 2011 at 07:59:11PM +0100, Angelo Graziosi wrote: >Il 17/03/2011 19.00, Angelo Graziosi ha scritto: >> I have just updated Cygwin, and now starting a console (Cygwin.bat or >> MinTTY) prints: >> >> -bash: ${p}: ambiguous redirect >> >> and PRINTER variable isn't set. >> >> Reverting

Problem with cygwin1.dll after update

2011-03-17 Thread Wilfried Fauvel
Hi, I built a very simple program with g++ : int main() { return 0; } from cygwin it always returns 127, and if I try to start it from cmd I have the following message : "the procedure entry point _feinitiliase could not be located in the dynamic link library cygwin1.dll" I tried to remove cygw

Re: Problem with cygwin1.dll after update

2011-03-17 Thread Dave Korn
On 17/03/2011 19:16, Wilfried Fauvel wrote: > Hi, > > I built a very simple program with g++ : int main() { return 0; } > from cygwin it always returns 127, and if I try to start it from cmd I have > the following message : > > "the procedure entry point _feinitiliase could not be located in the

Re: Problems with the new base-files-4.0-5?

2011-03-17 Thread Eric Blake
On 03/17/2011 12:59 PM, Angelo Graziosi wrote: > Il 17/03/2011 19.00, Angelo Graziosi ha scritto: >> I have just updated Cygwin, and now starting a console (Cygwin.bat or >> MinTTY) prints: >> >> -bash: ${p}: ambiguous redirect >> >> and PRINTER variable isn't set. >> >> Reverting to base-files-4.0

Re: Problems with the new base-files-4.0-5?

2011-03-17 Thread Charles Wilson
On 3/17/2011 3:21 PM, Eric Blake wrote: > On 03/17/2011 12:59 PM, Angelo Graziosi wrote: >> Perhaps you need this: >> >> - ([[ -e ${p} ]] && read -r PRINTER < ${p}) && PRINTER=${PRINTER%%,*} >> + ([[ -e ${p} ]] && read -r PRINTER < "${p}") && PRINTER=${PRINTER%%,*} > > /etc/profile is using [[ ]]?

Re: Problem with cygwin1.dll after update

2011-03-17 Thread Wilfried Fauvel
Dave Korn-9 wrote: > > On 17/03/2011 19:16, Wilfried Fauvel wrote: >> Hi, >> >> I built a very simple program with g++ : int main() { return 0; } >> from cygwin it always returns 127, and if I try to start it from cmd I >> have >> the following message : >> >> "the procedure entry point _feini

Cygport woes: CHOST not defined.

2011-03-17 Thread Dave Korn
Hi list, Attempting to rebuild gcc4-4.3.4-3 from source, I got a bunch of error messages during the install stage of cygport: > Fixing libtool modules: > /usr/lib/cygport/src_postinst.cygpart: line 763: test: i686-pc-cygwin: unary > operator expected [ ... snip several more ... ] > St

Re: ITP dos2unix 5.2.1-1

2011-03-17 Thread Erwin Waterlander
Op 17-3-2011 17:57, Charles Wilson schreef: Final point: I realize nobody wants to maintain a non-upstreamable forked version of software. Everybody wants to be able to build software on cygwin out of the box. So...if the upstream people really really hate --follow/--no-follow and won't accept

Re: ITP dos2unix 5.2.1-1

2011-03-17 Thread Roger K. Wells
On 03/17/2011 03:56 PM, Erwin Waterlander wrote: Op 17-3-2011 17:57, Charles Wilson schreef: Final point: I realize nobody wants to maintain a non-upstreamable forked version of software. Everybody wants to be able to build software on cygwin out of the box. So...if the upstream people really

Re: ITP dos2unix 5.2.1-1

2011-03-17 Thread Eric Blake
On 03/17/2011 01:56 PM, Erwin Waterlander wrote: >> >> So let's rephrase: What is the "upstream" objection to providing a few >> new options, with no change in upstream's current default behavior: >> > > I'm willing to maintain patches for Cygwin, to make the transition > easier. But if there is n

Re: Cygport woes: CHOST not defined.

2011-03-17 Thread Dave Korn
On 17/03/2011 19:39, Dave Korn wrote: > Looking at the context, I infer that CHOST must be undefined: Ah, it's my cygport script. For some reason I used to have a problem with the setting of CHOST by the default cygport script, so it unsets it. Hopefully I can just omit that with the newer c

Re: ITP dos2unix 5.2.1-1

2011-03-17 Thread Charles Wilson
On 3/17/2011 4:08 PM, Eric Blake wrote: > On 03/17/2011 01:56 PM, Erwin Waterlander wrote: >> I'm willing to maintain patches for Cygwin, to make the transition >> easier. But if there is no chance that the package gets accepted, I >> rather save myself the trouble. > > There's two sets of patches

RE: Problems with the new base-files-4.0-5?

2011-03-17 Thread Nellis, Kenneth
> From: Eric Blake > On 03/17/2011 12:59 PM, Angelo Graziosi wrote: > > Il 17/03/2011 19.00, Angelo Graziosi ha scritto: > >> I have just updated Cygwin, and now starting a console (Cygwin.bat > or > >> MinTTY) prints: > >> > >> -bash: ${p}: ambiguous redirect > >> > >> and PRINTER variable isn't s

Start a crontab service

2011-03-17 Thread Marc Girod
Hello, I tried to install cron locally on my laptop, and could not find instructions to proceed. I found FAQ 41, and failed to start sshd as well. I have now the two services installed: ~> cygrunsrv --verbose --list Service : sshd Current State : Stopped Command : /u

Re: Problems with the new base-files-4.0-5?

2011-03-17 Thread David Sastre
On Thu, Mar 17, 2011 at 04:10:27PM -0500, Nellis, Kenneth wrote: > > From: Eric Blake > > On 03/17/2011 12:59 PM, Angelo Graziosi wrote: > > > Il 17/03/2011 19.00, Angelo Graziosi ha scritto: > > >> I have just updated Cygwin, and now starting a console (Cygwin.bat > > or > > >> MinTTY) prints: > >

Problems with terminal doesn't display visual elements properly

2011-03-17 Thread Diego Queiroz
Hello. I need some help. My terminal started with a very strange behavior today. Many programs are not displaying correctly and I don't know why. I uploaded this picture: http://img851.imageshack.us/i/screenshotfc.png/ The two windows at the top are displaying the "nano" and "top" programs using

Re: Problems with the new base-files-4.0-5?

2011-03-17 Thread Angelo Graziosi
David Sastre wrote: Please test if [ -e "${p}" ] && read -r PRINTER < "${p}" && PRINTER=${PRINTER%%,*} No, I think. I get: $ cat test_pr.sh #!/bin/bash p='/proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows NT/CurrentVersion/Windows/Device' [ -e "${p}" ] && read -r PRINTER < "${p

Re: Problems with the new base-files-4.0-5?

2011-03-17 Thread David Sastre
On Thu, Mar 17, 2011 at 11:43:26PM +0100, Angelo Graziosi wrote: > David Sastre wrote: > >Please test if > > > >[ -e "${p}" ] && read -r PRINTER < "${p}" && PRINTER=${PRINTER%%,*} > > No, I think. > > I get: > > $ cat test_pr.sh > #!/bin/bash > > p='/proc/registry/HKEY_CURRENT_USER/Software/Mic

Re: Problems with the new base-files-4.0-5?

2011-03-17 Thread Christopher Faylor
On Fri, Mar 18, 2011 at 12:07:43AM +0100, David Sastre wrote: >On Thu, Mar 17, 2011 at 11:43:26PM +0100, Angelo Graziosi wrote: >> David Sastre wrote: >> >Please test if >> > >> >[ -e "${p}" ] && read -r PRINTER < "${p}" && PRINTER=${PRINTER%%,*} >> >> No, I think. >> >> I get: >> >> $ cat test_

Re: Problems with the new base-files-4.0-5?

2011-03-17 Thread Cyrille Lefevre
Le 17/03/2011 23:43, Angelo Graziosi a écrit : p='/proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows NT/CurrentVersion/Windows/Device' [ -e "${p}" ] && read -r PRINTER < "${p}" && PRINTER=${PRINTER%%,*} read -r "$p" returns 1 bcoz "The return code is zero, unless end-of-file is enc

Re: Cygport woes: CHOST not defined.

2011-03-17 Thread Yaakov (Cygwin/X)
On Thu, 2011-03-17 at 19:39 +, Dave Korn wrote: > Attempting to rebuild gcc4-4.3.4-3 from source, I got a bunch of error > messages during the install stage of cygport: > > [ ... snip several more ... ] > > Looking at the context, I infer that CHOST must be undefined: > ... and quite

Re: Cygport woes: CHOST not defined.

2011-03-17 Thread Dave Korn
On 18/03/2011 02:50, Yaakov (Cygwin/X) wrote: > On Thu, 2011-03-17 at 19:39 +, Dave Korn wrote: >> Attempting to rebuild gcc4-4.3.4-3 from source, I got a bunch of error >> messages during the install stage of cygport: >> >> [ ... snip several more ... ] >> >> Looking at the context, I

Re: ld: fatal error - cmalloc would have returned NULL

2011-03-17 Thread Dave Korn
On 11/03/2011 13:53, Rainer Emrich wrote: > I have to be more clear. I increased the heap_chunk_in_mb to 1792 using: > regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 1792 I run with this setting all the time, I guess that's why I haven't seen this problem. Before I did that (couple of y

Re: ld: fatal error - cmalloc would have returned NULL

2011-03-17 Thread Christopher Faylor
On Fri, Mar 18, 2011 at 05:47:04AM +, Dave Korn wrote: >On 11/03/2011 13:53, Rainer Emrich wrote: > >> I have to be more clear. I increased the heap_chunk_in_mb to 1792 using: >> regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 1792 > > I run with this setting all the time, I guess that's

Re: Problems with terminal doesn't display visual elements properly

2011-03-17 Thread Andy Koppe
On 17 March 2011 22:09, Diego Queiroz wrote: > Hello. > > I need some help. > My terminal started with a very strange behavior today. > Many programs are not displaying correctly and I don't know why. > > I uploaded this picture: http://img851.imageshack.us/i/screenshotfc.png/ > The two windows at

Re: ITP dos2unix 5.2.1-1

2011-03-17 Thread Erwin Waterlander
Charles Wilson schreef, Op 17-3-2011 21:36: On 3/17/2011 4:08 PM, Eric Blake wrote: On 03/17/2011 01:56 PM, Erwin Waterlander wrote: I'm willing to maintain patches for Cygwin, to make the transition easier. But if there is no chance that the package gets accepted, I rather save myself the trou

Re: ITP dos2unix 5.2.1-1

2011-03-17 Thread Charles Wilson
On 3/17/2011 4:36 PM, Charles Wilson wrote: > OK, everybody, time out for a minute. Rather than talk vapor, I'll > develop the patches necessary. Fair warning: I've developed this patch set, and made a cygport-based package...but I have NOT TESTED the apps at all. More later, but it's way past m