path: root/comsat/comsat.h
diff options
authorSergey Poznyakoff <>2010-12-07 23:03:33 +0200
committerSergey Poznyakoff <>2010-12-07 23:03:33 +0200
commit2cbe825eb999f224ce756510dbd7123bc76ec924 (patch)
tree2290398d5cbf0a3c048efd225dc991f86399db56 /comsat/comsat.h
parent04c2931bb963fefd4654ef2de2cf0667cf8a333d (diff)
comsat: add a way to specify alternative biffrc file name; new biffrc statement: tty
* comsat/comsat.c (options): New option --file. (biffrc): New variable. (comsatd_parse_opt): Handle the --file option. (open_tty): New function. (notify_user): Open the tty using open_tty function and a default set of filters. (main): Hanlde --file option. * comsat/action.c (run_user_action): Implement the `tty' statement. * comsat/comsat.h (biffrc): New extern. (open_tty): New function. mu: accept a chain of filters. * mu/filter.c (filter_doc, filter_docstring): Update. (mutool_filter): Accept a filter chain.
Diffstat (limited to 'comsat/comsat.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/comsat/comsat.h b/comsat/comsat.h
index e23aaba33..8368c6ffc 100644
--- a/comsat/comsat.h
+++ b/comsat/comsat.h
@@ -77,6 +77,8 @@ extern int maxlines;
extern const char *username;
extern char *hostname;
extern struct daemon_param daemon_param;
+extern char *biffrc;
void run_user_action (mu_stream_t str, mu_message_t msg);
+mu_stream_t open_tty (const char *device, int argc, char **argv);

Return to:

Send suggestions and report system problems to the System administrator.