> I got the screen clearing bit no problem, thanks for that one. I'm 
> still
> not used to being able to just use c libraries.

Even the C libraries are non standard - they aren't part of the ANSI C
definition. Its just that C libraries for the PC know what the 
hardware
will look like so they can provide screen manipulation routines.
But that code will be completely non-portable to any other
computing platform.

And even between C vendors the screen calls can be completely 
different.
For example my MIX compiler uses cls() to clear the screen, My Borland
one uses ClrScr() and I think that Microsoft Visual C uses something
else again.

Similarly for positioning the cursor, MIX uses curscol(), cursrow()
whereas the Borland one uses gotoXY() - I think, its been a while!

> a fascination with linux terminals being able to draw progress bars 
> or
> "busy" animations and figured I'd have a little fun. :] I came 
> across
> "curses" which looks to be included in activepython so that might be 
> of
> some use for my linux programming.

There is an old curses module for DOS somewhere but I never got it
working and it didn't implement all the functions..

Alan G. 

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to