Patch to make readline parse CSI keycodes properly

2009-07-19 Thread Andy Koppe
When pressing an unbound key or key combination in bash and other readline programs, somewhat cryptic characters are often inserted into the command line. For example, you get "~" for Insert, "4~" for F12, or ";5A" for Ctrl+Up. This can be rather confusing and annoying. The reason is that readline

Re: gcc-3 problem when compiling

2009-07-19 Thread Thomas Steinbach
Hello Christoph, since a few weeks I can't comp?ile my (native mingw) projet which was no problem until the gcc was renamed to gcc-3 [...] /3.4.4/../../../../i686-pc-cygwin/bin/as.exe: cannot execute binary file make: *** [int/wrap_s.obj] Error 1 And what does ls -l /usr/lib/gcc/i686-pc-cygwin

Re: gcc-3 problem when compiling

2009-07-19 Thread Dave Korn
Thomas Steinbach wrote: > Is the setting to 050 a result of the introduction of gcc v4.x? No. It is a sign that something else has gone wrong with your installation. > btw: all other bins (ar.exe, etc) in this bin directory are set to 550 That's also wrong. It should be 750. > btw2: all

Re: gcc-3 problem when compiling

2009-07-19 Thread Dave Korn
Thomas Steinbach wrote: >> And what does >> ls -l >> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe >> show? > > It shows: > > ---snip--- > $ ls -l > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe > r-x---+ 1 root Users 26 May 22 03:29 > /usr

Re: Patch to make readline parse CSI keycodes properly

2009-07-19 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Andy Koppe on 7/19/2009 5:30 AM: > It's working correctly here, including when adding bindings for longer > keycodes: no more funny characters when accidentally hitting the wrong > key. Please consider the patch for inclusion into the read

Re: WCONTINUED/WIFCONTINUED

2009-07-19 Thread Christopher Faylor
On Fri, Jul 10, 2009 at 12:20:20PM -0400, Christopher Faylor wrote: >On Fri, Jul 10, 2009 at 09:49:59AM +0200, Reini Urban wrote: >>Any volunteer for WCONTINUED, WIFCONTINUED() for wait4() for the >>initial cygwin-1.7 release? >>See http://www.opengroup.org/onlinepubs/009695399/functions/wait.html

Re: Patch to make readline parse CSI keycodes properly

2009-07-19 Thread Andy Koppe
2009/7/19 Eric Blake: >> It's working correctly here, including when adding bindings for longer >> keycodes: no more funny characters when accidentally hitting the wrong >> key. Please consider the patch for inclusion into the readline >> package. > > I'll play with this, and consider adding it to

Compiling with netapilib

2009-07-19 Thread Ian Puleston
Hi, I'm trying to use gcc 3.4.4 to compile the Microsoft C sample at http://msdn.microsoft.com/en-us/library/aa370663(VS.85).aspx to build a small test program that makes the "NetWkstaGetInfo" Windows NetAPI request. The Cygwin gcc library includes a libnetapi32.a library that seems to include tha

Re: Compiling with netapilib

2009-07-19 Thread Yaakov (Cygwin/X)
On 19/07/2009 13:13, Ian Puleston wrote: I'm trying to use gcc 3.4.4 to compile the Microsoft C sample at http://msdn.microsoft.com/en-us/library/aa370663(VS.85).aspx to build a small test program that makes the "NetWkstaGetInfo" Windows NetAPI request. The Cygwin gcc library includes a libnetapi

Re: Compiling with netapilib

2009-07-19 Thread Christopher Faylor
On Sun, Jul 19, 2009 at 01:57:23PM -0500, Yaakov (Cygwin/X) wrote: >On 19/07/2009 13:13, Ian Puleston wrote: >> I'm trying to use gcc 3.4.4 to compile the Microsoft C sample at >> http://msdn.microsoft.com/en-us/library/aa370663(VS.85).aspx to build a >> small test program that makes the "NetWkstaG

Incorrect codepage numbers in 1.7 guide

2009-07-19 Thread Andy Koppe
A couple of small mistakes in http://cygwin.com/1.7/cygwin-ug-net/setup-locale.html#setup-locale-charsetlist: ISO-8859-13 and -15 have codepage numbers 28603 and 28605, not 28563 and 28565. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq

OpenSSH - sftp not working for non-Administrator users

