On Tue, Jun 5, 2012 at 9:46 AM, Joachim Durchholz <[email protected]> wrote:
> Am 05.06.2012 00:20, schrieb Sergiu Ivanov:
>
> However, Cygwin seems to be just one of several ways to run Python on
> Windows. Judging from experience with other such ports, I doubt that the
> non-Cygwin ports offer a console with Linux-style escape codes.

Yes, that's how I know it, too.  From what I heard, Cygwin isn't the
easiest way to run Python on Windows either.

> Then again, the Windows command-line window might just happen to use the
> same escape sequences. Escape sequences did get an ANSI standard, and Posix
> and Windows might agree on just enough escape sequences to make this work.

Now that you've reminded me of the official name of "ANSI escape
sequences" ( :-) ), I have managed to do a bit of googling and I've
found [0]:

  The Win32 console does not support ANSI escape sequences at all.

Still (and I do remember something similar), there's [1], which says
that one has to explicitly enable ANSI.SYS.  However, it also says:

  Windows NT does not support ANSI.SYS escape sequences in Win32
  Console applications.

which is something I cannot parse reliably.  I guess the best way to
proceed would be to actually go on a Windows system and try those
tricks.

I am absolutely sure that I once wrote an a command-line,
Assembly-language application, that did some very basic manipulations
to terminal output modes.  I do remember that not everything used to
work.  What I don't remember, however, is which version of Windows
that was.

Sergiu

[0] http://en.wikipedia.org/wiki/ANSI_escape_code#Windows_and_DOS

[1] 
http://academic.evergreen.edu/projects/biophysics/technotes/program/ansi_esc.htm

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to