busy indicator

Jonathan Hogg jonathan at onegoodidea.com
Wed Aug 7 08:57:06 CEST 2002


On 7/8/2002 7:00, in article
cb035744.0208062200.1866da5d at posting.google.com, "Will Stuyvesant"
<hwlgw at hotmail.com> wrote:

> Very nice mr Hogg!  And funny too, I had a laugh here when HAL
> appeared.  More please!

Glad to be of service. I had a KnightRider gag too, but I removed it at the
last minute ;-)

> A question:
> You use sys.stdout.write('\x08') to backspace.  Do you know the values
> for 'line up' and others?  Do you have a www link for those values,
> are they just ASCII or something?

It's just the ASCII backspace character. I used to know all of the ASCII
control characters off by heart once, but I can't recall many now. I
remember that '\x07' is BELL - I use that one often. I have a small program
called 'beep' whose sole purpose is to output a single BELL character. I use
this to notify me when something is done in the shell so I can switch away
and work in another window, e.g.:

    % make all ; beep

I'm sure if you do a google on "ASCII control characters" you'll turn up a
table somewhere.

Jonathan




More information about the Python-list mailing list