Free SFTP server for Windows?

2006-02-23 Thread Angel Tsankov
Can someone recommend a free SFTP server that has been ported to Windows? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Perl NET::SERVER module acts strangly in cygwin

2006-02-23 Thread Bruce Dobrin
HI All, Perhaps this is the wrong list for this, but as it is Cygwin specific... Anyone have any experience with the perl NET::SERVER module? I have been re-writing some of my perl servers using the NET::SERVER::PREFORK (v.90)module. All is well on Linux but in Cygwin (1.5.18) everything works f

Re: Hanging at GetModuleFileName in inside_kernel function

2006-02-23 Thread Christopher Faylor
On Thu, Feb 23, 2006 at 03:43:25PM -0800, Peter Rehley wrote: >On Feb 23, 2006, at 10:13 AM, Dave Korn wrote: > >>On 23 February 2006 16:20, Peter Rehley wrote: >> >>>Yeah, I saw that change, and I tried yesterdays snapshot but it still >>>hung. I also did some more googling and found that someone

Re: cygwin scp -r fails

2006-02-23 Thread Greg Tokarski
Corinna Vinschen cygwin.com> writes: > On Feb 22 23:04, Greg Tokarski wrote: > > I just installed the dev. snapshot as suggested by Corinna > > > Are you running Cygwin 1.5.19-4? Anyway, try the latest developer's > > > snapshot from http://cygwin.com/snapshots/ It probably solves your > > > pro

Re: Cygwin Bash shell on Windows 2003 Server not working

2006-02-23 Thread Nitin Agarwal
Eric, I tried copyinh the bash as sh.exe by running your command but it did not work. And when I run .\bash.exe -livx I get the same error in stack dump - Exception: STATUS_ACCESS_VIOLATION at eip=00437B40 eax=4000 ebx=0004 ecx=610FCE28 edx= esi=0022EED9 edi=61102C1C ebp=0022EEA8

Re: Hanging at GetModuleFileName in inside_kernel function

2006-02-23 Thread Peter Rehley
On Feb 23, 2006, at 10:13 AM, Dave Korn wrote: On 23 February 2006 16:20, Peter Rehley wrote: Yeah, I saw that change, and I tried yesterdays snapshot but it still hung. I also did some more googling and found that someone submitted a patch a few years ago. The patch checked to see if it wa

Re: sshd, /etc/hosts.allow, & Alternate Access Methods

2006-02-23 Thread Tim Daneliuk
Igor Peshansky wrote: On Thu, 23 Feb 2006, Tim Daneliuk wrote: Igor Peshansky wrote: On Thu, 23 Feb 2006, Tim Daneliuk wrote: Same reason -- Cygwin isn't really ACL-aware. You can also restore the original ACLs by running something like "getfacl hosts.allow | setfacl -f - hosts.allo

Re: sshd, /etc/hosts.allow, & Alternate Access Methods

2006-02-23 Thread Igor Peshansky
On Thu, 23 Feb 2006, Tim Daneliuk wrote: > Igor Peshansky wrote: > > > On Thu, 23 Feb 2006, Tim Daneliuk wrote: > > > > > > Same reason -- Cygwin isn't really ACL-aware. You can also restore > > the original ACLs by running something like "getfacl hosts.allow | > > setfacl -f - hosts.allow.orig"

Re: OpenGL issues

2006-02-23 Thread René Berber
CSEngineer wrote: > I am having difficulties with running some opengl sample programs on > cygwin. I have installed the opengl package distributed with cygwin. > # > $ gcc -g -o abgr.c -lopengl32 -lglut32 -lglu32 ---^^

OpenGL issues

2006-02-23 Thread CSEngineer
hi, I am having difficulties with running some opengl sample programs on cygwin. I have installed the opengl package distributed with cygwin. # $ gcc -g -o abgr.c -lopengl32 -lglut32 -lglu32 /usr/lib/gcc/i686-pc-cygwin/3.4.4/.

Re: script in cygwin

2006-02-23 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steven O'Brien wrote: > I have a patch for this package that enables building on cygwin of the > following programs as used in fedora core 4: > arch > chkdupexe > hexdump > line > logger > pg > renice > s

Question about rxvt

2006-02-23 Thread MaurĂ­cio
Hi, I've been using rxvt, as recommended by chere man page. I have a problem: in some non-cygwin console programs (ghci, the Haskell interpreter, and others) the up arrow key doesn't work as expected. Instead of repeating the last line, the cursor goes up. Why does that happens? Is there s

Re: script in cygwin

