| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| 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 |
| X-Mailer: | Microsoft Office Outlook 11 |
| In-Reply-To: | <ek1nid$d2d$1@sea.gmane.org> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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/<your user name>. 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |