0a1
> /* $FreeBSD: head/contrib/libreadline/readline.h 157188 2006-03-27 23:11:32Z ache $ */
3c4
< /* Copyright (C) 1987-2004 Free Software Foundation, Inc.
---
> /* Copyright (C) 1987-2005 Free Software Foundation, Inc.
23d23
< /* $FreeBSD: head/contrib/libreadline/readline.h 136652 2004-10-18 07:25:32Z ache $ */
44c44
< #define RL_READLINE_VERSION 0x0500 /* Readline 5.0 */
---
> #define RL_READLINE_VERSION 0x0501 /* Readline 5.1 */
46c46
< #define RL_VERSION_MINOR 0
---
> #define RL_VERSION_MINOR 1
244a245
> extern int rl_vi_rubout PARAMS((int, int));
305a307,308
>
> extern char *rl_variable_value PARAMS((const char *));
404a408
> extern void rl_reset_screen_size PARAMS((void));
531a536,540
> /* If non-zero, Readline gives values of LINES and COLUMNS from the environment
> greater precedence than values fetched from the kernel when computing the
> screen dimensions. */
> extern int rl_prefer_env_winsize;
>
763c772
< #define RL_STATE_NONE 0x00000 /* no state; before first call */
---
> #define RL_STATE_NONE 0x000000 /* no state; before first call */
765,783c774,796
< #define RL_STATE_INITIALIZING 0x00001 /* initializing */
< #define RL_STATE_INITIALIZED 0x00002 /* initialization done */
< #define RL_STATE_TERMPREPPED 0x00004 /* terminal is prepped */
< #define RL_STATE_READCMD 0x00008 /* reading a command key */
< #define RL_STATE_METANEXT 0x00010 /* reading input after ESC */
< #define RL_STATE_DISPATCHING 0x00020 /* dispatching to a command */
< #define RL_STATE_MOREINPUT 0x00040 /* reading more input in a command function */
< #define RL_STATE_ISEARCH 0x00080 /* doing incremental search */
< #define RL_STATE_NSEARCH 0x00100 /* doing non-inc search */
< #define RL_STATE_SEARCH 0x00200 /* doing a history search */
< #define RL_STATE_NUMERICARG 0x00400 /* reading numeric argument */
< #define RL_STATE_MACROINPUT 0x00800 /* getting input from a macro */
< #define RL_STATE_MACRODEF 0x01000 /* defining keyboard macro */
< #define RL_STATE_OVERWRITE 0x02000 /* overwrite mode */
< #define RL_STATE_COMPLETING 0x04000 /* doing completion */
< #define RL_STATE_SIGHANDLER 0x08000 /* in readline sighandler */
< #define RL_STATE_UNDOING 0x10000 /* doing an undo */
< #define RL_STATE_INPUTPENDING 0x20000 /* rl_execute_next called */
< #define RL_STATE_TTYCSAVED 0x40000 /* tty special chars saved */
---
> #define RL_STATE_INITIALIZING 0x000001 /* initializing */
> #define RL_STATE_INITIALIZED 0x000002 /* initialization done */
> #define RL_STATE_TERMPREPPED 0x000004 /* terminal is prepped */
> #define RL_STATE_READCMD 0x000008 /* reading a command key */
> #define RL_STATE_METANEXT 0x000010 /* reading input after ESC */
> #define RL_STATE_DISPATCHING 0x000020 /* dispatching to a command */
> #define RL_STATE_MOREINPUT 0x000040 /* reading more input in a command function */
> #define RL_STATE_ISEARCH 0x000080 /* doing incremental search */
> #define RL_STATE_NSEARCH 0x000100 /* doing non-inc search */
> #define RL_STATE_SEARCH 0x000200 /* doing a history search */
> #define RL_STATE_NUMERICARG 0x000400 /* reading numeric argument */
> #define RL_STATE_MACROINPUT 0x000800 /* getting input from a macro */
> #define RL_STATE_MACRODEF 0x001000 /* defining keyboard macro */
> #define RL_STATE_OVERWRITE 0x002000 /* overwrite mode */
> #define RL_STATE_COMPLETING 0x004000 /* doing completion */
> #define RL_STATE_SIGHANDLER 0x008000 /* in readline sighandler */
> #define RL_STATE_UNDOING 0x010000 /* doing an undo */
> #define RL_STATE_INPUTPENDING 0x020000 /* rl_execute_next called */
> #define RL_STATE_TTYCSAVED 0x040000 /* tty special chars saved */
> #define RL_STATE_CALLBACK 0x080000 /* using the callback interface */
> #define RL_STATE_VIMOTION 0x100000 /* reading vi motion arg */
> #define RL_STATE_MULTIKEY 0x200000 /* reading multiple-key command */
> #define RL_STATE_VICMDONCE 0x400000 /* entered vi command mode at least once */
785c798
< #define RL_STATE_DONE 0x80000 /* done; accepted line */
---
> #define RL_STATE_DONE 0x800000 /* done; accepted line */
> /* $FreeBSD: head/contrib/libreadline/readline.h 157188 2006-03-27 23:11:32Z ache $ */
3c4
< /* Copyright (C) 1987-2004 Free Software Foundation, Inc.
---
> /* Copyright (C) 1987-2005 Free Software Foundation, Inc.
23d23
< /* $FreeBSD: head/contrib/libreadline/readline.h 136652 2004-10-18 07:25:32Z ache $ */
44c44
< #define RL_READLINE_VERSION 0x0500 /* Readline 5.0 */
---
> #define RL_READLINE_VERSION 0x0501 /* Readline 5.1 */
46c46
< #define RL_VERSION_MINOR 0
---
> #define RL_VERSION_MINOR 1
244a245
> extern int rl_vi_rubout PARAMS((int, int));
305a307,308
>
> extern char *rl_variable_value PARAMS((const char *));
404a408
> extern void rl_reset_screen_size PARAMS((void));
531a536,540
> /* If non-zero, Readline gives values of LINES and COLUMNS from the environment
> greater precedence than values fetched from the kernel when computing the
> screen dimensions. */
> extern int rl_prefer_env_winsize;
>
763c772
< #define RL_STATE_NONE 0x00000 /* no state; before first call */
---
> #define RL_STATE_NONE 0x000000 /* no state; before first call */
765,783c774,796
< #define RL_STATE_INITIALIZING 0x00001 /* initializing */
< #define RL_STATE_INITIALIZED 0x00002 /* initialization done */
< #define RL_STATE_TERMPREPPED 0x00004 /* terminal is prepped */
< #define RL_STATE_READCMD 0x00008 /* reading a command key */
< #define RL_STATE_METANEXT 0x00010 /* reading input after ESC */
< #define RL_STATE_DISPATCHING 0x00020 /* dispatching to a command */
< #define RL_STATE_MOREINPUT 0x00040 /* reading more input in a command function */
< #define RL_STATE_ISEARCH 0x00080 /* doing incremental search */
< #define RL_STATE_NSEARCH 0x00100 /* doing non-inc search */
< #define RL_STATE_SEARCH 0x00200 /* doing a history search */
< #define RL_STATE_NUMERICARG 0x00400 /* reading numeric argument */
< #define RL_STATE_MACROINPUT 0x00800 /* getting input from a macro */
< #define RL_STATE_MACRODEF 0x01000 /* defining keyboard macro */
< #define RL_STATE_OVERWRITE 0x02000 /* overwrite mode */
< #define RL_STATE_COMPLETING 0x04000 /* doing completion */
< #define RL_STATE_SIGHANDLER 0x08000 /* in readline sighandler */
< #define RL_STATE_UNDOING 0x10000 /* doing an undo */
< #define RL_STATE_INPUTPENDING 0x20000 /* rl_execute_next called */
< #define RL_STATE_TTYCSAVED 0x40000 /* tty special chars saved */
---
> #define RL_STATE_INITIALIZING 0x000001 /* initializing */
> #define RL_STATE_INITIALIZED 0x000002 /* initialization done */
> #define RL_STATE_TERMPREPPED 0x000004 /* terminal is prepped */
> #define RL_STATE_READCMD 0x000008 /* reading a command key */
> #define RL_STATE_METANEXT 0x000010 /* reading input after ESC */
> #define RL_STATE_DISPATCHING 0x000020 /* dispatching to a command */
> #define RL_STATE_MOREINPUT 0x000040 /* reading more input in a command function */
> #define RL_STATE_ISEARCH 0x000080 /* doing incremental search */
> #define RL_STATE_NSEARCH 0x000100 /* doing non-inc search */
> #define RL_STATE_SEARCH 0x000200 /* doing a history search */
> #define RL_STATE_NUMERICARG 0x000400 /* reading numeric argument */
> #define RL_STATE_MACROINPUT 0x000800 /* getting input from a macro */
> #define RL_STATE_MACRODEF 0x001000 /* defining keyboard macro */
> #define RL_STATE_OVERWRITE 0x002000 /* overwrite mode */
> #define RL_STATE_COMPLETING 0x004000 /* doing completion */
> #define RL_STATE_SIGHANDLER 0x008000 /* in readline sighandler */
> #define RL_STATE_UNDOING 0x010000 /* doing an undo */
> #define RL_STATE_INPUTPENDING 0x020000 /* rl_execute_next called */
> #define RL_STATE_TTYCSAVED 0x040000 /* tty special chars saved */
> #define RL_STATE_CALLBACK 0x080000 /* using the callback interface */
> #define RL_STATE_VIMOTION 0x100000 /* reading vi motion arg */
> #define RL_STATE_MULTIKEY 0x200000 /* reading multiple-key command */
> #define RL_STATE_VICMDONCE 0x400000 /* entered vi command mode at least once */
785c798
< #define RL_STATE_DONE 0x80000 /* done; accepted line */
---
> #define RL_STATE_DONE 0x800000 /* done; accepted line */