diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-01-18 20:31:37 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-01-18 20:31:37 +0000 |
commit | d669040b8118fb7fb901be63a7ad15f2d114be76 (patch) | |
tree | 1b6bc6775eda0211a92e05fcdc505063c44ab491 /sbin | |
parent | 7f462eaefa1879b6afdcb1307e744a4b6db24b0e (diff) |
UTF-8 support:
Cut by display columns rather than by character positions because
the latter would be useless in the presence of combining zero-width
characters. Similarly, let tab advance to display columns rather
than to character positions.
For compatibility with nroff and man(1) output, let backspace back
up one character rather than on display column. But for compatibility
with POSIX fold(1), *if* two backspaces follow a double-width character,
ignore the second one.
Fix some bugs while here: Delete backspaces that immediately follow
deleted characters. Expand tabs intersecting deletions, such that
part of the blanks can be removed. Expand tabs following deletions,
or they would no longer align with adjacent lines without tabs.
OK jmc@ on a previous version of the manual.
No opposition when shown on tech@.
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions