Re: Progress indicator

From:

David Kastrup

Subject:

Re: Progress indicator

Date:

Sat, 26 Sep 2009 09:04:54 +0200

User-agent:

Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Michael Käppler <address@hidden> writes:
>> Have you tested this using an editor? I've tried a fairly long piece
>>
> No, I haven't.
>> using Frescobaldi and LilyPondTool, and neither likes the backspaces:
>>
>> Preprocessing graphical objects... (1 %) (2 %) (3 %)
>> (4 %) (5 %) (6 %) (7 %) (8 %) (9
>> %) (10 %) (11
>>
> Argh... I admit that it isn't a very clean way to do this. I'll try to
> find a better solution (never thought that it would be as tricky as it
> actually seems to be...)
An editor will not interpret control characters. One solution is to
check whether output is sent to a tty and only then use progress
indicators. Or at least overprinting.
--
David Kastrup