2006-02-23 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Igor Peshansky wrote: > IIRC, "script" is available on cygwin-ports[*], but note that cygwin-ports > has its own support list. Yaakov did say that he'd be ok with someone > else proposing to maintain it -- are you willing? > Igor > [*] See, e.g.

Re: Shells hang during script execution

2006-02-23 Thread Christopher Faylor
On Thu, Feb 23, 2006 at 04:35:12PM -0500, Ernie Coskrey wrote: >Here's a description of a second hang condition we were encountering, along >with a patch for it. > > >The application (pdksh in this case) does a read on a pipe, which eventually >calls pipe.cc fhandler_pipe::read in Thread 1. This

Re: Shells hang during script execution

2006-02-23 Thread Christopher Faylor
On Thu, Feb 23, 2006 at 04:40:33PM -0500, Christopher Faylor wrote: >On Thu, Feb 23, 2006 at 04:33:45PM -0500, Ernie Coskrey wrote: >>There are two hang conditions that we've identified and have developed fixes >>for. This is a description of the first of the two along with a patch; I'll >>follo

Re: Shells hang during script execution

2006-02-23 Thread Christopher Faylor
On Thu, Feb 23, 2006 at 04:33:45PM -0500, Ernie Coskrey wrote: >There are two hang conditions that we've identified and have developed fixes >for. This is a description of the first of the two along with a patch; I'll >follow up with a description and patch for the second. > > >If a signal can't

RE: Shells hang during script execution

2006-02-23 Thread Ernie Coskrey
Here's a description of a second hang condition we were encountering, along with a patch for it. The application (pdksh in this case) does a read on a pipe, which eventually calls pipe.cc fhandler_pipe::read in Thread 1. This creates a new cygthread with "read_pipe()" as the function. Then i

RE: Shells hang during script execution

2006-02-23 Thread Ernie Coskrey
There are two hang conditions that we've identified and have developed fixes for. This is a description of the first of the two along with a patch; I'll follow up with a description and patch for the second. If a signal can't be handled because it is blocked, it gets queued (on the process's

Re: bindresvport(): can it be exported from cygwin1.dll?

2006-02-23 Thread Andrew Schulman
> > I see that bindresvport.c is part of the cygwin source code. > > You have apparently better eyes then I have. Where did you see that > bindresvport function in Cygwin? > > If you're talking about the implementation in newlib/libc/sys/linux/... > then it's unusable for Cygwin. There's a reas

Re: bindresvport(): can it be exported from cygwin1.dll?

2006-02-23 Thread Corinna Vinschen
On Feb 23 14:29, Andrew Schulman wrote: > I'm trying to build dante, a SOCKS client and server, for Cygwin. Right now > build is failing with > > .libs/Rbindresvport.o: In function `Rbindresvport': > /usr/local/src/dante-1.1.19/lib/Rbindresvport.c:68: undefined reference to > `_bindresvport' > >

bindresvport(): can it be exported from cygwin1.dll?

2006-02-23 Thread Andrew Schulman
I'm trying to build dante, a SOCKS client and server, for Cygwin. Right now build is failing with .libs/Rbindresvport.o: In function `Rbindresvport': /usr/local/src/dante-1.1.19/lib/Rbindresvport.c:68: undefined reference to `_bindresvport' based on a call to bindresvport(). bindresvport() is n

Re: script in cygwin

2006-02-23 Thread Steven O'Brien
On Wed, 22 Feb 2006, Jim Easton wrote: > Does cygwin have a program called "script". It is a program > which records terminal traffic in a file. > > If so what would I select in setup to get it? Fedora Core 4 gets this program from a package called "util-linux", which I guess is roughly equivale

Re: Hanging at GetModuleFileName in inside_kernel function

2006-02-23 Thread Christopher Faylor
On Thu, Feb 23, 2006 at 06:13:40PM -, Dave Korn wrote: >On 23 February 2006 16:20, Peter Rehley wrote: > >> Yeah, I saw that change, and I tried yesterdays snapshot but it still >> hung. I also did some more googling and found that someone submitted >> a patch a few years ago. The patch check

Re: sshd, /etc/hosts.allow, & Alternate Access Methods

2006-02-23 Thread Tim Daneliuk
Igor Peshansky wrote: On Thu, 23 Feb 2006, Tim Daneliuk wrote: Same reason -- Cygwin isn't really ACL-aware. You can also restore the original ACLs by running something like "getfacl hosts.allow | setfacl -f - hosts.allow.orig" (assuming the owner stays the same). -rwx--+ 1 tundra

RE: Hanging at GetModuleFileName in inside_kernel function

