=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/vgrind/Attic/vgrindefs.5,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/vgrind/Attic/vgrindefs.5 1996/06/26 05:42:32 1.2 --- src/usr.bin/vgrind/Attic/vgrindefs.5 1998/10/30 00:24:42 1.3 *************** *** 1,4 **** ! .\" $OpenBSD: vgrindefs.5,v 1.2 1996/06/26 05:42:32 deraadt Exp $ .\" $NetBSD: vgrindefs.5,v 1.3 1994/11/17 08:28:07 jtc Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 --- 1,4 ---- ! .\" $OpenBSD: vgrindefs.5,v 1.3 1998/10/30 00:24:42 aaron Exp $ .\" $NetBSD: vgrindefs.5,v 1.3 1994/11/17 08:28:07 jtc Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 *************** *** 53,59 **** very similar to .Xr termcap 5 . .Sh FIELDS ! The following table names and describes each field. .Pp .Bl -column Namexxx Tpexxx .Sy Name Type Description --- 53,59 ---- very similar to .Xr termcap 5 . .Sh FIELDS ! The following table names and describes each field: .Pp .Bl -column Namexxx Tpexxx .Sy Name Type Description *************** *** 73,79 **** .Pp .Sh EXAMPLES The following entry, which describes the C language, is ! typical of a language entry. .Bd -literal C|c:\ :pb=^\ed?*?\ed?\ep\ed?\e(\ea?\e):bb={:be=}:cb=/*:ce=*/:sb=":se=\ee":\e --- 73,79 ---- .Pp .Sh EXAMPLES The following entry, which describes the C language, is ! typical of a language entry: .Bd -literal C|c:\ :pb=^\ed?*?\ed?\ep\ed?\e(\ea?\e):bb={:be=}:cb=/*:ce=*/:sb=":se=\ee":\e *************** *** 101,107 **** capabilities which give a regular expression or keyword list. .Sh REGULAR EXPRESSIONS ! .Nm Vgrindefs uses regular expression which are very similar to those of .Xr ex 1 and --- 101,107 ---- capabilities which give a regular expression or keyword list. .Sh REGULAR EXPRESSIONS ! .Nm vgrindefs uses regular expression which are very similar to those of .Xr ex 1 and *************** *** 115,138 **** The metasymbols and their meanings are: .Bl -tag -width indent .It $ ! the end of a line .It \&^ ! the beginning of a line .It \ed ! a delimiter (space, tab, newline, start of line) .It \ea ! matches any string of symbols (like .* in lex) .It \ep ! matches any alphanumeric name. In a procedure definition (pb) the string that matches this symbol is used as the procedure name. .It () ! grouping .It \&| ! alternation .It ? ! last item is optional .It \ee ! preceding any string means that the string will not match an input string if the input string is preceded by an escape character (\e). This is typically used for languages (like C) which can include the string delimiter in a string by escaping it. --- 115,138 ---- The metasymbols and their meanings are: .Bl -tag -width indent .It $ ! End of a line. .It \&^ ! Beginning of a line. .It \ed ! A delimiter (space, tab, newline, start of line). .It \ea ! Matches any string of symbols (like .* in lex). .It \ep ! Matches any alphanumeric name. In a procedure definition (pb) the string that matches this symbol is used as the procedure name. .It () ! Grouping. .It \&| ! Alternation. .It ? ! Last item is optional. .It \ee ! Preceding any string means that the string will not match an input string if the input string is preceded by an escape character (\e). This is typically used for languages (like C) which can include the string delimiter in a string by escaping it. *************** *** 149,159 **** .Sh FILES .Bl -tag -width /usr/share/misc/vgrindefs -compact .It Pa /usr/share/misc/vgrindefs ! File containing terminal descriptions. .El .Sh SEE ALSO ! .Xr vgrind 1 , ! .Xr troff 1 .Sh HISTORY The .Nm --- 149,159 ---- .Sh FILES .Bl -tag -width /usr/share/misc/vgrindefs -compact .It Pa /usr/share/misc/vgrindefs ! file containing terminal descriptions .El .Sh SEE ALSO ! .Xr troff 1 , ! .Xr vgrind 1 .Sh HISTORY The .Nm