From 4d63f037afaf312b21671194d08c392705d19f16 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Fri, 19 Oct 2001 10:38:41 +0000 Subject: [PATCH] Added setup for *.msg path --- ChangeLog | 2 ++ mbsetup/m_global.c | 44 ++++++++++++++++++++++++-------------------- mbtask/mbtask.c | 3 ++- 3 files changed, 28 insertions(+), 21 deletions(-) diff --git a/ChangeLog b/ChangeLog index 04472204..4d4d775e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4067,6 +4067,7 @@ v0.33.18 27-Jul-2001 In your Mail Transport Agent (if you use it) replace the line "mbmail -r (recipients)" to mbmail "(recipients)". In postfix this is in the master.cf file. + With mbsetup menu 1.3.8 fill in the path to the *.msg path. lang: Added Galego language by Redy Rodriguez. @@ -4135,6 +4136,7 @@ v0.33.18 27-Jul-2001 deleted. Added setup items for the menu Display colors. Added a no suid switch to the menu for doors. + Added setup for *.msg directory in menu 1.3. mbcico: Renamed sendfile function in zmsend.c to sendzfile to prevent a diff --git a/mbsetup/m_global.c b/mbsetup/m_global.c index 35b0c5da..062cb16e 100644 --- a/mbsetup/m_global.c +++ b/mbsetup/m_global.c @@ -2,7 +2,7 @@ * * File ..................: m_global.c * Purpose ...............: Global Setup Program - * Last modification date : 27-Sep-2001 + * Last modification date : 19-Oct-2001 * ***************************************************************************** * Copyright (C) 1997-2001 @@ -222,12 +222,13 @@ void e_global(void) mvprintw(10, 2, "5. Inbound"); mvprintw(11, 2, "6. Prot inb."); mvprintw(12, 2, "7. Outbound"); - mvprintw(13, 2, "8. Bad TIC's"); - mvprintw(14, 2, "9. TIC queue"); - mvprintw(15, 2, "10. Magic's"); - mvprintw(16, 2, "11. DOS path"); - mvprintw(17, 2, "12. Unix path"); - mvprintw(18, 2, "13. LeaveCase"); + mvprintw(13, 2, "8. *.msgs"); + mvprintw(14, 2, "9. Bad TIC's"); + mvprintw(15, 2, "10. TIC queue"); + mvprintw(16, 2, "11. Magic's"); + mvprintw(17, 2, "12. DOS path"); + mvprintw(18, 2, "13. Unix path"); + mvprintw(19, 2, "14. LeaveCase"); for (;;) { set_color(WHITE, BLACK); @@ -238,14 +239,15 @@ void e_global(void) show_str(10,16,64, CFG.inbound); show_str(11,16,64, CFG.pinbound); show_str(12,16,64, CFG.outbound); - show_str(13,16,64, CFG.badtic); - show_str(14,16,64, CFG.ticout); - show_str(15,16,64, CFG.req_magic); - show_str(16,16,64, CFG.dospath); - show_str(17,16,64, CFG.uxpath); - show_bool(18,16, CFG.leavecase); + show_str(13,16,64, CFG.msgs_path); + show_str(14,16,64, CFG.badtic); + show_str(15,16,64, CFG.ticout); + show_str(16,16,64, CFG.req_magic); + show_str(17,16,64, CFG.dospath); + show_str(18,16,64, CFG.uxpath); + show_bool(19,16, CFG.leavecase); - switch(select_menu(13)) { + switch(select_menu(14)) { case 0: return; case 1: E_PTH( 6,16,64, CFG.bbs_menus, "The path to the ^default menus^.") case 2: E_PTH( 7,16,64, CFG.bbs_txtfiles, "The path to the ^default textfiles^.") @@ -254,12 +256,13 @@ void e_global(void) case 5: E_PTH(10,16,64, CFG.inbound, "The path to the ^inbound^ for unknown systems.") case 6: E_PTH(11,16,64, CFG.pinbound, "The path to the ^nodelists^ for protected systems.") case 7: E_PTH(12,16,64, CFG.outbound, "The path to the base ^outbound^ directory.") - case 8: E_PTH(13,16,64, CFG.badtic, "The path to the ^bad tic files^.") - case 9: E_PTH(14,16,64, CFG.ticout, "The path to the ^outgoing TIC^ files.") - case 10:E_PTH(15,16,64, CFG.req_magic, "The path to the ^magic filerequest^ files.") - case 11:E_STR(16,16,64, CFG.dospath, "The translated ^DOS^ drive and path.") - case 12:E_PTH(17,16,64, CFG.uxpath, "The translated ^Unix^ path.") - case 13:E_BOOL(18,16, CFG.leavecase, "^Leave^ outbound flo filenames as is, ^No^ forces uppercase.") + case 8: E_PTH(13,16,64, CFG.msgs_path, "The path to the ^*.msgs^ directory.") + case 9: E_PTH(14,16,64, CFG.badtic, "The path to the ^bad tic files^.") + case 10:E_PTH(15,16,64, CFG.ticout, "The path to the ^outgoing TIC^ files.") + case 11:E_PTH(16,16,64, CFG.req_magic, "The path to the ^magic filerequest^ files.") + case 12:E_STR(17,16,64, CFG.dospath, "The translated ^DOS^ drive and path.") + case 13:E_PTH(18,16,64, CFG.uxpath, "The translated ^Unix^ path.") + case 14:E_BOOL(19,16, CFG.leavecase, "^Leave^ outbound flo filenames as is, ^No^ forces uppercase.") } }; } @@ -1696,6 +1699,7 @@ int global_doc(FILE *fp, FILE *toc, int page) fprintf(fp, " Nodelists %s\n", CFG.nodelists); fprintf(fp, " Unsafe inbound %s\n", CFG.inbound); fprintf(fp, " Known inbound %s\n", CFG.pinbound); + fprintf(fp, " *.msgs path %s\n", CFG.msgs_path); fprintf(fp, " Bad TIC's %s\n", CFG.badtic); fprintf(fp, " TIC queue %s\n", CFG.ticout); fprintf(fp, " Magic filereq. %s\n", CFG.req_magic); diff --git a/mbtask/mbtask.c b/mbtask/mbtask.c index bc8fc89a..eb27f4ba 100644 --- a/mbtask/mbtask.c +++ b/mbtask/mbtask.c @@ -2,7 +2,7 @@ * * File ..................: mbtask/mbtask.c * Purpose ...............: MBSE BBS Task Manager - * Last modification date : 13-Aug-2001 + * Last modification date : 19-Oct-2001 * ***************************************************************************** * Copyright (C) 1997-2001 @@ -154,6 +154,7 @@ void load_maincfg(void) sprintf(CFG.inbound, "/var/spool/mbse/unknown"); sprintf(CFG.pinbound, "/var/spool/mbse/inbound"); sprintf(CFG.outbound, "/var/spool/mbse/outbound"); + sprintf(CFG.msgs_path, "/var/spool/mbse/msgs"); sprintf(CFG.dospath, "a:"); /* The biggest floppy on earth, JvdW. */ sprintf(CFG.uxpath, "/var/spool/mbse"); sprintf(CFG.badtic, "/var/spool/mbse/badtic");