Change installer to use statusbar(8) instead of bargraph and remove the latter.

This commit is contained in:
iru 2011-04-14 00:19:51 -03:00
parent 715570c24e
commit dd468419f2
3 changed files with 2 additions and 348 deletions

View file

@ -33,7 +33,7 @@ case go
baropt='-w 145,129,445,168'
if(~ $textinst 1)
baropt=-t
if(! hget -vo /n/newfs/dist/_plan9.iso.bz2 $installurl/plan9.iso.bz2 |[2] bargraph $baropt 'downloading '^plan9.iso.bz2)
if(! hget -vo /n/newfs/dist/_plan9.iso.bz2 $installurl/plan9.iso.bz2 |[2] aux/statusbar $baropt 'downloading '^plan9.iso.bz2)
exit
mv /n/newfs/dist/_plan9.iso.bz2 /n/newfs/dist/plan9.iso.bz2
if(~ $fstype fossil){

View file

@ -14,4 +14,4 @@ if(~ $textinst 1)
{
while(test -f /proc/$p/fd)
grep '^ *'^$2^' ' /proc/$p/fd >[2]/dev/null
} | awk '{print $9 " '^$3^'"; fflush("/dev/stdout")}' | bargraph $baropt $4
} | awk '{print $9 " '^$3^'"; fflush("/dev/stdout")}' | aux/statusbar $baropt $4