While attempting to "pretty up" a few of my scripts I have been trying to figure out how to temporarily turn off the cursor.
Or maybe better said , to set the cursor color to the same as the background so it is invisible.
Of course then set it back to normal when the script is finished.
Here is a quick example of a script.
#!/usr/bin/ksh
A=0
B=10
while [ A -ne $B ]
do
### Set cursor here
echo "$A\b\b\c"
sleep 1
let A=$A+1
done
### Return cursor to normal here
I have a lull of time at work lately, (very rare) so what better time to polish up my script writing abilities.
As always we thankyou for your support.
Doug
Or maybe better said , to set the cursor color to the same as the background so it is invisible.
Of course then set it back to normal when the script is finished.
Here is a quick example of a script.
#!/usr/bin/ksh
A=0
B=10
while [ A -ne $B ]
do
### Set cursor here
echo "$A\b\b\c"
sleep 1
let A=$A+1
done
### Return cursor to normal here
I have a lull of time at work lately, (very rare) so what better time to polish up my script writing abilities.
As always we thankyou for your support.
Doug