Re: Unable to run sshd as service in vista home basic

2007-10-25 Thread Larry Hall (Cygwin)
Bing Ho wrote: Hello, I have been unable to start sshd as a service with a Vista Home Basic installation. It works fine for my Vista Premium install, and several XP Pro installations. Have you heard of any Vista Home Basic issues? I have installed cygwin as an administrator and use the suppli

Unable to run sshd as service in vista home basic

2007-10-25 Thread Bing Ho
Hello, I have been unable to start sshd as a service with a Vista Home Basic installation. It works fine for my Vista Premium install, and several XP Pro installations. Have you heard of any Vista Home Basic issues? I have installed cygwin as an administrator and use the supplied ssh-host-con

RE: Unable to access file from shell script (XP configure problem?)

2007-10-25 Thread Ramon Felciano
Perfect -- this did the trick! Thank you all for your quick responses! Ramon > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Patrick Monnerat > Sent: Thursday, October 25, 2007 10:04 AM > To: cygwin@cygwin.com > Subject: RE: Unable to access file fr

RE: bash: fork: Permission denied -- how can I fix this?

2007-10-25 Thread cschuyle
Dave Korn wrote: > > On 19 September 2007 23:28, James Adams wrote: > >> I fixed the problem by installing into another directory other than >> C:\cygwin. I have no idea why this fixes the problem, but probably it >> has >> something to do with security packages installed on the computer (it's

RE: Unable to access file from shell script (XP configure problem?)

2007-10-25 Thread Dave Korn
On 25 October 2007 17:52, Ramon Felciano wrote: > Specifically, shell scripts don't appear to be able to read files based > on filenames passed in as commandline parameters. Heh. Actually, shell scripts are entirely able to read files, based on any filename you pass in whatsoever - ... > [EMA

RE: Unable to access file from shell script (XP configure problem?)

2007-10-25 Thread Patrick Monnerat
Ramon Felciano wrote: > > : No such file or directoryramon.txt > > which looks like it is an error message that overwrote the "/cygdrive/c/Downloads/ramon.txt" pathname. Your shell script

Unable to access file from shell script (XP configure problem?)

2007-10-25 Thread Ramon Felciano
Hello -- I am trying to get Cygwin running under Windows XP and am running into a problem with file access. I'm getting "No such file or directory" errors when running some 3rd party shell scripts, and have narrowed the problem down to what I think is a Cygwin config problem on my system. Specific

RE: Replying to messages

2007-10-25 Thread Dave Korn
On 25 October 2007 15:26, Sylvain RICHARD wrote: > Brian Dessent wrote: >> Use the web archive's "raw text" link to get an mbox copy[1] that you >> can import into your email program and reply to. >> >> [1] This will not be a valid mbox format as addresses are munged. You >> can undo this by han

Re: Replying to messages

2007-10-25 Thread Sylvain RICHARD
Brian Dessent wrote: Use the web archive's "raw text" link to get an mbox copy[1] that you can import into your email program and reply to. [1] This will not be a valid mbox format as addresses are munged. You can undo this by hand or automatically by adding the skipmung parameter. Brian

RE: Python for Cygwin

2007-10-25 Thread Dave Korn
On 25 October 2007 14:17, Lorenzo.Corgnati wrote: > Dear Sirs, > I'm a new Cygwin user. I'm running Cygwin on my PC (mounting Windows XP > Professional). > I need to run a little Python script on my Cygwin shell. What have I to do? > I guess I've to install Python on my PC. In which way have to d

Re: strange select() and recvfrom() behaviour

2007-10-25 Thread Corinna Vinschen
On Oct 25 15:06, Marcell Missura wrote: > I also find it weird that after an > error occured select() returns and tells you that the socket has something > to _read_. That's documented standard behaviour. I pointed this out in my first reply. If you're still learning socket programming I'd like

Python for Cygwin

2007-10-25 Thread Lorenzo.Corgnati
Dear Sirs, I'm a new Cygwin user. I'm running Cygwin on my PC (mounting Windows XP Professional). I need to run a little Python script on my Cygwin shell. What have I to do? I guess I've to install Python on my PC. In which way have to do it? In which path? Have I to install it under Cygwin? Pl

Re: strange select() and recvfrom() behaviour

2007-10-25 Thread Marcell Missura
> Maybe you were also a little quick with your code. You don't really > test what's going on, so your code is going crazy. It demonstrates the difference in the behaviour of this select(), recvfrom(), send() construct under linux and windows fairly well doesn't it. I apologize if my unsophisticate

Re: who should own the /bin directory?

2007-10-25 Thread René Berber
Marco Atzeri wrote: [snip] >> Yes, it works. Have you tried it? > > Yes. it does not work. Works fine for me: $ id uid=1006(rberber) gid=545(Users) groups=513(None),544(Administrators),545(Users),544(Administrators),1019(vcusr) $ su jabel $ id uid=1016(jabel) gid=545(Users) groups=513(None),

RE: iostream with gcc

2007-10-25 Thread Peter M Lee
Thanks, and I will keep it to the list in future - Peter M Lee On Oct 25 2007, Dave Korn wrote: On 25 October 2007 10:49, Peter M Lee wrote: Please keep it on the list, Peter. http://cygwin.com/acronyms#PPIOSPE explains why that's a good thing. Re-directed. The result of using g++ is $

Re: who should own the /bin directory?

2007-10-25 Thread Marco Atzeri
--- René Berber ha scritto: > Marco Atzeri wrote: > > > --- Jerome Fong < ha scritto: > > > >> I'm trying to login as another person, but using > >> "su" tells me I don't > >> have permissions to use bash. Using login gives > me > >> errors about no home > >> directory and no permissions to u

Re: iostream with gcc

2007-10-25 Thread Brian Dessent
[ Reply to the mailing list, not to me. ] Peter M Lee wrote: > The result of using g++ is > > $ g++ hello.cc > > $ > > in other words nothing is output to the terminal - Peter M Lee Yes. That is the correct behavior. What were you expecting? You should see an executable in the current dire

RE: "ls" much slower on Vista

2007-10-25 Thread John Cooper
Thanks for the pointer - it turns out Symantec AntiVirus is the culprit. If I disable "File System Auto-Protect" then "time /bin/ls -l /usr/bin" goes down from 2 seconds to about 0.3s, which is now perfectly usable. Oddly, I also have Symantec AntiVirus on my WinXP machine where performance is far

Re: strange select() and recvfrom() behaviour

2007-10-25 Thread Corinna Vinschen
On Oct 24 19:31, Marcell Missura wrote: > Hi, > > actually you were right, I was a bit too quick with my extract. It didn't > contain an important line. I'm also sending out stuff through that socket. > So here it goes, you can copy paste and compile this. Maybe you were also a little quick with

RE: iostream with gcc

2007-10-25 Thread Dave Korn
On 25 October 2007 10:49, Peter M Lee wrote: Please keep it on the list, Peter. http://cygwin.com/acronyms#PPIOSPE explains why that's a good thing. Re-directed. > The result of using g++ is > > $ g++ hello.cc > > $ > > in other words nothing is output to the terminal - Peter M Lee That

RE: iostream with gcc

2007-10-25 Thread Dave Korn
On 25 October 2007 10:14, Peter M Lee wrote: > I apologize for what is probably a silly mistake on my part. I am just > starting to use cygwin. When I tried a simple program > > #include > using namespace std; > > /** > * A simple program for demonstrating the basics of a C++ project. > */ >

Re: iostream with gcc

2007-10-25 Thread Brian Dessent
Peter M Lee wrote: > I apologize for what is probably a silly mistake on my part. I am just > starting to use cygwin. When I tried a simple program Silly perhaps, but very common. > $ gcc hello.cc The correct way to compile/link C++ code is by invoking g++ not gcc. Brian -- Unsubscribe info:

iostream with gcc

2007-10-25 Thread Peter M Lee
I apologize for what is probably a silly mistake on my part. I am just starting to use cygwin. When I tried a simple program #include using namespace std; /** * A simple program for demonstrating the basics of a C++ project. */ int main() { cout << "Hello, world"; cout << endl; return

Re: who should own the /bin directory?

2007-10-25 Thread René Berber
Marco Atzeri wrote: > --- Jerome Fong < ha scritto: > >> I'm trying to login as another person, but using >> "su" tells me I don't >> have permissions to use bash. Using login gives me >> errors about no home >> directory and no permissions to use bash. > > su does not work. > See FAQ chapter

Re: Fwd: Unable to install pdftk

2007-10-25 Thread Angelo Graziosi
Santhosh Kumar Yedidi wrote: > But where will I find the command. Because I > found pdftk.exe to be in the same directory where I ran the Make > command. Move it in /usr/local/bin. But now there is this: http://cygwin.com/ml/cygwin-apps/2007-10/msg00042.html So I think that PDFTK will be a n