RE: OpenSSH port forwarding bug

2014-02-14 Thread Karl M
> Subject: RE: OpenSSH port forwarding bug > Date: Fri, 14 Feb 2014 12:48:53 -0800 > > Hi Andrew... > > This is what I usually use in a proxycommand. So the example localized > it to just one layer. You can see that it connects to an ssh server and > then drops when I fail to complete the ha

Re: ps shows same process more than once

2014-02-14 Thread George M. Florendo
On 12/28/13, Christopher Faylor wrote: Oops. Sorry. Just noticed that the pids weren't "different". There are still pathological situations where a pid can show up twice when doing a "ps -W". I've seen the issue before but fixing it would involve a global process lock

Re: Re> [ANNOUNCEMENT] Updated: gcc-4.8.2-2 (x86_64)

2014-02-14 Thread JonY
On 2/15/2014 01:40, Angelo Graziosi wrote: > JonY wrote: >> KNOWN REGRESSIONS: >> The compiler internals are in /usr/libexec rather than in /usr/lib. This >> is a mistake on my part. Expect a fixed rebuild in 2-4 weeks time. > > On the mirrors I find tar-balls (still -2) with recent timestamps, >

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Frank Fesevur
2014-02-14 11:48 GMT+01:00 Corinna Vinschen: > Oh, hang on. I'm a tcsh gal, so I set /bin/tcsh in my AD domain entry. > However, the default is *not* /bin/bash, but /bin/sh at the moment. I'm > a bit fuzzy on bash, but does bash read the .bachrc file only if it's > called bash and not if it's cal

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Warren Young
On 2/14/2014 13:11, Warren Young wrote: "The reason we point all this out is that the requirements for restarting things are not quite as stringent as when you replace cygwin1.dll. If you have three process trees, you have three independent copies of the nsswitch information. You do not need to

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Warren Young
On 2/14/2014 03:42, Corinna Vinschen wrote: On Feb 13 17:30, Warren Young wrote: On 2/13/2014 07:38, Corinna Vinschen wrote: Apart from power shell scripting or inventing new CLI tools, these attributes can be changed using the "Attribute Editor" tab in the user properties dialog of

Re: Little cygpath improvement request