2006-02-23 Thread Dave Korn
On 23 February 2006 16:20, Peter Rehley wrote: > Yeah, I saw that change, and I tried yesterdays snapshot but it still > hung. I also did some more googling and found that someone submitted > a patch a few years ago. The patch checked to see if it was inside > the ntdll.dll by looking at the han

Re: sshd, /etc/hosts.allow, & Alternate Access Methods

2006-02-23 Thread Eric Blake
> > Cygwin isn't ACL-aware, and file creation operations don't retain the > original ACLs -- Cygwin constructs them anew to reflect the permission > mapping. See . > To make sure you keep the ACLs, use an editor that edits files in-place, >

Re: sshd, /etc/hosts.allow, & Alternate Access Methods

2006-02-23 Thread Igor Peshansky
On Thu, 23 Feb 2006, Igor Peshansky wrote: > Cygwin isn't ACL-aware... To be more precise, Cygwin doesn't support ACL APIs for files beyond what Windows provides (and those are really outside of Cygwin). Cygwin obviously has to be aware of ACLs to construct them for the POSIX permission mapping.

Re: sshd, /etc/hosts.allow, & Alternate Access Methods

2006-02-23 Thread Igor Peshansky
On Thu, 23 Feb 2006, Tim Daneliuk wrote: > Is anyone familiar with alternate access methods as they apply to > cygwin? If I edit /etc/hosts.allow, the alternate access method > (indicated by a '+' in an 'ls -l' listing) gets lost. Thereafter > /etc/hosts.allow is no longer properly observed by ssh

sshd, /etc/hosts.allow, & Alternate Access Methods

2006-02-23 Thread Tim Daneliuk
Is anyone familiar with alternate access methods as they apply to cygwin? If I edit /etc/hosts.allow, the alternate access method (indicated by a '+' in an 'ls -l' listing) gets lost. Thereafter /etc/hosts.allow is no longer properly observed by sshd - it makes ssh logins impossible from anything

Problem to launch bash from a shotcut

2006-02-23 Thread Mark Craddle
I work since years with Cygwin and never found a nice way to launch a "standalone" bash script from a shortcut and/or a Windows batch file. Say I have a directory with : bash.exe cygiconv-2.dll cygintl-3.dll cygncurses-8.dll cygreadline6.dll cygwin1.dll my_script(a bash script)

Re: proftpd + mod_tsl + cygwin under win2003

2006-02-23 Thread Jason Tishler
On Wed, Feb 22, 2006 at 01:00:53PM -0800, Tyler Durden wrote: > When I run the daemon (net start "cygwin proftpd" in > Windows), I get this error in /var/log/proftpd.log > > myservername - PRIVS_RELINQUISH: unable to > seteuid(session.uid): Invalid argument > myservername - PRIVS_RELINQUISH: unabl

Re: Snapshot report - ssh error

2006-02-23 Thread Corinna Vinschen
On Feb 23 08:54, Karl M wrote: > Hi All... > > It was a permissions problem with /var/run/utmp. > > But that got me looking...back in Nov 2003, Corinna made the following > change to ssh-host-config > [...] > And I am curious why set the permissions to 777 on /var/log/lastlog if it > is a direc

Re: Snapshot report - ssh error

2006-02-23 Thread Karl M
Hi All... It was a permissions problem with /var/run/utmp. But that got me looking...back in Nov 2003, Corinna made the following change to ssh-host-config # Create /var/log and /var/log/lastlog if not already existing -if [ -f /var/log ] +if [ -f ${LOCALSTATEDIR}/log ] then - echo "Creatin

Re: please test snapshots: we'd like to release cygwin version 1.20

2006-02-23 Thread Eric Blake
Eric Blake byu.net> writes: > In an effort to help the testing be easier to perform, I will soon be releasing > an experimental coreutils-5.94-2 that uses the d_ino member in ls and also > in /bin/pwd Now released, but it pointed out an upstream bug in coreutils - 'ls -i' currently stubbornly

Re: apache2 mod_perl

2006-02-23 Thread Jason J. Czerak
it's there. it's a seperate package. On Thu, 2006-02-23 at 17:46 +0100, Gunnar Thielebein wrote: > Hm, like I read in another thread package for apache2 comes without apsx > fortunately after installing apache1.3 found apsx in /usr/sbin > > > stock apache2 install on cwgwin is /usr/sbin/ > > > >

Re: apache2 mod_perl

