[BACK]Return to fep_funcs.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / fep

Annotation of OpenXM_contrib2/fep/fep_funcs.c, Revision 1.1

1.1     ! noro        1: /*     Copyright (c) 1987, 1988 by Software Research Associates, Inc.  */
        !             2:
        !             3: #ifndef lint
        !             4: static char rcsid[]=
        !             5: "$Header: fep_funcs.c,v 4.5 91/05/29 14:31:01 utashiro Exp $ (SRA)";
        !             6: #endif /* lint */
        !             7:
        !             8: #include <stdio.h>
        !             9: #include "fep_defs.h"
        !            10: #include "fep_funcs.h"
        !            11:
        !            12: /*
        !            13:  * FunctionNameTable
        !            14:  */
        !            15: FunctionTableEnt FunctionNameTable[] = {
        !            16:        {mark,                          "mark",
        !            17:         "Mark position"},
        !            18:        {fep_abort,                     "abort",
        !            19:         "Abort function"},
        !            20:        {self_insert,                   "self-insert",
        !            21:         "Insert the character"},
        !            22:        {beginning_of_line,             "beginning-of-line",
        !            23:         "Jump to beginning of line"},
        !            24:        {backward_character,            "backward-character",
        !            25:         "Backward character"},
        !            26:        {backward_word,                 "backward-word",
        !            27:         "Backward word (alpha-numeric)"},
        !            28:        {backward_Word,                 "backward-Word",
        !            29:         "Backward word (non-space)"},
        !            30:        {end_of_line,                   "end-of-line",
        !            31:         "Jump to end of line"},
        !            32:        {forward_character,             "forward-character",
        !            33:         "Forward character"},
        !            34:        {forward_word,                  "forward-word",
        !            35:         "Forward word (alpha-numeric)"},
        !            36:        {forward_Word,                  "forward-Word",
        !            37:         "Forward word (non-space)"},
        !            38:        {forward_to_end_of_word,        "forward-to-end-of-word",
        !            39:         "Forward to end of word (alpha-numeric)"},
        !            40:        {forward_to_end_of_Word,        "forward-to-end-of-Word",
        !            41:         "Forward to end of word (non-space)"},
        !            42:        {delete_previous_character,     "delete-previous-character",
        !            43:         "Delete previous character"},
        !            44:        {delete_next_character,         "delete-next-character",
        !            45:         "Delete next character"},
        !            46:        {insert_tab,                    "insert-tab",
        !            47:         "Insert tab"},
        !            48:        {new_line,                      "new-line",
        !            49:         "Insert newline"},
        !            50:        {insert_and_flush,              "insert-and-flush",
        !            51:         "Insert the character and flush buffer"},
        !            52:        {send_eof,                      "send-eof",
        !            53:         "Send eof"},
        !            54:        {kill_to_end_of_line,           "kill-to-end-of-line",
        !            55:         "Delete current position to eol"},
        !            56:        {kill_to_top_of_line,           "kill-to-top-of-line",
        !            57:         "Delete tol to current position"},
        !            58:        {delete_to_kill_buffer,         "delete-to-kill-buffer",
        !            59:         "Delete resion to buffer"},
        !            60:        {yank_from_kill_buffer,         "yank-from-kill-buffer",
        !            61:         "Yank from kill buffer"},
        !            62:        {clear_screen,                  "clear-screen",
        !            63:         "Clear screen"},
        !            64:        {next_history,                  "next-history",
        !            65:         "Get next history"},
        !            66:        {previous_history,              "previous-history",
        !            67:         "Get previous history"},
        !            68:        {insert_next_history,           "insert-next-history",
        !            69:         "Insert next history"},
        !            70:        {insert_previous_history,       "insert-previous-history",
        !            71:         "Insert previous history"},
        !            72:        {insert_current_history,        "insert-current-history",
        !            73:         "Insert current history"},
        !            74:        {ignore,                        "ignore",
        !            75:         "Ignore"},
        !            76:        {delete_line,                   "delete-line",
        !            77:         "Delete whole line"},
        !            78:        {literal_next,                  "literal-next",
        !            79:         "Treat next character as literal"},
        !            80:        {delete_previous_word,          "delete-previous-word",
        !            81:         "Delete previous word (alpha-numeric)"},
        !            82:        {delete_previous_Word,          "delete-previous-Word",
        !            83:         "Delete previous word (non-space)"},
        !            84:        {delete_next_word,              "delete-next-word",
        !            85:         "Delete next word (alpha-numeric)"},
        !            86:        {delete_next_Word,              "delete-next-Word",
        !            87:         "Delete next word (non-space)"},
        !            88:        {reprint,                       "reprint",
        !            89:         "Reprint line"},
        !            90:        {show_history,                  "show-history",
        !            91:         "Show history"},
        !            92:        {show_bindings,                 "show-bindings",
        !            93:         "Show binding table"},
        !            94:        {expand_file_name,              "expand-file-name",
        !            95:         "Expand file name"},
        !            96:        {list_file_name,                "list-file-name",
        !            97:         "List file name"},
        !            98:        {(FUNC)terminate,                       "terminate",
        !            99:         "Terminate fep"},
        !           100:        {suspend,                       "suspend",
        !           101:         "Suspend fep"},
        !           102:        {toggle_through,                "toggle-through",
        !           103:         "Change transparency mode"},
        !           104:        {fix_transparency,              "fix-transparency",
        !           105:         "Check tty and change transparency mode"},
        !           106:        {invoke_shell,                  "invoke-shell",
        !           107:         "Invoke shell process"},
        !           108:        {search_reverse,                "search-reverse",
        !           109:         "Search backward last !history"},
        !           110:        {search_forward,                "search-forward",
        !           111:         "Search forward last !history"},
        !           112:        {fep_start_script,              "start-script",
        !           113:         "Start script"},
        !           114:        {fep_end_script,                "end-script",
        !           115:         "End script"},
        !           116:        {fep_repaint,                   "repaint",
        !           117:         "Repaint screen"},
        !           118:        {view_buffer,                   "view-buffer",
        !           119:         "View buffer"},
        !           120:        {show_help,                     "help",
        !           121:         "Show help"},
        !           122:
        !           123:        {vi_c,                          "vi-c",
        !           124:         "Vi c? commands"},
        !           125:        {vi_d,                          "vi-d",
        !           126:         "Vi d? commands"},
        !           127:        {vi_edit,                       "vi-edit",
        !           128:         "Vi edit commands"},
        !           129:        {vi_ins_edit,                   "vi-ins-edit",
        !           130:         "Vi insert mode"},
        !           131:        {vi_motion,                     "vi-motion",
        !           132:         "Vi cursor motion commands"},
        !           133:        {vi_new_line,                   "vi-new-line",
        !           134:         "Vi new line"},
        !           135:        {vi_num,                        "vi-num",
        !           136:         "Vi prefix number"},
        !           137:
        !           138:        {NULL,                          NULL}
        !           139: };
        !           140:
        !           141: /*
        !           142:  * Table of built-in functions
        !           143:  */
        !           144: FunctionTableEnt BuiltinFuncTable[] = {
        !           145:        {bind_to_key,                   "fep-bind",
        !           146:         "Change binding table"},
        !           147:        {alias,                         "fep-alias",
        !           148:         "Set or show aliases"},
        !           149:        {unalias,                       "fep-unalias",
        !           150:         "Delete alias"},
        !           151:        {set,                           "fep-set",
        !           152:         "Set or show variables"},
        !           153:        {unset,                         "fep-unset",
        !           154:         "Unset variables"},
        !           155:        {fep_chdir,                     "fep-cd",
        !           156:         "Change directory"},
        !           157:        {fep_chdir,                     "fep-chdir",
        !           158:         "Change directory"},
        !           159:        {fep_pwd,                       "fep-pwd",
        !           160:         "Print working directory"},
        !           161:        {fep_history,                   "fep-history",
        !           162:         "Show history"},
        !           163:        {fep_echo,                      "fep-echo",
        !           164:         "Print arguments"},
        !           165:        {fep_source,                    "fep-source",
        !           166:         "Read and execute file"},
        !           167:        {fep_command,                   "fep-command",
        !           168:         "Invoke unix command"},
        !           169:        {fep_command,                   "fep-!",
        !           170:         "Same as fep_command"},
        !           171:        {fep_save_history,              "fep-save-history",
        !           172:         "Save history to file"},
        !           173:        {fep_read_history,              "fep-read-history",
        !           174:         "Read history from file"},
        !           175:        {fep_read_from_file,            "fep-read-from-file",
        !           176:         "Send file contens to slave command"},
        !           177:        {fep_read_from_file,            "fep-<",
        !           178:         "Same as fep_read_from_file"},
        !           179:        {fep_read_from_command,         "fep-read-from-command",
        !           180:         "Send output of command to slave command"},
        !           181:        {fep_read_from_command,         "fep-<!",
        !           182:         "Same as fep_read_from_command"},
        !           183:        {fep_start_script,              "fep-start-script",
        !           184:         "Start script"},
        !           185:        {fep_start_script,              "fep-script",
        !           186:         "Start script"},
        !           187:        {fep_end_script,                "fep-end-script",
        !           188:         "End script"},
        !           189:        {fep_if,                        "fep-if",
        !           190:         "Operation \"if\""},
        !           191:        {fep_if,                        "fep-elseif",
        !           192:         "Operation \"endif\""},
        !           193:        {fep_else,                      "fep-else",
        !           194:         "Operation \"else\""},
        !           195:        {fep_endif,                     "fep-endif",
        !           196:         "Operation \"endif\""},
        !           197:        {(FUNC)terminate,                       "fep-exit",
        !           198:         "Terminate fep"},
        !           199:        {suspend,                       "fep-suspend",
        !           200:         "Suspend fep"},
        !           201:        {show_bindings,                 "fep-show-bind",
        !           202:         "Print bindings"},
        !           203:        {show_bindings,                 "fep-showbind",
        !           204:         "Print bindings"},
        !           205:        {fep_repaint,                   "fep-repaint",
        !           206:         "Repaint screen"},
        !           207: #ifdef STAT
        !           208:        {fep_showstat,                  "fep-showstat",
        !           209:         "Show statistical information"},
        !           210: #endif
        !           211:        {NULL,                          NULL}
        !           212: };

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>