search for: run_cmd_sz

Displaying 1 result from an estimated 1 matches for "run_cmd_sz".

2009 Feb 22
2
NEW: COM32 module to run another command, optionally clearing the screen
...ssible referenced values for command line length: * MAX_CMDLINE_LEN (com32/menu/menu.h) * LINE_MAX or _POSIX2_LINE_MAX <limits.h> on *nix systems; * Seem more appropriate for a shell command line * COMMAND_LINE_SIZE <asm/setup.h> on a Linux system */ #ifdef MAX_CMDLINE_LEN #define RUN_CMD_SZ MAX_CMDLINE_LEN #else #ifdef COMMAND_LINE_SIZE #define RUN_CMD_SZ COMMAND_LINE_SIZE #else #define RUN_CMD_SZ 2048 #endif /* COMMAND_LINE_SIZE */ #endif /* MAX_CMDLINE_LEN */ #define NUM_NL 40 /* Number of lines to clear */ #ifdef DO_DEBUG # define DEBUG_PRINTF printf #else # define DEBUG_PRINTF(...