2006-02-23 Thread Gunnar Thielebein
Hm, like I read in another thread package for apache2 comes without apsx fortunately after installing apache1.3 found apsx in /usr/sbin stock apache2 install on cwgwin is /usr/sbin/ I thine /usr/sbin/apxs2 you may need the apache apr package search for "bin/apxs2" On Thu, 2006-02-23 at 17:

Re: Cygwin Bash shell on Windows 2003 Server not working

2006-02-23 Thread Eric Blake
Ugh - topposting reformatted: http://cygwin.com/acronyms/#TOFU > On 2/23/06, Eric Blake wrote: ^ Ugh - raw email: http://cygwin.com/acronyms/#PCYMTNQREAIYR > > > > Try rerunning setup.exe to reinstall bash: > > > > > Not Found: sh > > > > Until that line

apache2 mod_perl

2006-02-23 Thread Gunnar Thielebein
Ive installed apache2 on cygwin and now I want to compile mod_perl for it which asks for apxs and breaks install process because file is not installed. (by the way why is default path for apache2 not set like in all manuals/howtos in the web? /usr/local/apache2/bin/). can i download this script

Re: Hanging at GetModuleFileName in inside_kernel function

2006-02-23 Thread Peter Rehley
Hi, On Feb 23, 2006, at 3:20 AM, Corinna Vinschen wrote: On Feb 21 13:56, Peter Rehley wrote: On Feb 21, 2006, at 11:31 AM, Dave Korn wrote: On 21 February 2006 19:06, Peter Rehley wrote: Hi, Well, for my particular hang issue cygwin is hanging inside the inside_kernel function on the GetM

experimental coreutils-5.94-2

2006-02-23 Thread Eric Blake
An experimental release of coreutils, 5.94-2, is available to help test the latest snapshots in preparation for cygwin 1.5.20. To use this version, you must have a recent snapshot (20060220 or later) installed, then use the Exp button of setup.exe to select the experimental version of coreutils.

1.5.19-4 mpd crashes when forking

2006-02-23 Thread Pat Kelly
I can compile and run the latest (stable) mpd, but whenever it would fork (like if its run as a daemon or mpc tries to play it), it crashes with: 102 [main] mpd 3796 C:\cygwin\usr\local\bin\mpd.exe *** fatal error - MapViewOfFileEx (0x13B), Win32 error 6. Terminating. 7 [main] mpd 3704 child_c

Re: Cygwin Bash shell on Windows 2003 Server not working

2006-02-23 Thread Nitin Agarwal
Eric, Thanks for the reply. I have run the cygwin install 3-4 times after removing everything. But I still get the same error. And the installation package downloaded from cygwin website works fine on one of my Windows XP machine. You have pointed out an error - > > Not Found: sh Can I copy thi

Re: Distributing Cygwin DLLs with my app

2006-02-23 Thread Dave Bryan
Igor Thanks very much for your reply. I appreciate your time and the points you raised. Regards Dave On Thu, 23 Feb 2006, Dave Bryan wrote: I have an application for Windows written in VC++ which spawns the GNU tools GCC, LD, etc. As the GNU programs use the Cygwin DLLs I need those also

Re: Croatian fonts

