ongrep

A cleaned up fork of ngrep for OpenBSD
git clone git://git.sgregoratto.me/ongrep
Log | Files | Refs | README | LICENSE

commit 95bf389e26ee4533ef4332b45340ef62be33e08b
parent f6e6251ba1d593bafc04208018334b3616e82ab4
Author: Jordan Ritter <jpr5@darkridge.com>
Date:   Thu, 14 Dec 2006 00:18:42 +0000

changed version number to 1.46-CVS because color is a major feature-add,
and changed the semantic for switching bold vs. hilite (only in code for
now)

Diffstat:
Mngrep.h | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/ngrep.h b/ngrep.h @@ -7,7 +7,7 @@ * */ -#define VERSION "1.45.1-CVS" +#define VERSION "1.46-CVS" /* * We cache the standard frame sizes here to save us time and @@ -129,5 +129,8 @@ struct NGREP_rtaphdr_t { const char ANSI_red[] = "\33[01;31m"; const char ANSI_bold[] = "\33[01m"; -const char ANSI_off[] = "\33[00m"; + +const char *ANSI_hilite = ANSI_red; +const char ANSI_off[] = "\33[00m"; +