If there is no help file for the argument to ")help" or there is no argument, after the patch and there will be more informative messages.
https://github.com/oldk1331/fricas/commit/bdb8f5a34377668c39b5abd45631b62411edcb2b.patch Or see the patch bellow (note there are tabs in the patch): diff --git a/src/doc/htex/ug16.htex b/src/doc/htex/ug16.htex index 039fc71..9fe359c 100644 --- a/src/doc/htex/ug16.htex +++ b/src/doc/htex/ug16.htex @@ -1099,10 +1099,10 @@ This command displays help information about system commands. If you issue \begin{verbatim} -)help +)help help \end{verbatim} then this very text will be shown. -You can also give the name or abbreviation of a system command +You can also give the name of a system command to display information about it. For example, \begin{verbatim} diff --git a/src/interp/i-syscmd.boot b/src/interp/i-syscmd.boot index 2b2d889..4367111 100644 --- a/src/interp/i-syscmd.boot +++ b/src/interp/i-syscmd.boot @@ -1040,7 +1040,16 @@ -- try to use new stuff first if newHelpSpad2Cmd(args) then return nil - sayKeyedMsg("S2IZ0025",[args]) + sayBrightly "Available help topics for system commands are:" + sayBrightly "" + sayBrightly " boot cd clear close compile display" + sayBrightly " edit fin frame help history library" + sayBrightly " lisp load ltrace pquit quit read" + sayBrightly " set show spool synonym system trace" + sayBrightly " undo what" + sayBrightly "" + sayBrightly "Issue _")help help_" for more information about the help command." + nil newHelpSpad2Cmd args == @@ -1049,7 +1058,7 @@ sayKeyedMsg("S2IZ0026",NIL) true sarg := PNAME first args - if sarg = '"?" then args := ['help] + if sarg = '"?" then args := ['nullargs] else if sarg = '"%" then args := ['history] else if sarg = '"%%" then args := ['history] arg := selectOptionLC(first args,$SYSCOMMANDS,nil) diff --git a/src/share/doc/msgs/s2-us.msgs b/src/share/doc/msgs/s2-us.msgs index 9f3a0b7..ae60af5 100644 --- a/src/share/doc/msgs/s2-us.msgs +++ b/src/share/doc/msgs/s2-us.msgs @@ -733,10 +733,6 @@ S2IZ0024 The names of the existing frames are: %1 %l The current frame is the first one listed. -S2IZ0025 - If the system command or synonym %1b exists, help information is not - available for it. Issue %b )what commands %d or %b )what synonyms %d to - determine is %1b is a valid name. S2IZ0026 The %b )help %d system command supports at most one argument. S2IZ0028 -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/fricas-devel. For more options, visit https://groups.google.com/d/optout.
