public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Eliot Moss <moss@roc.cs.umass.edu>
To: cygwin@cygwin.com
Subject: Re: Issue on output when using javac or scalac under emacs
Date: Tue, 25 Aug 2020 23:51:33 -0400	[thread overview]
Message-ID: <5C066282-B6D1-4078-ADF3-00235AD606C6@roc.cs.umass.edu> (raw)
In-Reply-To: <71b2831a-710a-688e-a0bd-775b6ed6fd6c@SystematicSw.ab.ca>

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


  reply	other threads:[~2020-08-26  3:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-25 22:40 Luc Henninger
2020-08-25 23:19 ` [cygwin] " Jason Pyeron
2020-08-26  2:38   ` Brian Inglis
2020-08-26  6:31   ` Luc Henninger
2020-08-26  9:17     ` Takashi Yano
2020-08-26 10:09     ` [cygwin] Issue on output when using javac or scalac under emacs solved Luc Henninger
2020-08-26 12:22       ` Eliot Moss
2020-08-26 12:16     ` [cygwin] Issue on output when using javac or scalac under emacs Eliot Moss
2020-08-26  0:36 ` Eliot Moss
2020-08-26  2:50   ` Brian Inglis
2020-08-26  3:51     ` Eliot Moss [this message]
2020-08-26 14:35       ` Eliot Moss
2020-08-26  6:49   ` Luc Henninger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5C066282-B6D1-4078-ADF3-00235AD606C6@roc.cs.umass.edu \
    --to=moss@roc.cs.umass.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).