delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/02/17:15:13

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Ross Boulet" <ross AT rossb DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Text entry to command line program
Date: Mon, 2 Feb 2004 16:12:24 -0600
Message-ID: <002901c3e9d9$aba83b10$3c5688d8@RossLap>
MIME-Version: 1.0
In-Reply-To: <000601c3e995$a208f200$6400000a@RossLap>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i12MDYgv013558

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com 
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Ross Boulet
> Sent: Monday, February 02, 2004 8:05 AM
> To: cygwin AT cygwin DOT com
> Subject: Text entry to command line program
> 
> 
> I've been having a problem for a while now on my XP laptop 
> with an Oracle
> program (sqlplus).  When I start sqlplus, it prompts for a 
> user id and then
> a password.  When I run it from the windows shell (cmd.exe) 
> it works as
> expected, i.e. the user id is echoed and the password is not:
> 
> c:\$temp>sqlplus
> 
> SQL*Plus: Release 9.2.0.1.0 - Production on Mon Feb 2 07:24:24 2004
> 
> Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
> 
> Enter user-name: myid
> Enter password:
> 
> 
> In bash or ksh, the password gets echoed as well (and shouldn't be):
> 
> 
> lap /home/rossboulet # sqlplus
> 
> SQL*Plus: Release 9.2.0.1.0 - Production on Mon Feb 2 07:22:35 2004
> 
> Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
> 
> Enter user-name: myid
> Enter password: mypass
> 
> 
> Its been happening to me for the last several releases of 
> cygwin but I can't
> say exactly when it started happening.  Any suggestions?
> 

OK, my bad.  I found a couple of references to this behavior in the ML.  I
was suspicious of the "CYGWIN=ntsec tty" environment variable (set for sshd)
and had tried unsetting it in the shell to no avail.  I found that if I
unset it with dos before I start the shell, the behavior reverts to what I
expected (password not echoed).

What am I losing in the shell with not having CYGWIN set?



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


- Raw text -


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