Re: Rationale for line-ending recommendation?

2008-12-19 Thread David Abrahams
on Fri Dec 19 2008, Eric Blake wrote: > By the way, the program 'd2u' is your friend. I'm on *nix now to avoid all such issues, but yeah, when I have to run Cygwin in a VM, it's a thing to keep in mind. Thanks for all the responses everyone. -- Dave Abrahams BoostPro Computing http://www.boo

Rationale for line-ending recommendation?

2008-12-19 Thread David Abrahams
Can anyone explain why the installer began recommending using *nix line ending conventions? DOS-compatible endings have always "just worked" for me and I've heard of lots of problems doing it the now-recommended way. See http://news.gmane.org/find-root.php?message_id=%3ca61d44020812070523t3778f9

Re: SSH server does not kill child processes upon logout on Windows Server 2003 install

2007-03-15 Thread David Abrahams
on Wed Mar 07 2007, "Bruno Antunes" wrote: > Dear All, > > > I have installed cygwin yesterday, March 6th 2007 and I have it > running with perfect logging and even public key authentication. So > far, so good. > > Today, after an initial trial use, I started getting "could not > allocate pty" e

Re: sshd: can't mount samba shares

2007-03-13 Thread David Abrahams
on Tue Mar 13 2007, Corinna Vinschen wrote: > On Mar 13 12:51, David Abrahams wrote: >> on Tue Mar 13 2007, Corinna Vinschen wrote: >> > You will still see the wrong USERDOMAIN and USERNAME values >> > when using passwordless login, but you&#

Re: sshd: can't mount samba shares

2007-03-13 Thread David Abrahams
on Tue Mar 13 2007, Corinna Vinschen wrote: > Which reminds me... what you could try is this: Have a look into the > /bin/ssh-host-config script and create a user sshd_server the same way > as that script does on Windows 2K3 and newer. The simplest way would > be to remove the sshd service ent

sshd: process zombies

2007-03-13 Thread David Abrahams
I've been running remote builds on my windoze box with cygwin sshd by passing the compilation command to ssh (actually I'm doing this from within emacs). Often I kill these builds from my end when I notice something going wrong, but I've noticed that if I look in my windoze task manager a great ma

Re: sshd: can't mount samba shares

2007-03-13 Thread David Abrahams
on Tue Mar 13 2007, David Abrahams wrote: > on Mon Mar 12 2007, Corinna Vinschen wrote: > >> On Mar 9 12:42, David Abrahams wrote: >>> Corinna, if you indeed have a very basic setup, it should be very easy >>> to find out where my setup differs. I sure would app

Re: sshd: can't mount samba shares

2007-03-13 Thread David Abrahams
on Mon Mar 12 2007, Corinna Vinschen wrote: > On Mar 9 12:42, David Abrahams wrote: >> Corinna, if you indeed have a very basic setup, it should be very easy >> to find out where my setup differs. I sure would appreciate it. > > Well, if you can tell me what parameter I s

Re: sshd: can't mount samba shares

2007-03-09 Thread David Abrahams
on Wed Mar 07 2007, David Abrahams wrote: > on Wed Mar 07 2007, Corinna Vinschen wrote: >> On Mar 6 12:12, David Abrahams wrote: >>> >>> on Mon Mar 05 2007, Corinna Vinschen writes: >>> > I just realize that I mis-read your mail so that I >>>

Re: sshd: can't mount samba shares

2007-03-07 Thread David Abrahams
on Wed Mar 07 2007, Corinna Vinschen wrote: > On Mar 6 12:12, David Abrahams wrote: >> >> on Mon Mar 05 2007, Corinna Vinschen writes: >> > I just realize that I mis-read your mail so that I >> > thought it works on XP32 but doesn't work on XP64. You wr

Re: sshd: can't mount samba shares

2007-03-06 Thread David Abrahams
on Mon Mar 05 2007, Corinna Vinschen writes: > I just realize that I mis-read your mail so that I > thought it works on XP32 but doesn't work on XP64. You wrote that > it's the opposite. Then my answer is, "I don't know". It works for > me on XP32, but I never really expected it, as it didn't

Re: sshd: can't mount samba shares

2007-03-05 Thread David Abrahams
on Mon Mar 05 2007, Corinna Vinschen writes: > On Mar 5 08:43, David Abrahams wrote: >> Corinna Vinschen <[EMAIL PROTECTED]> writes: > > > > http://cygwin.com/acronyms/#PCYMTNQREAIYR OK, it took me an hour to figure out how to do that on Gnus. If you're going

Re: sshd: can't mount samba shares

