1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 08:08:47 -05:00
minetest/cmake/Modules
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
..
FindCURL.cmake Clean up and tweak build system 2015-03-27 15:00:48 -04:00
FindGettextLib.cmake Clean up and tweak build system 2015-03-27 15:00:48 -04:00
FindGMP.cmake Add LibGMP 2015-05-11 17:48:33 +02:00
FindIrrlicht.cmake Clean up and tweak build system 2015-03-27 15:00:48 -04:00
FindJson.cmake FindJson: use PATH_SUFFIXES jsoncpp to find incdir 2015-09-26 21:43:01 +02:00
FindLua.cmake Clean up and tweak build system 2015-03-27 15:00:48 -04:00
FindNcursesw.cmake Add server side ncurses terminal 2015-11-06 08:51:14 +01:00
FindOpenGLES2.cmake Fix typo in OpenGL ES 2 CMake file 2015-03-27 15:10:27 -04:00
FindSQLite3.cmake Remove included SQLite3 2015-01-08 16:34:42 -05:00
FindVorbis.cmake Add OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRS 2012-03-25 22:07:34 +03:00
GenerateVersion.cmake Make Git version detection use VERSION_STRING instead of tags 2015-05-05 17:13:05 +02:00