Re: [PATCH] inform user if any postinstall script failed to run

2010-08-13 Thread Corinna Vinschen
On Aug 12 15:42, Christopher Faylor wrote: On Thu, Aug 12, 2010 at 08:31:24PM +0100, Andy Koppe wrote: On 12 August 2010 19:13, Christopher Faylor wrote: Index: res.rc === RCS file: /cvs/cygwin-apps/setup/res.rc,v retrieving

Re: [PATCH] inform user if any postinstall script failed to run

2010-08-13 Thread Andy Koppe
On 12 August 2010 20:42, Christopher Faylor wrote: On Thu, Aug 12, 2010 at 08:31:24PM +0100, Andy Koppe wrote: On 12 August 2010 19:13, Christopher Faylor wrote: Index: res.rc === RCS file: /cvs/cygwin-apps/setup/res.rc,v retrieving

Re: gcc4-core PACKAGE BUG

2010-08-13 Thread Dave Korn
On 08/08/2010 17:26, Corinna Vinschen wrote: Hi Dave, testing with the latest setup.exe I came across an error message in postinstall: gcc4-core.sh, exit code 126 Manuall testing turned up that the script /usr/sbin/fix-libtool-scripts-for-latest-gcc-runtimes.sh is not

Re: gcc4-core PACKAGE BUG

2010-08-13 Thread Corinna Vinschen
On Aug 13 20:31, Dave Korn wrote: On 08/08/2010 17:26, Corinna Vinschen wrote: Hi Dave, testing with the latest setup.exe I came across an error message in postinstall: gcc4-core.sh, exit code 126 Manuall testing turned up that the script

Re: CygwinX at MS Terminalserver?

2010-08-13 Thread Steffen Sledz
Am 12.08.2010 18:04, schrieb Jon TURNEY: On 12/08/2010 08:31, Steffen Sledz wrote: Does anyone has experiences running CygwinX at an MS Terminalserver? We like to use it at one based on Windows Server 2003 with NTFS. Is it possible to run multiple XWin instances for multiple user sessions

Re: CygwinX at MS Terminalserver?

2010-08-13 Thread Hermann-Josef Beckers
cygwin-xfree-ow...@cygwin.com schrieb am 13.08.2010 09:13:44: ... Am 12.08.2010 18:04, schrieb Jon TURNEY: On 12/08/2010 08:31, Steffen Sledz wrote: Does anyone has experiences running CygwinX at an MS Terminalserver? We like to use it at one based on Windows Server 2003 with NTFS.

XServer draws to incorrect window when using VirtuaWin

