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