delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/09/20:53:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_VIA_APNIC,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Tue, 10 Apr 2012 10:53:00 +1000
From: raf <raf AT raf DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: Windows7 broke DRIVELETTER:/path on cmdline of non-cygwin exe (really tty issue?)
Message-ID: <20120410005259.GA25577@raf.org>
References: <20120403055503 DOT GA6387 AT raf DOT org> <4F7AD7F3 DOT 4030208 AT cs DOT umass DOT edu> <20120404003419 DOT GA16890 AT raf DOT org> <4F7B9F99 DOT 4030508 AT cs DOT umass DOT edu> <20120404034204 DOT GA18871 AT raf DOT org> <20120404080037 DOT GX8014 AT calimero DOT vinschen DOT de> <20120406002751 DOT GA11640 AT raf DOT org> <20120406081542 DOT GA13898 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20120406081542.GA13898@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Corinna Vinschen wrote:

> On Apr  6 10:27, raf wrote:
> > Corinna Vinschen wrote:
> > 
> > > On Apr  4 13:42, raf wrote:
> > > > I think it has more to do with the change in terminal handling.
> > > > The password prompting is no longer working (even in mintty).
> > > > The lack of debug output was just buffering.
> > > 
> > > The problem is that native Windows CLI applications usually don't
> > > work interactively with Cygwin's pseudo ttys as stdio descriptors.
> > 
> > The application in question is python.exe using its getpass module.
> > 
> > > > The users can run the programme from cmd.exe so I'll set up
> > > > some .bat scripts for them instead of bash functions if I
> > > > can't easily get it working from within cygwin.
> > > 
> > > You can use the still existing Cygwin.bat script from Cygwin's root
> > > directory to start a Cygwin bash in a Windows console window.  The
> > > password prompting will still work there.
> > 
> > I thought that's what I was doing when clicking on the cygwin shortcut on
> > the desktop. If that had worked I wouldn't have come asking for help here. :-)
> 
> Since a while the shortcut on the desktop starts mintty, not a Windows
> console.
> 
> Corinna

Thanks Corinna. Using cygwin.bat works perfectly for this.

Cheers,
raf


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