From f1f08225ed742c069a011daaae7ea2796a3ef084 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 7 Aug 2004 13:42:19 +0000 Subject: [PATCH] Added newuser questions for screenlen, newmail check and newfiles check --- ChangeLog | 5 +++++ TODO | 3 --- mbsetup/m_global.c | 4 +++- mbtask/mbtask.c | 6 +++--- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 91bfbe81..8eddb061 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ v0.61.3 25-Jul-2004 upgrade: To resinstall the corrected dutch macro templates go into the examples directory and type "make dutch-macros". + In mbsetup menu 1.7 check the new items 15, 16 and 17. libmbse.a: Removed the fdn parameter from the attach and un_attach @@ -28,6 +29,10 @@ v0.61.3 25-Jul-2004 Added defaults for questions for screenlen, newmail chack and newfiles check. + mbsetup: + In menu 1.7 added 3 new items to ask new users for screenlen, + newmail check and newfiles check. + examples: Fixed 2 spelling errors in the dutch macro templates. diff --git a/TODO b/TODO index f9d2d9b2..def9dada 100644 --- a/TODO +++ b/TODO @@ -158,8 +158,5 @@ mbsetup: format, if a filegate list is installed and the filegate switch setting is wrong, a lot of wrong areas will be created. - N: Disable settings for the bbs Ask screenlen, Ask codepage, Disable - newmail and newfiles scan. - N: Sort tty records. diff --git a/mbsetup/m_global.c b/mbsetup/m_global.c index 2bff9e50..0f8be957 100644 --- a/mbsetup/m_global.c +++ b/mbsetup/m_global.c @@ -500,8 +500,10 @@ void e_newuser(void) case 15:E_BOOL(12,68, CFG.AskScreenlen, "Ask new user to set the ^screen length^") case 16:CFG.AskNewmail = edit_asktype(13,68,CFG.AskNewmail, (char *)"Set ^new mail^ check at login, toggle wit space, Enter when done"); - case 17:CFG.AskNewfiles = edit_asktype(13,68,CFG.AskNewfiles, + break; + case 17:CFG.AskNewfiles = edit_asktype(14,68,CFG.AskNewfiles, (char *)"Set ^new files^ check at login, toggle wit space, Enter when done"); + break; } }; } diff --git a/mbtask/mbtask.c b/mbtask/mbtask.c index bb0be4e8..ba026a46 100644 --- a/mbtask/mbtask.c +++ b/mbtask/mbtask.c @@ -219,9 +219,9 @@ void load_maincfg(void) CFG.iAttachLevel = 100; CFG.new_groups = 25; CFG.max_logins = 1; - CFG.AskScreenlen = ASK; - CFG.AskNewmail = ASK; - CFG.AskNewfiles = ASK; + CFG.AskScreenlen = TRUE; + CFG.AskNewmail = YES; + CFG.AskNewfiles = YES; CFG.slow_util = TRUE; CFG.iCrashLevel = 100;