Skip to content

Commit

Permalink
What's what's new
Browse files Browse the repository at this point in the history
Also select the right item in the menu editor when selecting
a command.
  • Loading branch information
wwiv committed Nov 25, 2020
1 parent deb5b89 commit f374820
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 3 deletions.
1 change: 0 additions & 1 deletion core_test/core_test_main.cpp
Expand Up @@ -18,7 +18,6 @@
#include "gtest/gtest.h"
#include "core/cp437.h"
#include "core/log.h"
#include <clocale>

using namespace wwiv::core;

Expand Down
44 changes: 43 additions & 1 deletion install/docs/whatsnew.txt
Expand Up @@ -110,8 +110,50 @@ What's New in WWIV 5.6
* UI for editing conference binding has been improved and is now also
available from subedit and diredit.
* Fix Ar checking when one side is empty. (#1310)
+ More work on BPS and pause control
* Added pause=[on|off|start|end] to printfile menu command
* This works with printfile_random too.
* Added bps=<bps> to printfile menu command
* Changed system_bps to impact all of the BBS, and not just
the file printing.
+ Experimental start of |{xxx} expression support.
So far here's what we have:
Expressions:
|{set pause=on}
|{set pause=off}
|{pause}
|{set lines=0}
Feedback welcome, the syntax is still in flux, trying to see what
works well and can grow in the future and still make sense.
+ Convert wwiv heart and user color pipe code to standard pipe code when
sending the message as an FTN message (#1235)
* fix crash with wwivconfig --initialize
* Attempt to fix netmail issues with points. (#1312)
* Add TOPT and FMPT kludge lines into netmail.
* Don't include the point number in INTL kludge lines
+ Ask if still wants to send ftn netmail when node doesn't exist. (#1232)
+ Add ability to copy menu to a new name in wwivconfig menu editor
+ Added integrated support for NetFoss. (#1257)
Here's how to use it:
* Download netfoss and unzip it to \wwiv\netfoss (assuming that \wwiv is
where wwiv is installed). if you want it in some other directory you can
use the wwiv.ini directive NETFOSS_DIR to pick a different location.
* Edit a chain, adn change the exec mode to "Integrated NetFOSS"
example:
F) Exec Mode: Integrated NetFOSS


That's it, you do not need to edit the commandline to specify a path to
the NF.BAT file, nor edit it for your environment. WWIV will create a
nf.bat in the node's temp directory every time it invokes a chain or
editor using the integrated netfoss support. WWIV will execute:
"nf.bat <commandline entered>"
* Don't let mouse movement freeze console.
+ Use UTF-8 for local display (#881)
WWIV always outputs local text using UTF-8 now on all platforms, if you
had previously changed your codepage for your terminal app to IBM850
or IBM437 or Windows-1252 please change it back to UTF-8 which is the
default. This doesn't affect what is sent over the socket to remote
users, just the local display.


What's New in WWIV 5.5.1 (2020)
Expand Down
8 changes: 7 additions & 1 deletion wwivconfig/menus.cpp
Expand Up @@ -73,15 +73,21 @@ class ActionPickerSubDialog final : public SubDialog<std::string> {
void RunSubDialog(CursesWindow* window) override {
do {
std::vector<ListBoxItem> items;
auto selected = -1;
auto count = 0;
for (const auto& e : cmds_) {
const auto cat = StrCat("[", e.cat, "]");
auto help = e.help;
help.erase(std::remove(help.begin(), help.end(), 10), help.end());
help.erase(std::remove(help.begin(), help.end(), 13), help.end());
items.emplace_back(fmt::format("{:17.17} {:13.13} {:48.48}", e.cmd, cat, help));
if (iequals(e.cmd, t_)) {
selected = count;
}
count++;
}
ListBox list(window, "Select Command", items);

list.set_selected(selected);
list.selection_returns_hotkey(true);
list.set_help_items({{"Esc", "Exit"}, {"Enter", "Select"}});
const auto result = list.Run();
Expand Down

0 comments on commit f374820

Please sign in to comment.