Make the output of the list command more sensible for the output device.
authormartijn <martijn@openbsd.org>
Wed, 11 Jul 2018 06:57:18 +0000 (06:57 +0000)
committermartijn <martijn@openbsd.org>
Wed, 11 Jul 2018 06:57:18 +0000 (06:57 +0000)
commit69cbdd2da7e45bef00738bfa37bd6fc9b8c9bb8d
tree4912389252f875a9580080766df87744309af183
parent91c2caa42aea33db5f1bcab2260546b915fac461
Make the output of the list command more sensible for the output device.
We now output $COLUMNS - 8 characters of the string and a newline.
This is similar to the behaviour in ed(1).

Discussed with and OK schwarze@
usr.bin/sed/main.c