Mail Archives: cygwin/2004/02/02/17:15:13
> -----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 -