Re: console vs pty (was: Re: First Pass at mintty documentation; etc.)

2009-01-14 Thread Christopher Faylor
On Thu, Jan 15, 2009 at 05:44:09AM +, Andy Koppe wrote: >Chuck Wilson wrote: >>"full screen" or "DOS" is a red herring. Any program that does >>something like the following, if compiled as a native program, won't >>work in rxvt (or MinTTY, or cygwin/cmd-shell-with-CYGWIN=tty): >> >> #include

console vs pty (was: Re: First Pass at mintty documentation; etc.)

2009-01-14 Thread Andy Koppe
Chuck Wilson wrote: "full screen" or "DOS" is a red herring. Any program that does something like the following, if compiled as a native program, won't work in rxvt (or MinTTY, or cygwin/cmd-shell-with-CYGWIN=tty): #include main() { int c; while ((c = getc(stdin)) != EOF) fputc(c, stdout);