Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: "Ross Boulet" <ross@rossb.com>
To: <cygwin@cygwin.com>
Subject: RE: Text entry to command line program
Date: Wed, 4 Feb 2004 19:53:15 -0600
Message-ID: <000801c3eb8a$d844d630$6400000a@RossLap>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
In-Reply-To: <Pine.GSO.4.56.0402041423120.8094@slinky.cs.nyu.edu>
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i151s9TF014100

> > > [...]
> > > > > Try something like:
> > > > >
> > > > > CYGWIN=notty sqlplus
> > > > >
> > > >
> > > > Is that saying notty for sqlplus and tty for everything else?
> > > [...]
> > >
> > > No, that's an interactive command line, it's not a setting of
> > > the CYGWIN
> > > variable (i.e. it's not CYGWIN="notty sqlplus"). The above
> > > actually launches
> > > sqlplus, setting the CYGWIN variable to "notty" for its process.
> > >
> > > SLao
> > >
> > Unfortunately, this does not work.  I had previously tried 
> setting CYGWIN
> > within a shell to no avail.  I found it must be set from dos before
> > launching bash or ksh.
> >
> > Ross
> 
> You could use something like 'CYGWIN="notty" cygstart -- 
> sqlplus', which
> should open sqlplus in a new window...
> 	Igor
> -- 

Hmmmmmm.... Seems cygstart runs the application ok even without modifying
the CYGWIN variable.  This holds true for two other applications I was
having trouble with.  I had been using the native M$ telnet and ftp before I
set CYGWIN=tty for sshd.  These two display bizarre behavior with tty set.
Telnet just quits and returns to a command prompt and ftp doesn't echo
typing.  I got around this by installing the cygwin versions.  Cygstart runs
them ok as well without unsetting or changing CYGWIN.

Ross



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


