]> diplodocus.org Git - nmh/blobdiff - uip/burst.c
Added mention of "Reply to <address>?" prompt to repl(1) man
[nmh] / uip / burst.c
index c3f217103c209067d9ea1a062de494df908d1de9..71b226c116761165021f66f44e33e9e9d1a070a1 100644 (file)
@@ -42,7 +42,6 @@ struct smsg {
  */
 
 int debugsw = 0;
  */
 
 int debugsw = 0;
-pid_t xpid = 0;
 
 /*
  * static prototypes
 
 /*
  * static prototypes
@@ -75,13 +74,7 @@ main (int argc, char **argv)
     struct smsg *smsgs;
     struct msgs *mp;
 
     struct smsg *smsgs;
     struct msgs *mp;
 
-#ifdef LOCALE
-    setlocale(LC_ALL, "");
-#endif
-    invo_name = r1bindex (argv[0], '/');
-
-    /* read user profile/context */
-    context_read();
+    if (nmh_init(argv[0], 1)) { return 1; }
 
     arguments = getarguments (invo_name, argc, argv, 1);
     argp = arguments;
 
     arguments = getarguments (invo_name, argc, argv, 1);
     argp = arguments;