dosutils: add Novell-style paging to FLAG tools and SLIST

- add a shared DOS pager helper for long tool output
- page FLAG wildcard output with the Novell continue prompt
- fix FLAGDIR current-directory handling for "." and volume root
- add FLAGDIR wildcard directory listing support
- page FLAGDIR wildcard output like Novell FLAGDIR
- keep FLAGDIR display formatting aligned with Novell output
- make SLIST /CONTINUE enable continuous output
- keep SLIST bindery scanning compatible with ncpfs behavior
- preserve SLIST NET_ADDRESS display and default server marking
This commit is contained in:
Mario Fetka
2026-05-24 15:51:38 +02:00
parent f940d2d88e
commit fc97eb8d25
5 changed files with 304 additions and 42 deletions

3
net.h
View File

@@ -17,6 +17,7 @@
#include <stdarg.h>
#ifdef __WATCOMC__
#include <direct.h>
extern int tool_page_line(int *line_count, int *continuous);
#endif
typedef unsigned int UI;
@@ -58,7 +59,7 @@ typedef struct {
uint16 fragment_count; /* Anzahl Fragment Buffers */
uint8 *fragment_1;
uint16 fragment_1_size;
/* K<EFBFBD>nnen auch mehr sein */
/* K�nnen auch mehr sein */
} ECB;
#include "kern.h"