delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/02/22/13:24:29

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:mime-version
:content-type; q=dns; s=default; b=T50k3m7z8PqfoFRoxb6XeJGIXtdK1
/qGEZ+xJm355soKM3QmnGGrj6diwkoLavv66fXUi55Mn1FScwfbrjOYuoc9RGBlu
bzls/9m7EUgoelv5CSaDv+SaOQ/8iSfOPyGvkKhKT74d8RV+fWBQiQiSedwlFQLf
Ovt68OGsqDtxok=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:mime-version
:content-type; s=default; bh=LiGlnKGHxv3zoq+Yux3Ek94IQmE=; b=oKM
z2VvQXQJrBbH+hGyEUbffqjL/I6VKjDSLBiyNKp4/LUdGHTl/Af7FMZhndWRFNlz
ig6fX/oTUwpgCXZGj/vD9ds+HDzJoKaPpjfXjkm/gZ+7ekz1WKgL+uwZ9jIxMGW8
bxy/WN85rfqffZmII2cQiPYzqIxMnKgCd4Wr/iYo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,SPF_PASS autolearn=ham version=3.3.2 spammy=graphical, sk:www.res, sk:wwwres, dx
X-HELO: neubau-103.mi.uni-erlangen.de
From: Nicolas Neuss <neuss AT math DOT fau DOT de>
To: cygwin AT cygwin DOT com
Subject: Differences between Windows shell and Cygwin shell?
Date: Wed, 22 Feb 2017 13:52:56 +0100
Message-ID: <874lzmbd5j.fsf@math.fau.de>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
X-IsSubscribed: yes

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

- Raw text -


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