From owner-freebsd-bugs Mon Jan 4 17:30:18 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA08291 for freebsd-bugs-outgoing; Mon, 4 Jan 1999 17:30:18 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA08270 for ; Mon, 4 Jan 1999 17:30:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id RAA29828; Mon, 4 Jan 1999 17:30:01 -0800 (PST) Received: from ns1.tu-graz.ac.at (ns1.tu-graz.ac.at [129.27.2.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA07809 for ; Mon, 4 Jan 1999 17:24:32 -0800 (PST) (envelope-from dada@ns1.tu-graz.ac.at) Received: from fcggsg07.icg.tu-graz.ac.at (fcggsg07.icg.tu-graz.ac.at [129.27.201.16]) by ns1.tu-graz.ac.at (8.8.6/8.8.6) with ESMTP id CAA19355 for ; Tue, 5 Jan 1999 02:24:04 +0100 (MET) Received: from localhost.tu-graz.ac.at (isdn088.tu-graz.ac.at [129.27.240.88]) by fcggsg07.icg.tu-graz.ac.at (8.8.8/8.8.8) with ESMTP id CAA04535 for ; Tue, 5 Jan 1999 02:24:01 +0100 (MET) Received: (from dada@localhost) by localhost.tu-graz.ac.at (8.8.8/8.8.8) id TAA01891; Thu, 31 Dec 1998 19:25:59 +0100 (CET) (envelope-from dada) Message-Id: <199812311825.TAA01891@localhost.tu-graz.ac.at> Date: Thu, 31 Dec 1998 19:25:59 +0100 (CET) From: dada@sbox.tu-graz.ac.at Reply-To: dada@sbox.tu-graz.ac.at To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/9318: vgrind(1): no JAVA support Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9318 >Category: bin >Synopsis: vgrind(1): no JAVA support >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 4 17:30:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Martin Kammerhofer >Release: FreeBSD 2.2.8-STABLE i386 >Organization: Graz University of Technology >Environment: >Description: Problem 1: Option -t as documented in vgrind(1) does not work. The manpage says it's redirecting output to stdout. In reality it tells troff(1) to run the tbl(1) preprocessor. Problem 2: vgrind(1) is missing support for java. >How-To-Repeat: vgrind -t anyfile.c vgrind -ljava anotherfile.java >Fix: ================================================ diff -u vgrind~/vgrind.1 vgrind/vgrind.1 --- vgrind~/vgrind.1 Sun Jul 19 22:33:46 1998 +++ vgrind/vgrind.1 Thu Dec 31 18:56:55 1998 @@ -140,9 +140,11 @@ .Pq Fl l Ns Ar isp , .Tn ICON .Pq Fl l Ns Ar I , -and .Tn PERL -.Pq Fl l Ns Ar perl . +.Pq Fl l Ns Ar perl +and +.Tn JAVA +.Pq Fl l Ns Ar java . .It Fl n forces no keyword bolding .It Fl p Ar postproc @@ -155,9 +157,9 @@ specifies a point size to use on output (exactly the same as the argument of a .ps) .It Fl t -similar to the same option in -.Xr troff -causing formatted text to go to the standard output +causes formatted text to go to the standard output (short for +.Fl p Qq Ar groff -Tps -C +) .It Fl x outputs the index file in a ``pretty'' format. The index file itself is produced whenever diff -u vgrind~/vgrind.sh vgrind/vgrind.sh --- vgrind~/vgrind.sh Sun Sep 8 20:23:53 1996 +++ vgrind/vgrind.sh Thu Dec 31 18:01:19 1998 @@ -53,7 +53,7 @@ goto top case -t: - set voptions = "$voptions -t" + set postproc=(groff -Tps -C) shift goto top diff -u vgrind~/vgrindefs.src vgrind/vgrindefs.src --- vgrind~/vgrindefs.src Sun Jul 19 22:33:46 1998 +++ vgrind/vgrindefs.src Thu Dec 31 18:03:09 1998 @@ -157,3 +157,14 @@ :sb=":se=(\e"|$):lb=':le=(\e'|$):\ :kw=do if unless while until else elsif for foreach continue\ next redo sub last goto return die exit require: +java|Java|JAVA:\ + :pb=^\d?(public|protected|private)?\d?(class|interface)\d\p(\d|{):\ + :bb={:be=}:cb=/*:ce=*/:ab=//:ae=$:sb=":se=\e":lb=':\ + :zb=@:ze=@:tb=%%:te=%%:mb=%\$:me=\$%:vb=%\|:ve=\|%:\ + :le=\e':tl:\ + :kw=abstract boolean break byte byvalue case catch char class\ + const continue default do double else extends false final finally\ + float for goto if implements import instanceof int interface long\ + native new null package private protected public return short static\ + super switch synchronized this threadsafe throw transient true try\ + void while: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message