[COMMIT] Sync #'truncate-string-to-width with GNU, add tests for it.