Closed GoogleCodeExporter closed 9 years ago
I'm afraid your report isn't sufficiently clear and doesn't contain enough
detail to
reproduce the issue. I struggle to see the connection between /etc/passwd, path
types, and formatting.
Running non-Cygwin programs such as Java or Maven in a Cygwin environment is
often
problematic though. See issue 56 for one example. But what makes you think that
this
issue is mintty-specific? Do you get different results in the Cygwin console or
rxvt?
With a better problem description, you might get more help on the Cygwin or
Maven
User mailing lists.
Original comment by andy.koppe
on 12 Feb 2010 at 6:52
I understand. That is the situation. I explaimned the situation exactly as it
appears. I am at a loss. I submitted the problem because I also saw no
connection
between the /etc/passwd and the path, but though maybe a Mintty person would.
Neverthe less, the fact remains that if there is no /etc/passwd the programs
use u:
as the root and \\netserv if the /etc/passwd exists. I have looked for other
things,
but found nothing. I do not know where Mintty gets the path to pass. I wish i
could
give you more information, but that is all there is. I did not expect someone
to know
this answer off the top of their head. I was hoping someone could tell me what
to
look at as I have looked at all files I could think of. Thanks anyway.
Original comment by timpi...@gmail.com
on 12 Feb 2010 at 7:26
> I do not know where Mintty gets the path to pass.
What path are you talking about? You're speaking in riddles here. And why
wouldn't
there be an /etc/passwd anyway? It's part of the Cygwin base install.
Mintty is just a terminal: it sends keyboard input to programs running inside
it and
displays output coming back from them. The program responsible for executing
commands
and passing arguments is the "shell". In Cygwin, that's usually "bash", so
maybe the
bash manual can help you. And perhaps this bit from the mintty manual is of
interest:
If a program name is supplied on [mintty's] command line, this is executed
with any additional arguments given. Otherwise, mintty looks for a
shell to execute in the SHELL environment variable. If that is not
set, it reads the user’s default shell setting from /etc/passwd. As a
last resort, it falls back to /bin/sh.
As I said, one thing you can do is try whatever you're having trouble with in
the
Cygwin console and in rxvt. The fact that an issue appears when running in
mintty
does not mean that this is a mintty issue.
Original comment by andy.koppe
on 12 Feb 2010 at 7:50
Original issue reported on code.google.com by
timpi...@gmail.com
on 12 Feb 2010 at 3:10