summaryrefslogtreecommitdiff
path: root/lib/libc/gen/vis.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/vis.3')
-rw-r--r--lib/libc/gen/vis.313
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/libc/gen/vis.3 b/lib/libc/gen/vis.3
index 1fae60697db..ce63c2c49f7 100644
--- a/lib/libc/gen/vis.3
+++ b/lib/libc/gen/vis.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vis.3,v 1.24 2007/05/31 19:19:29 jmc Exp $
+.\" $OpenBSD: vis.3,v 1.25 2010/08/21 18:59:15 djm Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: August 21 2010 $
.Dt VIS 3
.Os
.Sh NAME
@@ -163,6 +163,8 @@ except space, tab, and newline are encoded
The following flags
alter this:
.Bl -tag -width VIS_WHITEX
+.It Dv VIS_ALL
+Encode all characters, whether visible or not.
.It Dv VIS_GLOB
Also encode magic characters recognized by
.Xr glob 3
@@ -278,6 +280,13 @@ If
.Fa nextc
is an octal digit, the latter representation is used to
avoid ambiguity.
+.It Dv VIS_HEX
+Use a two digit hexadecimal sequence.
+The form is
+.Ql \exdd
+where
+.Ar d
+represents a hexadecimal digit.
.It Dv VIS_OCTAL
Use a three digit octal sequence.
The form is