Home
last modified time | relevance | path

Searched refs:h (Results 1 – 25 of 25) sorted by relevance

/libedit-20250104-3.1/src/
Dhistory.c118 #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 …]
DMakefile.am2 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 …]
Drefresh.c291 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 …]
Dreadline.c181 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 …]
DMakefile.in146 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 …]
Dterminal.c408 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 …]
Dprompt.c115 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()
Dparse.c183 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()
Dcommon.c628 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()
Dhist.c104 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()
Del.h66 int h; member
Dfilecomplete.c542 int screenwidth = el->el_terminal.t_size.h; in fn_display_match_list()
Dtty.c1223 (size_t)el->el_terminal.t_size.h) { in tty_stty()
/libedit-20250104-3.1/
Dconfigure.ac29 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 …]
Dconfig.h.in1 /* 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 …]
Dconfigure1618 /* 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 …]
DChangeLog22 * 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
Dacinclude.m443 [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>]],
DMakefile.in106 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 …]
Daclocal.m4228 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])
Dconfig.guess632 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
DINSTALL15 It may also create one or more `.h' files containing system-dependent
199 `-h'
/libedit-20250104-3.1/m4/
Dlibtool.m4642 -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/
DMakefile.in102 CONFIG_HEADER = $(top_builddir)/config.h
/libedit-20250104-3.1/examples/
DMakefile.in104 CONFIG_HEADER = $(top_builddir)/config.h