? using-effectively.patch Index: using-effectively.html =================================================================== RCS file: /cvs/cygwin/htdocs/cygwin-ug-net/using-effectively.html,v retrieving revision 1.20 diff -u -p -r1.20 using-effectively.html --- using-effectively.html 9 Dec 2007 09:38:46 -0000 1.20 +++ using-effectively.html 26 Jun 2008 21:21:53 -0000 @@ -49,15 +49,15 @@ which cygp Since using quoting and subshells is somewhat awkward, it is often preferable to use cygpath in shell scripts.

Console Programs

-Another issue is receiving output from or giving input to the console-based +Another issue is receiving output from or giving input to console-based Windows programs. Unfortunately, interacting with Windows console applications is not a simple matter of using a translation utility. Windows -console applications and designed to run under command.com +console applications are designed to run under command.com or cmd.exe, and some do not deal gracefully with other situations. Cygwin can receive console input only if it is also running in a console (DOS box) since Windows does not provide any way to attach to the backend of the console device. Another -traditional Unix input/output method, ptys (pseudo-terminals), are +traditional Unix input/output method, ptys (pseudo-terminals), is supported by Cygwin but not entirely by Windows. The basic problem is that a Cygwin pty is a pipe and some Windows applications do not like having their input or output redirected to pipes. @@ -65,8 +65,8 @@ having their input or output redirected To help deal with these issues, Cygwin supports customizable levels of Windows verses Unix compatibility behavior. To be most compatible with Windows programs, use a DOS prompt, running only the occasional Cygwin -command or script. Next would be to run bash with -the default DOS box. To make Cygwin more Unix compatible in this case, +command or script. Next would be to run bash within +a default DOS box. To make Cygwin more Unix compatible in this case, set CYGWIN=tty (see the section called “The CYGWIN environment variable”).