[Tutor] Re: Blinking Characters
Daniel Ehrenberg
littledanehren at yahoo.com
Sat Oct 25 15:59:09 EDT 2003
--- Shantanoo Mahajan <python at dhumketu.cjb.net> wrote:
> +-- Alan Gauld [25-10-03 21:51 IST]:
> | > Is it possible to have blinking character in
> window's DOS prompt? In
> | > C/C++ it is called as text attributes, and you
> can change the
> | > foreground and background colors also along
> with the blinking
> | > property of the character.
> |
> | Sure the DOS box is a standard ANSI terminal
> (once you load
> | ANSI.SYS).
> |
> | As a result it responds to all the ANSI comand
> sequences,
> | thus just print the commands for blinking
> characters to
> | stdout and it will respond, same goes for
> colours,
> | character sizes etc.
> |
> | Try searching the web for "ANSI terminal" and
> you should find
> | what you need, you can test them in a DOS box
> using the
> | DOS "ECHO" command. It used to be common
> practice pre windows
> | to customise your DOS prompt using fancy ANSI
> sequences.
> |
> | Alan G.
> |
> | PS. I found this site:
> |
> | http://www.termsys.demon.co.uk/vtansi.htm
>
> I want to have the blininkg/bold msgs. to be printed
> through python.
> Errors/Warning in *blinking*. In FreeBSD, I tried,
> curses module and
> it worked perfectly. But don't know anything on
> windows. :-(
>
> --
> With Best Regards,
> Shantanoo Mahajan
It looks like Windows doesn't have the curses module,
or atleast 2.3.2-1 doesn't.
Daniel Ehrenberg
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
More information about the Tutor
mailing list