delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/09/15:02:34

X-Spam-Check-By: sourceware.org
Message-ID: <44395A3A.AAA33B2C@dessent.net>
Date: Sun, 09 Apr 2006 12:02:18 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: output from shell call shows up in original cygwin window instead of current terminal
References: <82a397f60604091149h1cc0814euc31e6d9f6e70c203 AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

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/

- Raw text -


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