Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commits (3)
......@@ -115,19 +115,22 @@ whether or not to hash its files or use it for duplicate file detection
_Sorting_
While the old filebases
The new filebases are indexed in the order in which the files are imported
into the database. Sorting of the files for display purposes in the terminal
and FTP servers is optional and configured by the sysop:
Name Ascending (case-insensitive)
Name Descending (case-insensitive)
Name Ascending (case-sensitive)
Name Descending (case-sensitive)
Date Ascending
Date Descending
While the old filebase indexes were re-ordered/sorted whenever a new file was
added, the new filebase indexes are sorted dynamically, when appropriate
(e.g. when viewed).
As a result, the "RESORT" file transfer operator command has been removed.
The new filebases are naturally indexed in the order in which the files are
imported into the database. Sorting of the files for display purposes in the
terminal and FTP servers is optional and configured by the sysop:
Name Ascending (case-insensitive)
Name Descending (case-insensitive)
Name Ascending (case-sensitive)
Name Descending (case-sensitive)
Date Ascending
Date Descending
_Tags_
Individual files can now be tagged for easy searching/grouping. This feature
......
......@@ -699,6 +699,16 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen, long* pmode, bool
return(nulstr);
}
if(strcmp(sp, "GETKEY") == 0) {
getkey();
return(nulstr);
}
if(strncmp(sp, "WAIT:", 5) == 0) {
inkey(K_NONE, atoi(sp + 5));
return(nulstr);
}
if(!strcmp(sp,"PAUSE") || !strcmp(sp,"MORE")) {
pause();
return(nulstr);
......
......@@ -875,7 +875,7 @@ public:
void insert_indicator(void);
/* getkey.cpp */
char getkey(long mode); /* Waits for a key hit local or remote */
char getkey(long mode = K_NONE);
long getkeys(const char *str, ulong max, long mode = K_UPPER);
void ungetkey(char ch, bool insert = false); /* Places 'ch' into the input buffer */
void ungetstr(const char* str, bool insert = false);
......@@ -888,7 +888,7 @@ public:
void mnemonics(const char *str);
/* inkey.cpp */
int inkey(long mode, unsigned long timeout=0);
int inkey(long mode = K_NONE, unsigned long timeout=0);
char handle_ctrlkey(char ch, long mode=0);
// Terminal mouse reporting mode (mouse_mode)
......