X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 19155386EC43
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=cs.umass.edu
Authentication-Results: sourceware.org;
 spf=pass smtp.mailfrom=moss@cs.umass.edu
Subject: Re: Issue on output when using javac or scalac under emacs
To: Eliot Moss <moss@ali-mail.cs.umass.edu>, cygwin@cygwin.com
References: <71b2831a-710a-688e-a0bd-775b6ed6fd6c@SystematicSw.ab.ca>
 <5C066282-B6D1-4078-ADF3-00235AD606C6@roc.cs.umass.edu>
From: Eliot Moss <moss@cs.umass.edu>
Message-ID: <731777b4-9ddb-5310-4bb1-8f26f594948d@cs.umass.edu>
Date: Wed, 26 Aug 2020 10:35:01 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
 Thunderbird/68.11.0
MIME-Version: 1.0
In-Reply-To: <5C066282-B6D1-4078-ADF3-00235AD606C6@roc.cs.umass.edu>
Content-Language: en-US
X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: moss@cs.umass.edu
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 07QEZSQn002440

On 8/25/2020 11:51 PM, Eliot Moss wrote:
> Agreed that / vs \ is sometimes no problem. I do know that Windows Java really wants ; and not : when giving multiple path names ... EM
> 
> Sent from my iPhone
> 
>> On Aug 25, 2020, at 10:50 PM, Brian Inglis <Brian.Inglis@systematicsw.ab.ca> wrote:
>>
>> ﻿On 2020-08-25 18:36, Eliot Moss wrote:
>>> Dear Luc
>>> You should be aware that while Cygwin can invoke Java, the Windows Java still
>>> expects _Windows-style_ arguments, including Windows paths, etc.
>>>> For example, not a/b/c:d/e but 'a\b\c;d\e" for a path.
>>>
>>> Just because you're using Cygwin, the installed Java is not "magically"
>>> transported to the Linux world!
>>>
>>> You may also run into issues around line endings (CR/LF vs LF only, and so forth).
>>
>> Many Windows APIs and programs accept either path separator and in such cases
>> there are seldom issues as long as the paths are not too long e.g. try:
>>
>>     $ /proc/cygdrive/c/Windows/System32/icacls path/with/slash/delimiters
>>
>> and many programs, including editors and terminals, do a good job of adapting to
>> line endings, including mintty and less.

Apologies for the top-posting.  Not sure my phone supports any other way, but if I end up wanting to 
post from my phone, I will see what I can do!   Eliot Moss
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

