minetest/src/util
est31 5e507c9829 Add server side ncurses terminal
This adds a chat console the server owner can use for administration
or to talk with players.
It runs in its own thread, which makes the user interface immune to
the server's lag, behaving just like a client, except timeout.
As it uses the same console code as the f10 console, things like nick
completion or a scroll buffer basically come for free.
The terminal itself is written in a general way so that adding a
client version later on is just about implementing an interface.

Fatal errors are printed after the console exists and the ncurses
terminal buffer gets cleaned up with endwin(), so that the error still
remains visible.

The server owner can chose their username their entered text will
have in chat and where players can send PMs to.
Once the username is secured with a password to prevent anybody to
take over the server, the owner can execute admin tasks over the
console.

This change includes a contribution by @kahrl who has improved ncurses
library detection.
2015-11-06 08:51:14 +01:00
..
CMakeLists.txt Make early protocol auth mechanism generic, and add SRP 2015-05-11 18:40:27 +02:00
auth.cpp Fix some SRP issues 2015-09-30 09:19:40 +02:00
auth.h Make early protocol auth mechanism generic, and add SRP 2015-05-11 18:40:27 +02:00
base64.cpp Move sha1.hpp and base64.hpp to util/ 2015-02-21 14:03:27 +01:00
base64.h Move sha1.hpp and base64.hpp to util/ 2015-02-21 14:03:27 +01:00
basic_macros.h Silence 'unused typedef' warning for STATIC_ASSERT() 2015-11-03 01:03:33 -05:00
container.h Clean up threading 2015-08-23 22:04:06 -04:00
directiontables.cpp Update Copyright Years 2013-02-24 20:15:24 +01:00
directiontables.h Update Copyright Years 2013-02-24 20:15:24 +01:00
hex.h Move hex.h to util/ 2015-02-21 14:32:35 +01:00
mathconstants.h Define M_PI on MSVC 2012-07-21 03:36:34 +03:00
md32_common.h Make early protocol auth mechanism generic, and add SRP 2015-05-11 18:40:27 +02:00
numeric.cpp Clean up threading 2015-08-23 22:04:06 -04:00
numeric.h Rename and move basicmacros.h to util/basic_macros.h 2015-11-02 04:57:55 +01:00
pointedthing.cpp Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu 2013-08-14 21:03:33 +02:00
pointedthing.h Update Copyright Years 2013-02-24 20:15:24 +01:00
pointer.h Fix BufferedPacket race condition (fixes #2983) 2015-08-06 02:25:35 -04:00
serialize.cpp Add BufReader and vector-based serialization methods 2015-10-15 01:31:31 -04:00
serialize.h Add BufReader and vector-based serialization methods 2015-10-15 01:31:31 -04:00
sha1.cpp Move sha1.hpp and base64.hpp to util/ 2015-02-21 14:03:27 +01:00
sha1.h Move sha1.hpp and base64.hpp to util/ 2015-02-21 14:03:27 +01:00
sha2.h Make early protocol auth mechanism generic, and add SRP 2015-05-11 18:40:27 +02:00
sha256.c Check output of mpz_set_str and fix leak on error condition 2015-07-24 22:42:54 +02:00
srp.cpp Fix some SRP issues 2015-09-30 09:19:40 +02:00
srp.h Fix some SRP issues 2015-09-30 09:19:40 +02:00
string.cpp Fix indianred and indigo of color-string 2015-08-19 19:49:45 +02:00
string.h Add server side ncurses terminal 2015-11-06 08:51:14 +01:00
thread.h Rename macros with two leading underscores 2015-10-14 02:39:37 -04:00
timetaker.cpp Fix unit reported by TimeTaker (was always ms) 2014-10-09 11:15:03 +02:00
timetaker.h Add varying levels of precision to TimeTaker 2013-03-29 16:53:15 -04:00