Deleted Added
full compact
keymaps.c (47558) keymaps.c (58310)
1/* keymaps.c -- Functions and keymaps for the GNU Readline library. */
2
3/* Copyright (C) 1988,1989 Free Software Foundation, Inc.
4
5 This file is part of GNU Readline, a library for reading lines
6 of text with interactive input and history editing.
7
8 Readline is free software; you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published by the
1/* keymaps.c -- Functions and keymaps for the GNU Readline library. */
2
3/* Copyright (C) 1988,1989 Free Software Foundation, Inc.
4
5 This file is part of GNU Readline, a library for reading lines
6 of text with interactive input and history editing.
7
8 Readline is free software; you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published by the
10 Free Software Foundation; either version 1, or (at your option) any
10 Free Software Foundation; either version 2, or (at your option) any
11 later version.
12
13 Readline is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with Readline; see the file COPYING. If not, write to the Free
11 later version.
12
13 Readline is distributed in the hope that it will be useful, but
14 WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with Readline; see the file COPYING. If not, write to the Free
20 Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
20 Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */
21#define READLINE_LIBRARY
22
23#if defined (HAVE_CONFIG_H)
24# include <config.h>
25#endif
26
27#if defined (HAVE_STDLIB_H)
28# include <stdlib.h>
29#else
30# include "ansi_stdlib.h"
31#endif /* HAVE_STDLIB_H */
32
21#define READLINE_LIBRARY
22
23#if defined (HAVE_CONFIG_H)
24# include <config.h>
25#endif
26
27#if defined (HAVE_STDLIB_H)
28# include <stdlib.h>
29#else
30# include "ansi_stdlib.h"
31#endif /* HAVE_STDLIB_H */
32
33#include <stdio.h> /* for FILE * definition for readline.h */
34
35#include "readline.h"
33#include "rlconf.h"
36#include "rlconf.h"
34#include "keymaps.h"
37
35#include "emacs_keymap.c"
36
37#if defined (VI_MODE)
38#include "vi_keymap.c"
39#endif
40
38#include "emacs_keymap.c"
39
40#if defined (VI_MODE)
41#include "vi_keymap.c"
42#endif
43
41extern int rl_do_lowercase_version ();
42extern int rl_rubout (), rl_insert ();
44#include "xmalloc.h"
43
45
44extern char *xmalloc (), *xrealloc ();
45
46/* **************************************************************** */
47/* */
48/* Functions for manipulating Keymaps. */
49/* */
50/* **************************************************************** */
51
52
53/* Return a new, empty keymap.

--- 97 unchanged lines hidden ---
46/* **************************************************************** */
47/* */
48/* Functions for manipulating Keymaps. */
49/* */
50/* **************************************************************** */
51
52
53/* Return a new, empty keymap.

--- 97 unchanged lines hidden ---