Re: setting cygwin terminal (mintty) title from a very remote system

2014-04-11 Thread Duncan Roe
On Fri, Apr 11, 2014 at 12:13:07PM -0700, Ross Boylan wrote: > I typically connect to systems through several hops; this note is about how > I managed to set the title of the cygwin terminal to match the remote > system. Usually it just shows the name on the first hop only. I would > love to lea

Re: Still testing needed: New passwd/group AD/SAM integration

2014-04-11 Thread Duncan Roe
On Fri, Apr 11, 2014 at 02:39:34PM +0200, Corinna Vinschen wrote: > On Apr 11 16:20, Duncan Roe wrote: > > On Thu, Apr 10, 2014 at 09:47:26PM -0600, Warren Young wrote: > > > On 4/10/2014 20:16, Duncan Roe wrote: > > > >Yes, I'm one of those users. I need my login name to match the Linux > > > >sy

Re: OpenSSH Package Distribution Architecture Mismatch

2014-04-11 Thread Larry Hall (Cygwin)
On 4/11/2014 5:49 PM, Auteria W. Winzer Jr. wrote: I noticed an anomaly within both 32bit and 64bit distributions of OpenSSH. The package maintainer inadvertently placed the architectures in their opposition. At 1st glance I thought I had clicked the wrong icon thinking I was using 64bit within

OpenSSH Package Distribution Architecture Mismatch

2014-04-11 Thread Auteria W. Winzer Jr.
I noticed an anomaly within both 32bit and 64bit distributions of OpenSSH. The package maintainer inadvertently placed the architectures in their opposition. At 1st glance I thought I had clicked the wrong icon thinking I was using 64bit within 32bit's space, and vice-versa. The latest OpenSSH

Two problems getting user and group info from /etc/{passwd,group}

