summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2015-02-17 15:43:35 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2015-02-17 15:43:35 +0000
commit840c10ca4976dbdc9c7af5906414d62a9f9d2e0b (patch)
treeff5fb5fa55264b016f78659431bef23c6497718d /sys/net
parent08d7f4a8561515937b08d4f0e5f4e482435eda6c (diff)
Instead of a relatively complex "stty size | ( read ..." in sysmerge, use
"tput cols". (This from ajacoutot@). Use it directly in the sdiff command, rather than saving it once at startup. Handling window size changes at runtime makes sysmerge significantly easier to use in common cases. Adds around .17s per sdiff invocation on my slowest machine (486), imperceptible on a faster machine, so it seems a reasonable trade-off. ok ajacoutot@
Diffstat (limited to 'sys/net')
0 files changed, 0 insertions, 0 deletions