X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: Perl Device::SerialPort problem Date: Wed, 22 Nov 2006 15:27:57 -0000 Message-ID: <025f01c70e4a$c970f360$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 22 November 2006 14:39, aliko wrote: > of problem is in my Cygwin configuration. Here the answer: > > *** > sh: /cygdrive/c/Documents: No such file or directory > > This looks like your problem. Cygwin does not like blank spaces in file > names at times, so work from your cygwin home directory. This is > "/home/ali" or something, and not "/cygdrive/c/*" > *** > > As far as I understood it's all because my home directory is located in > the "Documents and Settings" folder wich contains spaces in the name and > it's causes some programs like perl to work incorrectly.I cant work from > the /home/ali dirrectory as it's was suggsested because there is no such > dirrectory "/home". #1. The explanation you have been given isn't true. Cygwin has no problem with blank spaces in file names. Bash, on the other hand, *does*, because a space is what you use to separate words on the command line. This is exactly the same on Linux as it is on Cygwin. Of course, the /real/ bug is in whatever (CPAN?) invoked sh passing it a commandline with spaces and forgetting that you have to either quote the path or escape the spaces. #2. You can just create /home, then edit your /etc/passwd entry so that it points to /home/. See http://www.cygwin.com/faq/faq-nochunks.html#faq.setup.home cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/