From owner-svn-src-head@FreeBSD.ORG Fri Mar 15 00:05:51 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 86CF46C6; Fri, 15 Mar 2013 00:05:51 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 7380A343; Fri, 15 Mar 2013 00:05:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2F05oIL075271; Fri, 15 Mar 2013 00:05:50 GMT (envelope-from brooks@svn.freebsd.org) Received: (from brooks@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2F05oXK075269; Fri, 15 Mar 2013 00:05:50 GMT (envelope-from brooks@svn.freebsd.org) Message-Id: <201303150005.r2F05oXK075269@svn.freebsd.org> From: Brooks Davis Date: Fri, 15 Mar 2013 00:05:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r248303 - in head: contrib/unvis contrib/vis usr.bin/unvis usr.bin/vis X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2013 00:05:51 -0000 Author: brooks Date: Fri Mar 15 00:05:50 2013 New Revision: 248303 URL: http://svnweb.freebsd.org/changeset/base/248303 Log: Replace our (un)vis(1) commands with implementations from NetBSD to match our import of the (un)vis(3) APIs. This adds support for multibyte encoding and the -h and -m flags which support HTTP and MIME encoding respectively. PR: bin/175418 Obtained from: NetBSD Added: head/contrib/unvis/ - copied from r247132, vendor/NetBSD/unvis/dist/ head/contrib/vis/ - copied from r247132, vendor/NetBSD/vis/dist/ Deleted: head/usr.bin/unvis/unvis.1 head/usr.bin/unvis/unvis.c head/usr.bin/vis/extern.h head/usr.bin/vis/foldit.c head/usr.bin/vis/vis.1 head/usr.bin/vis/vis.c Modified: head/usr.bin/unvis/Makefile head/usr.bin/vis/Makefile Modified: head/usr.bin/unvis/Makefile ============================================================================== --- head/usr.bin/unvis/Makefile Thu Mar 14 23:51:47 2013 (r248302) +++ head/usr.bin/unvis/Makefile Fri Mar 15 00:05:50 2013 (r248303) @@ -3,4 +3,6 @@ PROG= unvis +.PATH: ${.CURDIR}/../../contrib/unvis + .include Modified: head/usr.bin/vis/Makefile ============================================================================== --- head/usr.bin/vis/Makefile Thu Mar 14 23:51:47 2013 (r248302) +++ head/usr.bin/vis/Makefile Fri Mar 15 00:05:50 2013 (r248303) @@ -1,6 +1,10 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 +# $FreeBSD$ PROG= vis SRCS= vis.c foldit.c +.PATH: ${.CURDIR}/../../contrib/vis +CFLAGS+= -I${.CURDIR}/../../contrib/vis + .include