mirror of
				https://github.com/troglobit/editline.git
				synced 2025-10-31 16:28:15 +08:00 
			
		
		
		
	Minix editline v0.1.1
===================== Lots of minor fixes and additions: * Bump version info in configure.ac * User editline.h added, installs to $prefix/include/editline.h - Based on Debian package version, but heavily updated. * Manpage installs to $prefix/share/man/man3/editline.3 - Also slightly updated with contents from Debian package. * Revised README to mention existing Debian package, also cleaned out the old README, which now lives in doc/README * Add TODO file. * Fix package description and make dist to bzip2 tarballs.
This commit is contained in:
		
							
								
								
									
										2
									
								
								man/Makefile.am
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								man/Makefile.am
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| man3_MANS = editline.3 | ||||
| dist_man_MANS = $(man3_MANS) | ||||
							
								
								
									
										348
									
								
								man/Makefile.in
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										348
									
								
								man/Makefile.in
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,348 @@ | ||||
| # Makefile.in generated by automake 1.10.1 from Makefile.am. | ||||
| # @configure_input@ | ||||
|  | ||||
| # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||||
| # 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc. | ||||
| # This Makefile.in is free software; the Free Software Foundation | ||||
| # gives unlimited permission to copy and/or distribute it, | ||||
| # with or without modifications, as long as this notice is preserved. | ||||
|  | ||||
| # This program is distributed in the hope that it will be useful, | ||||
| # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||||
| # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||||
| # PARTICULAR PURPOSE. | ||||
|  | ||||
| @SET_MAKE@ | ||||
| VPATH = @srcdir@ | ||||
| pkgdatadir = $(datadir)/@PACKAGE@ | ||||
| pkglibdir = $(libdir)/@PACKAGE@ | ||||
| pkgincludedir = $(includedir)/@PACKAGE@ | ||||
| am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||||
| install_sh_DATA = $(install_sh) -c -m 644 | ||||
| install_sh_PROGRAM = $(install_sh) -c | ||||
| install_sh_SCRIPT = $(install_sh) -c | ||||
| INSTALL_HEADER = $(INSTALL_DATA) | ||||
| transform = $(program_transform_name) | ||||
| NORMAL_INSTALL = : | ||||
| PRE_INSTALL = : | ||||
| POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| subdir = man | ||||
| DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.am \ | ||||
| 	$(srcdir)/Makefile.in | ||||
| ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||||
| am__aclocal_m4_deps = $(top_srcdir)/configure.ac | ||||
| am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||||
| 	$(ACLOCAL_M4) | ||||
| mkinstalldirs = $(install_sh) -d | ||||
| CONFIG_HEADER = $(top_builddir)/config.h | ||||
| CONFIG_CLEAN_FILES = | ||||
| SOURCES = | ||||
| DIST_SOURCES = | ||||
| man3dir = $(mandir)/man3 | ||||
| am__installdirs = "$(DESTDIR)$(man3dir)" | ||||
| NROFF = nroff | ||||
| MANS = $(dist_man_MANS) $(man3_MANS) | ||||
| DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||||
| ACLOCAL = @ACLOCAL@ | ||||
| AMTAR = @AMTAR@ | ||||
| AUTOCONF = @AUTOCONF@ | ||||
| AUTOHEADER = @AUTOHEADER@ | ||||
| AUTOMAKE = @AUTOMAKE@ | ||||
| AWK = @AWK@ | ||||
| CC = @CC@ | ||||
| CCDEPMODE = @CCDEPMODE@ | ||||
| CFLAGS = @CFLAGS@ | ||||
| CPP = @CPP@ | ||||
| CPPFLAGS = @CPPFLAGS@ | ||||
| CYGPATH_W = @CYGPATH_W@ | ||||
| DEFS = @DEFS@ | ||||
| DEPDIR = @DEPDIR@ | ||||
| ECHO_C = @ECHO_C@ | ||||
| ECHO_N = @ECHO_N@ | ||||
| ECHO_T = @ECHO_T@ | ||||
| EGREP = @EGREP@ | ||||
| EXEEXT = @EXEEXT@ | ||||
| GREP = @GREP@ | ||||
| INSTALL = @INSTALL@ | ||||
| INSTALL_DATA = @INSTALL_DATA@ | ||||
| INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||||
| INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||||
| INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||||
| LDFLAGS = @LDFLAGS@ | ||||
| LIBOBJS = @LIBOBJS@ | ||||
| LIBS = @LIBS@ | ||||
| LTLIBOBJS = @LTLIBOBJS@ | ||||
| MAKEINFO = @MAKEINFO@ | ||||
| MKDIR_P = @MKDIR_P@ | ||||
| OBJEXT = @OBJEXT@ | ||||
| PACKAGE = @PACKAGE@ | ||||
| PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||||
| PACKAGE_NAME = @PACKAGE_NAME@ | ||||
| PACKAGE_STRING = @PACKAGE_STRING@ | ||||
| PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||||
| PACKAGE_VERSION = @PACKAGE_VERSION@ | ||||
| PATH_SEPARATOR = @PATH_SEPARATOR@ | ||||
| RANLIB = @RANLIB@ | ||||
| SET_MAKE = @SET_MAKE@ | ||||
| SHELL = @SHELL@ | ||||
| STRIP = @STRIP@ | ||||
| VERSION = @VERSION@ | ||||
| abs_builddir = @abs_builddir@ | ||||
| abs_srcdir = @abs_srcdir@ | ||||
| abs_top_builddir = @abs_top_builddir@ | ||||
| abs_top_srcdir = @abs_top_srcdir@ | ||||
| ac_ct_CC = @ac_ct_CC@ | ||||
| am__include = @am__include@ | ||||
| am__leading_dot = @am__leading_dot@ | ||||
| am__quote = @am__quote@ | ||||
| am__tar = @am__tar@ | ||||
| am__untar = @am__untar@ | ||||
| bindir = @bindir@ | ||||
| build_alias = @build_alias@ | ||||
| builddir = @builddir@ | ||||
| datadir = @datadir@ | ||||
| datarootdir = @datarootdir@ | ||||
| docdir = @docdir@ | ||||
| dvidir = @dvidir@ | ||||
| exec_prefix = @exec_prefix@ | ||||
| host_alias = @host_alias@ | ||||
| htmldir = @htmldir@ | ||||
| includedir = @includedir@ | ||||
| infodir = @infodir@ | ||||
| install_sh = @install_sh@ | ||||
| libdir = @libdir@ | ||||
| libexecdir = @libexecdir@ | ||||
| localedir = @localedir@ | ||||
| localstatedir = @localstatedir@ | ||||
| mandir = @mandir@ | ||||
| mkdir_p = @mkdir_p@ | ||||
| oldincludedir = @oldincludedir@ | ||||
| pdfdir = @pdfdir@ | ||||
| prefix = @prefix@ | ||||
| program_transform_name = @program_transform_name@ | ||||
| psdir = @psdir@ | ||||
| sbindir = @sbindir@ | ||||
| sharedstatedir = @sharedstatedir@ | ||||
| srcdir = @srcdir@ | ||||
| sysconfdir = @sysconfdir@ | ||||
| target_alias = @target_alias@ | ||||
| top_builddir = @top_builddir@ | ||||
| top_srcdir = @top_srcdir@ | ||||
| man3_MANS = editline.3 | ||||
| dist_man_MANS = $(man3_MANS) | ||||
| all: all-am | ||||
|  | ||||
| .SUFFIXES: | ||||
| $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps) | ||||
| 	@for dep in $?; do \ | ||||
| 	  case '$(am__configure_deps)' in \ | ||||
| 	    *$$dep*) \ | ||||
| 	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ | ||||
| 		&& exit 0; \ | ||||
| 	      exit 1;; \ | ||||
| 	  esac; \ | ||||
| 	done; \ | ||||
| 	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  man/Makefile'; \ | ||||
| 	cd $(top_srcdir) && \ | ||||
| 	  $(AUTOMAKE) --gnu  man/Makefile | ||||
| .PRECIOUS: Makefile | ||||
| Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||||
| 	@case '$?' in \ | ||||
| 	  *config.status*) \ | ||||
| 	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | ||||
| 	  *) \ | ||||
| 	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | ||||
| 	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | ||||
| 	esac; | ||||
|  | ||||
| $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||||
| 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||||
|  | ||||
| $(top_srcdir)/configure:  $(am__configure_deps) | ||||
| 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||||
| $(ACLOCAL_M4):  $(am__aclocal_m4_deps) | ||||
| 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||||
| install-man3: $(man3_MANS) $(man_MANS) | ||||
| 	@$(NORMAL_INSTALL) | ||||
| 	test -z "$(man3dir)" || $(MKDIR_P) "$(DESTDIR)$(man3dir)" | ||||
| 	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \ | ||||
| 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ | ||||
| 	for i in $$l2; do \ | ||||
| 	  case "$$i" in \ | ||||
| 	    *.3*) list="$$list $$i" ;; \ | ||||
| 	  esac; \ | ||||
| 	done; \ | ||||
| 	for i in $$list; do \ | ||||
| 	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ | ||||
| 	  else file=$$i; fi; \ | ||||
| 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \ | ||||
| 	  case "$$ext" in \ | ||||
| 	    3*) ;; \ | ||||
| 	    *) ext='3' ;; \ | ||||
| 	  esac; \ | ||||
| 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ | ||||
| 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \ | ||||
| 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \ | ||||
| 	  echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \ | ||||
| 	  $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst"; \ | ||||
| 	done | ||||
| uninstall-man3: | ||||
| 	@$(NORMAL_UNINSTALL) | ||||
| 	@list='$(man3_MANS) $(dist_man3_MANS) $(nodist_man3_MANS)'; \ | ||||
| 	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ | ||||
| 	for i in $$l2; do \ | ||||
| 	  case "$$i" in \ | ||||
| 	    *.3*) list="$$list $$i" ;; \ | ||||
| 	  esac; \ | ||||
| 	done; \ | ||||
| 	for i in $$list; do \ | ||||
| 	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \ | ||||
| 	  case "$$ext" in \ | ||||
| 	    3*) ;; \ | ||||
| 	    *) ext='3' ;; \ | ||||
| 	  esac; \ | ||||
| 	  inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ | ||||
| 	  inst=`echo $$inst | sed -e 's/^.*\///'`; \ | ||||
| 	  inst=`echo $$inst | sed '$(transform)'`.$$ext; \ | ||||
| 	  echo " rm -f '$(DESTDIR)$(man3dir)/$$inst'"; \ | ||||
| 	  rm -f "$(DESTDIR)$(man3dir)/$$inst"; \ | ||||
| 	done | ||||
| tags: TAGS | ||||
| TAGS: | ||||
|  | ||||
| ctags: CTAGS | ||||
| CTAGS: | ||||
|  | ||||
|  | ||||
| distdir: $(DISTFILES) | ||||
| 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||||
| 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||||
| 	list='$(DISTFILES)'; \ | ||||
| 	  dist_files=`for file in $$list; do echo $$file; done | \ | ||||
| 	  sed -e "s|^$$srcdirstrip/||;t" \ | ||||
| 	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||||
| 	case $$dist_files in \ | ||||
| 	  */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||||
| 			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||||
| 			   sort -u` ;; \ | ||||
| 	esac; \ | ||||
| 	for file in $$dist_files; do \ | ||||
| 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||||
| 	  if test -d $$d/$$file; then \ | ||||
| 	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||||
| 	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||||
| 	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ | ||||
| 	    fi; \ | ||||
| 	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ | ||||
| 	  else \ | ||||
| 	    test -f $(distdir)/$$file \ | ||||
| 	    || cp -p $$d/$$file $(distdir)/$$file \ | ||||
| 	    || exit 1; \ | ||||
| 	  fi; \ | ||||
| 	done | ||||
| check-am: all-am | ||||
| check: check-am | ||||
| all-am: Makefile $(MANS) | ||||
| installdirs: | ||||
| 	for dir in "$(DESTDIR)$(man3dir)"; do \ | ||||
| 	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||||
| 	done | ||||
| install: install-am | ||||
| install-exec: install-exec-am | ||||
| install-data: install-data-am | ||||
| uninstall: uninstall-am | ||||
|  | ||||
| install-am: all-am | ||||
| 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||||
|  | ||||
| installcheck: installcheck-am | ||||
| install-strip: | ||||
| 	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||||
| 	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||||
| 	  `test -z '$(STRIP)' || \ | ||||
| 	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||||
| mostlyclean-generic: | ||||
|  | ||||
| clean-generic: | ||||
|  | ||||
| distclean-generic: | ||||
| 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||||
|  | ||||
| maintainer-clean-generic: | ||||
| 	@echo "This command is intended for maintainers to use" | ||||
| 	@echo "it deletes files that may require special tools to rebuild." | ||||
| clean: clean-am | ||||
|  | ||||
| clean-am: clean-generic mostlyclean-am | ||||
|  | ||||
| distclean: distclean-am | ||||
| 	-rm -f Makefile | ||||
| distclean-am: clean-am distclean-generic | ||||
|  | ||||
| dvi: dvi-am | ||||
|  | ||||
| dvi-am: | ||||
|  | ||||
| html: html-am | ||||
|  | ||||
| info: info-am | ||||
|  | ||||
| info-am: | ||||
|  | ||||
| install-data-am: install-man | ||||
|  | ||||
| install-dvi: install-dvi-am | ||||
|  | ||||
| install-exec-am: | ||||
|  | ||||
| install-html: install-html-am | ||||
|  | ||||
| install-info: install-info-am | ||||
|  | ||||
| install-man: install-man3 | ||||
|  | ||||
| install-pdf: install-pdf-am | ||||
|  | ||||
| install-ps: install-ps-am | ||||
|  | ||||
| installcheck-am: | ||||
|  | ||||
| maintainer-clean: maintainer-clean-am | ||||
| 	-rm -f Makefile | ||||
| maintainer-clean-am: distclean-am maintainer-clean-generic | ||||
|  | ||||
| mostlyclean: mostlyclean-am | ||||
|  | ||||
| mostlyclean-am: mostlyclean-generic | ||||
|  | ||||
| pdf: pdf-am | ||||
|  | ||||
| pdf-am: | ||||
|  | ||||
| ps: ps-am | ||||
|  | ||||
| ps-am: | ||||
|  | ||||
| uninstall-am: uninstall-man | ||||
|  | ||||
| uninstall-man: uninstall-man3 | ||||
|  | ||||
| .MAKE: install-am install-strip | ||||
|  | ||||
| .PHONY: all all-am check check-am clean clean-generic distclean \ | ||||
| 	distclean-generic distdir dvi dvi-am html html-am info info-am \ | ||||
| 	install install-am install-data install-data-am install-dvi \ | ||||
| 	install-dvi-am install-exec install-exec-am install-html \ | ||||
| 	install-html-am install-info install-info-am install-man \ | ||||
| 	install-man3 install-pdf install-pdf-am install-ps \ | ||||
| 	install-ps-am install-strip installcheck installcheck-am \ | ||||
| 	installdirs maintainer-clean maintainer-clean-generic \ | ||||
| 	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ | ||||
| 	uninstall-am uninstall-man uninstall-man3 | ||||
|  | ||||
| # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||||
| # Otherwise a system limit (for SysV at least) may be exceeded. | ||||
| .NOEXPORT: | ||||
| @@ -2,9 +2,15 @@ | ||||
| .SH NAME | ||||
| editline \- command-line editing library with history | ||||
| .SH SYNOPSIS | ||||
| .ft B | ||||
| char *readline(char *\fIprompt\fP) | ||||
| .ft P | ||||
| .nf | ||||
| .B "char *" | ||||
| .B "readline(prompt)" | ||||
| .B "     char	*prompt;" | ||||
|  | ||||
| .B "void" | ||||
| .B "add_history(line)" | ||||
| .B "    char	*line;" | ||||
| .fi | ||||
| .SH DESCRIPTION | ||||
| .I Editline | ||||
| is a library that provides an line-editing interface with text recall. | ||||
| @@ -37,7 +43,7 @@ holding down the ``control'' key while the letter is typed. | ||||
| For example, ``^A'' is a control-A. | ||||
| An escape sequence is entered by typing the ``escape'' key followed by one or | ||||
| more characters. | ||||
| The escape key is abbreviated as ``ESC.'' | ||||
| The escape key is abbreviated as ``ESC''. | ||||
| Note that unlike control keys, case matters in escape sequences; ``ESC\ F'' | ||||
| is not the same as ``ESC\ f''. | ||||
| .PP | ||||
| @@ -153,7 +159,7 @@ If you then type a period and a tab, the library will finish off the filename | ||||
| for you: | ||||
| .RS | ||||
| .nf | ||||
| .RI "rm /v[TAB]" munix .TAB old | ||||
| .RI "rm /v[TAB]" munix ".[TAB]" old | ||||
| .fi | ||||
| .RE | ||||
| The tab key is shown by ``[TAB]'' and the automatically-entered text | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Joachim Nilsson
					Joachim Nilsson