stats(8) graphical bug in drawterm

Wed, 23 Mar 2016 00:47:01 EDT

stats(8) appears to become graphically mangled when run over a drawterm session. See the following image for an example:

The left, top, and right border are blanked out before the diagnostics lines start rolling. The labels never seem to manifest at all. You’ll notice the top stats window appears glitched, but the bottom one does not. The top one is the (unmodified) most recent version of stats. You can find the source of the bottom version here:

The fileservers being connected to were up to date with recent sysupdate(1)’s and recompilation of the entire system as of the following commit:

> changeset: 5187:bf218cf1fa57 > tag: tip > user:
cinap_lenrek@[REDACTED] > date: Wed Mar 23 02:45:35 2016 +0100 > summary: add portable AES-GCM (Galois/Counter Mode) implementation to libsec and devtls

This bug has been confirmed by two separate users running the latest version of cinap_lenrek’s drawterm from after connecting to different fileservers. One version of drawterm was on Windows 7, the other on Linux. This bug seems to manifest in pre-forked drawterm as well.


sysupdate cd / . /sys/lib/rootstub cd /sys/src mk install mk clean [ connect to file server via drawterm] stats

thanks, archeus

Mon, 28 Mar 2016 15:15:27 EDT sl

race was fixed