X-Spam-Check-By: sourceware.org Message-ID: <44395A3A.AAA33B2C@dessent.net> Date: Sun, 09 Apr 2006 12:02:18 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: output from shell call shows up in original cygwin window instead of current terminal References: <82a397f60604091149h1cc0814euc31e6d9f6e70c203@mail.gmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin@cygwin.com Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Terrence Brannon wrote: > the Password prompt does not show up in the xterm window, but in the > original cygwin shell. > > FTP works fine from plain DOS cmd.exe and from the original cygwin > shell, but I get this odd behavior when using an xterm... any idea why? You are most likely using the version of ftp.exe provided by Windows. (It depends on your setting of PATH and whether you've installed the inetutils package -- if you had included your cygcheck output as requested we wouldn't have to guess about these sort of things.) When you run a program in xterm or rxvt (or in a standard windows console with $CYGWIN=tty) then you are using pseudoterminal emulation. Native windows applications don't know what ptys are because they are a unix/posix concept, thus running interactive non-Cygwin apps in ptys often results in behavior like you saw. Install inetutils and use the Cygwin version of ftp. Brian -- 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/