Once saw code creating a rotating dash in aterm as signal of work in progress.
It was a loop exchanging -,\,|and / sign paused by sleep 1 each.
I need such solution, but couldn't find the old code and created some solution with
echo -ne "^[[1;D" for backspace and
echo -ne "^[[1;A" for cursor up
The backspace solution results in a rotating dash with ugly blinking cursor aside.
As shown obove, the cursor up solution places the cursor away, at the beginning of the line, but always needs to retype the whole line with the rotating dash at its end.
See sample code attached.
I think there might be better solutions. Any hint?
_____________
to download sample code you need to log in