2009-07-19 Thread Doug Lim
I've just installed Cygwin and OpenSSH on a Windows Server 2003 box with the goal of allowing sftp access to users. I'm testing with the Administrator account and two non-administrator accounts. I am able to login via SSH to a bash shell using all three accounts, however, when I try to connect to

Re: [1.7] fifo regression

2009-07-19 Thread Christopher Faylor
On Tue, Jul 07, 2009 at 02:02:12PM -0400, Christopher Faylor wrote: >On Mon, Jul 06, 2009 at 10:18:39PM -0400, Christopher Faylor wrote: >>On Mon, Jul 06, 2009 at 07:03:11AM -0600, Eric Blake wrote: >>>But on cygwin 1.7, when you attempt to create multiple writers to a single >>>fifo, the second wr

Re: FAQ question regarding tcl/tk and paths

2009-07-19 Thread Larry Hall (Cygwin)
Shaddy Baddah wrote: Hi, So, from the Cygwin FAQ: *4.45.* Why doesn't Cygwin tcl/tk understand Cygwin paths? The versions of Tcl/Tk distributed with Cygwin (e.g. cygtclsh80.exe, cygwish80.exe) are not actually "Cygwin versions" of those tools. They are built with the |-mno-cygwin| option to |

Re: OpenSSH - sftp not working for non-Administrator users

2009-07-19 Thread Doug Lim
After a bit more research on the problem, I found a discussion thread on the web discussing a similar problem from 2006. The difference is that the thread discusses scp connections dropping immediately after non-administrator authentication. http://winscp.net/forum/viewtopic.php?t=3782 A resp

[ANNOUNCEMENT] Updated: {libarchive/libarchive2/libarchive-devel/bsdtar/bsdcpio}-2.7.1pre-1

2009-07-19 Thread Charles Wilson
Libarchive is a programming library that can create and read several different streaming archive formats, including most popular tar variants and several cpio formats. It can also write shar archives and read ISO9660 CDROM images. The bsdtar program is an implementation of tar(1) that is built on t

[ANNOUNCEMENT] [1.7] Updated: {libarchive/libarchive2/libarchive-devel/bsdtar/bsdcpio}-2.7.1pre-10

2009-07-19 Thread Charles Wilson
Libarchive is a programming library that can create and read several different streaming archive formats, including most popular tar variants and several cpio formats. It can also write shar archives and read ISO9660 CDROM images. The bsdtar program is an implementation of tar(1) that is built on t

Re: OpenSSH - sftp not working for non-Administrator users

2009-07-19 Thread Christopher Faylor
On Sun, Jul 19, 2009 at 08:50:47PM -0500, Doug Lim wrote: >After a bit more research on the problem, I found a discussion thread on >the web discussing a similar problem from 2006. The difference is that >the thread discusses scp connections dropping immediately after >non-administrator authenti

Re: OpenSSH - sftp not working for non-Administrator users

2009-07-19 Thread Doug Lim
Christopher Faylor wrote: On Sun, Jul 19, 2009 at 08:50:47PM -0500, Doug Lim wrote: After a bit more research on the problem, I found a discussion thread on the web discussing a similar problem from 2006. The difference is that the thread discusses scp connections dropping immediately after

Re: OpenSSH - sftp not working for non-Administrator users

2009-07-19 Thread Doug Lim
Doug Lim wrote: Christopher Faylor wrote: On Sun, Jul 19, 2009 at 08:50:47PM -0500, Doug Lim wrote: After a bit more research on the problem, I found a discussion thread on the web discussing a similar problem from 2006. The difference is that the thread discusses scp connections dropping i

Re: OpenSSH - sftp not working for non-Administrator users

2009-07-19 Thread Christopher Faylor
On Sun, Jul 19, 2009 at 10:14:51PM -0500, Doug Lim wrote: >On Sun, Jul 19, 2009 at 10:37:42PM -0400, Christopher Faylor wrote: >>On Sun, Jul 19, 2009 at 08:50:47PM -0500, Doug Lim wrote: >>>After a bit more research on the problem, I found a discussion thread >>>on the web discussing a similar prob

Re: OpenSSH - sftp not working for non-Administrator users

2009-07-19 Thread Doug Lim
Christopher Faylor wrote: On Sun, Jul 19, 2009 at 10:14:51PM -0500, Doug Lim wrote: On Sun, Jul 19, 2009 at 10:37:42PM -0400, Christopher Faylor wrote: On Sun, Jul 19, 2009 at 08:50:47PM -0500, Doug Lim wrote: After a bit more research on the problem, I found a discussion thread