Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [66.167.206.172] X-Originating-Email: [rkitover AT hotmail DOT com] X-Sender: rkitover AT hotmail DOT com From: "Rafael Kitover" To: Subject: RE: Text entry to command line program Date: Tue, 3 Feb 2004 12:56:05 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <002901c3e9d9$aba83b10$3c5688d8@RossLap> Message-ID: X-OriginalArrivalTime: 03 Feb 2004 20:56:05.0843 (UTC) FILETIME=[241EC230:01C3EA98] Try something like: CYGWIN=notty sqlplus >-----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 2:12 PM >To: cygwin AT cygwin DOT com >Subject: RE: Text entry to command line program > > >> -----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/