diff options
Diffstat (limited to 'lib/libc/gen/vis.3')
| -rw-r--r-- | lib/libc/gen/vis.3 | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/lib/libc/gen/vis.3 b/lib/libc/gen/vis.3 index 5b845ab24e0..af88b6ce19f 100644 --- a/lib/libc/gen/vis.3 +++ b/lib/libc/gen/vis.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: vis.3,v 1.15 2002/02/07 07:00:18 ross Exp $ +.\" $NetBSD: vis.3,v 1.16 2002/03/23 17:38:27 christos Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -205,11 +205,15 @@ warning on the use of the .Dv VIS_NOSLASH flag below). .Pp -There are three forms of encoding. +There are four forms of encoding. All forms use the backslash character .Ql \e to introduce a special -sequence; two backslashes are used to represent a real backslash. +sequence; two backslashes are used to represent a real backslash, +except +.Dv VIS_HTTPSTYLE +that uses +.Ql $ . These are the visual formats: .Bl -tag -width VIS_CSTYLE .It (default) @@ -293,6 +297,13 @@ Use a three digit octal sequence. The form is where .Em d represents an octal digit. +.It Dv VIS_HTTPSTYLE +Use URI encoding as described in RFC 1808. +The form is +.Ql %xx +where +.Em x +represents a hexadecimal digit. .El .Pp There is one additional flag, @@ -310,6 +321,11 @@ ambiguous and non-invertible. .Xr unvis 1 , .Xr vis 1 , .Xr unvis 3 +.Rs +.%A R. Fielding +.%T Relative Uniform Resource Locators +.%O RFC1808 +.Re .Sh HISTORY The .Fa vis , |
