From: Christian Weisgerber Subject: Re: watch: don't show previous output in 'dimmed' fashion To: tech@openbsd.org Cc: Job Snijders Date: Mon, 5 Oct 2026 22:07:14 +0200 Job Snijders: > For now perhaps better to zap the feature. > OK? Obviously ok from me. :-) To see the problem, watch(1) a command that outputs fewer lines each time it is run, e.g. this silly shell script that modifies itself to keep state: -------------------- #!/bin/sh n=20 i=$n while [ "$i" -gt 0 ]; do echo "$i" i=$((i - 1)) done echo "(last line)" sed -i "s/^n=${n}$/n=$((n - 1))/" "$0" -- Christian "naddy" Weisgerber naddy@mips.inka.de