=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/Kan/usage.c,v retrieving revision 1.23 retrieving revision 1.27 diff -u -p -r1.23 -r1.27 --- OpenXM/src/kan96xx/Kan/usage.c 2003/09/12 02:52:50 1.23 +++ OpenXM/src/kan96xx/Kan/usage.c 2003/12/03 09:00:46 1.27 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM/src/kan96xx/Kan/usage.c,v 1.22 2003/08/26 12:46:05 takayama Exp $ */ +/* $OpenXM: OpenXM/src/kan96xx/Kan/usage.c,v 1.26 2003/12/03 01:21:43 takayama Exp $ */ #include #include "datatype.h" #include "stackm.h" @@ -68,6 +68,7 @@ void Kusage2(fp,s) }else if (strcmp(s,"closefile")==0) { fppp(fp,"<< fd closefile >>\n"); fppp(fp,"file fd;\n"); + fppp(fp,"cf. file (open a file)\n"); }else if (strcmp(s,"coefficients")==0 || strcmp(s,"coeff")==0) { fppp(fp,"<< f v coeff [exponents coefficients] >>\n"); fppp(fp,"poly f,v; list of integers exponents; list of poly coefficients;\n"); @@ -166,6 +167,7 @@ void Kusage2(fp,s) fppp(fp,"It opens the <> with the <>. <> is the\n"); fppp(fp,"file descripter and is used in writestring and closefile.\n"); fppp(fp,"If filename part is an integer, it calls fdopen() and returns the file descripter.\n"); + fppp(fp,"cf. closefile, writestring, pushfile \n"); }else if (strcmp(s,"for")==0) { fppp(fp,"<>\n"); fppp(fp,"integer init inc limit;\n"); @@ -323,6 +325,10 @@ void Kusage2(fp,s) }else if (strcmp(s,"newstack") == 0) { fppp(fp,"<< size newstack class.OperandStack >>\n"); /*:*/ fppp(fp,"cf. setstack, stdstack.\n"); + }else if (strcmp(s,"oxshell") == 0) { + fppp(fp,"<< cmds oxshell result >>\n"); /*:*/ + fppp(fp,"cmds is an array of strings.\n"); + KoxShellHelp((char *)NULL,fp); }else if (strcmp(s,"pop")==0) { fppp(fp,"<< obj pop >> \n"); /*:*/ fppp(fp,"It removes the obj from the stack.\n"); @@ -486,7 +492,7 @@ void Kusage2(fp,s) fppp(fp,"ReduceLowerTerms, CheckHomogenization, Homogenize, Sugar, Homogenize_vec,\n"); fppp(fp,"Statistics, StackPointer, StandardOperandStack,\n"); fppp(fp,"ErrorStack, ErrorMessageMode, WarningMessageMode,\n"); - fppp(fp,"CatchCtrlC, Strict, CurrentContextp, NullContextp, Strict2,\n"); + fppp(fp,"CatchCtrlC, Strict, CurrentContextp, NullContextp, Strict2, QuoteMode\n"); fppp(fp,"SigIgn, KSPushEnvMode, PrimitiveContextp, KanGBmessage,\n"); fppp(fp,"orderMatrix, gbListTower, Schreyer, \n"); fppp(fp,"outputOrder, multSymbol, variableNames, Version,\n");