[PATCH] vars.sh: remove unnecessary fork to speedup boot/upgrades

Trek trek00 at inbox.ru
Thu Sep 3 16:33:15 BST 2020

On Wed, 2 Sep 2020 14:40:09 +0200
Adam Borowski <kilobyte at angband.pl> wrote:

> On Tue, Sep 01, 2020 at 08:41:38PM +0200, Trek wrote:
> > fancy output is really slow, mostly because it forks many tput and
> > some echo, here the execve list when starting a service with the
> > debian/master version and dash  
> It's pointless to use tput.  It uses assumptions that made sense many
> decades ago, but do more ill than good nowadays (eg. on a serial
> console). The TERM variable is of no use as terminal/OS vendors
> stopped updating their termcap databases by mid-1980s as every
> terminal switched to vt100ish commands that have a good enough
> baseline and cleanly ignore extensions.

I can't work on that for the next two weeks, but then it will be
trivial to optimize lsb/init-functions using only the ansi codes :)

thanks again for the review and the suggestions!

I will post an updated version of the patches on salsa in next days (to
not flood the mailing list)


More information about the Debian-init-diversity mailing list