2014-02-14 Thread Andrey Repin
Greetings, Larry Hall (Cygwin)! > On 2/14/2014 1:22 PM, Andrey Repin wrote: >> Greetings, All! >> >> I would like to request a small functional change for cygpath. >> In the event of empty given path argument (i.e. `cygpath -ml ""') silently >> return an empty result without error message. >> This

Re: directory y: exe runs properly, directory x: exe quits straightaway

2014-02-14 Thread Marco Atzeri
On 14/02/2014 18:44, lothar atheling wrote: i am porting an application built with Visual C++ to build under Mingw gcc (CXX=/usr/bin/i686-w64-mingw32-g++) this is not the mingw list... in my development directory x, the program apparently builds correctly, but it quits directly when run.

Re: Little cygpath improvement request

2014-02-14 Thread Larry Hall (Cygwin)
On 2/14/2014 1:22 PM, Andrey Repin wrote: Greetings, All! I would like to request a small functional change for cygpath. In the event of empty given path argument (i.e. `cygpath -ml ""') silently return an empty result without error message. This would greatly simplify wrapper scripts. Why isn

Little cygpath improvement request

2014-02-14 Thread Andrey Repin
Greetings, All! I would like to request a small functional change for cygpath. In the event of empty given path argument (i.e. `cygpath -ml ""') silently return an empty result without error message. This would greatly simplify wrapper scripts. Sorry if this has been discussed already, google or

Re: Octave

2014-02-14 Thread Marco Atzeri
On 14/02/2014 18:30, Ash Hughes wrote: Thanks, what great timing :) Will there be an octave-signal package? Thanks, Ash oops octave-signal1.3.0-1 building the 64bit version, it was only on the 32bit list... Marco -- Problem reports: http://cygwin.com/problems.html FAQ:

directory y: exe runs properly, directory x: exe quits straightaway

2014-02-14 Thread lothar atheling
i am porting an application built with Visual C++ to build under Mingw gcc (CXX=/usr/bin/i686-w64-mingw32-g++) in my development directory x, the program apparently builds correctly, but it quits directly when run. when i copy the exe to another directory y, the program runs well. also, in the

Re> [ANNOUNCEMENT] Updated: gcc-4.8.2-2 (x86_64)

2014-02-14 Thread Angelo Graziosi
JonY wrote: KNOWN REGRESSIONS: The compiler internals are in /usr/libexec rather than in /usr/lib. This is a mistake on my part. Expect a fixed rebuild in 2-4 weeks time. On the mirrors I find tar-balls (still -2) with recent timestamps, around Feb. 12, 2014. Does this mean that the rebuild

Re: Octave

2014-02-14 Thread Ash Hughes
Thanks, what great timing :) Will there be an octave-signal package? Thanks, Ash On 14/02/14 17:14, Marco Atzeri wrote: > On 14/02/2014 16:28, Ash Hughes wrote: >> Hi, >> >> I have recently compiled (with some hopefully ignorable warnings at the >> end, although I don't have my Windows machine

Re: Octave

2014-02-14 Thread Marco Atzeri
On 14/02/2014 16:28, Ash Hughes wrote: Hi, I have recently compiled (with some hopefully ignorable warnings at the end, although I don't have my Windows machine here to look up which ones) the octave-forge packages for cygwin x64 and I came across a few issues. First, I found I had to patch mex.

Re: Interesting footnote about environment variables block

2014-02-14 Thread Corinna Vinschen
On Feb 14 16:22, Stephan Mueller wrote: > Andrey Repin wrote: > > > http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_shelloverview.mspx?pf=true > > > >> The maximum total environment variable size for all variables, which > >> includes variable names and the e

RE: Interesting footnote about environment variables block

2014-02-14 Thread Stephan Mueller
Andrey Repin wrote: > http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_shelloverview.mspx?pf=true > >> The maximum total environment variable size for all variables, which >> includes variable names and the equal sign, is 65,536KB. The actual limit, on old OS

Octave

2014-02-14 Thread Ash Hughes
Hi, I have recently compiled (with some hopefully ignorable warnings at the end, although I don't have my Windows machine here to look up which ones) the octave-forge packages for cygwin x64 and I came across a few issues. First, I found I had to patch mex.h from octave-devel, as discussed here:

Re: batch script execution failing with 255 exit code in cygwin 1.7.28

2014-02-14 Thread Christopher Faylor
On Fri, Feb 14, 2014 at 12:10:00PM +0530, Prakash Babu wrote: >Hi , > > >I use Cygwin to execute batch scripts on remote windows hosts using ssh. > >The batch script execution started failing with the latest cygwin >version 1.7.28. > >The exit code thrown is 255 and batch script is not able to proc

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Ken Brown
On 2/14/2014 9:14 AM, Corinna Vinschen wrote: On Feb 14 08:50, Ken Brown wrote: On 2/14/2014 6:00 AM, Corinna Vinschen wrote: On Feb 14 11:48, Corinna Vinschen wrote: On Feb 14 11:16, Frank Fesevur wrote: I've installed that snapshot on my work laptop, part of AD domain. I moved passwd and gr

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Corinna Vinschen
On Feb 14 08:50, Ken Brown wrote: > On 2/14/2014 6:00 AM, Corinna Vinschen wrote: > >On Feb 14 11:48, Corinna Vinschen wrote: > >>On Feb 14 11:16, Frank Fesevur wrote: > >>>I've installed that snapshot on my work laptop, part of AD domain. I > >>>moved passwd and group out of the way and noticed my

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Corinna Vinschen
On Feb 14 16:23, Andrey Repin wrote: > Greetings, Corinna Vinschen! > > >> >unix="value" Sets the NFS/Samba uid of the user to the decimal > >> > value. See the next chapter. > >> > >> I know I'm bikeshedding, but "unix" seems like a pretty vague > >> attribute name

Re: New passwd/group handling in Cygwin - test results and observations

2014-02-14 Thread Corinna Vinschen
On Feb 14 15:56, Andrey Repin wrote: > > But this is a problem not different from Linux. If you have a username > > with non-ASCII chars, it will use *some* encoding in the passwd DB, > > usually UTF-8 these days. If you then change the codeset in your > > application, you will still get your use

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Corinna Vinschen
On Feb 14 12:55, Kurt Franke wrote: > Corinna Vinschen cygwin.com> writes: > > > > Indeed. After the discussion yesterday I already realized that we will > > > need some commandline tool to request passwd and group entries. > > > > > > There is a function called getpw on Linux which allows to f

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Ken Brown
On 2/14/2014 6:00 AM, Corinna Vinschen wrote: On Feb 14 11:48, Corinna Vinschen wrote: On Feb 14 11:16, Frank Fesevur wrote: I've installed that snapshot on my work laptop, part of AD domain. I moved passwd and group out of the way and noticed my .bashrc is not executed. [...] Most noticeable d

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Kurt Franke
Corinna Vinschen cygwin.com> writes: > > Indeed. After the discussion yesterday I already realized that we will > > need some commandline tool to request passwd and group entries. > > > > There is a function called getpw on Linux which allows to fetch a passwd > > entry in the form it has in /e

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Andrey Repin
Greetings, Corinna Vinschen! >> >unix="value" Sets the NFS/Samba uid of the user to the decimal >> > value. See the next chapter. >> >> I know I'm bikeshedding, but "unix" seems like a pretty vague >> attribute name here. >> >> unix="good" ? >> unix="linux"

Re: New passwd/group handling in Cygwin - test results and observations

2014-02-14 Thread Andrey Repin
Greetings, Corinna Vinschen! >> The issue can be observed when you have a user or group name containing >> characters outside basic ASCII character set. Even western diacritics will >> suffice. >> >> Add somewhere in your startup files an equivalent of the following block: >> (I have it in privat

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Corinna Vinschen
On Feb 14 11:48, Corinna Vinschen wrote: > On Feb 14 11:16, Frank Fesevur wrote: > > I've installed that snapshot on my work laptop, part of AD domain. I > > moved passwd and group out of the way and noticed my .bashrc is not > > executed. > > [...] > > Most noticeable difference between the two ar

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Corinna Vinschen
On Feb 14 11:10, Corinna Vinschen wrote: > On Feb 14 10:02, Dave Kilroy wrote: > > On 13/02/2014 21:48, David Stacey wrote: > > >On 13/02/2014 19:36, m0viefreak wrote: > > >>Grepping through /bin I found at least one other package > > >>that makes use of /etc/passwd as a file directly (cvsbug), but

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Corinna Vinschen
On Feb 14 11:16, Frank Fesevur wrote: > 2014-02-13 15:38 GMT+01:00 Corinna Vinschen: > > This is a pretty intrusive change, in need of some serious testing, so > > I'd like to ask for volunteers. The latest 2014-02-13 snapshot from > > http://cygwin.com/snapshots/ contains the changes, including t

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Corinna Vinschen
On Feb 13 17:30, Warren Young wrote: > On 2/13/2014 07:38, Corinna Vinschen wrote: > > > >The new > >mechanism will never read the entire file into memory, but only scan > >for the requested entry and cache this one in memory[2]. > > Does this feature avoid the stale cache problem? > > For instan

Re: New passwd/group handling in Cygwin - test results and observations

2014-02-14 Thread Corinna Vinschen
On Feb 14 02:11, Andrey Repin wrote: > Greetings, Corinna Vinschen! > > > This week I applied the first incarnation of the new passwd/group > > handling code to the Cygwin repository and after fixing a crash which > > manifested in Denis Excoffier's network, I think we're at a point > > which allo

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Frank Fesevur
2014-02-13 15:38 GMT+01:00 Corinna Vinschen: > This is a pretty intrusive change, in need of some serious testing, so > I'd like to ask for volunteers. The latest 2014-02-13 snapshot from > http://cygwin.com/snapshots/ contains the changes, including the latest > bugfix. I've installed that snaps

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Corinna Vinschen
On Feb 14 10:02, Dave Kilroy wrote: > On 13/02/2014 21:48, David Stacey wrote: > >On 13/02/2014 19:36, m0viefreak wrote: > >>Grepping through /bin I found at least one other package > >>that makes use of /etc/passwd as a file directly (cvsbug), but > >>since I don't have everything installed I can

Re: Interesting footnote about environment variables block

2014-02-14 Thread Peter Rosin
On 2014-02-14 08:50, Andrey Repin wrote: > Greetings, All! > > I just found this document: > http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_shelloverview.mspx?pf=true > > At the very bottom of it, you may find the note: > >> The maximum total environment va

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Corinna Vinschen
On Feb 13 21:48, David Stacey wrote: > On 13/02/2014 19:36, m0viefreak wrote: > >Grepping through /bin I found at least one other package > >that makes use of /etc/passwd as a file directly (cvsbug), but > >since I don't have everything installed I can only assume there > >are more cygwin-packages

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Corinna Vinschen
On Feb 14 00:36, Warren Young wrote: > On Feb 13, 2014, at 4:11 PM, Warren Young wrote: > > > If we save only 1/20 second (say 0.1 sec down to 0.05) per process launch, > > we can save tens of seconds on such a command sequence. > > > > I look forward to testing this. > > I decided to build R,

Re: get rid of getpwent?

2014-02-14 Thread Corinna Vinschen
On Feb 13 21:41, Achim Gratz wrote: > Corinna Vinschen writes: > > Oh, hmm. Well, it might be possible, but somehow I'm not excited by the > > idea. While it looks like getpwent is mostly used for this purpose, you > > don't really know it. I think I'll try to implement it fully and then > > let

Re: ssh: Could not resolve hostname

2014-02-14 Thread Corinna Vinschen
On Feb 14 09:00, Tomas Jankovic wrote: > Hi, > > after update all packages ssh cannot recognize host with upper case > letter in name in config file. I have tried install older version of > ssh, but > nothing has changed. For example I have this record in my config file: > > $ cat ~/.ssh/config >

Re: ssh: Could not resolve hostname

2014-02-14 Thread Tomas Jankovic
it is only typo in email. In config file there is 's' in 'hostname'. Tomas On 14.02.2014 09:57, Frank Fesevur wrote: 2014-02-14 9:00 GMT+01:00 Tomas Jankovic: $ cat ~/.ssh/config Host Example hotname 127.0.0.1 No ssh expert, but if "hotname" is really in your config file, I would try to ad

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-14 Thread Dave Kilroy
On 13/02/2014 21:48, David Stacey wrote: On 13/02/2014 19:36, m0viefreak wrote: Grepping through /bin I found at least one other package that makes use of /etc/passwd as a file directly (cvsbug), but since I don't have everything installed I can only assume there are more cygwin-packages and oth

Re: ssh: Could not resolve hostname

2014-02-14 Thread Frank Fesevur
2014-02-14 9:00 GMT+01:00 Tomas Jankovic: > $ cat ~/.ssh/config > Host Example > hotname 127.0.0.1 No ssh expert, but if "hotname" is really in your config file, I would try to add an "s". Regards, Frank -- Problem reports: http://cygwin.com/problems.html FAQ: http://cyg

Re: batch script execution failing with 255 exit code in cygwin 1.7.28

2014-02-14 Thread Andrey Repin
Greetings, Prakash Babu! > I use Cygwin to execute batch scripts on remote windows hosts using ssh. > The batch script execution started failing with the latest cygwin > version 1.7.28. > The exit code thrown is 255 and batch script is not able to process > the command line arguments. > When I

Interesting footnote about environment variables block

2014-02-14 Thread Andrey Repin
Greetings, All! I just found this document: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_shelloverview.mspx?pf=true At the very bottom of it, you may find the note: > The maximum total environment variable size for all variables, which > includes variable

ssh: Could not resolve hostname

2014-02-14 Thread Tomas Jankovic
Hi, after update all packages ssh cannot recognize host with upper case letter in name in config file. I have tried install older version of ssh, but nothing has changed. For example I have this record in my config file: $ cat ~/.ssh/config Host Example hotname 127.0.0.1 $ ssh -vvv Example O