Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63544 - sftp makes xterm/gnome-term not display input after failed passwd attempts
Summary: sftp makes xterm/gnome-term not display input after failed passwd attempts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-10 06:07 UTC by unchecked_spamacct
Modified: 2005-01-07 13:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description unchecked_spamacct 2004-09-10 06:07:18 UTC
When I run sftp to connect to a server, I sometimes forget the -l flag to change the username. In these cases, I'm prompted for the password for a user that doesn't exist on the server.

When I hit Ctrl-C to exit and return to the shell, I get my shell back, but the term does not display my input chars. Everything works fine, but I just can't see what I'm typing. I suspect that whatever changes are made to the term to hide passwords aren't being reset on exit.

This problem exists on xterm and gnome-terminal, but not the real console.

Reproducible: Always
Steps to Reproduce:
1. using xterm or gnome-terminal, run sftp to login to a server
2. hit ctrl-c to exit at the password prompt
3. try typing in the shell prompt

Actual Results:  
I cannot see my input, but anything I type is still executed

Expected Results:  
given me back my term with input chars showing

Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8.1)
=================================================================
System uname: 2.6.8.1 i686 Intel(R) Celeron(R) CPU 1.80GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -funroll-loops
-fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -funroll-loops
-fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa arts avi berkdb bitmap-fonts bonobo cdr crypt cups curl divx4linux
dvd emacs encode esd foomaticdb ftp gdbm gif gmail gnome gpm gtk gtk2 gtkhtml
guile imagemagick imap imlib java jpeg libg++ libwww mad mikmod mmx motif
mozilla moznocompose moznoirc moznomail mpeg mpeg4 ncurses nls oggvorbis opengl
oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang spell
sse ssl svga tcpd tetex tiff truetype usb x86 xml2 xmms xprint xv zlib"
Comment 1 unchecked_spamacct 2004-09-10 06:22:49 UTC
re: the "forget the -l flag"

I meant that I forget to use the user@host syntax instead of just host (oops)
Comment 2 Daniel Ahlberg (RETIRED) gentoo-dev 2005-01-07 13:37:16 UTC
In CVS, thanks!