File:  [local] / rpl / src / completion.h
Revision 1.11: download - view: text, annotated - select for diffs - revision graph
Thu Apr 29 07:30:57 2010 UTC (14 years ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Correction d'un point bloquant dans la gestion des processus
(affectation des interruptions logicielles survenant après l'arrêt du
processus père car le mutex de protection de la routine était déjà positionné
dans la fonction appelante). Ajout de la fonction CLRATEXIT.

    1: /*
    2: ================================================================================
    3:   RPL/2 (R) version 4.0.15
    4:   Copyright (C) 1989-2010 Dr. BERTRAND Joël
    5: 
    6:   This file is part of RPL/2.
    7: 
    8:   RPL/2 is free software; you can redistribute it and/or modify it
    9:   under the terms of the CeCILL V2 License as published by the french
   10:   CEA, CNRS and INRIA.
   11:  
   12:   RPL/2 is distributed in the hope that it will be useful, but WITHOUT
   13:   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
   14:   FITNESS FOR A PARTICULAR PURPOSE.  See the CeCILL V2 License
   15:   for more details.
   16:  
   17:   You should have received a copy of the CeCILL License
   18:   along with RPL/2. If not, write to info@cecill.info.
   19: ================================================================================
   20: */
   21: 
   22: 
   23: #ifndef INCLUSTION_COMPLETION
   24: #define INCLUSTION_COMPLETION
   25: #ifndef COMPLETION
   26: #   define COMPLETION_RC    "/rc"
   27: #endif
   28: 
   29: static unsigned char *commandes[] =
   30:         { "abort", "abs", "acos", "acosh", "alarm", "alog", "append", "and",
   31:                 "array->", "arg", "asin", "asinh", "asl", "asr", "atan",
   32:                 "atanh", "atexit", "autoscale", "axes",
   33: 
   34: #               ifndef COMPLETION
   35:                 COMPLETION_RC,
   36: #               endif
   37: 
   38:         "b->r", "backspace", "beep", "bessel", "bin",
   39:         
   40: #               ifndef COMPLETION
   41:                 COMPLETION_RC,
   42: #               endif
   43: 
   44:         "c->r", "case", "ceil", "centr", "cf", "chr",
   45:                 "clear",
   46:                 "cllcd", "clmf", "close", "clratexit",
   47:                 "clrcntxt", "clrerr", "clrfuse",
   48:                 "clrmtx", "clrsmphr",
   49:                 "clrswi", "crmtx", "crsmphr", "cls", "clusr", "cnrm",
   50:                 "col+", "col-", "col->", "cols", "comb",
   51:                 "con", "cond", "conj", "cont", "continue", "convert", "copy",
   52:                 "copyright", "corr",
   53:                 "cos", "cosh", "cov", "cr", "create", "cross", "crtab", "cstop",
   54:                 "cswp", "currenc", "cycle",
   55: 
   56: #               ifndef COMPLETION
   57:                 COMPLETION_RC,
   58: #               endif
   59: 
   60:         "d->r", "daemonize",
   61:                 "date", "dec", "decr", "default", "deg", "delete", "depnd",
   62:                 "depth", "der", "det", "detach",
   63:                 "dft", "dgtiz", "diag->", "disp", "do", "dot", "draw",
   64:                 "drax", "drop", "drop2", "dropcntxt",
   65:                 "dropn", "drws", "dup", "dup2",
   66:                 "dupcntxt", "dupn",
   67: 
   68: #               ifndef COMPLETION
   69:                 COMPLETION_RC,
   70: #               endif
   71: 
   72:         "e", "edit", "egv", "egvl", "else", "elseif", "end", "eng",
   73:                 "epsilon", "erase", "errm", "errn", "eval", "exget", "exit",
   74:                 "exp", "expm", "exsub", "externals", "eyept",
   75: 
   76: #               ifndef COMPLETION
   77:                 COMPLETION_RC,
   78: #               endif
   79: 
   80:         "fact", "false", "fc?", "fc?c", "fc?s", "fft", "fix", "floor",
   81:                 "for", "format", "fp", "fs?", "fs?c", "fs?s", "function",
   82:                 "fuse",
   83: 
   84: #               ifndef COMPLETION
   85:                 COMPLETION_RC,
   86: #               endif
   87: 
   88:         "gamma",
   89:         "gegv", "gegvl", "get", "getc", "geti", "getr", "glegv", "gregv",
   90: 
   91: #               ifndef COMPLETION
   92:                 COMPLETION_RC,
   93: #               endif
   94: 
   95:         "halt", "head", "help", "hex", "histogram", "hms->", "hms-", "hms+",
   96: 
   97: #               ifndef COMPLETION
   98:                 COMPLETION_RC,
   99: #               endif
  100: 
  101:         "i", "idft", "idn", "if", "iferr", "ifft", "ift", "ifte", "im",
  102:                 "implicit", "in",
  103:                 "incr", "indep", "input", "inquire", "int", "inv", "ip", "iswi",
  104:                 "itrace",
  105: 
  106: #               ifndef COMPLETION
  107:                 COMPLETION_RC,
  108: #               endif
  109: 
  110:         "jdate",
  111: 
  112: #               ifndef COMPLETION
  113:                 COMPLETION_RC,
  114: #               endif
  115: 
  116:         "key", "keylabel", "keytitle", "kill", "kind",
  117: 
  118: #               ifndef COMPLETION
  119:                 COMPLETION_RC,
  120: #               endif
  121: 
  122:         "label", "last", "lcase", "lcd->", "lchol", "legv", "line",
  123:                 "list->", "ln", "lnp1", "localization", "lock", "log",
  124:                 "logger", "logscale", "lq", "lsq", "lu",
  125: 
  126: #               ifndef COMPLETION
  127:                 COMPLETION_RC,
  128: #               endif
  129: 
  130:         "mant", "mark",
  131:         "max", "maxs", "mclrin", "mean", "mem", "min", "mins", "mod",
  132:         "mtxlock", "mtxstatus", "mtxtrylock", "mtxunlock",
  133: 
  134: #               ifndef COMPLETION
  135:                 COMPLETION_RC,
  136: #               endif
  137: 
  138:         "neg", "newplane", "next", "not", "nrand", "nrproc", "ns", "num",
  139: 
  140: #               ifndef COMPLETION
  141:                 COMPLETION_RC,
  142: #               endif
  143: 
  144:         "obget", "obsub", "oct", "open", "or", "over",
  145: 
  146: #               ifndef COMPLETION
  147:                 COMPLETION_RC,
  148: #               endif
  149: 
  150:         "p->r", "paper", "parameter",
  151:                 "parametric", "pcov", "peek", "perm", "persist", "pi",
  152:                 "pick", "plot", "plotter",
  153:                 "pmax", "pmin", "poke", "polar", "pos", "ppar", "pr1", "print",
  154:                 "private",
  155:                 "prlcd", "prmd", "prompt", "protect", "prst", "prstc", "prusr",
  156:                 "prvar", "psdev", "pshcntxt", "pshprfl", "pulcntxt", "pulprfl",
  157:                 "purge", "put", "putc", "putr",
  158:                 "puti", "pvar",
  159: 
  160: #               ifndef COMPLETION
  161:                 COMPLETION_RC,
  162: #               endif
  163: 
  164:         "qr",
  165: 
  166: #               ifndef COMPLETION
  167:                 COMPLETION_RC,
  168: #               endif
  169: 
  170:         "r->b", "r->c", "r->d", "r->p", "rad", "rand", "rank", "rceq", "rci",
  171:                 "rcij", "rcl",
  172:                 "rclf", "rcls", "rclswi", "rcws", "rdate",
  173:                 "rdm", "rdgn", "rdz", "re", "read", "recall", "recode", "recv",
  174:                 "redraw", "regv", "relax", "remove", "repeat", "repl", "res",
  175:                 "return", "revlist", "rewind", "rfuse",
  176:                 "rl", "rlb", "rnd", "rnrm",
  177:                 "roll", "rolld", "rot", "row+", "row-", "row->",
  178:                 "rr", "rrb", "rsd", "rstop", "rswp",
  179: 
  180: #               ifndef COMPLETION
  181:                 COMPLETION_RC,
  182: #               endif
  183: 
  184:         "s+", "s-", "same", "save", "scatter", "scale", "sched",
  185:                 "schur", "sci", "scls",
  186:                 "sconj", "sdev", "select", "send", "sf", "shared",
  187:                 "sign",
  188:                 "sin", "sinh", "sinv", "size", "sl", "slb", "slice",
  189:                 "slicescale", "smphrdecr", "smphrgetv", "smphrincr",
  190:                 "smphrtrydecr", "sneg", "sort", "spar", "spawn",
  191:                 "splash", "sq", "sqlconnect", "sqldisconnect", "sqlquery",
  192:                 "sqrt", "sr", "srb", "sst", "start", "static", "std", "step",
  193:                 "steq", "sto", "sto+", "sto-", "sto*", "sto/",
  194:                 "stof", "stop", "store", "stos", "stoswi",
  195:                 "str->", "stws", "sub",
  196:                 "suspend", "svd", "svl", "swap", "swapcntxt",
  197:                 "swi", "swilock", "swiqueue", "swistatus", "swiunlock",
  198:                 "sx", "sx2", "sxy", "sy", "sy2", "sync", "syseval",
  199: 
  200: #               ifndef COMPLETION
  201:                 COMPLETION_RC,
  202: #               endif
  203: 
  204:         "table->", "tail", "tan", "tanh", "target", "taylr",
  205:                 "then", "time", "title", "tokenize",
  206:                 "tot", "trim", "trn", "trnc",
  207:                 "true", "type",
  208: 
  209: #               ifndef COMPLETION
  210:                 COMPLETION_RC,
  211: #               endif
  212: 
  213:         "ucase", "uchol", "undo", "unlock", "unprotect",
  214:         "until", "use", "utpc", "utpf", "utpn",
  215:         "utpt",
  216: 
  217: #               ifndef COMPLETION
  218:                 COMPLETION_RC,
  219: #               endif
  220: 
  221:         "var", "variable", "vars", "verify", "version", "visit", "volatile",
  222: 
  223: #               ifndef COMPLETION
  224:                 COMPLETION_RC,
  225: #               endif
  226: 
  227:         "wait", "warranty", "wfack", "wfdata", "wflock", "wfpoke",
  228:         "wfproc", "wfsock", "wfswi",
  229:         "while",
  230:         "wireframe", "workdir", "write",
  231: 
  232: #               ifndef COMPLETION
  233:                 COMPLETION_RC,
  234: #               endif
  235: 
  236:         "xcol", "xor", "xpon", "xroot",
  237: 
  238: #               ifndef COMPLETION
  239:                 COMPLETION_RC,
  240: #               endif
  241: 
  242:         "ycol", "yield",
  243: 
  244: #               ifndef COMPLETION
  245:                 COMPLETION_RC,
  246: #               endif
  247: 
  248:         "+", "-", "*", "**", "*d", "*h", "*s", "*w" , "/", "^",
  249:         "%", "%ch", "%t",
  250:         
  251: #               ifndef COMPLETION
  252:                 COMPLETION_RC,
  253: #               endif
  254: 
  255:         "->", "->array", "->col", "->diag", "->hms", "->lcd", "->list", "->q",
  256:         "->row", "->str", "->table",
  257: 
  258: #               ifndef COMPLETION
  259:                 COMPLETION_RC,
  260: #               endif
  261: 
  262:         ">=", "=>", ">", "<=", "=<", "<", "<>", "=", "==",
  263: 
  264: #               ifndef COMPLETION
  265:                 COMPLETION_RC,
  266: #               endif
  267: 
  268:         "<<", ">>",
  269: 
  270:         NULL };
  271: #endif
  272: 
  273: // vim: ts=4

CVSweb interface <joel.bertrand@systella.fr>