[Tutor] Re: Blinking Characters

Shantanoo Mahajan python at dhumketu.cjb.net
Sat Oct 25 15:50:52 EDT 2003


  +-- 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



More information about the Tutor mailing list