summaryrefslogtreecommitdiff
path: root/usr.bin/vis
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1994-11-17 07:55:49 +0000
committerjtc <jtc@NetBSD.org>1994-11-17 07:55:49 +0000
commit9afe744ec4be94fc750a4edbd78e24086bbeb7d0 (patch)
tree5573cf6d08012f775eedd8dc6c6f9f439a5c312e /usr.bin/vis
parent373b32ea19fd440f8cef0b68640d2d58d5b2fac8 (diff)
Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
Diffstat (limited to 'usr.bin/vis')
-rw-r--r--usr.bin/vis/Makefile4
-rw-r--r--usr.bin/vis/foldit.c12
-rw-r--r--usr.bin/vis/vis.121
-rw-r--r--usr.bin/vis/vis.c18
4 files changed, 31 insertions, 24 deletions
diff --git a/usr.bin/vis/Makefile b/usr.bin/vis/Makefile
index fe54de6eeec..696b62a73db 100644
--- a/usr.bin/vis/Makefile
+++ b/usr.bin/vis/Makefile
@@ -1,5 +1,5 @@
-# from: @(#)Makefile 5.2 (Berkeley) 6/29/90
-# $Id: Makefile,v 1.2 1993/07/30 23:49:41 mycroft Exp $
+# $NetBSD: Makefile,v 1.3 1994/11/17 07:55:57 jtc Exp $
+# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= vis
SRCS= vis.c foldit.c
diff --git a/usr.bin/vis/foldit.c b/usr.bin/vis/foldit.c
index ad842356b36..0454b5b8eed 100644
--- a/usr.bin/vis/foldit.c
+++ b/usr.bin/vis/foldit.c
@@ -1,6 +1,8 @@
+/* $NetBSD: foldit.c,v 1.3 1994/11/17 07:55:58 jtc Exp $ */
+
/*-
- * Copyright (c) 1990 The Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1990, 1993
+ * The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -32,8 +34,10 @@
*/
#ifndef lint
-/*static char sccsid[] = "from: @(#)foldit.c 5.1 (Berkeley) 4/18/91";*/
-static char rcsid[] = "$Id: foldit.c,v 1.2 1993/08/01 18:04:01 mycroft Exp $";
+#if 0
+static char sccsid[] = "@(#)foldit.c 8.1 (Berkeley) 6/6/93";
+#endif
+static char rcsid[] = "$NetBSD: foldit.c,v 1.3 1994/11/17 07:55:58 jtc Exp $";
#endif /* not lint */
foldit(chunk, col, max)
diff --git a/usr.bin/vis/vis.1 b/usr.bin/vis/vis.1
index e0c781d9bbb..7ed56eb6e25 100644
--- a/usr.bin/vis/vis.1
+++ b/usr.bin/vis/vis.1
@@ -1,5 +1,7 @@
-.\" Copyright (c) 1989, 1991 The Regents of the University of California.
-.\" All rights reserved.
+.\" $NetBSD: vis.1,v 1.5 1994/11/17 07:56:00 jtc Exp $
+.\"
+.\" Copyright (c) 1989, 1991, 1993, 1994
+.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@@ -29,12 +31,11 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" from: @(#)vis.1 5.2 (Berkeley) 4/23/91
-.\" $Id: vis.1,v 1.4 1994/01/11 18:49:36 jtc Exp $
+.\" @(#)vis.1 8.4 (Berkeley) 4/19/94
.\"
-.Dd April 23, 1991
+.Dd April 19, 1994
.Dt VIS 1
-.Os
+.Os BSD 4.4
.Sh NAME
.Nm vis
.Nd display non-printable characters in a visual format
@@ -55,8 +56,7 @@ A detailed description of the
various visual formats is given in
.Xr vis 3 .
.Pp
-Options supported by
-.Nm vis :
+The options are as follows:
.Bl -tag -width Ds
.It Fl b
Turns off prepending of backslash before up-arrow control sequences
@@ -118,10 +118,9 @@ White space (space-tab-newline) is also encoded.
.El
.Sh SEE ALSO
.Xr unvis 1 ,
-.Xr unvis 3 ,
.Xr vis 3
.Sh HISTORY
The
.Nm
-command is
-.Ud .
+command appears in
+.Bx 4.4 .
diff --git a/usr.bin/vis/vis.c b/usr.bin/vis/vis.c
index dee0f91866c..b9bf43cfe36 100644
--- a/usr.bin/vis/vis.c
+++ b/usr.bin/vis/vis.c
@@ -1,6 +1,8 @@
+/* $NetBSD: vis.c,v 1.3 1994/11/17 07:56:01 jtc Exp $ */
+
/*-
- * Copyright (c) 1989 The Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1989, 1993
+ * The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -32,14 +34,16 @@
*/
#ifndef lint
-char copyright[] =
-"@(#) Copyright (c) 1989 The Regents of the University of California.\n\
- All rights reserved.\n";
+static char copyright[] =
+"@(#) Copyright (c) 1989, 1993\n\
+ The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
-/*static char sccsid[] = "from: @(#)vis.c 5.1 (Berkeley) 4/18/91";*/
-static char rcsid[] = "$Id: vis.c,v 1.2 1993/08/01 18:04:00 mycroft Exp $";
+#if 0
+static char sccsid[] = "@(#)vis.c 8.1 (Berkeley) 6/6/93";
+#endif
+static char rcsid[] = "$NetBSD: vis.c,v 1.3 1994/11/17 07:56:01 jtc Exp $";
#endif /* not lint */
#include <stdio.h>