mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
3b64458b93
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
36 lines
734 B
Plaintext
36 lines
734 B
Plaintext
--- 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);
|