Boost logo

Boost :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-05-31 21:03:48


David Abrahams wrote:
> Rob Stewart <stewart_at_[hidden]> writes:
>
>>From: David Abrahams <dave_at_[hidden]>
>>
>>>Rob Stewart <stewart_at_[hidden]> writes:
>>>
>>>>There's always the old standby approach of printing, in
>>>>succession, the following strings:
>>>>
>>>> "\r-"
>>>> "\r\"
>>>> "\r|"
>>>> "\r/"
>>>> repeat
>>>
>>>Does that really work reliably and portably, or are some people going to see
>>>
>>> -\|/-\|/-\|/-\|/-\|/-\|/....
>>
>>I suppose that there might be a dumb terminal emulator that won't
>>do the right thing, but I wouldn't expect that to be at all
>>common. Even emacs's shell mode, for which $TERM is "dumb,"
>>works (tested using
>>
>> printf "testing -"; sleep 1; printf "\rtesting \\"; sleep 1; printf "\rtesting |"; sleep 1; printf "\rtesting /"; sleep 1; printf "\rtesting...done\n"
>>
>>from bash).
>
> Okay, I'm all for it.

Question is... Does that work in CMD.EXE?

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - Grafik/jabber.org

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk