This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with tty


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]