* Ruud de Rooij <ruud@ruud.org> Sun, 28 May 2000 17:28:55 +0200
*/
-#include <h/mh.h>
-#include <h/signals.h>
+#include "h/mh.h"
+#include "sbr/ambigsw.h"
+#include "sbr/print_version.h"
+#include "sbr/print_help.h"
+#include "sbr/error.h"
+#include "h/signals.h"
#include <setjmp.h>
-#include <h/rcvmail.h>
-#include <h/scansbr.h>
-#include <h/tws.h>
-#include <h/mts.h>
+#include "h/rcvmail.h"
+#include "h/scansbr.h"
+#include "h/fmt_scan.h"
+#include "h/tws.h"
+#include "h/mts.h"
#include "h/done.h"
-#include <h/utils.h>
+#include "h/utils.h"
#include "sbr/m_mktemp.h"
#include <fcntl.h>
#undef X
static jmp_buf myctx;
-static int bell = 1;
-static int newline = 1;
-static int biff = 0;
+static bool bell = true;
+static bool newline = true;
+static bool biff;
static int width = -1;
static char *form = NULL;
static char *format = NULL;
done (0);
case BIFFSW:
- biff = 1;
+ biff = true;
continue;
case FORMSW:
width = atoi(cp);
continue;
case NLSW:
- newline = 1;
+ newline = true;
continue;
case NNLSW:
- newline = 0;
+ newline = false;
continue;
case BELSW:
- bell = 1;
+ bell = true;
continue;
case NBELSW:
- bell = 0;
+ bell = false;
continue;
}