readline.h   readline.h 
skipping to change at line 98 skipping to change at line 98
extern int rl_forward PARAMS((int, int)); extern int rl_forward PARAMS((int, int));
extern int rl_backward_byte PARAMS((int, int)); extern int rl_backward_byte PARAMS((int, int));
extern int rl_backward_char PARAMS((int, int)); extern int rl_backward_char PARAMS((int, int));
extern int rl_backward PARAMS((int, int)); extern int rl_backward PARAMS((int, int));
extern int rl_beg_of_line PARAMS((int, int)); extern int rl_beg_of_line PARAMS((int, int));
extern int rl_end_of_line PARAMS((int, int)); extern int rl_end_of_line PARAMS((int, int));
extern int rl_forward_word PARAMS((int, int)); extern int rl_forward_word PARAMS((int, int));
extern int rl_backward_word PARAMS((int, int)); extern int rl_backward_word PARAMS((int, int));
extern int rl_refresh_line PARAMS((int, int)); extern int rl_refresh_line PARAMS((int, int));
extern int rl_clear_screen PARAMS((int, int)); extern int rl_clear_screen PARAMS((int, int));
extern int rl_skip_csi_sequence PARAMS((int, int));
extern int rl_arrow_keys PARAMS((int, int)); extern int rl_arrow_keys PARAMS((int, int));
/* Bindable commands for inserting and deleting text. */ /* Bindable commands for inserting and deleting text. */
extern int rl_insert PARAMS((int, int)); extern int rl_insert PARAMS((int, int));
extern int rl_quoted_insert PARAMS((int, int)); extern int rl_quoted_insert PARAMS((int, int));
extern int rl_tab_insert PARAMS((int, int)); extern int rl_tab_insert PARAMS((int, int));
extern int rl_newline PARAMS((int, int)); extern int rl_newline PARAMS((int, int));
extern int rl_do_lowercase_version PARAMS((int, int)); extern int rl_do_lowercase_version PARAMS((int, int));
extern int rl_rubout PARAMS((int, int)); extern int rl_rubout PARAMS((int, int));
extern int rl_delete PARAMS((int, int)); extern int rl_delete PARAMS((int, int));
skipping to change at line 153 skipping to change at line 154
/* Bindable commands for managing key bindings. */ /* Bindable commands for managing key bindings. */
extern int rl_re_read_init_file PARAMS((int, int)); extern int rl_re_read_init_file PARAMS((int, int));
extern int rl_dump_functions PARAMS((int, int)); extern int rl_dump_functions PARAMS((int, int));
extern int rl_dump_macros PARAMS((int, int)); extern int rl_dump_macros PARAMS((int, int));
extern int rl_dump_variables PARAMS((int, int)); extern int rl_dump_variables PARAMS((int, int));
/* Bindable commands for word completion. */ /* Bindable commands for word completion. */
extern int rl_complete PARAMS((int, int)); extern int rl_complete PARAMS((int, int));
extern int rl_possible_completions PARAMS((int, int)); extern int rl_possible_completions PARAMS((int, int));
extern int rl_insert_completions PARAMS((int, int)); extern int rl_insert_completions PARAMS((int, int));
extern int rl_old_menu_complete PARAMS((int, int));
extern int rl_menu_complete PARAMS((int, int)); extern int rl_menu_complete PARAMS((int, int));
extern int rl_backward_menu_complete PARAMS((int, int));
/* Bindable commands for killing and yanking text, and managing the kill ri ng. */ /* Bindable commands for killing and yanking text, and managing the kill ri ng. */
extern int rl_kill_word PARAMS((int, int)); extern int rl_kill_word PARAMS((int, int));
extern int rl_backward_kill_word PARAMS((int, int)); extern int rl_backward_kill_word PARAMS((int, int));
extern int rl_kill_line PARAMS((int, int)); extern int rl_kill_line PARAMS((int, int));
extern int rl_backward_kill_line PARAMS((int, int)); extern int rl_backward_kill_line PARAMS((int, int));
extern int rl_kill_full_line PARAMS((int, int)); extern int rl_kill_full_line PARAMS((int, int));
extern int rl_unix_word_rubout PARAMS((int, int)); extern int rl_unix_word_rubout PARAMS((int, int));
extern int rl_unix_filename_rubout PARAMS((int, int)); extern int rl_unix_filename_rubout PARAMS((int, int));
extern int rl_unix_line_discard PARAMS((int, int)); extern int rl_unix_line_discard PARAMS((int, int));
skipping to change at line 678 skipping to change at line 681
/* If non-zero, this is the address of a function to call when completing /* If non-zero, this is the address of a function to call when completing
a directory name. This function takes the address of the directory name a directory name. This function takes the address of the directory name
to be modified as an argument. Unlike rl_directory_completion_hook, it to be modified as an argument. Unlike rl_directory_completion_hook, it
only modifies the directory name used in opendir(2), not what is display ed only modifies the directory name used in opendir(2), not what is display ed
when the possible completions are printed or inserted. It is called when the possible completions are printed or inserted. It is called
before rl_directory_completion_hook. I'm not happy with how this works before rl_directory_completion_hook. I'm not happy with how this works
yet, so it's undocumented. */ yet, so it's undocumented. */
extern rl_icppfunc_t *rl_directory_rewrite_hook; extern rl_icppfunc_t *rl_directory_rewrite_hook;
/* If non-zero, this is the address of a function to call when reading
directory entries from the filesystem for completion and comparing
them to the partial word to be completed. The function should
either return its first argument (if no conversion takes place) or
newly-allocated memory. This can, for instance, convert filenames
between character sets for comparison against what's typed at the
keyboard. The returned value is what is added to the list of
matches. The second argument is the length of the filename to be
converted. */
extern rl_dequote_func_t *rl_filename_rewrite_hook;
/* Backwards compatibility with previous versions of readline. */ /* Backwards compatibility with previous versions of readline. */
#define rl_symbolic_link_hook rl_directory_completion_hook #define rl_symbolic_link_hook rl_directory_completion_hook
/* If non-zero, then this is the address of a function to call when /* If non-zero, then this is the address of a function to call when
completing a word would normally display the list of possible matches. completing a word would normally display the list of possible matches.
This function is called instead of actually doing the display. This function is called instead of actually doing the display.
It takes three arguments: (char **matches, int num_matches, int max_leng th) It takes three arguments: (char **matches, int num_matches, int max_leng th)
where MATCHES is the array of strings that matched, NUM_MATCHES is the where MATCHES is the array of strings that matched, NUM_MATCHES is the
number of strings in that array, and MAX_LENGTH is the length of the number of strings in that array, and MAX_LENGTH is the length of the
longest string in that array. */ longest string in that array. */
skipping to change at line 817 skipping to change at line 831
#define RL_STATE_OVERWRITE 0x002000 /* overwrite mode */ #define RL_STATE_OVERWRITE 0x002000 /* overwrite mode */
#define RL_STATE_COMPLETING 0x004000 /* doing completion */ #define RL_STATE_COMPLETING 0x004000 /* doing completion */
#define RL_STATE_SIGHANDLER 0x008000 /* in readline sighandler */ #define RL_STATE_SIGHANDLER 0x008000 /* in readline sighandler */
#define RL_STATE_UNDOING 0x010000 /* doing an undo */ #define RL_STATE_UNDOING 0x010000 /* doing an undo */
#define RL_STATE_INPUTPENDING 0x020000 /* rl_execute_next called */ #define RL_STATE_INPUTPENDING 0x020000 /* rl_execute_next called */
#define RL_STATE_TTYCSAVED 0x040000 /* tty special chars saved * / #define RL_STATE_TTYCSAVED 0x040000 /* tty special chars saved * /
#define RL_STATE_CALLBACK 0x080000 /* using the callback interf ace */ #define RL_STATE_CALLBACK 0x080000 /* using the callback interf ace */
#define RL_STATE_VIMOTION 0x100000 /* reading vi motion arg */ #define RL_STATE_VIMOTION 0x100000 /* reading vi motion arg */
#define RL_STATE_MULTIKEY 0x200000 /* reading multiple-key comm and */ #define RL_STATE_MULTIKEY 0x200000 /* reading multiple-key comm and */
#define RL_STATE_VICMDONCE 0x400000 /* entered vi command mode a t least once */ #define RL_STATE_VICMDONCE 0x400000 /* entered vi command mode a t least once */
#define RL_STATE_REDISPLAYING 0x800000 /* updating terminal display */
#define RL_STATE_DONE 0x800000 /* done; accepted line */ #define RL_STATE_DONE 0x1000000 /* done; accepted line */
#define RL_SETSTATE(x) (rl_readline_state |= (x)) #define RL_SETSTATE(x) (rl_readline_state |= (x))
#define RL_UNSETSTATE(x) (rl_readline_state &= ~(x)) #define RL_UNSETSTATE(x) (rl_readline_state &= ~(x))
#define RL_ISSTATE(x) (rl_readline_state & (x)) #define RL_ISSTATE(x) (rl_readline_state & (x))
struct readline_state { struct readline_state {
/* line state */ /* line state */
int point; int point;
int end; int end;
int mark; int mark;
 End of changes. 6 change blocks. 
1 lines changed or deleted 16 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/