2006-02-23 Thread Igor Peshansky
On Thu, 23 Feb 2006, rakbsub wrote: > Anyone know if cygwin accepts unicode fonts on the command line? Cygwin does not do Unicode, but it does allow (or, rather, doesn't disallow) native codepages. For example, I have no problem using Cyrillic fonts with Cygwin -- you need to use the fonts in th

Re: Distributing Cygwin DLLs with my app

2006-02-23 Thread Igor Peshansky
On Thu, 23 Feb 2006, Dave Bryan wrote: > I have an application for Windows written in VC++ which spawns the GNU > tools GCC, LD, etc. As the GNU programs use the Cygwin DLLs I need those > also. Is is possible to distribute just the needed Cygwin DLLs with my > app + GNU tools rather than the comp

Re: script in cygwin

2006-02-23 Thread Igor Peshansky
On Wed, 22 Feb 2006, Jim Easton wrote: > Does cygwin have a program called "script". It is a program > which records terminal traffic in a file. > > If so what would I select in setup to get it? . According to the package search page,

RE: length of the sidebar in rxvt [attn: base-files maintainer]

2006-02-23 Thread Eric Blake
Forwarded to list: http://cygwin.com/acronyms/#PPIOSPE From: "Jerry D. Hedden" <[EMAIL PROTECTED]> > > From: Eric Blake > > Should we start providing /etc/defaults/etc/skel/.Xdefaults, so that new > > users can have a sample ~/.Xdefaults to start from in customizing their > > use of rxvt? > > Sou

Re: Croatian fonts

2006-02-23 Thread rakbsub
Anyone know if cygwin accepts unicode fonts on the command line? -- View this message in context: http://www.nabble.com/Croatian-fonts-t1160474.html#a3090203 Sent from the Cygwin Users forum at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: problem with starting services in 1.5.19

2006-02-23 Thread Yadin Y. Goldschmidt
I will try sending the attachment again so it will not be encoded. "Yadin Y. Goldschmidt" wrote in message news:[EMAIL PROTECTED] I reported this in the past but received no response. Services like cron and sshd hang up when starting with cygrunsrv in 1.5.29. Upon reboot, most often one starts a

Re: Cygwin Bash shell on Windows 2003 Server not working

2006-02-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Nitin Agarwal on 2/23/2006 6:31 AM: > > I always get an error in Bash.exe call. My Bash shell is not working. > Any help in this regard would be very helpful. I have included the > content of the dump file created when bash failed to star

Re: length of the sidebar in rxvt [attn: base-files maintainer]

2006-02-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > > You can set the number of scrollback lines with the -sl argument or the > saveLines resource. I recommend using resources so that you don't have > to supply a million command line arguments to rxvt on each invocation. > Just stick them in ~/.Xdef

Re: postinstall scripts: .sh and .sh.done

2006-02-23 Thread Chris Taylor
James McLaughlin wrote: Hi, While fixing a problem I'd posted to the group about (incidentally, thanks to Brian Dessent for identifying a Cygwin DLL version mismatch as the source of the other problem), I ran the post-texmf.sh script. I don't know if this was meant to give me any diagnostic info

postinstall scripts: .sh and .sh.done

2006-02-23 Thread James McLaughlin
Hi, While fixing a problem I'd posted to the group about (incidentally, thanks to Brian Dessent for identifying a Cygwin DLL version mismatch as the source of the other problem), I ran the post-texmf.sh script. I don't know if this was meant to give me any diagnostic information, but anyway it ran

Cygwin Bash shell on Windows 2003 Server not working

2006-02-23 Thread Nitin Agarwal
I am trying to install cygwin on a Win 2003 Enterprise Edition machine. I followed all you instructions but was not able to run the cygwin. I always get an error in Bash.exe call. My Bash shell is not working. Any help in this regard would be very helpful. I have included the content of the dump f

Distributing Cygwin DLLs with my app

2006-02-23 Thread Dave Bryan
Hi, I have an application for Windows written in VC++ which spawns the GNU tools GCC, LD, etc. As the GNU programs use the Cygwin DLLs I need those also. Is is possible to distribute just the needed Cygwin DLLs with my app + GNU tools rather than the complete Cygwin installation ? There wou

Re: Hanging at GetModuleFileName in inside_kernel function

2006-02-23 Thread Corinna Vinschen
On Feb 21 13:56, Peter Rehley wrote: > On Feb 21, 2006, at 11:31 AM, Dave Korn wrote: > > >On 21 February 2006 19:06, Peter Rehley wrote: > > > >>Hi, > >> > >>Well, for my particular hang issue cygwin is hanging inside the > >>inside_kernel function on the GetModuleFileName call. I tracked this >

Re: wanna ask

2006-02-23 Thread Corinna Vinschen
On Feb 23 08:59, stone cold steve austin wrote: > hi there > i would like to install cygwin as a part of my effort > to have graphic on dual networked monitors. However, i > tried to install cygwin from the following directory > but it cannot find them. > http://mirror.aarnet.edu.au/pub/cygwin/ >

Re: Snapshot report - ssh error

2006-02-23 Thread Corinna Vinschen
On Feb 22 20:51, Karl M wrote: > Hi All... > > With the latest snapshots (2/22, 2/20 and possible 2/19, not sure about > 2/19 and have not tried any before that) I get an error in my application > log like the following after each interactive ssh session loggs off. > > sshd: PID 2928: syslogin_

Re: cygwin scp -r fails

2006-02-23 Thread Corinna Vinschen
On Feb 22 23:04, Greg Tokarski wrote: > I just installed the dev. snapshot as suggested by Corinna > > > Are you running Cygwin 1.5.19-4? Anyway, try the latest developer's > > snapshot from http://cygwin.com/snapshots/ It probably solves your > > problem. > > and nothing seems to have changed.

wanna ask

2006-02-23 Thread stone cold steve austin
hi there i would like to install cygwin as a part of my effort to have graphic on dual networked monitors. However, i tried to install cygwin from the following directory but it cannot find them. http://mirror.aarnet.edu.au/pub/cygwin/ I believe this mirror have all the packages that i need, espec