chardefs.h | chardefs.h | |||
---|---|---|---|---|
/* chardefs.h -- Character definitions for readline. */ | /* chardefs.h -- Character definitions for readline. */ | |||
/* Copyright (C) 1994 Free Software Foundation, Inc. | /* Copyright (C) 1994-2009 Free Software Foundation, Inc. | |||
This file is part of the GNU Readline Library, a library for | This file is part of the GNU Readline Library (Readline), a library | |||
reading lines of text with interactive input and history editing. | for reading lines of text with interactive input and history editing. | |||
The GNU Readline Library is free software; you can redistribute it | Readline is free software: you can redistribute it and/or modify | |||
and/or modify it under the terms of the GNU General Public License | it under the terms of the GNU General Public License as published by | |||
as published by the Free Software Foundation; either version 2, or | the Free Software Foundation, either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
The GNU Readline Library is distributed in the hope that it will be | Readline is distributed in the hope that it will be useful, | |||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
GNU General Public License for more details. | GNU General Public License for more details. | |||
The GNU General Public License is often shipped with GNU software, and | You should have received a copy of the GNU General Public License | |||
is generally kept in a file called COPYING or LICENSE. If you do not | along with Readline. If not, see <http://www.gnu.org/licenses/>. | |||
have a copy of the license, write to the Free Software Foundation, | */ | |||
59 Temple Place, Suite 330, Boston, MA 02111 USA. */ | ||||
#ifndef _CHARDEFS_H_ | #ifndef _CHARDEFS_H_ | |||
#define _CHARDEFS_H_ | #define _CHARDEFS_H_ | |||
#include <ctype.h> | #include <ctype.h> | |||
#if defined (HAVE_CONFIG_H) | #if defined (HAVE_CONFIG_H) | |||
# if defined (HAVE_STRING_H) | # if defined (HAVE_STRING_H) | |||
# if ! defined (STDC_HEADERS) && defined (HAVE_MEMORY_H) | # if ! defined (STDC_HEADERS) && defined (HAVE_MEMORY_H) | |||
# include <memory.h> | # include <memory.h> | |||
End of changes. 5 change blocks. | ||||
13 lines changed or deleted | 12 lines changed or added | |||
history.h | history.h | |||
---|---|---|---|---|
/* history.h -- the names of functions that you can call in history. */ | /* history.h -- the names of functions that you can call in history. */ | |||
/* Copyright (C) 1989-2003 Free Software Foundation, Inc. | ||||
This file contains the GNU History Library (the Library), a set of | /* Copyright (C) 1989-2009 Free Software Foundation, Inc. | |||
This file contains the GNU History Library (History), a set of | ||||
routines for managing the text of previously typed lines. | routines for managing the text of previously typed lines. | |||
The Library is free software; you can redistribute it and/or modify | History is free software: you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2, or (at your option) | the Free Software Foundation, either version 3 of the License, or | |||
any later version. | (at your option) any later version. | |||
The Library is distributed in the hope that it will be useful, but | History is distributed in the hope that it will be useful, | |||
WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
General Public License for more details. | GNU General Public License for more details. | |||
The GNU General Public License is often shipped with GNU software, and | You should have received a copy of the GNU General Public License | |||
is generally kept in a file called COPYING or LICENSE. If you do not | along with History. If not, see <http://www.gnu.org/licenses/>. | |||
have a copy of the license, write to the Free Software Foundation, | */ | |||
59 Temple Place, Suite 330, Boston, MA 02111 USA. */ | ||||
#ifndef _HISTORY_H_ | #ifndef _HISTORY_H_ | |||
#define _HISTORY_H_ | #define _HISTORY_H_ | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
#include <time.h> /* XXX - for history timestamp code */ | #include <time.h> /* XXX - for history timestamp code */ | |||
End of changes. 5 change blocks. | ||||
14 lines changed or deleted | 14 lines changed or added | |||
keymaps.h | keymaps.h | |||
---|---|---|---|---|
/* keymaps.h -- Manipulation of readline keymaps. */ | /* keymaps.h -- Manipulation of readline keymaps. */ | |||
/* Copyright (C) 1987, 1989, 1992 Free Software Foundation, Inc. | /* Copyright (C) 1987, 1989, 1992 Free Software Foundation, Inc. | |||
This file is part of the GNU Readline Library, a library for | This file is part of the GNU Readline Library (Readline), a library | |||
reading lines of text with interactive input and history editing. | for reading lines of text with interactive input and history editing. | |||
The GNU Readline Library is free software; you can redistribute it | Readline is free software: you can redistribute it and/or modify | |||
and/or modify it under the terms of the GNU General Public License | it under the terms of the GNU General Public License as published by | |||
as published by the Free Software Foundation; either version 2, or | the Free Software Foundation, either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
The GNU Readline Library is distributed in the hope that it will be | Readline is distributed in the hope that it will be useful, | |||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
GNU General Public License for more details. | GNU General Public License for more details. | |||
The GNU General Public License is often shipped with GNU software, and | You should have received a copy of the GNU General Public License | |||
is generally kept in a file called COPYING or LICENSE. If you do not | along with Readline. If not, see <http://www.gnu.org/licenses/>. | |||
have a copy of the license, write to the Free Software Foundation, | */ | |||
59 Temple Place, Suite 330, Boston, MA 02111 USA. */ | ||||
#ifndef _KEYMAPS_H_ | #ifndef _KEYMAPS_H_ | |||
#define _KEYMAPS_H_ | #define _KEYMAPS_H_ | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
#if defined (READLINE_LIBRARY) | #if defined (READLINE_LIBRARY) | |||
# include "rlstdc.h" | # include "rlstdc.h" | |||
End of changes. 4 change blocks. | ||||
12 lines changed or deleted | 11 lines changed or added | |||
readline.h | readline.h | |||
---|---|---|---|---|
/* Readline.h -- the names of functions callable from within readline. */ | /* Readline.h -- the names of functions callable from within readline. */ | |||
/* Copyright (C) 1987-2005 Free Software Foundation, Inc. | /* Copyright (C) 1987-2009 Free Software Foundation, Inc. | |||
This file is part of the GNU Readline Library, a library for | This file is part of the GNU Readline Library (Readline), a library | |||
reading lines of text with interactive input and history editing. | for reading lines of text with interactive input and history editing. | |||
The GNU Readline Library is free software; you can redistribute it | Readline is free software: you can redistribute it and/or modify | |||
and/or modify it under the terms of the GNU General Public License | it under the terms of the GNU General Public License as published by | |||
as published by the Free Software Foundation; either version 2, or | the Free Software Foundation, either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
The GNU Readline Library is distributed in the hope that it will be | Readline is distributed in the hope that it will be useful, | |||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
GNU General Public License for more details. | GNU General Public License for more details. | |||
The GNU General Public License is often shipped with GNU software, and | You should have received a copy of the GNU General Public License | |||
is generally kept in a file called COPYING or LICENSE. If you do not | along with Readline. If not, see <http://www.gnu.org/licenses/>. | |||
have a copy of the license, write to the Free Software Foundation, | */ | |||
59 Temple Place, Suite 330, Boston, MA 02111 USA. */ | ||||
#if !defined (_READLINE_H_) | #if !defined (_READLINE_H_) | |||
#define _READLINE_H_ | #define _READLINE_H_ | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
#if defined (READLINE_LIBRARY) | #if defined (READLINE_LIBRARY) | |||
# include "rlstdc.h" | # include "rlstdc.h" | |||
skipping to change at line 43 | skipping to change at line 42 | |||
# include "keymaps.h" | # include "keymaps.h" | |||
# include "tilde.h" | # include "tilde.h" | |||
#else | #else | |||
# include <readline/rlstdc.h> | # include <readline/rlstdc.h> | |||
# include <readline/rltypedefs.h> | # include <readline/rltypedefs.h> | |||
# include <readline/keymaps.h> | # include <readline/keymaps.h> | |||
# include <readline/tilde.h> | # include <readline/tilde.h> | |||
#endif | #endif | |||
/* Hex-encoded Readline version number. */ | /* Hex-encoded Readline version number. */ | |||
#define RL_READLINE_VERSION 0x0502 /* Readline 5.2 */ | #define RL_READLINE_VERSION 0x0600 /* Readline 6.0 */ | |||
#define RL_VERSION_MAJOR 5 | #define RL_VERSION_MAJOR 6 | |||
#define RL_VERSION_MINOR 2 | #define RL_VERSION_MINOR 0 | |||
/* Readline data structures. */ | /* Readline data structures. */ | |||
/* Maintaining the state of undo. We remember individual deletes and inser ts | /* Maintaining the state of undo. We remember individual deletes and inser ts | |||
on a chain of things to do. */ | on a chain of things to do. */ | |||
/* The actions that undo knows how to undo. Notice that UNDO_DELETE means | /* The actions that undo knows how to undo. Notice that UNDO_DELETE means | |||
to insert some text, and UNDO_INSERT means to delete some text. I.e., | to insert some text, and UNDO_INSERT means to delete some text. I.e., | |||
the code tells undo what to undo, not how to undo it. */ | the code tells undo what to undo, not how to undo it. */ | |||
enum undo_code { UNDO_DELETE, UNDO_INSERT, UNDO_BEGIN, UNDO_END }; | enum undo_code { UNDO_DELETE, UNDO_INSERT, UNDO_BEGIN, UNDO_END }; | |||
skipping to change at line 236 | skipping to change at line 235 | |||
extern int rl_vi_complete PARAMS((int, int)); | extern int rl_vi_complete PARAMS((int, int)); | |||
extern int rl_vi_tilde_expand PARAMS((int, int)); | extern int rl_vi_tilde_expand PARAMS((int, int)); | |||
extern int rl_vi_prev_word PARAMS((int, int)); | extern int rl_vi_prev_word PARAMS((int, int)); | |||
extern int rl_vi_next_word PARAMS((int, int)); | extern int rl_vi_next_word PARAMS((int, int)); | |||
extern int rl_vi_end_word PARAMS((int, int)); | extern int rl_vi_end_word PARAMS((int, int)); | |||
extern int rl_vi_insert_beg PARAMS((int, int)); | extern int rl_vi_insert_beg PARAMS((int, int)); | |||
extern int rl_vi_append_mode PARAMS((int, int)); | extern int rl_vi_append_mode PARAMS((int, int)); | |||
extern int rl_vi_append_eol PARAMS((int, int)); | extern int rl_vi_append_eol PARAMS((int, int)); | |||
extern int rl_vi_eof_maybe PARAMS((int, int)); | extern int rl_vi_eof_maybe PARAMS((int, int)); | |||
extern int rl_vi_insertion_mode PARAMS((int, int)); | extern int rl_vi_insertion_mode PARAMS((int, int)); | |||
extern int rl_vi_insert_mode PARAMS((int, int)); | ||||
extern int rl_vi_movement_mode PARAMS((int, int)); | extern int rl_vi_movement_mode PARAMS((int, int)); | |||
extern int rl_vi_arg_digit PARAMS((int, int)); | extern int rl_vi_arg_digit PARAMS((int, int)); | |||
extern int rl_vi_change_case PARAMS((int, int)); | extern int rl_vi_change_case PARAMS((int, int)); | |||
extern int rl_vi_put PARAMS((int, int)); | extern int rl_vi_put PARAMS((int, int)); | |||
extern int rl_vi_column PARAMS((int, int)); | extern int rl_vi_column PARAMS((int, int)); | |||
extern int rl_vi_delete_to PARAMS((int, int)); | extern int rl_vi_delete_to PARAMS((int, int)); | |||
extern int rl_vi_change_to PARAMS((int, int)); | extern int rl_vi_change_to PARAMS((int, int)); | |||
extern int rl_vi_yank_to PARAMS((int, int)); | extern int rl_vi_yank_to PARAMS((int, int)); | |||
extern int rl_vi_rubout PARAMS((int, int)); | extern int rl_vi_rubout PARAMS((int, int)); | |||
extern int rl_vi_delete PARAMS((int, int)); | extern int rl_vi_delete PARAMS((int, int)); | |||
skipping to change at line 423 | skipping to change at line 423 | |||
extern int rl_execute_next PARAMS((int)); | extern int rl_execute_next PARAMS((int)); | |||
extern int rl_clear_pending_input PARAMS((void)); | extern int rl_clear_pending_input PARAMS((void)); | |||
extern int rl_read_key PARAMS((void)); | extern int rl_read_key PARAMS((void)); | |||
extern int rl_getc PARAMS((FILE *)); | extern int rl_getc PARAMS((FILE *)); | |||
extern int rl_set_keyboard_input_timeout PARAMS((int)); | extern int rl_set_keyboard_input_timeout PARAMS((int)); | |||
/* `Public' utility functions . */ | /* `Public' utility functions . */ | |||
extern void rl_extend_line_buffer PARAMS((int)); | extern void rl_extend_line_buffer PARAMS((int)); | |||
extern int rl_ding PARAMS((void)); | extern int rl_ding PARAMS((void)); | |||
extern int rl_alphabetic PARAMS((int)); | extern int rl_alphabetic PARAMS((int)); | |||
extern void rl_free PARAMS((void *)); | ||||
/* Readline signal handling, from signals.c */ | /* Readline signal handling, from signals.c */ | |||
extern int rl_set_signals PARAMS((void)); | extern int rl_set_signals PARAMS((void)); | |||
extern int rl_clear_signals PARAMS((void)); | extern int rl_clear_signals PARAMS((void)); | |||
extern void rl_cleanup_after_signal PARAMS((void)); | extern void rl_cleanup_after_signal PARAMS((void)); | |||
extern void rl_reset_after_signal PARAMS((void)); | extern void rl_reset_after_signal PARAMS((void)); | |||
extern void rl_free_line_state PARAMS((void)); | extern void rl_free_line_state PARAMS((void)); | |||
extern void rl_echo_signal_char PARAMS((int)); | ||||
extern int rl_set_paren_blink_timeout PARAMS((int)); | extern int rl_set_paren_blink_timeout PARAMS((int)); | |||
/* Undocumented. */ | /* Undocumented. */ | |||
extern int rl_maybe_save_line PARAMS((void)); | extern int rl_maybe_save_line PARAMS((void)); | |||
extern int rl_maybe_unsave_line PARAMS((void)); | extern int rl_maybe_unsave_line PARAMS((void)); | |||
extern int rl_maybe_replace_line PARAMS((void)); | extern int rl_maybe_replace_line PARAMS((void)); | |||
/* Completion functions. */ | /* Completion functions. */ | |||
extern int rl_complete_internal PARAMS((int)); | extern int rl_complete_internal PARAMS((int)); | |||
extern void rl_display_match_list PARAMS((char **, int, int)); | extern void rl_display_match_list PARAMS((char **, int, int)); | |||
skipping to change at line 496 | skipping to change at line 499 | |||
extern int rl_insert_mode; | extern int rl_insert_mode; | |||
/* The name of the calling program. You should initialize this to | /* The name of the calling program. You should initialize this to | |||
whatever was in argv[0]. It is used when parsing conditionals. */ | whatever was in argv[0]. It is used when parsing conditionals. */ | |||
extern const char *rl_readline_name; | extern const char *rl_readline_name; | |||
/* The prompt readline uses. This is set from the argument to | /* The prompt readline uses. This is set from the argument to | |||
readline (), and should not be assigned to directly. */ | readline (), and should not be assigned to directly. */ | |||
extern char *rl_prompt; | extern char *rl_prompt; | |||
/* The prompt string that is actually displayed by rl_redisplay. Public so | ||||
applications can more easily supply their own redisplay functions. */ | ||||
extern char *rl_display_prompt; | ||||
/* The line buffer that is in use. */ | /* The line buffer that is in use. */ | |||
extern char *rl_line_buffer; | extern char *rl_line_buffer; | |||
/* The location of point, and end. */ | /* The location of point, and end. */ | |||
extern int rl_point; | extern int rl_point; | |||
extern int rl_end; | extern int rl_end; | |||
/* The mark, or saved cursor position. */ | /* The mark, or saved cursor position. */ | |||
extern int rl_mark; | extern int rl_mark; | |||
skipping to change at line 602 | skipping to change at line 609 | |||
application's signal handler is called; use rl_cleanup_after_signal() | application's signal handler is called; use rl_cleanup_after_signal() | |||
to do that. */ | to do that. */ | |||
extern int rl_catch_sigwinch; | extern int rl_catch_sigwinch; | |||
/* Completion variables. */ | /* Completion variables. */ | |||
/* Pointer to the generator function for completion_matches (). | /* Pointer to the generator function for completion_matches (). | |||
NULL means to use rl_filename_completion_function (), the default | NULL means to use rl_filename_completion_function (), the default | |||
filename completer. */ | filename completer. */ | |||
extern rl_compentry_func_t *rl_completion_entry_function; | extern rl_compentry_func_t *rl_completion_entry_function; | |||
/* Optional generator for menu completion. Default is | ||||
rl_completion_entry_function (rl_filename_completion_function). */ | ||||
extern rl_compentry_func_t *rl_menu_completion_entry_function; | ||||
/* If rl_ignore_some_completions_function is non-NULL it is the address | /* If rl_ignore_some_completions_function is non-NULL it is the address | |||
of a function to call after all of the possible matches have been | of a function to call after all of the possible matches have been | |||
generated, but before the actual completion is done to the input line. | generated, but before the actual completion is done to the input line. | |||
The function is called with one argument; a NULL terminated array | The function is called with one argument; a NULL terminated array | |||
of (char *). If your function removes any of the elements, they | of (char *). If your function removes any of the elements, they | |||
must be free()'ed. */ | must be free()'ed. */ | |||
extern rl_compignore_func_t *rl_ignore_some_completions_function; | extern rl_compignore_func_t *rl_ignore_some_completions_function; | |||
/* Pointer to alternative function to create matches. | /* Pointer to alternative function to create matches. | |||
Function is called with TEXT, START, and END. | Function is called with TEXT, START, and END. | |||
skipping to change at line 716 | skipping to change at line 727 | |||
/* Non-zero means to suppress normal filename completion after the | /* Non-zero means to suppress normal filename completion after the | |||
user-specified completion function has been called. */ | user-specified completion function has been called. */ | |||
extern int rl_attempted_completion_over; | extern int rl_attempted_completion_over; | |||
/* Set to a character describing the type of completion being attempted by | /* Set to a character describing the type of completion being attempted by | |||
rl_complete_internal; available for use by application completion | rl_complete_internal; available for use by application completion | |||
functions. */ | functions. */ | |||
extern int rl_completion_type; | extern int rl_completion_type; | |||
/* Set to the last key used to invoke one of the completion functions */ | ||||
extern int rl_completion_invoking_key; | ||||
/* Up to this many items will be displayed in response to a | /* Up to this many items will be displayed in response to a | |||
possible-completions call. After that, we ask the user if she | possible-completions call. After that, we ask the user if she | |||
is sure she wants to see them all. The default value is 100. */ | is sure she wants to see them all. The default value is 100. */ | |||
extern int rl_completion_query_items; | extern int rl_completion_query_items; | |||
/* Character appended to completed words when at the end of the line. The | /* Character appended to completed words when at the end of the line. The | |||
default is a space. Nothing is added if this is '\0'. */ | default is a space. Nothing is added if this is '\0'. */ | |||
extern int rl_completion_append_character; | extern int rl_completion_append_character; | |||
/* If set to non-zero by an application completion function, | /* If set to non-zero by an application completion function, | |||
skipping to change at line 742 | skipping to change at line 756 | |||
/* Set to a non-zero value if readline found quoting anywhere in the word t o | /* Set to a non-zero value if readline found quoting anywhere in the word t o | |||
be completed; set before any application completion function is called. */ | be completed; set before any application completion function is called. */ | |||
extern int rl_completion_found_quote; | extern int rl_completion_found_quote; | |||
/* If non-zero, the completion functions don't append any closing quote. | /* If non-zero, the completion functions don't append any closing quote. | |||
This is set to 0 by rl_complete_internal and may be changed by an | This is set to 0 by rl_complete_internal and may be changed by an | |||
application-specific completion function. */ | application-specific completion function. */ | |||
extern int rl_completion_suppress_quote; | extern int rl_completion_suppress_quote; | |||
/* If non-zero, readline will sort the completion matches. On by default. | ||||
*/ | ||||
extern int rl_sort_completion_matches; | ||||
/* If non-zero, a slash will be appended to completed filenames that are | /* If non-zero, a slash will be appended to completed filenames that are | |||
symbolic links to directory names, subject to the value of the | symbolic links to directory names, subject to the value of the | |||
mark-directories variable (which is user-settable). This exists so | mark-directories variable (which is user-settable). This exists so | |||
that application completion functions can override the user's preference | that application completion functions can override the user's preference | |||
(set via the mark-symlinked-directories variable) if appropriate. | (set via the mark-symlinked-directories variable) if appropriate. | |||
It's set to the value of _rl_complete_mark_symlink_dirs in | It's set to the value of _rl_complete_mark_symlink_dirs in | |||
rl_complete_internal before any application-specific completion | rl_complete_internal before any application-specific completion | |||
function is called, so without that function doing anything, the user's | function is called, so without that function doing anything, the user's | |||
preferences are honored. */ | preferences are honored. */ | |||
extern int rl_completion_mark_symlink_dirs; | extern int rl_completion_mark_symlink_dirs; | |||
End of changes. 13 change blocks. | ||||
16 lines changed or deleted | 34 lines changed or added | |||
rlconf.h | rlconf.h | |||
---|---|---|---|---|
/* rlconf.h -- readline configuration definitions */ | /* rlconf.h -- readline configuration definitions */ | |||
/* Copyright (C) 1994 Free Software Foundation, Inc. | /* Copyright (C) 1992-2009 Free Software Foundation, Inc. | |||
This file contains the Readline Library (the Library), a set of | This file is part of the GNU Readline Library (Readline), a library | |||
routines for providing Emacs style line input to programs that ask | for reading lines of text with interactive input and history editing. | |||
for it. | ||||
The Library is free software; you can redistribute it and/or modify | Readline is free software: you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2, or (at your option) | the Free Software Foundation, either version 3 of the License, or | |||
any later version. | (at your option) any later version. | |||
The Library is distributed in the hope that it will be useful, but | Readline is distributed in the hope that it will be useful, | |||
WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
General Public License for more details. | GNU General Public License for more details. | |||
The GNU General Public License is often shipped with GNU software, and | You should have received a copy of the GNU General Public License | |||
is generally kept in a file called COPYING or LICENSE. If you do not | along with Readline. If not, see <http://www.gnu.org/licenses/>. | |||
have a copy of the license, write to the Free Software Foundation, | */ | |||
59 Temple Place, Suite 330, Boston, MA 02111 USA. */ | ||||
#if !defined (_RLCONF_H_) | #if !defined (_RLCONF_H_) | |||
#define _RLCONF_H_ | #define _RLCONF_H_ | |||
/* Define this if you want the vi-mode editing available. */ | /* Define this if you want the vi-mode editing available. */ | |||
#define VI_MODE | #define VI_MODE | |||
/* Define this to get an indication of file type when listing completions. */ | /* Define this to get an indication of file type when listing completions. */ | |||
#define VISIBLE_STATS | #define VISIBLE_STATS | |||
End of changes. 5 change blocks. | ||||
16 lines changed or deleted | 14 lines changed or added | |||
rlstdc.h | rlstdc.h | |||
---|---|---|---|---|
/* stdc.h -- macros to make source compile on both ANSI C and K&R C | /* stdc.h -- macros to make source compile on both ANSI C and K&R C compile | |||
compilers. */ | rs. */ | |||
/* Copyright (C) 1993 Free Software Foundation, Inc. | /* Copyright (C) 1993-2009 Free Software Foundation, Inc. | |||
This file is part of GNU Bash, the Bourne Again SHell. | This file is part of the GNU Readline Library (Readline), a library | |||
for reading lines of text with interactive input and history editing. | ||||
Bash is free software; you can redistribute it and/or modify it | Readline is free software: you can redistribute it and/or modify | |||
under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2, or (at your option) | the Free Software Foundation, either version 3 of the License, or | |||
any later version. | (at your option) any later version. | |||
Bash is distributed in the hope that it will be useful, but WITHOUT | Readline is distributed in the hope that it will be useful, | |||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
License for more details. | GNU General Public License for more details. | |||
You should have received a copy of the GNU General Public License | You should have received a copy of the GNU General Public License | |||
along with Bash; see the file COPYING. If not, write to the Free | along with Readline. If not, see <http://www.gnu.org/licenses/>. | |||
Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. * | */ | |||
/ | ||||
#if !defined (_RL_STDC_H_) | #if !defined (_RL_STDC_H_) | |||
#define _RL_STDC_H_ | #define _RL_STDC_H_ | |||
/* Adapted from BSD /usr/include/sys/cdefs.h. */ | /* Adapted from BSD /usr/include/sys/cdefs.h. */ | |||
/* A function can be defined using prototypes and compile on both ANSI C | /* A function can be defined using prototypes and compile on both ANSI C | |||
and traditional C compilers with something like this: | and traditional C compilers with something like this: | |||
extern char *func PARAMS((char *, char *, int)); */ | extern char *func PARAMS((char *, char *, int)); */ | |||
End of changes. 5 change blocks. | ||||
16 lines changed or deleted | 16 lines changed or added | |||
rltypedefs.h | rltypedefs.h | |||
---|---|---|---|---|
/* rltypedefs.h -- Type declarations for readline functions. */ | /* rltypedefs.h -- Type declarations for readline functions. */ | |||
/* Copyright (C) 2000-2004 Free Software Foundation, Inc. | /* Copyright (C) 2000-2009 Free Software Foundation, Inc. | |||
This file is part of the GNU Readline Library, a library for | This file is part of the GNU Readline Library (Readline), a library | |||
reading lines of text with interactive input and history editing. | for reading lines of text with interactive input and history editing. | |||
The GNU Readline Library is free software; you can redistribute it | Readline is free software: you can redistribute it and/or modify | |||
and/or modify it under the terms of the GNU General Public License | it under the terms of the GNU General Public License as published by | |||
as published by the Free Software Foundation; either version 2, or | the Free Software Foundation, either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
The GNU Readline Library is distributed in the hope that it will be | Readline is distributed in the hope that it will be useful, | |||
useful, but WITHOUT ANY WARRANTY; without even the implied warranty | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
GNU General Public License for more details. | GNU General Public License for more details. | |||
The GNU General Public License is often shipped with GNU software, and | You should have received a copy of the GNU General Public License | |||
is generally kept in a file called COPYING or LICENSE. If you do not | along with Readline. If not, see <http://www.gnu.org/licenses/>. | |||
have a copy of the license, write to the Free Software Foundation, | */ | |||
59 Temple Place, Suite 330, Boston, MA 02111 USA. */ | ||||
#ifndef _RL_TYPEDEFS_H_ | #ifndef _RL_TYPEDEFS_H_ | |||
#define _RL_TYPEDEFS_H_ | #define _RL_TYPEDEFS_H_ | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
/* Old-style */ | /* Old-style */ | |||
End of changes. 5 change blocks. | ||||
13 lines changed or deleted | 12 lines changed or added | |||
tilde.h | tilde.h | |||
---|---|---|---|---|
/* tilde.h: Externally available variables and function in libtilde.a. */ | /* tilde.h: Externally available variables and function in libtilde.a. */ | |||
/* Copyright (C) 1992 Free Software Foundation, Inc. | /* Copyright (C) 1992-2009 Free Software Foundation, Inc. | |||
This file contains the Readline Library (the Library), a set of | This file contains the Readline Library (Readline), a set of | |||
routines for providing Emacs style line input to programs that ask | routines for providing Emacs style line input to programs that ask | |||
for it. | for it. | |||
The Library is free software; you can redistribute it and/or modify | Readline is free software: you can redistribute it and/or modify | |||
it under the terms of the GNU General Public License as published by | it under the terms of the GNU General Public License as published by | |||
the Free Software Foundation; either version 2, or (at your option) | the Free Software Foundation, either version 3 of the License, or | |||
any later version. | (at your option) any later version. | |||
The Library is distributed in the hope that it will be useful, but | Readline is distributed in the hope that it will be useful, | |||
WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
General Public License for more details. | GNU General Public License for more details. | |||
The GNU General Public License is often shipped with GNU software, and | You should have received a copy of the GNU General Public License | |||
is generally kept in a file called COPYING or LICENSE. If you do not | along with Readline. If not, see <http://www.gnu.org/licenses/>. | |||
have a copy of the license, write to the Free Software Foundation, | */ | |||
59 Temple Place, Suite 330, Boston, MA 02111 USA. */ | ||||
#if !defined (_TILDE_H_) | #if !defined (_TILDE_H_) | |||
# define _TILDE_H_ | # define _TILDE_H_ | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
/* A function can be defined using prototypes and compile on both ANSI C | /* A function can be defined using prototypes and compile on both ANSI C | |||
and traditional C compilers with something like this: | and traditional C compilers with something like this: | |||
End of changes. 5 change blocks. | ||||
14 lines changed or deleted | 13 lines changed or added | |||