delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/08/25/23:52:22

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org ADBBD3858D37
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=roc.cs.umass.edu
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=moss AT roc DOT cs DOT umass DOT edu
From: Eliot Moss <moss AT roc DOT cs DOT umass DOT edu>
Mime-Version: 1.0 (1.0)
Subject: Re: Issue on output when using javac or scalac under emacs
Date: Tue, 25 Aug 2020 23:51:33 -0400
Message-Id: <5C066282-B6D1-4078-ADF3-00235AD606C6@roc.cs.umass.edu>
References: <71b2831a-710a-688e-a0bd-775b6ed6fd6c AT SystematicSw DOT ab DOT ca>
In-Reply-To: <71b2831a-710a-688e-a0bd-775b6ed6fd6c@SystematicSw.ab.ca>
To: cygwin AT cygwin DOT com
X-Mailer: iPhone Mail (17G68)
X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE,
TXREP autolearn=no 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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 07Q3q4M0012997

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 DOT Inglis AT systematicsw DOT ab DOT 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.
> 
> -- 
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
> 
> This email may be disturbing to some readers as it contains
> too much technical detail. Reader discretion is advised.
> [Data in IEC units and prefixes, physical quantities in SI.]
> --
> 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

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019