Attn: base-files maintainer? [Was: sshd from user account - env issues]

2012-09-19 Thread Charles Wilson
On 9/19/2012 1:41 PM, jafa wrote: Running SSHD from the user account like this basically works - I can ssh into the machine, but the env vars are not quite right. For example, local bash: TEMP=/tmp temp=C:\Users\build\AppData\Local\Temp TMP=/tmp tmp=C:\Users\build\AppData\Local\Temp SSH session

Re: bash output: ./configure: line 16: $'\r': command not found

2012-09-19 Thread Eric Blake
On 09/19/2012 03:06 PM, Richard Haney wrote: > Generally, there are lots and lots of script files for every build. That > means my builds could be crashing right and left all over the place if bash > does not always ignore carriage returns when it is supposed to. So I need > for bash to be abl

Re: bash output: ./configure: line 16: $'\r': command not found

2012-09-19 Thread Christopher Faylor
On Wed, Sep 19, 2012 at 02:06:53PM -0700, Richard Haney wrote: >Two problems (at least). Actually no problems. You can't reliably use shell scripts with \r\n line endings. So, you either have to fix the shell scripts with something like dos2unix (as recommended) or use the Cygwin-specific: >set

Re: bash output: ./configure: line 16: $'\r': command not found

2012-09-19 Thread Richard Haney
Two problems (at least). But there is a fix-up that appears to work (at least for me); see the end of this reply message. Generally, there are lots and lots of script files for every build. That means my builds could be crashing right and left all over the place if bash does not always ignore

sshd from user account - env issues

2012-09-19 Thread jafa
Hi, I am setting up a build server that is controlled via ssh. The build user account logs in automatically and runs the following on login: C:\cygwin\bin\bash.exe -l -i -c "/usr/sbin/sshd.exe" Normally SSHD runs as a service - this works well, except that one of the steps in the build process i

OpenSSH, Windows 2000, cygrunsrv 1.0

2012-09-19 Thread Andre Rothe
Hi, I have to use an outdated system with Windows 2000 Server and an OpenSSH service on it. It uses OpenSSH 3.8.1p1-1 for Windows, which uses a Cygwin server v1.0 or something. The problem: I try to mount a windows network share on the Cygwin server to use it as home of the ssh users. In the reg

Re: tcsh hang while executing scripts which use pipes with backticks

2012-09-19 Thread Roeder Roland
After various different attempts to nail down this issue I have some hope now that I have found a fix for it. I analyzed the changes of last to current version of tcsh and found one that is related to context of the problem and somewhat suspicious as well. The change I did then was the following: