public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Nicolas Neuss <neuss@math.fau.de>
To: cygwin@cygwin.com
Subject: Differences between Windows shell and Cygwin shell?
Date: Wed, 22 Feb 2017 12:53:00 -0000	[thread overview]
Message-ID: <874lzmbd5j.fsf@math.fau.de> (raw)

Hello,

I want to use the IBM Data Explorer OpenDX (http://opendx.org/), which
is a rather powerful scientific visualization program (although it looks
as if it might have been abondoned).  More precisely, I am interested in
it because it provides the standard graphical backend for my FEM solver
"Femlisp".

On Linux and MacOSX, OpenDX works without problems (or better, in an
acceptable way for me:-), and is also easily installable via the package
managers.  On Windows, however, I observe differences depending on the
shell from which the program is started.

More precisely, when I simply start the program in interactive mode
using the command "dx", it works both when started from the Windows
shell and the Cygwin shell.  (Of course, since dx is an X application,
the Cygwin X server has to run in the background.)

However, differences occur when I try starting dx in "script mode"
(which should result in a command line interface if no filename is
provided).

Using the Windows cmd shell, it works as expected and stops at its
prompt ("dx>"):

--8<---------------cut here---------------start------------->8---
C:\Users\Nicolas Neuss>dx -script
Starting DX executive
Open Visualization Data Explorer
More Info at www.research.ibm.com/dx
and www.opendx.org
Version - 4.4.4
Memory cache will use 1112 MB (68 for small items, 1044 for large)

 0:  worker here [4672] 
dx> 
--8<---------------cut here---------------end--------------->8---

Whereas, if I start it from the Cygwin shell, I get

--8<---------------cut here---------------start------------->8---
$dx -script
Open Visualization Data Explorer
More Info at www.research.ibm.com/dx
and www.opendx.org
Version - 4.4.4
Memory cache will use 1112 MB (68 for small items, 1044 for large)

 0:  worker here [4888] 
--8<---------------cut here---------------end--------------->8---

Note that the line "Starting DX executive" is missing in the second
case, and that the program hangs without reaching the prompt "dx>".
(When I try stopping it with ctrl-c, the whole Cygwin shell hangs.)

Does anyone have an idea what could be the reason for this difference?

Thank you,

Nicolas

P.S.: I do not use Windows regularly.  Only recently, someone was
interested in getting Femlisp working on Windows, so I looked at it.

P.S.2: Of course, asking on an OpenDX mailing list would probably be a
better thing than bothering you here.  But I did not find any such list,
it looks as if OpenDX really has been given up.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

             reply	other threads:[~2017-02-22 12:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-22 12:53 Nicolas Neuss [this message]
2017-02-22 16:48 ` Nicolas Neuss

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=874lzmbd5j.fsf@math.fau.de \
    --to=neuss@math.fau.de \
    --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).