codepage translation of environment

2005-03-08 Thread Heiko_Elger
Hello all, why is the environment converted to another codepage! I'm using newest cygwin version 1.5.13! Here just an example: I'm in an standard cmd.exe and set the environment variable ZZ to 1ÃÃÃ2 set ZZ=1ÃÃÃ2 I did several test using the small program getEnv.exe (source code see

Re: types "quad_t" & "u_quad_t"

2005-03-08 Thread Corinna Vinschen
On Mar 7 14:00, Linda W wrote: > On linux, they are defined in /usr/include/sys/types.h > > Should they be included in "cygwin's" types.h > as well or is there a better place for them? A newlib patch from the weekend added them to sys/types.h. So you'll find them in the next release. Corinna

Re: resuming 'vi' error after upgrade cygwin 1.5.12-1 -> 1.5.13-1

2005-03-08 Thread Corinna Vinschen
On Mar 7 19:07, Nine9 wrote: > After upgrading to "cygwin-1.5.13-1", running in > "tcsh" and doing "vi textfile" -> "^z" -> "fg" doesn't > work (e.g., typing "j"s to move the cursor displays > "j"s on the screen). Rebooted just in case, "vi" > still not working. > > Ran "setup.exe" and re-instal

Bash 3.0?

2005-03-08 Thread Johannes Keukelaar
Hi all! Whatever happened with Bash 3.0 for Cygwin? Can't find anything in the archives after http://cygwin.com/ml/cygwin/2004-08/msg01305.html Is this still in the pipeline? Any idea how long it will take? Regards, Johannes. -- Johannes Keukelaar, PhD, MSc Partner, Developer Cinnober Financial

cygwin.dll 1.5.13-1: hangs

2005-03-08 Thread Andrew Schulman
I just upgraded to cygwin 1.5.13-1 on two hosts, and am observing the same problem on both: my bash startup hangs. I traced the problem to an invocation of ssh-add in .bash_profile, with three keys as arguments. The first time I run ssh-add after rebooting the host, it hangs. I can leave it for

Re: Bash 3.0?

2005-03-08 Thread Corinna Vinschen
On Mar 8 11:44, Johannes Keukelaar wrote: > Hi all! > > Whatever happened with Bash 3.0 for Cygwin? Can't find anything in the > archives after http://cygwin.com/ml/cygwin/2004-08/msg01305.html Is this > still in the pipeline? Any idea how long it will take? The maintainer apparently disappeared

Re: cygwin.dll 1.5.13-1: hangs

2005-03-08 Thread Corinna Vinschen
On Mar 8 05:54, Andrew Schulman wrote: > I just upgraded to cygwin 1.5.13-1 on two hosts, and am observing the same > problem on both: my bash startup hangs. I traced the problem to an > invocation of ssh-add in .bash_profile, with three keys as arguments. That should be solved in recent snapsho

Re: codepage translation of environment

2005-03-08 Thread Corinna Vinschen
On Mar 8 09:01, [EMAIL PROTECTED] wrote: > In codepage 1252 (latin1) character 0xe4 represents the umlaut a!! > In codepage 850 character 0xa4 represents the umlaut a!! > > Why do cygwin this conversion? http://cygwin.com/acronyms/#WJM, I guess! > I did some test using the CYGWIN environment va

Re: error in scanf reading %le format and 00 exponent

2005-03-08 Thread Charles L. Werner
Hi: As mentioned in the previous message, reading exponential format NEGATIVE numbers with an exponent of 00 fails in the current 1.5.13 cygwin dll. example: -1.1e00 is interpreted as 1.1 rather than -1.1 I just tested the most recent snapshot of the cygwin dll of 050308 and scanf also fails to r

Re: error in scanf reading %le format and 00 exponent

2005-03-08 Thread Corinna Vinschen
On Mar 8 14:01, Charles L. Werner wrote: > Hi: > > As mentioned in the previous message, reading exponential format NEGATIVE > numbers with an > exponent of 00 fails in the current 1.5.13 cygwin dll. > > example: -1.1e00 is interpreted as 1.1 rather than -1.1 > > I just tested the most recent

RE: setup modifying code?

2005-03-08 Thread Dave Korn
Original Message >From: Linda W >Sent: 08 March 2005 04:57 > Dave Korn wrote: > >> Since it is a known fact that it _does_ legitimately contain >> >> self-modifying code, the fact that your system doesn't warn must mean it >> is not configured to warn about self-modifying code. >> >> >

RE: bash / snapshot combi crash

2005-03-08 Thread Dave Korn
Original Message >From: David Dindorp >Sent: 08 March 2005 05:00 > Stack trace: > Exception: STATUS_ACCESS_VIOLATION at eip=[SNIP] > End of stack trace (more stack frames may be present) > I'd be happy to make a test case, but I'm quite busy doing other > test cases and real work at th

Re: apparent bug: incorrect file position after write()

2005-03-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Gary R. Van Sickle on 3/5/2005 6:39 PM: > O_BINARY is POSIX. Use it. Do this if you have to: > Where do you see that? http://www.opengroup.org/onlinepubs/009695399/basedefs/fcntl.h.html lists O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND

Re: cygwin.dll 1.5.13-1: hangs

2005-03-08 Thread Andrew Schulman
> On Mar 8 05:54, Andrew Schulman wrote: > > I just upgraded to cygwin 1.5.13-1 on two hosts, and am observing the same > > problem on both: my bash startup hangs. I traced the problem to an > > invocation of ssh-add in .bash_profile, with three keys as arguments. > > That should be solved in re

Re: "cannot set time" on FAT32 - after installing cygwin-1.5.13-1

2005-03-08 Thread Christian Carey
Hello Corinna, > I've reproduced the effect (this only happens on 9x/ME) > and I've checked in a fix. Please try the next Cygwin > developers snapshot from http://cygwin.com/snapshots/ the 2005-Mar-08 snapshot fixed the problem for me, under Windows 98 SE. I'd experienced the same problem as Ja

Re: resuming 'vi' error after upgrade cygwin 1.5.12-1 -> 1.5.13-1

2005-03-08 Thread Christopher Faylor
On Mon, Mar 07, 2005 at 07:07:35PM -0800, Nine9 wrote: >After upgrading to "cygwin-1.5.13-1", running in >"tcsh" and doing "vi textfile" -> "^z" -> "fg" doesn't >work (e.g., typing "j"s to move the cursor displays >"j"s on the screen). Rebooted just in case, "vi" >still not working. > >Ran "setup.

reverted (to some degree) cygwin exit value presented to non-cygwin processes

2005-03-08 Thread Christopher Faylor
I've added a change to cygwin which causes exit values to be right shifted by eight bits when a process knows that it has been started from a windows process. This means that if a process exits with a status code of "1", windows will see an exit code of "1" rather than "256". FWIW, I'm making thi

Re: cygwin.dll 1.5.13-1: hangs

2005-03-08 Thread Corinna Vinschen
On Mar 8 10:48, Andrew Schulman wrote: > 999732 1045858 [main] ssh-add 3116 fhandler_socket::connect: Receiving > eid credentials failed: Win32 error 231 Ouch. Unfortunately I can't reproduce this using ssh-add, not even when called in a bash profile. But this error message is the hint I misse

Re: cygwin.dll 1.5.13-1: hangs

2005-03-08 Thread Corinna Vinschen
On Mar 8 17:36, Corinna Vinschen wrote: > I've checked in a patch which hopefully solves that problem. Please > try the next developers snapshot from http://www.cygwin.com/snapshots/ > (the next after 2005-02-08) ^^ 03 of course Corinna -- Corinna

disk not seen after adminstrative re-install

2005-03-08 Thread Chris Winne
I should know that if it ain't broke, don't fix it, but... In any case, seeing in installation that installing as user did not provide all functionality, I decided to reinstall as administrator. Following installation and relogging in as myself, my first sign of something fishy was an extra cygwi

Re: installing cygwin (for C++)

2005-03-08 Thread Jani Tiainen
[EMAIL PROTECTED] kirjoitti: Hi, I want to know what all pacakegs I need to install to be able to compile and run C++ programs .Can you also please suggest mirrors which contain these.Iam installing using setup.exe Well, if you just need to compile Win32 apps, I suggest to try MinGW, or better y

RE: disk not seen after adminstrative re-install

2005-03-08 Thread Dave Korn
Original Message >From: Chris Winne >Sent: 08 March 2005 17:39 > I should know that if it ain't broke, don't fix it, > but... Um so does that mean you would consider it _good_ news if I tell you that it looks very much like it was broke after all? > In any case, seeing in installa

Re: cygstart patch

2005-03-08 Thread Michael Schaap
On 8-Mar-2005 6:21, Charles Wilson wrote: Michael Schaap wrote: This time with patch. :-[ Applied. Thanks, Chuck! – Michael -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html

RE: disk not seen after adminstrative re-install

2005-03-08 Thread Igor Pechtchanski
On Tue, 8 Mar 2005, Dave Korn wrote: > This shouldn't be a problem. The system-level mounts should all be found > before the user-level ones and simply override them harmlessly. Actually, it's the other way around. The system-level mounts are indeed traversed before the user level mounts, but

Re: disk not seen after adminstrative re-install

2005-03-08 Thread Corinna Vinschen
On Mar 8 09:38, Chris Winne wrote: > I should know that if it ain't broke, don't fix it, > but... > > In any case, seeing in installation that installing as > user did not provide all functionality, I decided to > reinstall as administrator. Following installation > and relogging in as myself, m

Windows mysql CLI and Cygwin terminals

2005-03-08 Thread Eric Brunson
I found a reference to this problem in the July archives of this list, but I have a little to add so I'm hoping someone may be able to give a work around or note it as a bug. When trying to run the mysql (windows version) command line client, the process seems to hang, but only if you're trying

Re: types "quad_t" & "u_quad_t"

2005-03-08 Thread Hannu E K Nevalainen
On Mon, 2005-03-07 at 18:29 -0800, Brian Dessent wrote: > Linda W wrote: > > > hmph...never heard of it (even though I have it installed (*doh!*))... > > Sure take alot more characters to get a simple hex & ascii side-by-side > > dump! How am I gonna remember all that? :-) I often have to use

Issue with lpr in cygwin 1.5.13-1

2005-03-08 Thread Frank Jacobs
If I attempt to run lpr under cygwin 1.5.13-1, I get the following error: lpr: printer error: can't open '' for writing: The printer name is invalid. However, if I downgrade to cygwin 1.5.12-1, lpr works fine. Note that the issue does not appear to be due to the cygutils version (the package th

Re: Windows mysql CLI and Cygwin terminals

2005-03-08 Thread Andrew DeFaria
Eric Brunson wrote: I found a reference to this problem in the July archives of this list, but I have a little to add so I'm hoping someone may be able to give a work around or note it as a bug. When trying to run the mysql (windows version) command line client, the process seems to hang, but o

Re: disk not seen after adminstrative re-install

2005-03-08 Thread Chris Winne
--- Corinna Vinschen <[EMAIL PROTECTED]> wrote: > On Mar 8 09:38, Chris Winne wrote: > > > Also, out from standard error with cygcheck, I got > the > > following: > > > > cygcheck: dump_sysinfo: GetVolumeInformation() > failed: > > 5 > > cygcheck: dump_sysinfo: GetVolumeInformation() > failed:

Question !

2005-03-08 Thread Hari_Das
Is cygwin runs on Windows 2003. We are having problem in running cron. Thoughts Hironmoy Das 952-742-7148 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

foo and foo.exe

2005-03-08 Thread Jennifer Lai
Hi, Has the newer release of cygwin fixed problem stated in this thread, http://www.cygwin.com/ml/cygwin/2003-10/msg00378.html Thanks, Jennifer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cy

Re: types "quad_t" & "u_quad_t"

2005-03-08 Thread Brian Dessent
Hannu E K Nevalainen wrote: > $ cat >>.profile < > function od() { > if [ -r "$1" ] ;then > argline="-A x -v -t x1z -w24 $1" > else > # Problem with dual evaluation on argline? > argline="$*" > fi > command od $argline > argline= > } > EOD That doesn't work so well if you e

Re: Question !

2005-03-08 Thread Brian Dessent
[EMAIL PROTECTED] wrote: > > Is cygwin runs on Windows 2003. We are having problem in running cron. > Thoughts The very second paragraph on the front page of cygwin.com says "The Cygwin DLL works with all non-beta, non "release candidate", ix86 32 bit versions of Windows since Windows 95

How to use Package Chooser in Setup.exe

2005-03-08 Thread Matthew Johnson
Yes, I _have_ read the Setup Instructions at http://www.cygwin.com/cygwin-ug-net/setup-net.html and the FAQ. If there is an answer to my questions there, it needs to be reworded; I could not find it. When the radio button in the Package Chooser of Setup.exe selected is 'Cur' and 'View' is set to "

ssh.exe opens UDP-socket, why?

2005-03-08 Thread Sven Köhler
Hi, if i do a normal ssh [EMAIL PROTECTED], i see a UDP-socket in the of open ones. The UDP-socket it only bound to 127.0.0.1, but i ask myself, why ssh should use UDP. I guess it's cygwin-related. Can you tell me, what's going on? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simp

Re: How to use Package Chooser in Setup.exe

2005-03-08 Thread Brian Dessent
Matthew Johnson wrote: > When the radio button in the Package Chooser of > Setup.exe selected is 'Cur' and 'View' is set to "up > to date", what does 'keep' mean? Does it mean to keep > it up to date, or does it mean to keep whatever is > already installed on the system in question? And if > the l

Re: ssh.exe opens UDP-socket, why?

2005-03-08 Thread Christopher Faylor
On Wed, Mar 09, 2005 at 01:40:13AM +0100, Sven K?hler wrote: >if i do a normal ssh [EMAIL PROTECTED], i see a UDP-socket in the of open >ones. The UDP-socket it only bound to 127.0.0.1, but i ask myself, why >ssh should use UDP. > >I guess it's cygwin-related. Can you tell me, what's going on? "

RE: compile in cygwin (can't create configure file)

2005-03-08 Thread Gary R. Van Sickle
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Duong Duong > Sent: Tuesday, March 08, 2005 8:09 PM > To: cygwin-xfree@cygwin.com; cygwin@cygwin.com > Subject: compile in cygwin (can't create configure file) > > Thank you Brian Dessent. Dude, you j

Re: compile in cygwin (can't create configure file)

2005-03-08 Thread Brian Dessent
Duong Duong wrote: > aclocal:configure.ac:108: warning: macro > `AM_GLIB_DEFINE_LOCALEDIR' not found in library You need the glib2-devel package. (And it's not necessary to attach the source code to the mailing list, you can just include a link to ) Bri

Re: foo and foo.exe

2005-03-08 Thread Jay Guerette
Works for me in 1.5.13-1. On Tue, 08 Mar 2005 18:07:55 -0500, Jennifer Lai <[EMAIL PROTECTED]> wrote: > Hi, > Has the newer release of cygwin fixed problem stated in this thread, > http://www.cygwin.com/ml/cygwin/2003-10/msg00378.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe