diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 1997-01-06 10:26:28 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 1997-01-06 10:26:28 +0000 |
| commit | 3b64458b9387db2cf6a270dcdd4ed6e5e245375a (patch) | |
| tree | 6b0950416d24d82cd3dea1220a4a830a04e10200 /sysutils/contool/files/patch-05 | |
| parent | Moving contool from ports/x11/ to ports/sysutils/ (diff) | |
Contool will capture and display system console messages with timestamps.
It is a replacement for the standard X console. Contool will flash its
icon and beep when messages are written to the icon, so you can keep it
closed on your desktop until a message arrives. You can modify this
beeping and flashing behavior; see the man page for more details.
You can instruct contool to filter and ignore certain common console
messages or act upon them.
Submitted by: Nick Sayer <nsayer@@quack.kfu.com> (w/changes by me)
Closes PR: ports/2152
Diffstat (limited to 'sysutils/contool/files/patch-05')
| -rw-r--r-- | sysutils/contool/files/patch-05 | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sysutils/contool/files/patch-05 b/sysutils/contool/files/patch-05 new file mode 100644 index 000000000000..8fb073db8cd0 --- /dev/null +++ b/sysutils/contool/files/patch-05 @@ -0,0 +1,35 @@ +--- filters.c.orig Thu Feb 24 09:55:37 1994 ++++ filters.c Sun Jan 5 13:51:25 1997 +@@ -25,12 +25,17 @@ + + #include <stdio.h> + #include <string.h> ++#include <sys/param.h> + + #include <xview/xview.h> + #include <xview/panel.h> + #include <xview/notice.h> + #include <xview/xv_xrect.h> + ++#if (defined(BSD) && (BSD >= 199306)) ++#include <regex.h> ++#endif ++ + #include "manifest.h" + #include "contool.h" + #include "contool_ui.h" +@@ -122,8 +127,14 @@ + + { + cond_free(f->start); ++#if (defined(BSD) && (BSD >= 199306)) ++ regfree(f->start_re); ++#endif + cond_free(f->start_re); + cond_free(f->stop); ++#if (defined(BSD) && (BSD >= 199306)) ++ regfree(f->stop_re); ++#endif + cond_free(f->stop_re); + cond_free(f->command); + cond_free(f->comment); |
