=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/vis/vis.1,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- src/usr.bin/vis/vis.1 2009/08/16 09:41:08 1.13 +++ src/usr.bin/vis/vis.1 2010/08/21 19:00:50 1.14 @@ -1,4 +1,4 @@ -.\" $OpenBSD: vis.1,v 1.13 2009/08/16 09:41:08 sobrado Exp $ +.\" $OpenBSD: vis.1,v 1.14 2010/08/21 19:00:50 djm Exp $ .\" $NetBSD: vis.1,v 1.5 1994/11/17 07:56:00 jtc Exp $ .\" .\" Copyright (c) 1989, 1991, 1993, 1994 @@ -30,7 +30,7 @@ .\" .\" @(#)vis.1 8.4 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: August 16 2009 $ +.Dd $Mdocdate: August 21 2010 $ .Dt VIS 1 .Os .Sh NAME @@ -38,7 +38,7 @@ .Nd display non-printable characters in a visual format .Sh SYNOPSIS .Nm vis -.Op Fl bcflnostw +.Op Fl abcfhlnostw .Op Fl F Ar foldwidth .Op Ar .Sh DESCRIPTION @@ -59,6 +59,8 @@ .Pp The options are as follows: .Bl -tag -width Ds +.It Fl a +Encode all characters, whether originally visible or not. .It Fl b Turns off prepending of backslash before up-arrow control sequences and meta-characters, and disables the doubling of backslashes. @@ -89,6 +91,9 @@ Like .Fl F , except output is always folded to 80 columns. +.It Fl h +Request a format which displays non-printable characters as +a hexadecimal number, \exdd. .It Fl l Mark newlines with the visible sequence .Ql \e$ ,