@@ -734,12 +734,20 @@ void xfer_defaults() {
734734 do {
735735 bout.cls ();
736736 bout.outstr (" |#7[|#21|#7]|#1 Set New-Scan Directories.\r\n " );
737- bout.outstr (" |#7[|#22|#7]|#1 Set Default Protocol.\r\n " );
738- bout.print (" |#7[|#23|#7]|#1 New-Scan Transfer after Message Base ({}). \r\n " ,
737+ bout.print (" |#7[|#22|#7]|#1 Set Default Protocol: |#7(|#2{}|#7) .\r\n " , prot_name ( a ()-> user ()-> default_protocol ()) );
738+ bout.print (" |#7[|#23|#7]|#1 New-Scan Transfer after Message Base: |#7(|#2{}|#7) \r\n " ,
739739 YesNoString (a ()->user ()->newscan_files ()));
740- bout.print (" |#7[|#24|#7]|#1 Number of lines of extended description to print [ {} line(s)] .\r\n " ,
740+ bout.print (" |#7[|#24|#7]|#1 Number of lines of extended description to print: #|7[|#2 {} line(s)|#7]|#1 .\r\n " ,
741741 a ()->user ()->GetNumExtended ());
742- const std::string onek_options = " Q12345" ;
742+ if (okansi ()) {
743+ bout.print (" |#7[|#2L|#7]|#1 ListPlus Enabled: |#7(|#2{}|#7)\r\n " , YesNoString (a ()->user ()->data .lp_options & cfl_enable));
744+ }
745+ std::string onek_options = " Q12345L" ;
746+ if (a ()->user ()->data .lp_options & cfl_enable) {
747+ bout.print (" |#7[|#2K|#7]|#1 Configure ListPlus\r\n " );
748+ onek_options.append (" K" );
749+ }
750+
743751 bout.outstr (" |#7[|#2Q|#7]|#1 Quit.\r\n\n " );
744752 bout.outstr (" |#5Which? " );
745753 char ch = onek (onek_options);
@@ -775,13 +783,19 @@ void xfer_defaults() {
775783 }
776784 }
777785 break ;
786+ case ' L' :
787+ a ()->user ()->data .lp_options ^= cfl_enable;
788+ break ;
789+ case ' K' :
790+ config_file_list ();
791+ break ;
778792 }
779793 }
780794 while (!done && !a ()->sess ().hangup ());
781795}
782796
783797void finddescription () {
784- if (okansi ()) {
798+ if (okansi () && a ()-> user ()-> data . lp_options & cfl_enable ) {
785799 listfiles_plus (LP_SEARCH_ALL );
786800 return ;
787801 }
0 commit comments