2007-03-05 Thread David Abrahams
Corinna Vinschen <[EMAIL PROTECTED]> writes: > On Mar 5 08:43, David Abrahams wrote: >> Corinna Vinschen <[EMAIL PROTECTED]> writes: > > > > http://cygwin.com/acronyms/#PCYMTNQREAIYR > > > >> > On Mar 2 18:58, David Abrahams wrote: >> &

Re: sshd: can't mount samba shares

2007-03-05 Thread David Abrahams
Corinna Vinschen <[EMAIL PROTECTED]> writes: > On Mar 2 18:58, David Abrahams wrote: >> >> I have a Windows XP64 and XP (32-bit) virtual machine running on the >> same actual hardware, both with a cygwin installation, running sshd. >> When I ssh into the XP64 m

Re: very odd behavior of Cygwin python from CMD

2007-03-05 Thread David Abrahams
"Larry Hall (Cygwin)" <[EMAIL PROTECTED]> writes: > On 03/03/2007, David Abrahams wrote: >> Brian Dessent dessent net> writes: > > and if so, >> launch it as "sh.exe -c python", using sh.exe in the same >> > > dir as the shortcut.

Re: very odd behavior of Cygwin python from CMD

2007-03-03 Thread David Abrahams
Brian Dessent <[EMAIL PROTECTED]> writes: > David Abrahams wrote: > >> Now, I am writing a program that must use CMD to probe for python in >> the PATH and check its version. If I do the naive thing and just try >> to invoke "python," and there's a

Re: very odd behavior of Cygwin python from CMD

2007-03-03 Thread David Abrahams
David Abrahams <[EMAIL PROTECTED]> writes: > With c:\cygwin\bin in my PATH, if I open a CMD shell and invoke > > python > > I get some garbage characters on my console, and then it freezes. If > I instead do > > set USER=dave && python > > there

very odd behavior of Cygwin python from CMD

2007-03-03 Thread David Abrahams
With c:\cygwin\bin in my PATH, if I open a CMD shell and invoke python I get some garbage characters on my console, and then it freezes. If I instead do set USER=dave && python there are no garbage characters and no freeze, but also no python process. Can anyone explain this? Thanks,

Re: sshd: can't mount samba shares (update)

2007-03-02 Thread David Abrahams
David Abrahams <[EMAIL PROTECTED]> writes: > I have a Windows XP64 and XP (32-bit) virtual machine running on the > same actual hardware, both with a cygwin installation, running sshd. > When I ssh into the XP64 machine and issue > > net use s: machine-name

sshd: can't mount samba shares

2007-03-02 Thread David Abrahams
I have a Windows XP64 and XP (32-bit) virtual machine running on the same actual hardware, both with a cygwin installation, running sshd. When I ssh into the XP64 machine and issue net use s: machine-name\\share-name password /USER:username it works just fine, but not on the 32-bit XP mach

Re: Problems with ssh-host-config using cyginw installed on samba share

2007-03-02 Thread David Abrahams
"Larry Hall (Cygwin)" <[EMAIL PROTECTED]> writes: > David Abrahams wrote: >> I installed my Cygwin on a samba share and found that ssh-host-config >> didn't work. Specifically, I got the message "/usr/bin/awk: No such >> file or directory". Y

Problems with ssh-host-config using cyginw installed on samba share

2007-03-01 Thread David Abrahams
I installed my Cygwin on a samba share and found that ssh-host-config didn't work. Specifically, I got the message "/usr/bin/awk: No such file or directory". Yes, I had awk installed and available at /usr/bin/awk. It was even a binary and not a symlink. I tried reinstalling twice. Then I fina

Permissions and Shared Folders

2005-08-17 Thread David Abrahams
I must really be missing something here; I hope someone can give a brief explanation and (as a bonus) direct me to where I can find out more. I've been trying to copy files off a Windows XP shared folder in Windows explorer, and it keeps telling me that I don't have permission to do so. When I

Re: Mysterious g++ link problems

2005-07-13 Thread David Abrahams
"Gerrit P. Haase" <[EMAIL PROTECTED]> writes: > Try `/usr/local/gcc-3.4.4/bin/g++.exe -print-search-dirs` or > `/usr/local/gcc-3.4.4/bin/gcc -print-search-dirs`, this gives for > the Cygwin release: libraries: =/usr/lib/gcc/i686-pc-cygwin/3.4.4/:... I figured out the problem, thanks: http://lis

Re: Mysterious g++ link problems

