delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/21/13:22:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Info: This message was accepted for relay by
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication
X-Trace: UmFuZG9tSVb2ta94ssIhmRLFMAb8+EPbi9ckBbTi20RqNWVh6VANN5bSXrALaITo
Message-ID: <3F1C2075.7020608@cygwin.com>
Date: Mon, 21 Jul 2003 13:18:45 -0400
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Philippe Fremy <phil AT freehackers DOT org>
CC: cygwin AT cygwin DOT com
Subject: Re: Problem with tty
References: <200307181147 DOT 34980 DOT phil AT freehackers DOT org> <3F184A76 DOT 6020009 AT cygwin DOT com> <200307211844 DOT 32236 DOT phil AT freehackers DOT org>
In-Reply-To: <200307211844.32236.phil@freehackers.org>

Philippe Fremy wrote:

>>Setting 'tty' for Cygwin will not have any affect on Windows programs.
>>Only Cygwin ones.  Running a Windows program from a Cygwin shell prompt
>>can cause output from the Windows program to get "lost" since they don't
>>understand ptys.  Use Cygwin's python and you won't have the particular
>>problem you mentioned when run from a Cygwin shell prompt with 'tty' set.
> 
> 
> Thank you for the information. I suppose there is no workaround for this ? 
> Like launching vim inside a bash script ?

The easiest "workaround" I can think of is to avoid the situation
wherever possible.  If you run Cygwin's vim, there's no problem.
The Cygwin distribution doesn't include gvim though, if that's what
you're looking for.  Another option is Egor's ttyfier program.
See:

<http://ns.logos-m.ru/~deo/ttyfier.html>

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746


--
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