Description:
When running "mysqld --help --verbose" from "console" in NetWare all output will be redirected to "Logger screen". This is awkward. Compare with "perl -v" which will open a new screen which does not close until a key has been pressed.
When running the same command from bash, only half of the output from "mysqld --verbose --help" will be sent to the Logger Screen and the rest to the bash screen. In bash "perl -v" will print the message to bash scren and autoclose.
Especially since the output being sent to Logger screen from mysqld is not possible redirect makes it very hard to use this technique from for example perl to parse out information abvout settings the mysqld will use when started.
How to repeat:
NW65: mysqld --help --verbose
Loading module MYSQLD.NLM [ OK ]
The same problem exists for "mysql" monitor but in that case it will not print anything either to console or bash.
Suggested fix:
This is caused by the include/help_start.h and include/help_end.h files which are included from mysys/my_getopt.c and mysys/default.c and will cause any output functions in the functions my_print_help, my_print_variables and print_defaults to be set redefined to use consoleprintf, whcih always sent to Logger Screen and is not redirectable.
Remove that patch and start a new screen for output of --help messages similar to that of peel which has a consistent behaviour.