2014-04-11 Thread q q
Dear Cygwin developers, Can you please take a look? - We came across a couple problems (times two, because they're identical for /etc/group as well): 1.  When '/etc/passwd' gets reloaded, it can't add the last (default) line for uid=-1 because pretty_ls[] has already been parsed (':'s replace

Re: [PATCH] base-files-4.2-1: Change prompt if running with admin rights

2014-04-11 Thread Christian Franke
Thomas Wolff wrote: I use this in .bashrc (to embed $rootmark in an ESC sequence in PS1 later). I think it doesn't have specific dependencies and also it's portable (except the group names are Windows ones...). It's not portable because Windows default user/group names are localized. if i

Re: setting cygwin terminal (mintty) title from a very remote system

2014-04-11 Thread Adam Dinwoodie
On Fri, Apr 11, 2014 at 12:13:07PM -0700, Ross Boylan wrote: > I typically connect to systems through several hops; this note is > about how I managed to set the title of the cygwin terminal to match > the remote system. Usually it just shows the name on the first hop > only. I would love to lea

setting cygwin terminal (mintty) title from a very remote system

2014-04-11 Thread Ross Boylan
I typically connect to systems through several hops; this note is about how I managed to set the title of the cygwin terminal to match the remote system. Usually it just shows the name on the first hop only. I would love to learn there is a better way to get the same results. Various intern

Re: We need steenking patches (Re: Cygwin kill utility...)

2014-04-11 Thread Christopher Faylor
On Fri, Apr 11, 2014 at 02:10:42PM +0200, Corinna Vinschen wrote: >On Apr 11 09:01, Peter Rosin wrote: >>The newlib license is liberal enough for RedHat to relicense it under >>their own terms? > >That's it, more or less. I have never seen how you can have it both ways, legally speaking. I was to

Re: sshd buildup of CLOSE_WAIT leading to unable to function

2014-04-11 Thread Joshua Hudson
The interesting detail is it would always stop at exactly 64 sockets open; which is the maximum number for which select() doesn't have to spawn a second thread. Problem disappeared. Given the traces I got the reproduction would involve somebody's deranged trojan SSH scanner. 64 to too low for Fai

Re: Still testing needed: New passwd/group AD/SAM integration

2014-04-11 Thread Corinna Vinschen
On Apr 10 14:24, Eric Blake wrote: > On 04/10/2014 01:46 PM, Achim Gratz wrote: > > Corinna Vinschen writes: > >> * cygserver now provides system-wide passwd/group entry caching. > >> > >> All processes started *after* cygserver will try to fetch passwd > >> and group entries from cygserver. W

Re: Still testing needed: New passwd/group AD/SAM integration

2014-04-11 Thread Corinna Vinschen
On Apr 10 21:46, Achim Gratz wrote: > Corinna Vinschen writes: > > * cygserver now provides system-wide passwd/group entry caching. > > > > All processes started *after* cygserver will try to fetch passwd > > and group entries from cygserver. While this is probably a bit > > slow at the star

Re: Still testing needed: New passwd/group AD/SAM integration

2014-04-11 Thread Corinna Vinschen
On Apr 11 16:20, Duncan Roe wrote: > On Thu, Apr 10, 2014 at 09:47:26PM -0600, Warren Young wrote: > > On 4/10/2014 20:16, Duncan Roe wrote: > > >Yes, I'm one of those users. I need my login name to match the Linux > > >systems so > > >I can use rsh and not be challenged for a password when the cy

Re: Still testing needed: New passwd/group AD/SAM integration

2014-04-11 Thread Corinna Vinschen
On Apr 10 16:21, Warren Young wrote: > On 4/10/2014 14:20, Eric Blake wrote: > >is BOUND to go wrong. The expression > > > >~a/b/file > > > >is NOT requesting 'file' within user 'a/b's home, but 'b/file' within > >user 'a's home. > > Excellent point. > > Doesn't that also argue against backslash

Re: Still testing needed: New passwd/group AD/SAM integration

2014-04-11 Thread Corinna Vinschen
On Apr 10 14:20, Eric Blake wrote: > On 04/10/2014 01:04 PM, Corinna Vinschen wrote: > > A local cygwin user told me that the users in their company would > > probably be confused by the '+ or, FWIW, any other non-backslash char, > > because they were drilled to see and use usernames always in doma

Re: We need steenking patches (Re: Cygwin kill utility...)

2014-04-11 Thread Corinna Vinschen
On Apr 11 09:01, Peter Rosin wrote: > On 2014-04-11 04:17, Christopher Faylor wrote: > > On Fri, Apr 11, 2014 at 01:15:12AM +0200, Peter Rosin wrote: > >> ... The reason I'm not contributing more is the requirement > >> to assign copyright to a for-profit organization. Sorry. > > > > Yeah. That b

Re: We need steenking patches (Re: Cygwin kill utility...)

2014-04-11 Thread Corinna Vinschen
On Apr 11 15:03, Andrey Repin wrote: > Greetings, Corinna Vinschen! > > >> > On Wed, Apr 9, 2014 at 11:50 AM, Warren Young wrote: > >> >> If you think web code repository searching and a public bug tracker are > >> >> primary barriers to contribution, you aren't being honest with yourself. > >> >>

Re: Possible bug with chere 1.4 when configuring for fish

2014-04-11 Thread Andrey Repin
Greetings, Dave Kilroy! > -1 mode fails because fish would prefer cygpath was run on the argument > first. I'm not sure why this works in bash. Because bash know what is going on. In fact, many cygwin tools recognize native paths. > I'll try put together a fix for the latter issue, but it may be

Re: We need steenking patches (Re: Cygwin kill utility...)

2014-04-11 Thread Andrey Repin
Greetings, Corinna Vinschen! >> > On Wed, Apr 9, 2014 at 11:50 AM, Warren Young wrote: >> >> If you think web code repository searching and a public bug tracker are >> >> primary barriers to contribution, you aren't being honest with yourself. >> >> They are nice, but not necessary. >> >> > I am

Re: [PATCH] base-files-4.2-1: Change prompt if running with admin rights

2014-04-11 Thread Thomas Wolff
Am 10.04.2014 03:39, schrieb Andrey Repin: Greetings, Achim Gratz! Christian Franke writes: Attached is an updated version of: https://sourceware.org/ml/cygwin/2012-02/msg00806.html I'll put this on hold until the AD integration has landed in Cygwin (which will require some larger changes any

Re: We need steenking patches (Re: Cygwin kill utility...)

2014-04-11 Thread Peter Rosin
On 2014-04-11 04:17, Christopher Faylor wrote: > On Fri, Apr 11, 2014 at 01:15:12AM +0200, Peter Rosin wrote: >> ... The reason I'm not contributing more is the requirement >> to assign copyright to a for-profit organization. Sorry. > > Yeah. That bothered me a little when I first had to do it an