2005-07-13 Thread David Abrahams
"Dave Korn" <[EMAIL PROTECTED]> writes: > Original Message >>From: David Abrahams >>Sent: 13 July 2005 14:51 > >> Here are the symptoms. > >> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(eh_terminate.o):: undefined >> reference

Re: Mysterious g++ link problems

2005-07-13 Thread David Abrahams
"Gerrit P. Haase" <[EMAIL PROTECTED]> writes: > David Abrahams wrote: > >> Here are the symptoms. >> "/usr/local/gcc-3.4.4/bin/g++.exe" -Wall -ftemplate-depth-100 >> -O0 -fno-inline -g -DBOOST_ALL_NO_LIB=1 -I"..\..\.." -c -o &

Mysterious g++ link problems

2005-07-13 Thread David Abrahams
Here are the symptoms. "/usr/local/gcc-3.4.4/bin/g++.exe" -Wall -ftemplate-depth-100 -O0 -fno-inline -g -DBOOST_ALL_NO_LIB=1 -I"..\..\.." -c -o "..\..\..\bin.v2\libs\parameter\test\sfinae.test\gcc-3.4.4\debug\sfinae.o" "sfinae.cpp" "/usr/local/gcc-3.4.4/bin/g++.exe" -o ".

Re: Can't get Exim to send mail

2005-06-05 Thread David Abrahams
"Pierre A. Humblet" <[EMAIL PROTECTED]> writes: >>I didn't check all your config but you are missing the most important > part, you >>should have under routers: >> >>begin routers >> >>smart_route: >> driver = manualroute >> transport = remote_smtp >> route_list = * smtp.rcn.com >> >> >>That

Can't get Exim to send mail

2005-06-05 Thread David Abrahams
Hi, I'm hoping someone can help me out. The smtp server I'm forced (by my ISP) to use, smtp.rcn.com, sometimes doesn't respond for 20 seconds at a time, and since I often send from Gnus -- which is synchronous -- I thought I might avoid locking up my Gnus UI by setting up an Exim daemon to send

Re: cvs/daylight savings again!?

2005-05-26 Thread David Abrahams
David Abrahams <[EMAIL PROTECTED]> writes: > I'm following up in this thread: > http://article.gmane.org/gmane.os.cygwin/6688 > > I can't believe the latest reference to this problem > I can find is from 2002. Well, maybe I shouldn't be > surprised. I

cvs/daylight savings again!?

2005-05-26 Thread David Abrahams
I'm following up in this thread: http://article.gmane.org/gmane.os.cygwin/6688 I can't believe the latest reference to this problem I can find is from 2002. Well, maybe I shouldn't be surprised. I haven't run into it for years, but now it's back, with a freshly-installed Cygwin installation (ab

bug in texi2dvi, and hack patch

2005-01-15 Thread David Abrahams
The latest /bin/texi2dvi contains (at line 102): # Systems which define $COMSPEC or $ComSpec use semicolons to separate # directories in TEXINPUTS. if test -n "$COMSPEC$ComSpec"; then path_sep=";" else path_sep=":" fi I think I know what this is *trying* to accomplish, but I thi

Re: Cygwin GCC linking Python extensions issue

2003-05-27 Thread David Abrahams
Jason Tishler <[EMAIL PROTECTED]> writes: > Dave, > > On Fri, May 23, 2003 at 08:20:38AM -0400, David Abrahams wrote: >> Recently I've begun to see the following link errors when building >> some of the Boost.Python test suite extension modules using Cygwin gcc &g

Cygwin upgrade to GCC-3.2 broke my other GCC installations!

2002-11-06 Thread David Abrahams
ude/wchar.h:36: previous declaration as `typedef struct _mbstate_t mbstate_t' Does anyone know how I can repair things? Thanks, Dave -- David Abrahams [EMAIL PROTECTED] * http://www.boost-consulting.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscri

Re: dll_list::load_after_fork() blues (was Re: [ python-Bugs-489709 ] Building Fails ...)

2001-12-07 Thread David Abrahams
FWIW, Jason's patch worked for me, except for curses of course which seems to be broken in cygwin. -Dave - Original Message - From: "Michael Hudson" <[EMAIL PROTECTED]> To: "Charles Wilson" <[EMAIL PROTECTED]> Cc: "Jason Tishler" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Cygwin" <[EMAIL

-mno-cygwin with newer GCC?

2001-12-06 Thread David Abrahams
r) is pretty committed to gcc-2.95.x, but I want the improved C++ compiler available with 3.0.2. Is anyone out there doing a similar thing, or am I completely out on a limb? TIA, Dave === David Abrahams, C++ library designer for hire resume: