| /libedit-20250104-3.1/src/ |
| D | history.c | 118 #define HNEXT(h, ev) (*(h)->h_next)((h)->h_ref, ev) argument 119 #define HFIRST(h, ev) (*(h)->h_first)((h)->h_ref, ev) argument 120 #define HPREV(h, ev) (*(h)->h_prev)((h)->h_ref, ev) argument 121 #define HLAST(h, ev) (*(h)->h_last)((h)->h_ref, ev) argument 122 #define HCURR(h, ev) (*(h)->h_curr)((h)->h_ref, ev) argument 373 for (h->cursor = h->list.next; h->cursor != &h->list; in history_def_set() 399 for (h->cursor = h->list.prev; h->cursor != &h->list; in history_set_nth() 553 while (h->cur > h->max && h->cur > 0) in history_def_enter() 576 h->list.next = h->list.prev = &h->list; in history_def_init() 579 h->cursor = &h->list; in history_def_init() [all …]
|
| D | Makefile.am | 2 BUILT_SOURCES = vi.h emacs.h common.h fcns.h help.h func.h 4 AHDR= vi.h emacs.h common.h 7 vi.h: Makefile $(srcdir)/vi.c 16 fcns.h: Makefile $(AHDR) 19 help.h: Makefile $(ASRC) 22 func.h: Makefile $(AHDR) 33 filecomplete.c readline.c chared.h literal.c el.h hist.h \ 34 histedit.h keymacro.h map.h chartype.h parse.h prompt.h read.h refresh.h \ 35 search.h sig.h sys.h terminal.h tty.h vis.h filecomplete.h \ 36 editline/readline.h literal.h [all …]
|
| D | refresh.c | 291 cur.h = el->el_refresh.r_cursor.h; in re_refresh() 296 cur.h = 0; in re_refresh() 304 cur.h = el->el_refresh.r_cursor.h; in re_refresh() 307 rhdiff = el->el_terminal.t_size.h - el->el_refresh.r_cursor.h - in re_refresh() 330 el->el_terminal.t_size.h, el->el_refresh.r_cursor.h, in re_refresh() 1046 h = el->el_prompt.p_pos.h; in re_refresh_cursor() 1054 h = 0; in re_refresh_cursor() 1064 h = 0; in re_refresh_cursor() 1072 h -= th; in re_refresh_cursor() 1110 if (el->el_cursor.h >= el->el_terminal.t_size.h) { in re_fastputc() [all …]
|
| D | readline.c | 181 static History *h = NULL; variable 317 if (h != NULL) in rl_initialize() 318 history_end(h); in rl_initialize() 340 h = history_init(); in rl_initialize() 341 if (!e || !h) in rl_initialize() 358 history_end(h); in rl_initialize() 451 if (e == NULL || h == NULL) in readline() 498 history(h, &ev, H_GETSIZE); in readline() 517 if (h == NULL || e == NULL) in using_history() 664 history(h, &ev, H_FIRST); in get_history_event() [all …]
|
| D | Makefile.in | 146 filecomplete.c readline.c chared.h literal.c el.h hist.h \ 147 histedit.h keymacro.h map.h chartype.h parse.h prompt.h read.h \ 148 refresh.h search.h sig.h sys.h terminal.h tty.h vis.h \ 149 filecomplete.h editline/readline.h literal.h strlcpy.c \ 375 BUILT_SOURCES = vi.h emacs.h common.h fcns.h help.h func.h 376 AHDR = vi.h emacs.h common.h 384 readline.c chared.h literal.c el.h hist.h histedit.h \ 385 keymacro.h map.h chartype.h parse.h prompt.h read.h refresh.h \ 386 search.h sig.h sys.h terminal.h tty.h vis.h filecomplete.h \ 387 editline/readline.h literal.h $(am__append_1) $(am__append_2) \ [all …]
|
| D | terminal.c | 408 c->h = Val(T_co); in terminal_rebuffer_display() 513 el->el_cursor.h = 0; in terminal_move_to_line() 548 el->el_cursor.h = 0; in terminal_move_to_char() 610 el->el_cursor.h = 0; in terminal_move_to_char() 646 if (el->el_cursor.h >= el->el_terminal.t_size.h) { /* wrap? */ in terminal_overwrite() 648 el->el_cursor.h = 0; in terminal_overwrite() 660 el->el_cursor.h++; in terminal_overwrite() 663 el->el_cursor.h = 1; in terminal_overwrite() 667 el->el_cursor.h = el->el_terminal.t_size.h - 1; in terminal_overwrite() 746 el->el_cursor.h += num; in terminal_insertwrite() [all …]
|
| D | prompt.c | 115 elp->p_pos.h = el->el_refresh.r_cursor.h; in prompt_print() 128 el->el_prompt.p_pos.h = 0; in prompt_init() 132 el->el_rprompt.p_pos.h = 0; in prompt_init() 173 p->p_pos.h = 0; in prompt_set()
|
| D | parse.c | 183 const wchar_t *h; in parse__escape() local 189 h = wcschr(hex, *p++); in parse__escape() 190 if (!h && i < 4) in parse__escape() 192 else if (h) in parse__escape() 193 c = (c << 4) | ((int)(h - hex)); in parse__escape()
|
| D | common.c | 628 int h; in ed_search_prev_history() local 657 for (h = 1; h <= el->el_history.eventno; h++) in ed_search_prev_history() 671 h++; in ed_search_prev_history() 681 el->el_history.eventno = h; in ed_search_prev_history() 696 int h; in ed_search_next_history() local 715 for (h = 1; h < el->el_history.eventno && hp; h++) { in ed_search_next_history() 723 found = h; in ed_search_next_history()
|
| D | hist.c | 104 int h; in hist_get() local 130 for (h = 1; h < el->el_history.eventno; h++) in hist_get() 157 el->el_history.eventno = h; in hist_get()
|
| D | el.h | 66 int h; member
|
| D | filecomplete.c | 542 int screenwidth = el->el_terminal.t_size.h; in fn_display_match_list()
|
| D | tty.c | 1223 (size_t)el->el_terminal.t_size.h) { in tty_stty()
|
| /libedit-20250104-3.1/ |
| D | configure.ac | 29 AC_CONFIG_HEADERS([config.h]) 76 …CHECK_HEADERS([fcntl.h limits.h malloc.h stdlib.h string.h sys/ioctl.h sys/param.h unistd.h curses… 78 AC_CHECK_HEADER([ncurses.h], [], 79 [AC_CHECK_HEADER([curses.h], [], 81 [AC_MSG_ERROR([ncurses.h, curses.h, or termcap.h is required!])], 86 AC_CHECK_HEADER([termios.h], [], [AC_MSG_ERROR([termios.h is required!])], []) 89 AC_CHECK_HEADERS([term.h],,, 91 # include <curses.h> 93 # include <ncurses.h> 104 #include <dirent.h> [all …]
|
| D | config.h.in | 1 /* config.h.in. Generated from configure.ac by autoheader. */ 6 /* Define to 1 if you have the <curses.h> header file. */ 13 /* Define to 1 if you have the <dlfcn.h> header file. */ 19 /* Define to 1 if you have the <fcntl.h> header file. */ 33 /* Define to 1 if you have the <inttypes.h> header file. */ 54 /* Define to 1 if you have the <limits.h> header file. */ 57 /* Define to 1 if you have the <malloc.h> header file. */ 91 /* Define to 1 if you have the <stdint.h> header file. */ 94 /* Define to 1 if you have the <stdio.h> header file. */ 174 /* Define to 1 if you have the <term.h> header file. */ [all …]
|
| D | configure | 1618 /* end confdefs.h. */ 1700 /* end confdefs.h. */ 1765 /* end confdefs.h. */ 1782 /* end confdefs.h. */ 1829 /* end confdefs.h. */ 1843 /* end confdefs.h. */ 2128 cat confdefs.h 3209 /* end confdefs.h. */ 3355 /* end confdefs.h. */ 15042 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do [all …]
|
| D | ChangeLog | 22 * src/chartype.c: Add missing stdint.h 31 * src/sys.h, src/reallocarr.c: Remove unused sys/cdefs.h include, to compile against musl libc 40 * src/sys.h: Add __sun guard around sys/types.h in sys.h 52 * src/histedit.h: Add wcsdup declaration when ifndef HAVE_WCSDUP. Patch by Rainer Jung. 71 * src/getline.c,src/sys.h: Provide getline.c implementation if not available 77 * examples/test_filecompletion.c, examples/wtc1.c: err.h not supported by 450 * src/sys.h: include config.h to avoid "redefinition of 453 * src/search.c: explicitly include sys/types.h, because regex.h on 477 * histedit.h, histedit.c, readline.c, editline/readline.h: From
|
| D | acinclude.m4 | 43 [AC_LANG_PROGRAM([[#include <stdlib.h> 44 #include <sys/types.h> 45 #include <pwd.h>]], 60 [AC_LANG_PROGRAM([[#include <stdlib.h> 61 #include <sys/types.h> 62 #include <pwd.h>]],
|
| D | Makefile.in | 106 CONFIG_HEADER = config.h 173 config.h.in 191 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ 371 all: config.h 409 config.h: stamp-h1 413 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status 415 $(AM_V_GEN)cd $(top_builddir) && $(SHELL) ./config.status config.h 416 $(srcdir)/config.h.in: $(am__configure_deps) 422 -rm -f config.h stamp-h1 731 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' [all …]
|
| D | aclocal.m4 | 228 echo '#include "conftst'$i'.h"' >> sub/conftest.c 229 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 231 echo '/* dummy */' > sub/conftst$i.h 269 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 270 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 559 # When config.status generates a header, we must update the stamp-h file. 578 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
| D | config.guess | 632 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then 651 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then 1256 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then 1305 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
|
| D | INSTALL | 15 It may also create one or more `.h' files containing system-dependent 199 `-h'
|
| /libedit-20250104-3.1/m4/ |
| D | libtool.m4 | 642 -h, --help print this help, then exit 663 --help | --h* | -h ) 1858 [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl 1874 #include "confdefs.h" 1877 #include <dlfcn.h> 1880 #include <stdio.h> 4204 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 5789 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 6125 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 6136 _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' [all …]
|
| /libedit-20250104-3.1/doc/ |
| D | Makefile.in | 102 CONFIG_HEADER = $(top_builddir)/config.h
|
| /libedit-20250104-3.1/examples/ |
| D | Makefile.in | 104 CONFIG_HEADER = $(top_builddir)/config.h
|