2010-08-13 Thread Pete
VirtuaWin (http://virtuawin.sourceforge.net/) is a virtual desktop manager for Windows that lets you switch between several virtual desktops, similar to those provided in KDE Gnome. When switching between desktops that have CygwinX windows open, occasionally the Xserver draws to the wrong

Re: CygwinX at MS Terminalserver?

2010-08-13 Thread Jon TURNEY
On 13/08/2010 08:13, Steffen Sledz wrote: Am 12.08.2010 18:04, schrieb Jon TURNEY: On 12/08/2010 08:31, Steffen Sledz wrote: Does anyone has experiences running CygwinX at an MS Terminalserver? We like to use it at one based on Windows Server 2003 with NTFS. Is it possible to run multiple

Re: CygwinX at MS Terminalserver?

2010-08-13 Thread Kurt Franke
Jon TURNEY jon.turney at dronecode.org.uk writes: Where you may experience problems is if the X server crashes whilst being run by an Administrator, and then a non-Adminstrator user tries to run X server using the same display number, which will fail due being unable to remove the stale

Re: X hardware acceleration still flaky?

2010-08-13 Thread Jon TURNEY
On 12/08/2010 19:20, l.w...@surrey.ac.uk wrote: I can confirm that under the current Cygwin release, with your original XWin debug code and geomview running with opengl support enabled and SaVi animating the Geomview window and forcing camera updates: moving the geomview window up and/or to

Re: Re: xterm and 7-bit control codes

2010-08-13 Thread Ryan Johnson
On 8:59 PM, Thomas Dickey wrote: As far as I know, xterm's never sent more than one byte for either x/y in a button event. Ditto for rxvt. It sounds like a useful idea, except that it would of course be incompatible with the existing applications. So it would have to be enabled by a new

Re: Re: xterm and 7-bit control codes

2010-08-13 Thread Thomas Dickey
On Sat, 14 Aug 2010, Ryan Johnson wrote: On 8:59 PM, Thomas Dickey wrote: As far as I know, xterm's never sent more than one byte for either x/y in a button event. Ditto for rxvt. It sounds like a useful idea, except that it would of course be incompatible with the existing applications.

src/winsup/cygwin ChangeLog cygheap.h path.cc ...

2010-08-13 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2010-08-13 11:51:54 Modified files: winsup/cygwin : ChangeLog cygheap.h path.cc spawn.cc Log message: * cygheap.h (class cwdstuff): Make drive_length private. Add error member.

src/winsup/doc ChangeLog faq-programming.xml n ...

2010-08-13 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2010-08-13 11:52:14 Modified files: winsup/doc : ChangeLog faq-programming.xml new-features.sgml overview2.sgml pathnames.sgml setup2.sgml Log message: *

src/winsup/utils ChangeLog mount.cc

2010-08-13 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2010-08-13 19:10:22 Modified files: winsup/utils : ChangeLog mount.cc Log message: * mount.cc (from_fstab): Fix potentially fatal typo. Patches:

[PATCH] Create libpng.dll.a symlink on Cygwin/MinGW

2010-08-13 Thread Yaakov (Cygwin/X)
From: Yaakov Selkowitz yselkow...@users.sourceforge.net --- Makefile.am |2 +- Makefile.in |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index e53fd96..6fb3322 100644 --- a/Makefile.am +++ b/Makefile.am @@ -119,7 +119,7 @@

Re: Mintty versus xterm colors in Vim

2010-08-13 Thread JOHNER Jean 066030
On 12 August 2010 19:56, Andy Koppe wrote: Looks like vim automatically enables 256-color mode in xterm. Invoke vim with TERM=xterm-256color to enable it in mintty too. (You can set that variable on the 'Output' page of mintty's options. Requires a restart of mintty to take effect.)

Re: Cygwin 1.7.5-1: backspace does not work correctly...

2010-08-13 Thread Nuzhna Pomoshch
On Tue, 20 Apr 2010 10:03:19 +0200, Corinna Vinschen wrote: Did you work in xterm or the Linux console lately? Try pressing Ctrl-V Backspace in both of them. You'll see ^?, not ^H. I see ^H (because I have set it up so that when I press the backspace key, I actually get a backspace, and not a

Change to gnuplot's handling of ^Z and ^C

2010-08-13 Thread Ryan Johnson
Hi all, Recenty I noticed that gnuplot no longer responds instantly to control characters. You have to hit an additional key before they take effect. So, for example, if I type ^Zdfg\n I get the following: gnuplot ^Z [1]+ Stopped(SIGTSTP)gnuplot [r...@scovich] ~/experiments $ fg

Re: Postinstall script errors

2010-08-13 Thread Corinna Vinschen
On Aug 12 19:50, Tilman Hausherr wrote: On Thu, 12 Aug 2010 11:59:30 +0200, Corinna Vinschen wrote: That's probably a fault in the postinstall scripts. It would be nice if you could provide more details about what fails exactly in the script, or better, what in the script has a non-0 exit

Re: Incomplete installation of subversion

2010-08-13 Thread Andrey Repin
Greetings, Corinna Vinschen! On Thu, Aug 12, 2010 at 9:02 AM, Andrey Repin wrote: (snip) stdout:curl -iI -H Accept-Encoding: gzip -s -- http://cygwin.com/setup.exe; HTTP/1.1 200 OK Date: Thu, 12 Aug 2010 06:59:40 GMT Server: Apache/2.0.52 (Red Hat) Last-Modified: Tue, 10 Aug

XWin shows in ps -a but not in ps

2010-08-13 Thread Fergus
I have XWin running and it shows up as a process under ps -a but not under ps I think this behaviour is recent: certainly it has perturbed what were previously well-behaved scripts. Supplementary: I was basically using ps | grep in a script to query whether XWin was running. Am I correct

Re: CygWin Security Performance Issues

2010-08-13 Thread Csaba Raduly
On Thu, Aug 12, 2010 at 11:55 AM, Corinna Vinschen wrote: Really?  As far as I understood from the docs, SUA is rather styled after SVR4. Looks like I got it into my head that if a Unix isn't GNU, it must be BSD. Obviously, I was wrong * * Wrong, said Renner. The tactful way, Rod said

Re: Cygwin 1.7.5-1: backspace does not work correctly...

2010-08-13 Thread Andy Koppe
On 13 August 2010 10:20, Nuzhna Pomoshch wrote: On Tue, 20 Apr 2010 00:12:29 +0100, Andy Koppe wrote: From the cygwin-1.7.5 release announcement: - Support DEC Backarrow Key Mode escape sequences (ESC [ ? 67 h, ESC [ ? 67 l) in Windows console. (The first one switches to ^H. You'll need to

Re: XWin shows in ps -a but not in ps

2010-08-13 Thread Morgan Gangwere
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/13/2010 05:01 AM, Fergus wrote: I have XWin running and it shows up as a process under ps -a but not under ps Time for another round of the blame game! What's happening is that your shell is getting instantiated on a new vty. Even on my

Re: libpng14-devel does not provide libpng.dll.a

2010-08-13 Thread Charles Wilson
On 8/12/2010 11:30 PM, Yaakov (Cygwin/X) wrote: libpng14-devel provides libpng.a and libpng.la symlinks, but no libpng.dll.a symlink. I presume this is unintentional? Yes. They changed the way these symlinks were done, to this: for ext in a la so

Re: diff /usr/include/endian.orig.h /usr/include/endian.h endian.h.diff

2010-08-13 Thread Eric Blake
On 08/12/2010 06:35 PM, Pedro Izecksohn wrote: --- I wrote: Defines macros for to convert the endianness of 16, 32 and 64 bits integer types. diff -c /usr/include/endian.orig.h /usr/include/endian.h My previous diff is wrong. The right one follows: OK, that documents _what_ your changes

Mode dependent cursor shape lost in cygwin Vim in a Windows console

2010-08-13 Thread JOHNER Jean 066030
Hello, Please do the following: 1/ Start a standard cmd console Launch Windows Vim (C:\Program Files\vim\vim72\vim.exe) with vim -u NONE file1 Result: file1 opens with a block cursor. If insert mode is activated, the cursor changes to underscore (nice) 2/ Launch cygwin.bat Launch

bash becomes a directory in win 7? LOL

2010-08-13 Thread mike marchywka
I'm trying to popup new bash windows from a script and getting lots of wierd problems. First, I seem to have to run the cygwin window as admin, ok fine I can click on that. After playing around for a while, I was able to get cmd start bash to run ok but the children seemed to lose admin startus if

Re: libpng14-devel does not provide libpng.dll.a

2010-08-13 Thread Glenn Randers-Pehrson
Charles Wilson cygwin at cwilson.fastmail.fm writes: but dll.a is missing from that list. I'll roll out a replacement Sunday. I already took care of it upstream. Glenn -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: bash becomes a directory in win 7? LOL

2010-08-13 Thread Larry Hall (Cygwin)
On 8/13/2010 9:32 AM, mike marchywka wrote: I'm trying to popup new bash windows from a script and getting lots of wierd problems. First, I seem to have to run the cygwin window as admin, ok fine I can click on that. After playing around for a while, I was able to get cmd start bash to run ok

Re: bash postinstall script returns an error

2010-08-13 Thread Jeremy Ramer
On Thu, Aug 12, 2010 at 6:14 PM, cy.20.superconduc...@xoxy.net wrote: I was going to mention passwd-grp.sh, but I see there's already a thread for that, so I'll move right on to the next one. When I run setup.exe I always get an error for the bash.sh postinstall script, it seems to be on the

Re: diff /usr/include/endian.orig.h /usr/include/endian.h endian.h.diff

2010-08-13 Thread Pedro Izecksohn
--- Eric Blake ebl...@... wrote: Umm - did you copy straight from glibc's endian.h?  That's a no-no; cygwin generally doesn't want to borrow LGPL sources to avoid any licensing questions (borrowing from BSD is okay, on the other hand). You would have to implement things from scratch from a

Re: Incomplete installation of subversion

2010-08-13 Thread Phil Betts
On 13 August 2010 11:27, Andrey Repin wrote: Greetings, Corinna Vinschen! On Thu, Aug 12, 2010 at 9:02 AM, Andrey Repin  wrote: (snip) stdout:curl -iI -H Accept-Encoding: gzip -s -- http://cygwin.com/setup.exe; HTTP/1.1 200 OK Date: Thu, 12 Aug 2010 06:59:40 GMT Server:

Re: cygwin 1.7: why there is a directory E/cygwin/dev in the tree of cygwin ?

2010-08-13 Thread Eric Blake
[reviving an old thread, relevant to today's current bash postinstall failures] On 03/17/2010 12:28 PM, Corinna Vinschen wrote: On Mar 17 12:21, Eric Blake wrote: On 03/17/2010 02:19 AM, rolandc wrote: I do not understand why the postinstall script bash.sh is so complex DEVDIR=$(cygpath

Re: bash postinstall script returns an error

2010-08-13 Thread Eric Blake
On 08/12/2010 06:14 PM, cy.20.superconduc...@xoxy.net wrote: I was going to mention passwd-grp.sh, but I see there's already a thread for that, so I'll move right on to the next one. When I run setup.exe I always get an error for the bash.sh postinstall script, it seems to be on the line of:

Mounting shares that require passwords

2010-08-13 Thread Steven Collins
Is there some way within cygwin to successfully mount a share that requires a password. Until I run the net use command or other Windows application to open the share with the password Cygwin is unable to access it. The best I've come up with so far is to run the net use from my .bashrc. Is there

Re: Mode dependent cursor shape lost in cygwin Vim in a Windows console

2010-08-13 Thread Andy Koppe
On 13 August 2010 14:22, JOHNER Jean 066030 wrote: Hello, Please do the following: 1/ Start a standard cmd console   Launch Windows Vim (C:\Program Files\vim\vim72\vim.exe) with   vim -u NONE file1  Result: file1 opens with a block cursor. If insert mode is activated, the cursor changes

Re: Mounting shares that require passwords

2010-08-13 Thread Jeremy Bopp
On 8/13/2010 11:24 AM, Steven Collins wrote: Is there some way within cygwin to successfully mount a share that requires a password. Until I run the net use command or other Windows application to open the share with the password Cygwin is unable to access it. The best I've come up with so far

Re: Mounting shares that require passwords

2010-08-13 Thread Steven Collins
On Fri, Aug 13, 2010 at 10:28, Jeremy Bopp wrote: On 8/13/2010 11:24 AM, Steven Collins wrote: Is there some way within cygwin to successfully mount a share that requires a password. Until I run the net use command or other Windows application to open the share with the password Cygwin is

Re: Mounting shares that require passwords

2010-08-13 Thread Christopher Faylor
On Fri, Aug 13, 2010 at 10:56:55AM -0600, Steven Collins wrote: On Fri, Aug 13, 2010 at 10:28, Jeremy Bopp wrote: On 8/13/2010 11:24 AM, Steven Collins wrote: Is there some way within cygwin to successfully mount a share that requires a password. Until I run the net use command or other

Re: Mounting shares that require passwords

2010-08-13 Thread Steven Collins
On Fri, Aug 13, 2010 at 11:07, Christopher Faylor wrote: On Fri, Aug 13, 2010 at 10:56:55AM -0600, Steven Collins wrote: On Fri, Aug 13, 2010 at 10:28, Jeremy Bopp wrote: On 8/13/2010 11:24 AM, Steven Collins wrote: Is there some way within cygwin to successfully mount a share that requires

Re: Mounting shares that require passwords

2010-08-13 Thread Daniel Colascione
On 8/13/10 10:13 AM, Steven Collins wrote: I'm attempting to execute net use from the bash command prompt in an xterm session that was started via the XWin Server menu item. The 'ps' command lists the TTY as con, so I wouldn't expect to be using a pty. Am I? If so, is there a work around for

[ANNOUNCEMENT] Updated: bash-3.2.51-24

2010-08-13 Thread Eric Blake
A new release of bash, 3.2.51-24, has been uploaded and will soon reach a mirror near you. This replaces 3.2.49-23 as current. NEWS: = This is a minor update that pulls in a couple of upstream patches and fixes a bug in the postinstall script. There are a few things you should be aware of

Re: cygwin 1.7: why there is a directory E/cygwin/dev in the tree of cygwin ?

2010-08-13 Thread Cliff Hones
Eric Blake wrote: [reviving an old thread, relevant to today's current bash postinstall failures] ... I'm building a new bash package now that should fix all this mess, by using the same means as 000-cygwin-post-install.sh to populate necessary entries into /dev. Splendid! Just for the

Re: Incomplete installation of subversion

2010-08-13 Thread Andrey Repin
Greetings, Phil Betts! stdout:curl -iI -H Accept-Encoding: gzip -s -- http://cygwin.com/setup.exe; HTTP/1.1 200 OK Date: Thu, 12 Aug 2010 06:59:40 GMT Server: Apache/2.0.52 (Red Hat) Last-Modified: Tue, 10 Aug 2010 16:28:21 GMT ETag: 18e01b8-a7413-9f101340 Accept-Ranges: bytes

Problem with -D_GLIBCXX_DEBUG and cppcheck

2010-08-13 Thread Cary R.
On my Linux machine I'm using the latest cppcheck from git since it has bug fixes I need to test my code. Now that it's mostly working I tried to compile it on Cygwin so I would have it available there as well. I ran into a few problems and after some debug it appears to be a problem with the

copying from desktop to server changes group and permissions

2010-08-13 Thread Mirko Vukovic
Hello, when I copy a file from my desktop to the location on our server, it changes permissions and group from root to Domain Users ls -l tree.eps -rw--- 1 977315 root 69488 2010-06-06 21:02 tree.eps /home/The-Works/invention-disclosures+patents/1590--networked-shh-channels ls -l

mount segfaults with missing EOL in fstab

2010-08-13 Thread Vincent Rivière
Hello. I have just noticed that the mount utility segfaults when the last line of /etc/fstab is incorrectly terminated with a missing LF, even if it is a comment line. $ mount -a Segmentation fault (core dumped) -- Vincent Rivière -- Problem reports: http://cygwin.com/problems.html

Re: mount segfaults with missing EOL in fstab

2010-08-13 Thread Corinna Vinschen
On Aug 13 20:32, Vincent Rivière wrote: Hello. I have just noticed that the mount utility segfaults when the last line of /etc/fstab is incorrectly terminated with a missing LF, even if it is a comment line. $ mount -a Segmentation fault (core dumped) Thanks for the hint. Due to a

[ANNOUNCEMENT] Updated: experimental package: gcc4-4.5.0-1

2010-08-13 Thread Dave Korn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have just uploaded an updated GCC-4 package to cygwin.com. It will be arriving at your favourite mirror next time it synchronizes itself with the official Cygwin repository. This package is a test release, owing to regressions with the Ada

Broken process substitution

2010-08-13 Thread Daniel Colascione
Try echo hello (cat) -- that's supposed to output hello. On Cygwin, we get bash: echo: write error: Bad file descriptor -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Re: Broken process substitution

2010-08-13 Thread Eric Blake
On 08/13/2010 02:04 PM, Daniel Colascione wrote: Try echo hello (cat) -- that's supposed to output hello. What makes you think it's supposed to echo hello? That's system specific on what will happen. According to the bash manual, (cat) is evaluated first, and will result in a /dev/fd

Re: Broken process substitution

2010-08-13 Thread Eric Blake
On 08/13/2010 02:17 PM, Eric Blake wrote: On 08/13/2010 02:04 PM, Daniel Colascione wrote: Try echo hello (cat) -- that's supposed to output hello. What makes you think it's supposed to echo hello? That's system specific on what will happen. According to the bash manual, (cat) is

Re: Broken process substitution

2010-08-13 Thread Daniel Colascione
On Fri, Aug 13, 2010 at 1:25 PM, Eric Blake ebl...@redhat.com wrote: Then again, cat should exist until something causes the input side of its pipe to declare EOF; so I guess there's no race in this example after all.  Rather, it looks like a limitation in cygwin1.dll.  I don't know why bash

Re: Broken process substitution

2010-08-13 Thread Daniel Colascione
On Fri, Aug 13, 2010 at 1:44 PM, Daniel Colascione dan.colasci...@gmail.com wrote: On Fri, Aug 13, 2010 at 1:25 PM, Eric Blake ebl...@redhat.com wrote: Then again, cat should exist until something causes the input side of its pipe to declare EOF; so I guess there's no race in this example

Re: Mode dependent cursor shape lost in cygwin Vim in a Windows console

2010-08-13 Thread JOHNER Jean 066030
On 13 August 2010, Andy Koppe wrote: No, but I'm sure a patch implementing the DECSCUSR control sequence using SetConsoleCursorInfo() would be welcome. (Copyright assignment required.) I guess this patch is not in Vim code (which is able to do the job in a normal cmd console window) but

Re: CygWin Security Performance Issues

2010-08-13 Thread Gary
Christopher Faylor wrote: On Thu, Aug 12, 2010 at 10:17:44PM +0200, DaveLaw wrote: Maybe the co-leader of the project should channel her efforts into just that, rather than getting peoples backs up with unnecessary nitpicking about how she thinks they should structure their emails. Welcome to

Re: diff /usr/include/endian.orig.h /usr/include/endian.h endian.h.diff

2010-08-13 Thread Pedro Izecksohn
Umm - did you copy straight from glibc's endian.h?  That's a no-no; cygwin generally doesn't want to borrow LGPL sources to avoid any licensing questions (borrowing from BSD is okay, on the other hand). You would have to implement things from scratch from a documentation page, or copy from a

Cygwin speed difference on multiple cores -vs- single-core?

2010-08-13 Thread Andy Nicholas
Hi Folks, When using cygwin, I've noticed that there seems to be a large speed difference when I boot my windows 7 (32-bit) machine in single-core mode versus the regular number of cores (4, Core i7-930). I've read through the FAQ and didn't notice anything about this issue. Normally, I would

Re: Cygwin speed difference on multiple cores -vs- single-core?

2010-08-13 Thread Tim Prince
On 8/13/2010 5:37 PM, Andy Nicholas wrote: Hi Folks, When using cygwin, I've noticed that there seems to be a large speed difference when I boot my windows 7 (32-bit) machine in single-core mode versus the regular number of cores (4, Core i7-930). I've read through the FAQ and didn't notice

Re: Cygwin speed difference on multiple cores -vs- single-core?

2010-08-13 Thread mike marchywka
On 8/13/10, Andy Nicholas wrote: Hi Folks, When using cygwin, I've noticed that there seems to be a large speed difference when I boot my windows 7 (32-bit) machine in single-core mode versus the regular number of cores (4, Core i7-930). I've read through the FAQ and didn't notice anything

Re: Cygwin speed difference on multiple cores -vs- single-core?

2010-08-13 Thread Andy Nicholas
Tim Prince n8tm at aol.com writes: Several possibilities which you haven't addressed may affect this. Are you comparing the performance of a single thread when locked to a single core, compared to when it is permitted to rotate among cores, with or without HyperThread enabled? I've never

Updated: experimental package: gcc4-4.5.0-1

2010-08-13 Thread Dave Korn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have just uploaded an updated GCC-4 package to cygwin.com. It will be arriving at your favourite mirror next time it synchronizes itself with the official Cygwin repository. This package is a test release, owing to regressions with the Ada