-
8e2ff32a
by Eric Pouech at 2025-10-01T21:42:08+02:00
cmd: Add tests showing that MORE outputs to CONOUT$ not stdout.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
d9430e7d
by Eric Pouech at 2025-10-01T21:42:10+02:00
cmd: Clean up and enhance MORE command implementation.
Clean-up:
- using WCMD_fgets() to get input,
- using helper to factorize the two forms of the MORE command.
Enhancements and let behavior be closer to native:
- when using 'MORE file1 file2...', stop displaying files at
the first non existing one,
- can break MORE with ctrl-c,
- the information display + wait at the end of each page is
only activated when outputting to console,
- the bottom information line is overwritten by next line.
Note native MORE outputs to CONOUT$ (not stdout), which
makes it hard for adding tests.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
735b5066
by Eric Pouech at 2025-10-01T21:42:12+02:00
cmd: Let WCMD_setshow_time() use WCMD_fgets().
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
eca768dc
by Eric Pouech at 2025-10-01T21:42:13+02:00
cmd: Let WCMD_wait_for_input() no longer use WCMD_ReadFile().
With some improvements:
- waiting on an input stream can be interrupted by ctrl-c,
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
-
d2024356
by Eric Pouech at 2025-10-01T21:42:16+02:00
cmd: Get rid of WCMD_ReadFile.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>