~vcs-imports-ii/pspp/master

Viewing all changes in revision 5850.

  • Committer: Ben Pfaff
  • Date: 2020-01-09 07:25:48 UTC
  • Revision ID: git-v1:1e8aa549d8b7b19f814bbb08995aedb6a96630f6
ascii: Correct multiple bugs regarding output width.

The SET WIDTH setting was ignored.  This makes the code honor it for
output to a file.  For output to a terminal, the terminal's width is
used instead.

Honor changes to SET WIDTH as well.

The code to detect terminal size changes wasn't properly signal safe,
and it was scattered across multiple files.  This centralizes it and
makes it signal safe.

There were bugs in updates to min_hbreak in corner cases.  This fixes
them.

Thanks to Frans Houweling and John Darrington for reporting these
bugs.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: