From 0af4741c8aa33572ea061cc4d7e7f9a9aa3d6ea4 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 28 Jan 2006 15:12:25 +0000 Subject: [PATCH] Added NT mode in setup --- mbsetup/m_node.c | 47 ++++++++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/mbsetup/m_node.c b/mbsetup/m_node.c index f939aed1..9a63c07b 100644 --- a/mbsetup/m_node.c +++ b/mbsetup/m_node.c @@ -4,7 +4,7 @@ * Purpose ...............: Nodes Setup Program * ***************************************************************************** - * Copyright (C) 1997-2005 + * Copyright (C) 1997-2006 * * Michiel Broek FIDO: 2:280/2802 * Beekmansbos 10 @@ -802,15 +802,16 @@ void SessionScreen(void) mbse_mvprintw(17, 6, "11. No Filerequest"); mbse_mvprintw(18, 6, "12. Don't call"); mbse_mvprintw(19, 6, "13. 8.3 names"); + mbse_mvprintw(20, 6, "14. NR mode"); - mbse_mvprintw(13,41, "14. No PLZ"); - mbse_mvprintw(14,41, "15. No GZ/BZ2"); - mbse_mvprintw(15,41, "16. No Zmodem"); - mbse_mvprintw(16,41, "17. No Zedzap"); - mbse_mvprintw(17,41, "18. No Hydra"); - mbse_mvprintw(18,41, "19. Binkp old esc"); - mbse_mvprintw(19,41, "20. No binkp/1.1"); - mbse_mvprintw(20,41, "21. Ign. Hold"); + mbse_mvprintw(13,41, "15. No PLZ"); + mbse_mvprintw(14,41, "16. No GZ/BZ2"); + mbse_mvprintw(15,41, "17. No Zmodem"); + mbse_mvprintw(16,41, "18. No Zedzap"); + mbse_mvprintw(17,41, "19. No Hydra"); + mbse_mvprintw(18,41, "20. Binkp old esc"); + mbse_mvprintw(19,41, "21. No binkp/1.1"); + mbse_mvprintw(20,41, "22. Ign. Hold"); } @@ -835,6 +836,7 @@ void SessionEdit(void) show_bool(17,26, nodes.NoFreqs); show_bool(18,26, nodes.NoCall); show_bool(19,26, nodes.FNC); + show_bool(20,26, nodes.DoNR); show_bool(13,61, nodes.NoPLZ); show_bool(14,61, nodes.NoGZ); @@ -845,7 +847,7 @@ void SessionEdit(void) show_bool(19,61, nodes.NoBinkp11); show_bool(20,61, nodes.IgnHold); - switch(select_menu(21)) { + switch(select_menu(22)) { case 0: return; case 1: E_STR( 7,26,15, nodes.Spasswd, "The ^Session password^ for this node") case 2: E_STR( 8,26,40, nodes.dial, "If needed, give a special modem ^dial command^ for this node") @@ -862,15 +864,16 @@ void SessionEdit(void) case 11:E_BOOL(17,26, nodes.NoFreqs, "Disallow ^file requests^ from this node") case 12:E_BOOL(18,26, nodes.NoCall, "Don't ^call^ this node") case 13:E_BOOL(19,26, nodes.FNC, "Node needs ^DOS 8.3^ filenames") - - case 14:E_BOOL(13,61, nodes.NoPLZ, "Disable ^Binkp PLZ^ compression with this node") - case 15:E_BOOL(14,61, nodes.NoGZ, "Disable ^Binkp GZ and BZ2^ compression with this node") - case 16:E_BOOL(15,61, nodes.NoZmodem, "Disable ^Zmodem^ protocol with this node") - case 17:E_BOOL(16,61, nodes.NoZedzap, "Disable ^Zedzap^ protocol with this node") - case 18:E_BOOL(17,61, nodes.NoHydra, "Disable ^Hydra^ protocol with this node") - case 19:E_BOOL(18,61, nodes.WrongEscape, "Use the ^old escape^ for long filenames (Argus, Irex)") - case 20:E_BOOL(19,61, nodes.NoBinkp11, "Disable ^binkp/1.1^ (fallback to binkp/1.0) mode for this node") - case 21:E_BOOL(20,61, nodes.IgnHold, "Ignore node ^Hold or Down^ nodelist status") + case 14:E_BOOL(20,26, nodes.DoNR, "Use ^NR-mode^ in outgoing binkp sessions") + + case 15:E_BOOL(13,61, nodes.NoPLZ, "Disable ^Binkp PLZ^ compression with this node") + case 16:E_BOOL(14,61, nodes.NoGZ, "Disable ^Binkp GZ and BZ2^ compression with this node") + case 17:E_BOOL(15,61, nodes.NoZmodem, "Disable ^Zmodem^ protocol with this node") + case 18:E_BOOL(16,61, nodes.NoZedzap, "Disable ^Zedzap^ protocol with this node") + case 19:E_BOOL(17,61, nodes.NoHydra, "Disable ^Hydra^ protocol with this node") + case 20:E_BOOL(18,61, nodes.WrongEscape, "Use the ^old escape^ for long filenames (Argus, Irex)") + case 21:E_BOOL(19,61, nodes.NoBinkp11, "Disable ^binkp/1.1^ (fallback to binkp/1.0) mode for this node") + case 22:E_BOOL(20,61, nodes.IgnHold, "Ignore node ^Hold or Down^ nodelist status") } } } @@ -1552,9 +1555,11 @@ int node_doc(FILE *fp, FILE *toc, int page) add_webtable(wp, (char *)"Don't call", getboolean(nodes.NoCall)); fprintf(fp, " 8.3 filenames %s", getboolean(nodes.FNC)); add_webtable(wp, (char *)"8.3 filenames", getboolean(nodes.FNC)); - fprintf(fp, " No PLZ %s\n", getboolean(nodes.NoPLZ)); + fprintf(fp, " Use NR mode %s\n", getboolean(nodes.DoNR)); + add_webtable(wp, (char *)"Use NR mode", getboolean(nodes.DoNR)); + fprintf(fp, " No PLZ %s", getboolean(nodes.NoPLZ)); add_webtable(wp, (char *)"No PLZ compression", getboolean(nodes.NoPLZ)); - fprintf(fp, " No GZ/BZ2 %s\n", getboolean(nodes.NoGZ)); + fprintf(fp, " No GZ/BZ2 %s", getboolean(nodes.NoGZ)); add_webtable(wp, (char *)"No GZ/BZ2 compression", getboolean(nodes.NoGZ)); fprintf(fp, " No Zmodem %s\n", getboolean(nodes.NoZmodem)); add_webtable(wp, (char *)"No Zmodem", getboolean(nodes.NoZmodem));