summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2016-02-05 21:03:51 +0000
committerschwarze <schwarze@openbsd.org>2016-02-05 21:03:51 +0000
commit0689cbaafb9efa8d0fb1ff3c2acf3268721df132 (patch)
tree47599ca157059a251d27e84316e644ba8b97c0b9
parentFix iwn(4) CCMP replay detection so it does not drop out-of-order A-MPDU (diff)
downloadwireguard-openbsd-0689cbaafb9efa8d0fb1ff3c2acf3268721df132.tar.xz
wireguard-openbsd-0689cbaafb9efa8d0fb1ff3c2acf3268721df132.zip
Explain why we intentionally violate POSIX here, to prevent people from
being sad that they can't use UTF-8 in write(1), and to prevent that they waste their time trying to fix it. While here, fix some broken escaping. OK jmc@ martijn@
-rw-r--r--usr.bin/write/write.111
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/write/write.1 b/usr.bin/write/write.1
index 65b7b9ee0f9..fa7bc74c651 100644
--- a/usr.bin/write/write.1
+++ b/usr.bin/write/write.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: write.1,v 1.18 2016/02/05 19:00:39 martijn Exp $
+.\" $OpenBSD: write.1,v 1.19 2016/02/05 21:03:51 schwarze Exp $
.\"
.\" Copyright (c) 1989, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -119,11 +119,12 @@ The
.Nm
utility is compliant with the
.St -p1003.1-2008
-specification,
-except that in this implementation
-the sender's locale is ignored.
+specification, except that in this implementation the sender's
+locale is intentionally ignored in order to avoid sending characters
+that the receiving terminal may be unable to display, or even bytes
+that might break the receiving terminal's state.
Non-ASCII characters are written as
-.Sq \? .
+.Sq \&? .
.Sh HISTORY
A
.Nm