diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..83e6d60 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +bin/* +*.o +.deps \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0ce2782 --- /dev/null +++ b/Makefile @@ -0,0 +1,859 @@ +# Makefile.in generated by automake 1.14.1 from Makefile.am. +# Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994-2013 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. + + + + +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/joe +pkgincludedir = $(includedir)/joe +pkglibdir = $(libdir)/joe +pkglibexecdir = $(libexecdir)/joe +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 = : +build_triplet = x86_64-unknown-linux-gnu +host_triplet = x86_64-unknown-linux-gnu +target_triplet = x86_64-unknown-linux-gnu +subdir = . +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(top_srcdir)/configure $(am__configure_deps) \ + $(top_srcdir)/charmaps/klingon.in COPYING ChangeLog compile \ + config.guess config.sub install-sh missing +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/joe/autoconf.h +CONFIG_CLEAN_FILES = charmaps/klingon +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_$(V)) +am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(data_charmapsdir)" \ + "$(DESTDIR)$(data_docdir)" +DATA = $(data_charmaps_DATA) $(data_doc_DATA) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + cscope distdir dist dist-all distcheck +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +CSCOPE = cscope +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__post_remove_distdir = $(am__remove_distdir) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +DIST_TARGETS = dist-gzip +distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' +distcleancheck_listfiles = find . -type f -print +ACLOCAL = ${SHELL} /home/jie/project/joe/missing aclocal-1.14 +AMTAR = $${TAR-tar} +AM_DEFAULT_VERBOSITY = 1 +AUTOCONF = ${SHELL} /home/jie/project/joe/missing autoconf +AUTOHEADER = ${SHELL} /home/jie/project/joe/missing autoheader +AUTOMAKE = ${SHELL} /home/jie/project/joe/missing automake-1.14 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CPP = gcc -E +CPPFLAGS = +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /usr/bin/grep -E +EXEEXT = +GREP = /usr/bin/grep +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LDFLAGS = +LIBOBJS = +LIBS = -lm -lncurses +LN_S = ln -s +LTLIBOBJS = +MAINT = # +MAKEINFO = ${SHELL} /home/jie/project/joe/missing makeinfo +MKDIR_P = /usr/bin/mkdir -p +OBJEXT = o +PACKAGE = joe +PACKAGE_BUGREPORT = +PACKAGE_NAME = joe +PACKAGE_STRING = joe 4.6 +PACKAGE_TARNAME = joe +PACKAGE_URL = +PACKAGE_VERSION = 4.6 +PATH_SEPARATOR = : +SET_MAKE = +SHELL = /bin/bash +SPELL = aspell +STRIP = +UNICODE_VERSION = 9.0.0 +VERSION = 4.6 +abs_builddir = /home/jie/project/joe +abs_srcdir = /home/jie/project/joe +abs_top_builddir = /home/jie/project/joe +abs_top_srcdir = /home/jie/project/joe +ac_ct_CC = gcc +am__include = include +am__leading_dot = . +am__quote = +am__tar = $${TAR-tar} chof - "$$tardir" +am__untar = $${TAR-tar} xf - +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-unknown-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = unknown +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = ${SHELL} /home/jie/project/joe/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = $(MKDIR_P) +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /home/jie/project/joe/bin +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target = x86_64-unknown-linux-gnu +target_alias = +target_cpu = x86_64 +target_os = linux-gnu +target_vendor = unknown +top_build_prefix = +top_builddir = . +top_srcdir = . +AUTOMAKE_OPTIONS = foreign +SUBDIRS = man rc po syntax joe colors desktop +EXTRA_DIST = COPYING docs/hacking.md ChangeLog NEWS.md docs/README.old README.md INSTALL.md INSTALL.AMIGA \ + docs/help-system.html charmaps/klingon.in \ + cygbuild setup.hint autojoe docs/man.md + +sysconf_joedir = $(sysconfdir)/joe +data_joedir = $(datadir)/joe +data_charmapsdir = $(data_joedir)/charmaps +data_charmaps_DATA = charmaps/klingon +data_docdir = $(docdir) +data_doc_DATA = README.md docs/README.old docs/man.md ChangeLog docs/hacking.md NEWS.md +all: all-recursive + +.SUFFIXES: +am--refresh: Makefile + @: +$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: # $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): # $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): +charmaps/klingon: $(top_builddir)/config.status $(top_srcdir)/charmaps/klingon.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +install-data_charmapsDATA: $(data_charmaps_DATA) + @$(NORMAL_INSTALL) + @list='$(data_charmaps_DATA)'; test -n "$(data_charmapsdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(data_charmapsdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(data_charmapsdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(data_charmapsdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(data_charmapsdir)" || exit $$?; \ + done + +uninstall-data_charmapsDATA: + @$(NORMAL_UNINSTALL) + @list='$(data_charmaps_DATA)'; test -n "$(data_charmapsdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(data_charmapsdir)'; $(am__uninstall_files_from_dir) +install-data_docDATA: $(data_doc_DATA) + @$(NORMAL_INSTALL) + @list='$(data_doc_DATA)'; test -n "$(data_docdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(data_docdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(data_docdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(data_docdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(data_docdir)" || exit $$?; \ + done + +uninstall-data_docDATA: + @$(NORMAL_UNINSTALL) + @list='$(data_doc_DATA)'; test -n "$(data_docdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(data_docdir)'; $(am__uninstall_files_from_dir) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) +clean-cscope: + -rm -f cscope.files +cscope.files: clean-cscope cscopelist +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @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 "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__post_remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__post_remove_distdir) + +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__post_remove_distdir) + +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__post_remove_distdir) + +dist-tarZ: distdir + @echo WARNING: "Support for shar distribution archives is" \ + "deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__post_remove_distdir) + +dist-shar: distdir + @echo WARNING: "Support for distribution archives compressed with" \ + "legacy program 'compress' is deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__post_remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__post_remove_distdir) + +dist dist-all: + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' + $(am__post_remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir) + chmod u+w $(distdir) + mkdir $(distdir)/_build $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build \ + && ../configure \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + --srcdir=.. --prefix="$$dc_install_base" \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__post_remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile $(DATA) +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(data_charmapsdir)" "$(DESTDIR)$(data_docdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_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-recursive + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-data_charmapsDATA install-data_docDATA + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-exec-hook +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-data_charmapsDATA uninstall-data_docDATA \ + uninstall-local + +.MAKE: $(am__recursive_targets) install-am install-exec-am \ + install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--refresh check check-am clean clean-cscope clean-generic \ + cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ + dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ + distcheck distclean distclean-generic distclean-tags \ + distcleancheck distdir distuninstallcheck dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-data_charmapsDATA install-data_docDATA \ + install-dvi install-dvi-am install-exec install-exec-am \ + install-exec-hook install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am tags tags-am uninstall uninstall-am \ + uninstall-data_charmapsDATA uninstall-data_docDATA \ + uninstall-local + + +install-exec-hook: + rm -f $(DESTDIR)$(bindir)/jmacs $(DESTDIR)$(bindir)/jstar $(DESTDIR)$(bindir)/rjoe $(DESTDIR)$(bindir)/jpico + rm -f $(DESTDIR)$(bindir)/jmacs.exe $(DESTDIR)$(bindir)/jstar.exe $(DESTDIR)$(bindir)/rjoe.exe $(DESTDIR)$(bindir)/jpico.exe + for i in jmacs jstar rjoe jpico ; do $(LN_S) joe $(DESTDIR)$(bindir)/$$i ; done + +uninstall-local: + rm -f $(DESTDIR)$(bindir)/jmacs $(DESTDIR)$(bindir)/jstar $(DESTDIR)$(bindir)/rjoe $(DESTDIR)$(bindir)/jpico + rm -f $(DESTDIR)$(bindir)/jmacs.exe $(DESTDIR)$(bindir)/jstar.exe $(DESTDIR)$(bindir)/rjoe.exe $(DESTDIR)$(bindir)/jpico.exe + +# 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: diff --git a/charmaps/klingon b/charmaps/klingon new file mode 100644 index 0000000..73a7194 --- /dev/null +++ b/charmaps/klingon @@ -0,0 +1,238 @@ + Klingon-ASCII + % + / +% version: 1.0 +% An 8-bit character set with Klingon characters in range 0xD0 - 0xFF and +% KOI8-R (ASCII w/ line drawing) for the rest. + +CHARMAP + /x00 NULL (NUL) + /x01 START OF HEADING (SOH) + /x02 START OF TEXT (STX) + /x03 END OF TEXT (ETX) + /x04 END OF TRANSMISSION (EOT) + /x05 ENQUIRY (ENQ) + /x06 ACKNOWLEDGE (ACK) + /x07 BELL (BEL) + /x08 BACKSPACE (BS) + /x09 CHARACTER TABULATION (HT) + /x0a LINE FEED (LF) + /x0b LINE TABULATION (VT) + /x0c FORM FEED (FF) + /x0d CARRIAGE RETURN (CR) + /x0e SHIFT OUT (SO) + /x0f SHIFT IN (SI) + /x10 DATALINK ESCAPE (DLE) + /x11 DEVICE CONTROL ONE (DC1) + /x12 DEVICE CONTROL TWO (DC2) + /x13 DEVICE CONTROL THREE (DC3) + /x14 DEVICE CONTROL FOUR (DC4) + /x15 NEGATIVE ACKNOWLEDGE (NAK) + /x16 SYNCHRONOUS IDLE (SYN) + /x17 END OF TRANSMISSION BLOCK (ETB) + /x18 CANCEL (CAN) + /x19 END OF MEDIUM (EM) + /x1a SUBSTITUTE (SUB) + /x1b ESCAPE (ESC) + /x1c FILE SEPARATOR (IS4) + /x1d GROUP SEPARATOR (IS3) + /x1e RECORD SEPARATOR (IS2) + /x1f UNIT SEPARATOR (IS1) + /x20 SPACE + /x21 EXCLAMATION MARK + /x22 QUOTATION MARK + /x23 NUMBER SIGN + /x24 DOLLAR SIGN + /x25 PERCENT SIGN + /x26 AMPERSAND + /x27 APOSTROPHE + /x28 LEFT PARENTHESIS + /x29 RIGHT PARENTHESIS + /x2a ASTERISK + /x2b PLUS SIGN + /x2c COMMA + /x2d HYPHEN-MINUS + /x2e FULL STOP + /x2f SOLIDUS + /x30 DIGIT ZERO + /x31 DIGIT ONE + /x32 DIGIT TWO + /x33 DIGIT THREE + /x34 DIGIT FOUR + /x35 DIGIT FIVE + /x36 DIGIT SIX + /x37 DIGIT SEVEN + /x38 DIGIT EIGHT + /x39 DIGIT NINE + /x3a COLON + /x3b SEMICOLON + /x3c LESS-THAN SIGN + /x3d EQUALS SIGN + /x3e GREATER-THAN SIGN + /x3f QUESTION MARK + /x40 COMMERCIAL AT + /x41 LATIN CAPITAL LETTER A + /x42 LATIN CAPITAL LETTER B + /x43 LATIN CAPITAL LETTER C + /x44 LATIN CAPITAL LETTER D + /x45 LATIN CAPITAL LETTER E + /x46 LATIN CAPITAL LETTER F + /x47 LATIN CAPITAL LETTER G + /x48 LATIN CAPITAL LETTER H + /x49 LATIN CAPITAL LETTER I + /x4a LATIN CAPITAL LETTER J + /x4b LATIN CAPITAL LETTER K + /x4c LATIN CAPITAL LETTER L + /x4d LATIN CAPITAL LETTER M + /x4e LATIN CAPITAL LETTER N + /x4f LATIN CAPITAL LETTER O + /x50 LATIN CAPITAL LETTER P + /x51 LATIN CAPITAL LETTER Q + /x52 LATIN CAPITAL LETTER R + /x53 LATIN CAPITAL LETTER S + /x54 LATIN CAPITAL LETTER T + /x55 LATIN CAPITAL LETTER U + /x56 LATIN CAPITAL LETTER V + /x57 LATIN CAPITAL LETTER W + /x58 LATIN CAPITAL LETTER X + /x59 LATIN CAPITAL LETTER Y + /x5a LATIN CAPITAL LETTER Z + /x5b LEFT SQUARE BRACKET + /x5c REVERSE SOLIDUS + /x5d RIGHT SQUARE BRACKET + /x5e CIRCUMFLEX ACCENT + /x5f LOW LINE + /x60 GRAVE ACCENT + /x61 LATIN SMALL LETTER A + /x62 LATIN SMALL LETTER B + /x63 LATIN SMALL LETTER C + /x64 LATIN SMALL LETTER D + /x65 LATIN SMALL LETTER E + /x66 LATIN SMALL LETTER F + /x67 LATIN SMALL LETTER G + /x68 LATIN SMALL LETTER H + /x69 LATIN SMALL LETTER I + /x6a LATIN SMALL LETTER J + /x6b LATIN SMALL LETTER K + /x6c LATIN SMALL LETTER L + /x6d LATIN SMALL LETTER M + /x6e LATIN SMALL LETTER N + /x6f LATIN SMALL LETTER O + /x70 LATIN SMALL LETTER P + /x71 LATIN SMALL LETTER Q + /x72 LATIN SMALL LETTER R + /x73 LATIN SMALL LETTER S + /x74 LATIN SMALL LETTER T + /x75 LATIN SMALL LETTER U + /x76 LATIN SMALL LETTER V + /x77 LATIN SMALL LETTER W + /x78 LATIN SMALL LETTER X + /x79 LATIN SMALL LETTER Y + /x7a LATIN SMALL LETTER Z + /x7b LEFT CURLY BRACKET + /x7c VERTICAL LINE + /x7d RIGHT CURLY BRACKET + /x7e TILDE + /x7f DELETE (DEL) + /x80 BOX DRAWINGS LIGHT HORIZONTAL + /x81 BOX DRAWINGS LIGHT VERTICAL + /x82 BOX DRAWINGS LIGHT DOWN AND RIGHT + /x83 BOX DRAWINGS LIGHT DOWN AND LEFT + /x84 BOX DRAWINGS LIGHT UP AND RIGHT + /x85 BOX DRAWINGS LIGHT UP AND LEFT + /x86 BOX DRAWINGS LIGHT VERTICAL AND RIGHT + /x87 BOX DRAWINGS LIGHT VERTICAL AND LEFT + /x88 BOX DRAWINGS LIGHT DOWN AND HORIZONTAL + /x89 BOX DRAWINGS LIGHT UP AND HORIZONTAL + /x8a BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL + /x8b UPPER HALF BLOCK + /x8c LOWER HALF BLOCK + /x8d FULL BLOCK + /x8e LEFT HALF BLOCK + /x8f RIGHT HALF BLOCK + /x90 LIGHT SHADE + /x91 MEDIUM SHADE + /x92 DARK SHADE + /x93 TOP HALF INTEGRAL + /x94 BLACK SQUARE + /x95 BULLET OPERATOR + /x96 SQUARE ROOT + /x97 ALMOST EQUAL TO + /x98 LESS-THAN OR EQUAL TO + /x99 GREATER-THAN OR EQUAL TO + /x9a NO-BREAK SPACE + /x9b BOTTOM HALF INTEGRAL + /x9c DEGREE SIGN + /x9d SUPERSCRIPT TWO + /x9e MIDDLE DOT + /x9f DIVISION SIGN + /xa0 BOX DRAWINGS DOUBLE HORIZONTAL + /xa1 BOX DRAWINGS DOUBLE VERTICAL + /xa2 BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE + /xa4 BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE + /xa5 BOX DRAWINGS DOUBLE DOWN AND RIGHT + /xa6 BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE + /xa7 BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE + /xa8 BOX DRAWINGS DOUBLE DOWN AND LEFT + /xa9 BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE + /xaa BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE + /xab BOX DRAWINGS DOUBLE UP AND RIGHT + /xac BOX DRAWINGS UP SINGLE AND LEFT DOUBLE + /xad BOX DRAWINGS UP DOUBLE AND LEFT SINGLE + /xae BOX DRAWINGS DOUBLE UP AND LEFT + /xaf BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE + /xb0 BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE + /xb1 BOX DRAWINGS DOUBLE VERTICAL AND RIGHT + /xb2 BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE + /xb4 BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE + /xb5 BOX DRAWINGS DOUBLE VERTICAL AND LEFT + /xb6 BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE + /xb7 BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE + /xb8 BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL + /xb9 BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE + /xba BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE + /xbb BOX DRAWINGS DOUBLE UP AND HORIZONTAL + /xbc BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE + /xbd BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE + /xbe BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL + /xbf COPYRIGHT SIGN + /xd0 Klingon letter A + /xd1 Klingon letter B + /xd2 Klingon letter CH + /xd3 Klingon letter D + /xd4 Klingon letter E + /xd5 Klingon letter GH + /xd6 Klingon letter H + /xd7 Klingon letter I + /xd8 Klingon letter J + /xd9 Klingon letter L + /xda Klingon letter M + /xdb Klingon letter N + /xdc Klingon letter NG + /xdd Klingon letter O + /xde Klingon letter P + /xdf Klingon letter Q + /xe0 Klingon letter QH + /xe1 Klingon letter R + /xe2 Klingon letter S + /xe3 Klingon letter T + /xe4 Klingon letter TLH + /xe5 Klingon letter U + /xe6 Klingon letter V + /xe7 Klingon letter W + /xe8 Klingon letter Y + /xe9 Klingon letter glottal stop + /xf0 Klingon digit 0 + /xf1 Klingon digit 1 + /xf2 Klingon digit 2 + /xf3 Klingon digit 3 + /xf4 Klingon digit 4 + /xf5 Klingon digit 5 + /xf6 Klingon digit 6 + /xf7 Klingon digit 7 + /xf8 Klingon digit 8 + /xf9 Klingon digit 9 + /xfd Klingon , + /xfe Klingon full stop + /xff Klingon mummification glyph +END CHARMAP diff --git a/colors/Makefile b/colors/Makefile new file mode 100644 index 0000000..427bf11 --- /dev/null +++ b/colors/Makefile @@ -0,0 +1,463 @@ +# Makefile.in generated by automake 1.14.1 from Makefile.am. +# colors/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994-2013 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. + + + + +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/joe +pkgincludedir = $(includedir)/joe +pkglibdir = $(libdir)/joe +pkglibexecdir = $(libexecdir)/joe +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 = : +build_triplet = x86_64-unknown-linux-gnu +host_triplet = x86_64-unknown-linux-gnu +target_triplet = x86_64-unknown-linux-gnu +subdir = colors +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/joe/autoconf.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_$(V)) +am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(data_colordir)" +DATA = $(data_color_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/jie/project/joe/missing aclocal-1.14 +AMTAR = $${TAR-tar} +AM_DEFAULT_VERBOSITY = 1 +AUTOCONF = ${SHELL} /home/jie/project/joe/missing autoconf +AUTOHEADER = ${SHELL} /home/jie/project/joe/missing autoheader +AUTOMAKE = ${SHELL} /home/jie/project/joe/missing automake-1.14 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CPP = gcc -E +CPPFLAGS = +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /usr/bin/grep -E +EXEEXT = +GREP = /usr/bin/grep +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LDFLAGS = +LIBOBJS = +LIBS = -lm -lncurses +LN_S = ln -s +LTLIBOBJS = +MAINT = # +MAKEINFO = ${SHELL} /home/jie/project/joe/missing makeinfo +MKDIR_P = /usr/bin/mkdir -p +OBJEXT = o +PACKAGE = joe +PACKAGE_BUGREPORT = +PACKAGE_NAME = joe +PACKAGE_STRING = joe 4.6 +PACKAGE_TARNAME = joe +PACKAGE_URL = +PACKAGE_VERSION = 4.6 +PATH_SEPARATOR = : +SET_MAKE = +SHELL = /bin/bash +SPELL = aspell +STRIP = +UNICODE_VERSION = 9.0.0 +VERSION = 4.6 +abs_builddir = /home/jie/project/joe/colors +abs_srcdir = /home/jie/project/joe/colors +abs_top_builddir = /home/jie/project/joe +abs_top_srcdir = /home/jie/project/joe +ac_ct_CC = gcc +am__include = include +am__leading_dot = . +am__quote = +am__tar = $${TAR-tar} chof - "$$tardir" +am__untar = $${TAR-tar} xf - +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-unknown-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = unknown +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = ${SHELL} /home/jie/project/joe/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = $(MKDIR_P) +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /home/jie/project/joe/bin +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target = x86_64-unknown-linux-gnu +target_alias = +target_cpu = x86_64 +target_os = linux-gnu +target_vendor = unknown +top_build_prefix = ../ +top_builddir = .. +top_srcdir = .. +data_joedir = $(datadir)/joe +data_colordir = $(data_joedir)/colors +data_color_DATA = xoria.jcf gruvbox.jcf default.jcf ir_black.jcf zenburn.jcf \ + wombat.jcf molokai.jcf zenburn-hc.jcf solarized.jcf + +EXTRA_DIST = $(data_color_DATA) +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 ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu colors/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu colors/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 +$(am__aclocal_m4_deps): +install-data_colorDATA: $(data_color_DATA) + @$(NORMAL_INSTALL) + @list='$(data_color_DATA)'; test -n "$(data_colordir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(data_colordir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(data_colordir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(data_colordir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(data_colordir)" || exit $$?; \ + done + +uninstall-data_colorDATA: + @$(NORMAL_UNINSTALL) + @list='$(data_color_DATA)'; test -n "$(data_colordir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(data_colordir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +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 "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$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 $(DATA) +installdirs: + for dir in "$(DESTDIR)$(data_colordir)"; 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: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_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 + +html-am: + +info: info-am + +info-am: + +install-data-am: install-data_colorDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +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-data_colorDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic cscopelist-am \ + ctags-am distclean distclean-generic distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-data_colorDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + 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 tags-am uninstall \ + uninstall-am uninstall-data_colorDATA + + +# 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: diff --git a/config.log b/config.log new file mode 100644 index 0000000..524efa9 --- /dev/null +++ b/config.log @@ -0,0 +1,2955 @@ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by joe configure 4.6, which was +generated by GNU Autoconf 2.69. Invocation command line was + + $ ./configure --prefix=/home/jie/project/joe/bin + +## --------- ## +## Platform. ## +## --------- ## + +hostname = MaderHatter +uname -m = x86_64 +uname -r = 5.15.167.4-microsoft-standard-WSL2 +uname -s = Linux +uname -v = #1 SMP Tue Nov 5 00:21:55 UTC 2024 + +/usr/bin/uname -p = x86_64 +/bin/uname -X = unknown + +/bin/arch = x86_64 +/usr/bin/arch -k = unknown +/usr/convex/getsysinfo = unknown +/usr/bin/hostinfo = unknown +/bin/machine = unknown +/usr/bin/oslevel = unknown +/bin/universe = unknown + +PATH: /home/jie/.cargo/bin +PATH: /usr/local/sbin +PATH: /usr/local/bin +PATH: /usr/sbin +PATH: /usr/bin +PATH: /sbin +PATH: /bin +PATH: /usr/games +PATH: /usr/local/games +PATH: /usr/lib/wsl/lib +PATH: /mnt/c/document/sdk/vulkan/Bin +PATH: /mnt/c/application/Perl/site/bin +PATH: /mnt/c/application/Perl/bin +PATH: /mnt/c/application/VMware/main/bin +PATH: /mnt/c/Windows/system32 +PATH: /mnt/c/Windows +PATH: /mnt/c/Windows/System32/Wbem +PATH: /mnt/c/Windows/System32/WindowsPowerShell/v1.0 +PATH: /mnt/c/Windows/System32/OpenSSH +PATH: /mnt/c/application/bandizip +PATH: /mnt/c/Program Files/dotnet +PATH: /mnt/c/application/nushell/bin +PATH: /mnt/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit +PATH: /mnt/c/Program Files (x86)/IVI Foundation/VISA/WinNT/Bin +PATH: /mnt/c/Program Files/IVI Foundation/VISA/Win64/Bin +PATH: /mnt/c/application/svn/bin +PATH: /mnt/c/application/xmake +PATH: /mnt/c/application/cmake/bin +PATH: /mnt/c/application/helix/helix/helix-23.05-x86_64-windows +PATH: /mnt/c/Users/depre/AppData/Local/Programs/CLion Nova/bin/gdb/win/x64/bin +PATH: /mnt/c/Users/depre/AppData/Local/Programs/CLion Nova/bin/mingw/bin +PATH: /mnt/c/application/make/GnuWin32/bin +PATH: /mnt/c/document/environment/lua/release +PATH: /mnt/f/application/git/Git/usr/bin +PATH: /mnt/c/application/armGcc/gcc-arm-none-eabi-10.3-2021.10/bin +PATH: /mnt/c/application/node +PATH: /mnt/c/document/lib/vcpkg +PATH: /mnt/c/document/lib/ffmpeg/bin +PATH: /mnt/c/application/pkg-config/pkg-config-lite-0.28-1/bin +PATH: /mnt/c/Program Files/Docker/Docker/resources/bin +PATH: /mnt/c/Users/depre/AppData/Roaming/npm/node_modules/electron/dist +PATH: /mnt/c/application/bindiff/bin +PATH: /mnt/c/Program Files (x86)/JoeEditor +PATH: /mnt/c/application/vscode/Microsoft VS Code Insiders/bin +PATH: /mnt/c/application/clangd +PATH: /mnt/c/Program Files/GitHub CLI +PATH: /mnt/c/Program Files/Git/cmd +PATH: /mnt/c/application/komorebi/bin +PATH: /mnt/c/Users/depre/.cargo/bin +PATH: /mnt/c/Users/depre/AppData/Roaming/npm +PATH: /mnt/c/Users/depre/AppData/Local/Microsoft/WindowsApps +PATH: /mnt/c/Users/depre/AppData/Local/Programs/CLion/bin/mingw/bin +PATH: /mnt/c/Users/depre/AppData/Local/Programs/CLion/bin/gdb/win/x64/bin +PATH: /mnt/c/Program Files (x86)/Qualcomm/QIKTool/1.0.108.1 +PATH: /mnt/c/Program Files/dotnet/ +PATH: /mnt/c/Program Files/GitExtensions/ +PATH: /mnt/c/application/nvim/bin +PATH: /mnt/c/Program Files/Microsoft SQL Server/120/Tools/Binn/ +PATH: /mnt/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn/ +PATH: /mnt/c/Program Files (x86)/Microsoft SQL Server/150/Tools/Binn/ +PATH: /mnt/c/application/zed +PATH: /mnt/c/Program Files (x86)/IVI Foundation/VISA/WinNT/Bin/ +PATH: /mnt/c/Program Files/IVI Foundation/VISA/Win64/Bin/ +PATH: /mnt/c/application/boland/BORLAND C++/BORLAND/BIN +PATH: /mnt/c/application/vscode/Microsoft VS Code/bin +PATH: /mnt/c/application/nushell/bin/ +PATH: /mnt/c/Users/depre/AppData/Local/Programs/CLion/bin +PATH: /mnt/c/Users/depre/.dotnet/tools + + +## ----------- ## +## Core tests. ## +## ----------- ## + +configure:2444: checking build system type +configure:2458: result: x86_64-unknown-linux-gnu +configure:2478: checking host system type +configure:2491: result: x86_64-unknown-linux-gnu +configure:2511: checking target system type +configure:2524: result: x86_64-unknown-linux-gnu +configure:2568: checking for a BSD-compatible install +configure:2636: result: /usr/bin/install -c +configure:2647: checking whether build environment is sane +configure:2702: result: yes +configure:2853: checking for a thread-safe mkdir -p +configure:2892: result: /usr/bin/mkdir -p +configure:2899: checking for gawk +configure:2915: found /usr/bin/gawk +configure:2926: result: gawk +configure:2937: checking whether make sets $(MAKE) +configure:2959: result: yes +configure:2988: checking whether make supports nested variables +configure:3005: result: yes +configure:3131: checking whether to enable maintainer-specific portions of Makefiles +configure:3140: result: no +configure:3205: checking for gcc +configure:3221: found /usr/bin/gcc +configure:3232: result: gcc +configure:3461: checking for C compiler version +configure:3470: gcc --version >&5 +gcc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0 +Copyright (C) 2023 Free Software Foundation, Inc. +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +configure:3481: $? = 0 +configure:3470: gcc -v >&5 +Using built-in specs. +COLLECT_GCC=gcc +COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-linux-gnu/13/lto-wrapper +OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa +OFFLOAD_TARGET_DEFAULT=1 +Target: x86_64-linux-gnu +Configured with: ../src/configure -v --with-pkgversion='Ubuntu 13.1.0-8ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-13/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,rust --prefix=/usr --with-gcc-major-version-only --program-suffix=-13 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/libexec --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-13-IvzKaI/gcc-13-13.1.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-13-IvzKaI/gcc-13-13.1.0/debian/tmp-gcn/usr --enable-offload-defaulted --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 +Thread model: posix +Supported LTO compression algorithms: zlib zstd +gcc version 13.1.0 (Ubuntu 13.1.0-8ubuntu1~22.04) +... rest of stderr output deleted ... +configure:3481: $? = 0 +configure:3470: gcc -V >&5 +gcc: error: unrecognized command-line option '-V' +gcc: fatal error: no input files +compilation terminated. +configure:3481: $? = 1 +configure:3470: gcc -qversion >&5 +gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? +gcc: fatal error: no input files +compilation terminated. +configure:3481: $? = 1 +configure:3501: checking whether the C compiler works +configure:3523: gcc conftest.c >&5 +configure:3527: $? = 0 +configure:3575: result: yes +configure:3578: checking for C compiler default output file name +configure:3580: result: a.out +configure:3586: checking for suffix of executables +configure:3593: gcc -o conftest conftest.c >&5 +configure:3597: $? = 0 +configure:3619: result: +configure:3641: checking whether we are cross compiling +configure:3649: gcc -o conftest conftest.c >&5 +configure:3653: $? = 0 +configure:3660: ./conftest +configure:3664: $? = 0 +configure:3679: result: no +configure:3684: checking for suffix of object files +configure:3706: gcc -c conftest.c >&5 +configure:3710: $? = 0 +configure:3731: result: o +configure:3735: checking whether we are using the GNU C compiler +configure:3754: gcc -c conftest.c >&5 +configure:3754: $? = 0 +configure:3763: result: yes +configure:3772: checking whether gcc accepts -g +configure:3792: gcc -c -g conftest.c >&5 +configure:3792: $? = 0 +configure:3833: result: yes +configure:3850: checking for gcc option to accept ISO C89 +configure:3913: gcc -c -g -O2 conftest.c >&5 +configure:3913: $? = 0 +configure:3926: result: none needed +configure:3951: checking whether gcc understands -c and -o together +configure:3973: gcc -c conftest.c -o conftest2.o +configure:3976: $? = 0 +configure:3973: gcc -c conftest.c -o conftest2.o +configure:3976: $? = 0 +configure:3988: result: yes +configure:4016: checking for style of include used by make +configure:4044: result: GNU +configure:4070: checking dependency style of gcc +configure:4181: result: gcc3 +configure:4201: checking how to run the C preprocessor +configure:4232: gcc -E conftest.c +configure:4232: $? = 0 +configure:4246: gcc -E conftest.c +conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory + 11 | #include + | ^~~~~~~~~~~~~~~~~~ +compilation terminated. +configure:4246: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| /* end confdefs.h. */ +| #include +configure:4271: result: gcc -E +configure:4291: gcc -E conftest.c +configure:4291: $? = 0 +configure:4305: gcc -E conftest.c +conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory + 11 | #include + | ^~~~~~~~~~~~~~~~~~ +compilation terminated. +configure:4305: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| /* end confdefs.h. */ +| #include +configure:4333: checking for grep that handles long lines and -e +configure:4391: result: /usr/bin/grep +configure:4396: checking for egrep +configure:4458: result: /usr/bin/grep -E +configure:4464: checking whether ln -s works +configure:4468: result: yes +configure:4519: checking for library containing openpty +configure:4550: gcc -o conftest -g -O2 conftest.c >&5 +configure:4550: $? = 0 +configure:4567: result: none required +configure:4579: checking for library containing login_tty +configure:4610: gcc -o conftest -g -O2 conftest.c >&5 +configure:4610: $? = 0 +configure:4627: result: none required +configure:4639: checking for library containing tgetflag +configure:4670: gcc -o conftest -g -O2 conftest.c >&5 +/usr/bin/ld: /tmp/ccHqCE8S.o: in function `main': +/home/jie/project/joe/conftest.c:24: undefined reference to `tgetflag' +collect2: error: ld returned 1 exit status +configure:4670: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| /* end confdefs.h. */ +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char tgetflag (); +| int +| main () +| { +| return tgetflag (); +| ; +| return 0; +| } +configure:4670: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:4670: $? = 0 +configure:4687: result: -lncurses +configure:4699: checking for library containing snprintf +configure:4730: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +conftest.c:21:6: warning: conflicting types for built-in function 'snprintf'; expected 'int(char *, long unsigned int, const char *, ...)' [-Wbuiltin-declaration-mismatch] + 21 | char snprintf (); + | ^~~~~~~~ +conftest.c:1:1: note: 'snprintf' is declared in header '' + 1 | /* confdefs.h */ +configure:4730: $? = 0 +configure:4747: result: none required +configure:4768: checking for special C compiler options needed for large files +configure:4813: result: no +configure:4819: checking for _FILE_OFFSET_BITS value needed for large files +configure:4844: gcc -c -g -O2 conftest.c >&5 +configure:4844: $? = 0 +configure:4876: result: no +configure:4964: checking for dirent.h that defines DIR +configure:4983: gcc -c -g -O2 conftest.c >&5 +configure:4983: $? = 0 +configure:4991: result: yes +configure:5004: checking for library containing opendir +configure:5035: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:5035: $? = 0 +configure:5052: result: none required +configure:5119: checking POSIX termios +configure:5139: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:5139: $? = 0 +configure:5147: result: yes +configure:5304: checking whether termios.h defines TIOCGWINSZ +configure:5327: result: no +configure:5331: checking whether sys/ioctl.h defines TIOCGWINSZ +configure:5354: result: yes +configure:5367: checking errno.h usability +configure:5367: gcc -c -g -O2 conftest.c >&5 +configure:5367: $? = 0 +configure:5367: result: yes +configure:5367: checking errno.h presence +configure:5367: gcc -E conftest.c +configure:5367: $? = 0 +configure:5367: result: yes +configure:5367: checking for errno.h +configure:5367: result: yes +configure:5367: checking fcntl.h usability +configure:5367: gcc -c -g -O2 conftest.c >&5 +configure:5367: $? = 0 +configure:5367: result: yes +configure:5367: checking fcntl.h presence +configure:5367: gcc -E conftest.c +configure:5367: $? = 0 +configure:5367: result: yes +configure:5367: checking for fcntl.h +configure:5367: result: yes +configure:5367: checking locale.h usability +configure:5367: gcc -c -g -O2 conftest.c >&5 +configure:5367: $? = 0 +configure:5367: result: yes +configure:5367: checking locale.h presence +configure:5367: gcc -E conftest.c +configure:5367: $? = 0 +configure:5367: result: yes +configure:5367: checking for locale.h +configure:5367: result: yes +configure:5367: checking sgtty.h usability +configure:5367: gcc -c -g -O2 conftest.c >&5 +configure:5367: $? = 0 +configure:5367: result: yes +configure:5367: checking sgtty.h presence +configure:5367: gcc -E conftest.c +configure:5367: $? = 0 +configure:5367: result: yes +configure:5367: checking for sgtty.h +configure:5367: result: yes +configure:5367: checking stdlib.h usability +configure:5367: gcc -c -g -O2 conftest.c >&5 +configure:5367: $? = 0 +configure:5367: result: yes +configure:5367: checking stdlib.h presence +configure:5367: gcc -E conftest.c +configure:5367: $? = 0 +configure:5367: result: yes +configure:5367: checking for stdlib.h +configure:5367: result: yes +configure:5367: checking string.h usability +configure:5367: gcc -c -g -O2 conftest.c >&5 +configure:5367: $? = 0 +configure:5367: result: yes +configure:5367: checking string.h presence +configure:5367: gcc -E conftest.c +configure:5367: $? = 0 +configure:5367: result: yes +configure:5367: checking for string.h +configure:5367: result: yes +configure:5380: checking sys/ioctl.h usability +configure:5380: gcc -c -g -O2 conftest.c >&5 +configure:5380: $? = 0 +configure:5380: result: yes +configure:5380: checking sys/ioctl.h presence +configure:5380: gcc -E conftest.c +configure:5380: $? = 0 +configure:5380: result: yes +configure:5380: checking for sys/ioctl.h +configure:5380: result: yes +configure:5380: checking sys/param.h usability +configure:5380: gcc -c -g -O2 conftest.c >&5 +configure:5380: $? = 0 +configure:5380: result: yes +configure:5380: checking sys/param.h presence +configure:5380: gcc -E conftest.c +configure:5380: $? = 0 +configure:5380: result: yes +configure:5380: checking for sys/param.h +configure:5380: result: yes +configure:5380: checking sys/time.h usability +configure:5380: gcc -c -g -O2 conftest.c >&5 +configure:5380: $? = 0 +configure:5380: result: yes +configure:5380: checking sys/time.h presence +configure:5380: gcc -E conftest.c +configure:5380: $? = 0 +configure:5380: result: yes +configure:5380: checking for sys/time.h +configure:5380: result: yes +configure:5380: checking unistd.h usability +configure:5380: gcc -c -g -O2 conftest.c >&5 +configure:5380: $? = 0 +configure:5380: result: yes +configure:5380: checking unistd.h presence +configure:5380: gcc -E conftest.c +configure:5380: $? = 0 +configure:5380: result: yes +configure:5380: checking for unistd.h +configure:5380: result: yes +configure:5380: checking utime.h usability +configure:5380: gcc -c -g -O2 conftest.c >&5 +configure:5380: $? = 0 +configure:5380: result: yes +configure:5380: checking utime.h presence +configure:5380: gcc -E conftest.c +configure:5380: $? = 0 +configure:5380: result: yes +configure:5380: checking for utime.h +configure:5380: result: yes +configure:5393: checking sys/dirent.h usability +configure:5393: gcc -c -g -O2 conftest.c >&5 +conftest.c:62:10: fatal error: sys/dirent.h: No such file or directory + 62 | #include + | ^~~~~~~~~~~~~~ +compilation terminated. +configure:5393: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5393: result: no +configure:5393: checking sys/dirent.h presence +configure:5393: gcc -E conftest.c +conftest.c:29:10: fatal error: sys/dirent.h: No such file or directory + 29 | #include + | ^~~~~~~~~~~~~~ +compilation terminated. +configure:5393: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| /* end confdefs.h. */ +| #include +configure:5393: result: no +configure:5393: checking for sys/dirent.h +configure:5393: result: no +configure:5393: checking time.h usability +configure:5393: gcc -c -g -O2 conftest.c >&5 +configure:5393: $? = 0 +configure:5393: result: yes +configure:5393: checking time.h presence +configure:5393: gcc -E conftest.c +configure:5393: $? = 0 +configure:5393: result: yes +configure:5393: checking for time.h +configure:5393: result: yes +configure:5393: checking pwd.h usability +configure:5393: gcc -c -g -O2 conftest.c >&5 +configure:5393: $? = 0 +configure:5393: result: yes +configure:5393: checking pwd.h presence +configure:5393: gcc -E conftest.c +configure:5393: $? = 0 +configure:5393: result: yes +configure:5393: checking for pwd.h +configure:5393: result: yes +configure:5393: checking paths.h usability +configure:5393: gcc -c -g -O2 conftest.c >&5 +configure:5393: $? = 0 +configure:5393: result: yes +configure:5393: checking paths.h presence +configure:5393: gcc -E conftest.c +configure:5393: $? = 0 +configure:5393: result: yes +configure:5393: checking for paths.h +configure:5393: result: yes +configure:5393: checking pty.h usability +configure:5393: gcc -c -g -O2 conftest.c >&5 +configure:5393: $? = 0 +configure:5393: result: yes +configure:5393: checking pty.h presence +configure:5393: gcc -E conftest.c +configure:5393: $? = 0 +configure:5393: result: yes +configure:5393: checking for pty.h +configure:5393: result: yes +configure:5393: checking libutil.h usability +configure:5393: gcc -c -g -O2 conftest.c >&5 +conftest.c:66:10: fatal error: libutil.h: No such file or directory + 66 | #include + | ^~~~~~~~~~~ +compilation terminated. +configure:5393: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5393: result: no +configure:5393: checking libutil.h presence +configure:5393: gcc -E conftest.c +conftest.c:33:10: fatal error: libutil.h: No such file or directory + 33 | #include + | ^~~~~~~~~~~ +compilation terminated. +configure:5393: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| /* end confdefs.h. */ +| #include +configure:5393: result: no +configure:5393: checking for libutil.h +configure:5393: result: no +configure:5406: checking sys/types.h usability +configure:5406: gcc -c -g -O2 conftest.c >&5 +configure:5406: $? = 0 +configure:5406: result: yes +configure:5406: checking sys/types.h presence +configure:5406: gcc -E conftest.c +configure:5406: $? = 0 +configure:5406: result: yes +configure:5406: checking for sys/types.h +configure:5406: result: yes +configure:5406: checking sys/stat.h usability +configure:5406: gcc -c -g -O2 conftest.c >&5 +configure:5406: $? = 0 +configure:5406: result: yes +configure:5406: checking sys/stat.h presence +configure:5406: gcc -E conftest.c +configure:5406: $? = 0 +configure:5406: result: yes +configure:5406: checking for sys/stat.h +configure:5406: result: yes +configure:5406: checking sys/wait.h usability +configure:5406: gcc -c -g -O2 conftest.c >&5 +configure:5406: $? = 0 +configure:5406: result: yes +configure:5406: checking sys/wait.h presence +configure:5406: gcc -E conftest.c +configure:5406: $? = 0 +configure:5406: result: yes +configure:5406: checking for sys/wait.h +configure:5406: result: yes +configure:5406: checking limits.h usability +configure:5406: gcc -c -g -O2 conftest.c >&5 +configure:5406: $? = 0 +configure:5406: result: yes +configure:5406: checking limits.h presence +configure:5406: gcc -E conftest.c +configure:5406: $? = 0 +configure:5406: result: yes +configure:5406: checking for limits.h +configure:5406: result: yes +configure:5406: checking signal.h usability +configure:5406: gcc -c -g -O2 conftest.c >&5 +configure:5406: $? = 0 +configure:5406: result: yes +configure:5406: checking signal.h presence +configure:5406: gcc -E conftest.c +configure:5406: $? = 0 +configure:5406: result: yes +configure:5406: checking for signal.h +configure:5406: result: yes +configure:5419: checking curses.h usability +configure:5419: gcc -c -g -O2 conftest.c >&5 +configure:5419: $? = 0 +configure:5419: result: yes +configure:5419: checking curses.h presence +configure:5419: gcc -E conftest.c +configure:5419: $? = 0 +configure:5419: result: yes +configure:5419: checking for curses.h +configure:5419: result: yes +configure:5419: checking utmp.h usability +configure:5419: gcc -c -g -O2 conftest.c >&5 +configure:5419: $? = 0 +configure:5419: result: yes +configure:5419: checking utmp.h presence +configure:5419: gcc -E conftest.c +configure:5419: $? = 0 +configure:5419: result: yes +configure:5419: checking for utmp.h +configure:5419: result: yes +configure:5419: checking sys/utime.h usability +configure:5419: gcc -c -g -O2 conftest.c >&5 +conftest.c:73:10: fatal error: sys/utime.h: No such file or directory + 73 | #include + | ^~~~~~~~~~~~~ +compilation terminated. +configure:5419: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_CURSES_H 1 +| #define HAVE_UTMP_H 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +configure:5419: result: no +configure:5419: checking sys/utime.h presence +configure:5419: gcc -E conftest.c +conftest.c:40:10: fatal error: sys/utime.h: No such file or directory + 40 | #include + | ^~~~~~~~~~~~~ +compilation terminated. +configure:5419: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_CURSES_H 1 +| #define HAVE_UTMP_H 1 +| /* end confdefs.h. */ +| #include +configure:5419: result: no +configure:5419: checking for sys/utime.h +configure:5419: result: no +configure:5419: checking stddef.h usability +configure:5419: gcc -c -g -O2 conftest.c >&5 +configure:5419: $? = 0 +configure:5419: result: yes +configure:5419: checking stddef.h presence +configure:5419: gcc -E conftest.c +configure:5419: $? = 0 +configure:5419: result: yes +configure:5419: checking for stddef.h +configure:5419: result: yes +configure:5431: checking for term.h +configure:5431: gcc -c -g -O2 conftest.c >&5 +configure:5431: $? = 0 +configure:5431: result: yes +configure:5449: checking selinux/selinux.h usability +configure:5449: gcc -c -g -O2 conftest.c >&5 +configure:5449: $? = 0 +configure:5449: result: yes +configure:5449: checking selinux/selinux.h presence +configure:5449: gcc -E conftest.c +configure:5449: $? = 0 +configure:5449: result: yes +configure:5449: checking for selinux/selinux.h +configure:5449: result: yes +configure:5449: checking selinux/context.h usability +configure:5449: gcc -c -g -O2 conftest.c >&5 +configure:5449: $? = 0 +configure:5449: result: yes +configure:5449: checking selinux/context.h presence +configure:5449: gcc -E conftest.c +configure:5449: $? = 0 +configure:5449: result: yes +configure:5449: checking for selinux/context.h +configure:5449: result: yes +configure:5467: checking for function prototypes +configure:5470: result: yes +configure:5483: checking for an ANSI C-conforming const +configure:5549: gcc -c -g -O2 conftest.c >&5 +configure:5549: $? = 0 +configure:5556: result: yes +configure:5568: checking for long long +configure:5568: gcc -c -g -O2 conftest.c >&5 +configure:5568: $? = 0 +configure:5568: gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:83:24: error: expected expression before ')' token + 83 | if (sizeof ((long long))) + | ^ +configure:5568: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_CURSES_H 1 +| #define HAVE_UTMP_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_TERM_H 1 +| #define HAVE_SELINUX_SELINUX_H 1 +| #define HAVE_SELINUX_CONTEXT_H 1 +| #define HAVE_SELINUX 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| if (sizeof ((long long))) +| return 0; +| ; +| return 0; +| } +configure:5568: result: yes +configure:5582: checking size of char +configure:5587: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:5587: $? = 0 +configure:5587: ./conftest +configure:5587: $? = 0 +configure:5601: result: 1 +configure:5615: checking size of short +configure:5620: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:5620: $? = 0 +configure:5620: ./conftest +configure:5620: $? = 0 +configure:5634: result: 2 +configure:5648: checking size of int +configure:5653: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:5653: $? = 0 +configure:5653: ./conftest +configure:5653: $? = 0 +configure:5667: result: 4 +configure:5681: checking size of long +configure:5686: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:5686: $? = 0 +configure:5686: ./conftest +configure:5686: $? = 0 +configure:5700: result: 8 +configure:5714: checking size of long long +configure:5719: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:5719: $? = 0 +configure:5719: ./conftest +configure:5719: $? = 0 +configure:5733: result: 8 +configure:5747: checking size of void * +configure:5752: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:5752: $? = 0 +configure:5752: ./conftest +configure:5752: $? = 0 +configure:5766: result: 8 +configure:5776: checking for sighandler_t +configure:5776: gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:62:13: error: 'sighandler_t' undeclared (first use in this function); did you mean 'sa_handler'? + 62 | if (sizeof (sighandler_t)) + | ^~~~~~~~~~~~ + | sa_handler +conftest.c:62:13: note: each undeclared identifier is reported only once for each function it appears in +configure:5776: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_CURSES_H 1 +| #define HAVE_UTMP_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_TERM_H 1 +| #define HAVE_SELINUX_SELINUX_H 1 +| #define HAVE_SELINUX_CONTEXT_H 1 +| #define HAVE_SELINUX 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_LONG_LONG 1 +| #define SIZEOF_CHAR 1 +| #define SIZEOF_SHORT 2 +| #define SIZEOF_INT 4 +| #define SIZEOF_LONG 8 +| #define SIZEOF_LONG_LONG 8 +| #define SIZEOF_VOID_P 8 +| /* end confdefs.h. */ +| /* if you have signal.h header, include it */ +| #ifdef HAVE_SIGNAL_H +| #include +| #endif +| +| int +| main () +| { +| if (sizeof (sighandler_t)) +| return 0; +| ; +| return 0; +| } +configure:5776: result: no +configure:5790: checking whether gcc needs -traditional +configure:5824: result: no +configure:5831: checking whether lstat correctly handles trailing slash +configure:5857: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:5857: $? = 0 +configure:5857: ./conftest +configure:5857: $? = 0 +configure:5874: result: yes +configure:5893: checking whether lstat accepts an empty string +configure:5913: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:5913: $? = 0 +configure:5913: ./conftest +configure:5913: $? = 0 +configure:5923: result: no +configure:5939: checking whether setpgrp() takes no arguments +configure:5958: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +conftest.c: In function 'main': +conftest.c:61:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] + 61 | exit(setpgrp(0, 0) != 0); + | ^~~~ +conftest.c:58:1: note: include '' or provide a declaration of 'exit' + 57 | #include + +++ |+#include + 58 | #endif +conftest.c:61:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] + 61 | exit(setpgrp(0, 0) != 0); + | ^~~~ +conftest.c:61:9: note: include '' or provide a declaration of 'exit' +conftest.c:61:14: error: too many arguments to function 'setpgrp' + 61 | exit(setpgrp(0, 0) != 0); + | ^~~~~~~ +In file included from conftest.c:57: +/usr/include/unistd.h:682:12: note: declared here + 682 | extern int setpgrp (void) __THROW; + | ^~~~~~~ +configure:5958: $? = 1 +configure: program exited with status 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_CURSES_H 1 +| #define HAVE_UTMP_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_TERM_H 1 +| #define HAVE_SELINUX_SELINUX_H 1 +| #define HAVE_SELINUX_CONTEXT_H 1 +| #define HAVE_SELINUX 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_LONG_LONG 1 +| #define SIZEOF_CHAR 1 +| #define SIZEOF_SHORT 2 +| #define SIZEOF_INT 4 +| #define SIZEOF_LONG 8 +| #define SIZEOF_LONG_LONG 8 +| #define SIZEOF_VOID_P 8 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| /* end confdefs.h. */ +| +| #if HAVE_UNISTD_H +| #include +| #endif +| int main() { +| /* exit succesfully if setpgrp() takes two args (*BSD systems) */ +| exit(setpgrp(0, 0) != 0); +| } +configure:5969: result: yes +configure:5977: checking for pid_t +configure:5977: gcc -c -g -O2 conftest.c >&5 +configure:5977: $? = 0 +configure:5977: gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:92:20: error: expected expression before ')' token + 92 | if (sizeof ((pid_t))) + | ^ +configure:5977: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_CURSES_H 1 +| #define HAVE_UTMP_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_TERM_H 1 +| #define HAVE_SELINUX_SELINUX_H 1 +| #define HAVE_SELINUX_CONTEXT_H 1 +| #define HAVE_SELINUX 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_LONG_LONG 1 +| #define SIZEOF_CHAR 1 +| #define SIZEOF_SHORT 2 +| #define SIZEOF_INT 4 +| #define SIZEOF_LONG 8 +| #define SIZEOF_LONG_LONG 8 +| #define SIZEOF_VOID_P 8 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define SETPGRP_VOID 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| if (sizeof ((pid_t))) +| return 0; +| ; +| return 0; +| } +configure:5977: result: yes +configure:5988: checking for size_t +configure:5988: gcc -c -g -O2 conftest.c >&5 +configure:5988: $? = 0 +configure:5988: gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:92:21: error: expected expression before ')' token + 92 | if (sizeof ((size_t))) + | ^ +configure:5988: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_CURSES_H 1 +| #define HAVE_UTMP_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_TERM_H 1 +| #define HAVE_SELINUX_SELINUX_H 1 +| #define HAVE_SELINUX_CONTEXT_H 1 +| #define HAVE_SELINUX 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_LONG_LONG 1 +| #define SIZEOF_CHAR 1 +| #define SIZEOF_SHORT 2 +| #define SIZEOF_INT 4 +| #define SIZEOF_LONG 8 +| #define SIZEOF_LONG_LONG 8 +| #define SIZEOF_VOID_P 8 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define SETPGRP_VOID 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| if (sizeof ((size_t))) +| return 0; +| ; +| return 0; +| } +configure:5988: result: yes +configure:5999: checking for off_t +configure:5999: gcc -c -g -O2 conftest.c >&5 +configure:5999: $? = 0 +configure:5999: gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:92:20: error: expected expression before ')' token + 92 | if (sizeof ((off_t))) + | ^ +configure:5999: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_CURSES_H 1 +| #define HAVE_UTMP_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_TERM_H 1 +| #define HAVE_SELINUX_SELINUX_H 1 +| #define HAVE_SELINUX_CONTEXT_H 1 +| #define HAVE_SELINUX 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_LONG_LONG 1 +| #define SIZEOF_CHAR 1 +| #define SIZEOF_SHORT 2 +| #define SIZEOF_INT 4 +| #define SIZEOF_LONG 8 +| #define SIZEOF_LONG_LONG 8 +| #define SIZEOF_VOID_P 8 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define SETPGRP_VOID 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| if (sizeof ((off_t))) +| return 0; +| ; +| return 0; +| } +configure:5999: result: yes +configure:6014: checking size of off_t +configure:6019: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6019: $? = 0 +configure:6019: ./conftest +configure:6019: $? = 0 +configure:6033: result: 8 +configure:6043: checking for ssize_t +configure:6043: gcc -c -g -O2 conftest.c >&5 +configure:6043: $? = 0 +configure:6043: gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:93:22: error: expected expression before ')' token + 93 | if (sizeof ((ssize_t))) + | ^ +configure:6043: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_CURSES_H 1 +| #define HAVE_UTMP_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_TERM_H 1 +| #define HAVE_SELINUX_SELINUX_H 1 +| #define HAVE_SELINUX_CONTEXT_H 1 +| #define HAVE_SELINUX 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_LONG_LONG 1 +| #define SIZEOF_CHAR 1 +| #define SIZEOF_SHORT 2 +| #define SIZEOF_INT 4 +| #define SIZEOF_LONG 8 +| #define SIZEOF_LONG_LONG 8 +| #define SIZEOF_VOID_P 8 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define SETPGRP_VOID 1 +| #define SIZEOF_OFF_T 8 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| if (sizeof ((ssize_t))) +| return 0; +| ; +| return 0; +| } +configure:6043: result: yes +configure:6054: checking return type of signal handlers +configure:6072: gcc -c -g -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:63:10: error: void value not ignored as it ought to be + 63 | return *(signal (0, 0)) (0) == 1; + | ~^~~~~~~~~~~~~~~~~~ +configure:6072: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_CURSES_H 1 +| #define HAVE_UTMP_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_TERM_H 1 +| #define HAVE_SELINUX_SELINUX_H 1 +| #define HAVE_SELINUX_CONTEXT_H 1 +| #define HAVE_SELINUX 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_LONG_LONG 1 +| #define SIZEOF_CHAR 1 +| #define SIZEOF_SHORT 2 +| #define SIZEOF_INT 4 +| #define SIZEOF_LONG 8 +| #define SIZEOF_LONG_LONG 8 +| #define SIZEOF_VOID_P 8 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define SETPGRP_VOID 1 +| #define SIZEOF_OFF_T 8 +| /* end confdefs.h. */ +| #include +| #include +| +| int +| main () +| { +| return *(signal (0, 0)) (0) == 1; +| ; +| return 0; +| } +configure:6079: result: void +configure:6087: checking whether stat accepts an empty string +configure:6107: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6107: $? = 0 +configure:6107: ./conftest +configure:6107: $? = 0 +configure:6117: result: no +configure:6135: checking vfork.h usability +configure:6135: gcc -c -g -O2 conftest.c >&5 +conftest.c:91:10: fatal error: vfork.h: No such file or directory + 91 | #include + | ^~~~~~~~~ +compilation terminated. +configure:6135: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_CURSES_H 1 +| #define HAVE_UTMP_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_TERM_H 1 +| #define HAVE_SELINUX_SELINUX_H 1 +| #define HAVE_SELINUX_CONTEXT_H 1 +| #define HAVE_SELINUX 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_LONG_LONG 1 +| #define SIZEOF_CHAR 1 +| #define SIZEOF_SHORT 2 +| #define SIZEOF_INT 4 +| #define SIZEOF_LONG 8 +| #define SIZEOF_LONG_LONG 8 +| #define SIZEOF_VOID_P 8 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define SETPGRP_VOID 1 +| #define SIZEOF_OFF_T 8 +| #define RETSIGTYPE void +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| #include +configure:6135: result: no +configure:6135: checking vfork.h presence +configure:6135: gcc -E conftest.c +conftest.c:58:10: fatal error: vfork.h: No such file or directory + 58 | #include + | ^~~~~~~~~ +compilation terminated. +configure:6135: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_CURSES_H 1 +| #define HAVE_UTMP_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_TERM_H 1 +| #define HAVE_SELINUX_SELINUX_H 1 +| #define HAVE_SELINUX_CONTEXT_H 1 +| #define HAVE_SELINUX 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_LONG_LONG 1 +| #define SIZEOF_CHAR 1 +| #define SIZEOF_SHORT 2 +| #define SIZEOF_INT 4 +| #define SIZEOF_LONG 8 +| #define SIZEOF_LONG_LONG 8 +| #define SIZEOF_VOID_P 8 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define SETPGRP_VOID 1 +| #define SIZEOF_OFF_T 8 +| #define RETSIGTYPE void +| /* end confdefs.h. */ +| #include +configure:6135: result: no +configure:6135: checking for vfork.h +configure:6135: result: no +configure:6148: checking for fork +configure:6148: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +conftest.c:81:6: warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch] + 81 | char fork (); + | ^~~~ +configure:6148: $? = 0 +configure:6148: result: yes +configure:6148: checking for vfork +configure:6148: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6148: $? = 0 +configure:6148: result: yes +configure:6158: checking for working fork +configure:6180: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6180: $? = 0 +configure:6180: ./conftest +configure:6180: $? = 0 +configure:6190: result: yes +configure:6211: checking for working vfork +configure:6321: result: yes +configure:6349: checking for getcwd +configure:6349: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6349: $? = 0 +configure:6349: result: yes +configure:6349: checking for getwd +configure:6349: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +/usr/bin/ld: /tmp/ccCM5aUn.o: in function `main': +/home/jie/project/joe/conftest.c:97: warning: the `getwd' function is dangerous and should not be used. +configure:6349: $? = 0 +configure:6349: result: yes +configure:6365: checking for isblank +configure:6365: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +conftest.c:87:6: warning: conflicting types for built-in function 'isblank'; expected 'int(int)' [-Wbuiltin-declaration-mismatch] + 87 | char isblank (); + | ^~~~~~~ +conftest.c:75:1: note: 'isblank' is declared in header '' + 74 | # include + 75 | #else +configure:6365: $? = 0 +configure:6365: result: yes +configure:6375: checking whether isblank() works correctly with side effect expressions +configure:6394: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +conftest.c: In function 'main': +conftest.c:70:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] + 70 | exit(a != 1); + | ^~~~ +conftest.c:67:1: note: include '' or provide a declaration of 'exit' + 66 | #include + +++ |+#include + 67 | int main() { +conftest.c:70:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] + 70 | exit(a != 1); + | ^~~~ +conftest.c:70:3: note: include '' or provide a declaration of 'exit' +configure:6394: $? = 0 +configure:6394: ./conftest +configure:6394: $? = 0 +configure:6405: result: yes +configure:6417: checking for alarm +configure:6417: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6417: $? = 0 +configure:6417: result: yes +configure:6417: checking for mkdir +configure:6417: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6417: $? = 0 +configure:6417: result: yes +configure:6417: checking for mkstemp +configure:6417: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6417: $? = 0 +configure:6417: result: yes +configure:6417: checking for putenv +configure:6417: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6417: $? = 0 +configure:6417: result: yes +configure:6417: checking for setlocale +configure:6417: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6417: $? = 0 +configure:6417: result: yes +configure:6417: checking for strchr +configure:6417: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +conftest.c:94:6: warning: conflicting types for built-in function 'strchr'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch] + 94 | char strchr (); + | ^~~~~~ +conftest.c:82:1: note: 'strchr' is declared in header '' + 81 | # include + 82 | #else +configure:6417: $? = 0 +configure:6417: result: yes +configure:6417: checking for strdup +configure:6417: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +conftest.c:95:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch] + 95 | char strdup (); + | ^~~~~~ +configure:6417: $? = 0 +configure:6417: result: yes +configure:6417: checking for utime +configure:6417: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6417: $? = 0 +configure:6417: result: yes +configure:6417: checking for setpgid +configure:6417: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6417: $? = 0 +configure:6417: result: yes +configure:6429: checking for setitimer +configure:6429: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6429: $? = 0 +configure:6429: result: yes +configure:6429: checking for sigaction +configure:6429: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6429: $? = 0 +configure:6429: result: yes +configure:6429: checking for sigvec +configure:6429: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +/usr/bin/ld: /tmp/ccBQcpDC.o: in function `main': +/home/jie/project/joe/conftest.c:111: undefined reference to `sigvec' +collect2: error: ld returned 1 exit status +configure:6429: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_CURSES_H 1 +| #define HAVE_UTMP_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_TERM_H 1 +| #define HAVE_SELINUX_SELINUX_H 1 +| #define HAVE_SELINUX_CONTEXT_H 1 +| #define HAVE_SELINUX 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_LONG_LONG 1 +| #define SIZEOF_CHAR 1 +| #define SIZEOF_SHORT 2 +| #define SIZEOF_INT 4 +| #define SIZEOF_LONG 8 +| #define SIZEOF_LONG_LONG 8 +| #define SIZEOF_VOID_P 8 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define SETPGRP_VOID 1 +| #define SIZEOF_OFF_T 8 +| #define RETSIGTYPE void +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_WORKING_VFORK 1 +| #define HAVE_WORKING_FORK 1 +| #define HAVE_GETCWD 1 +| #define HAVE_GETWD 1 +| #define HAVE_ISBLANK 1 +| #define HAVE_WORKING_ISBLANK 1 +| #define HAVE_ALARM 1 +| #define HAVE_MKDIR 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_PUTENV 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRDUP 1 +| #define HAVE_UTIME 1 +| #define HAVE_SETPGID 1 +| #define HAVE_SETITIMER 1 +| #define HAVE_SIGACTION 1 +| /* end confdefs.h. */ +| /* Define sigvec to an innocuous variant, in case declares sigvec. +| For example, HP-UX 11i declares gettimeofday. */ +| #define sigvec innocuous_sigvec +| +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char sigvec (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| +| #undef sigvec +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char sigvec (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined __stub_sigvec || defined __stub___sigvec +| choke me +| #endif +| +| int +| main () +| { +| return sigvec (); +| ; +| return 0; +| } +configure:6429: result: no +configure:6429: checking for siginterrupt +configure:6429: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6429: $? = 0 +configure:6429: result: yes +configure:6429: checking for sigprocmask +configure:6429: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +configure:6429: $? = 0 +configure:6429: result: yes +configure:6440: checking for library containing sin +configure:6471: gcc -o conftest -g -O2 conftest.c -lncurses >&5 +conftest.c:86:6: warning: conflicting types for built-in function 'sin'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 86 | char sin (); + | ^~~ +conftest.c:1:1: note: 'sin' is declared in header '' + 1 | /* confdefs.h */ +/usr/bin/ld: /tmp/ccY67mp1.o: in function `main': +/home/jie/project/joe/conftest.c:90: undefined reference to `sin' +collect2: error: ld returned 1 exit status +configure:6471: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "joe" +| #define PACKAGE_TARNAME "joe" +| #define PACKAGE_VERSION "4.6" +| #define PACKAGE_STRING "joe 4.6" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE_URL "" +| #define PACKAGE "joe" +| #define VERSION "4.6" +| #define HAVE_OPENPTY 1 +| #define HAVE_LOGIN_TTY 1 +| #define TERMINFO 1 +| #define HAVE_SNPRINTF 1 +| #define HAVE_DIRENT_H 1 +| #define HAVE_POSIX_TERMIOS 1 +| #define GWINSZ_IN_SYS_IOCTL 1 +| #define HAVE_ERRNO_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_SGTTY_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_SYS_IOCTL_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_TIME_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_UTIME_H 1 +| #define HAVE_TIME_H 1 +| #define HAVE_PWD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_PTY_H 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_SIGNAL_H 1 +| #define HAVE_CURSES_H 1 +| #define HAVE_UTMP_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_TERM_H 1 +| #define HAVE_SELINUX_SELINUX_H 1 +| #define HAVE_SELINUX_CONTEXT_H 1 +| #define HAVE_SELINUX 1 +| #define PROTOTYPES 1 +| #define __PROTOTYPES 1 +| #define HAVE_LONG_LONG 1 +| #define SIZEOF_CHAR 1 +| #define SIZEOF_SHORT 2 +| #define SIZEOF_INT 4 +| #define SIZEOF_LONG 8 +| #define SIZEOF_LONG_LONG 8 +| #define SIZEOF_VOID_P 8 +| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +| #define SETPGRP_VOID 1 +| #define SIZEOF_OFF_T 8 +| #define RETSIGTYPE void +| #define HAVE_FORK 1 +| #define HAVE_VFORK 1 +| #define HAVE_WORKING_VFORK 1 +| #define HAVE_WORKING_FORK 1 +| #define HAVE_GETCWD 1 +| #define HAVE_GETWD 1 +| #define HAVE_ISBLANK 1 +| #define HAVE_WORKING_ISBLANK 1 +| #define HAVE_ALARM 1 +| #define HAVE_MKDIR 1 +| #define HAVE_MKSTEMP 1 +| #define HAVE_PUTENV 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STRCHR 1 +| #define HAVE_STRDUP 1 +| #define HAVE_UTIME 1 +| #define HAVE_SETPGID 1 +| #define HAVE_SETITIMER 1 +| #define HAVE_SIGACTION 1 +| #define HAVE_SIGINTERRUPT 1 +| #define HAVE_SIGPROCMASK 1 +| /* end confdefs.h. */ +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char sin (); +| int +| main () +| { +| return sin (); +| ; +| return 0; +| } +configure:6471: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:86:6: warning: conflicting types for built-in function 'sin'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 86 | char sin (); + | ^~~ +conftest.c:1:1: note: 'sin' is declared in header '' + 1 | /* confdefs.h */ +configure:6471: $? = 0 +configure:6488: result: -lm +configure:6500: checking for library containing cos +configure:6531: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:87:6: warning: conflicting types for built-in function 'cos'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 87 | char cos (); + | ^~~ +conftest.c:1:1: note: 'cos' is declared in header '' + 1 | /* confdefs.h */ +configure:6531: $? = 0 +configure:6548: result: none required +configure:6560: checking for library containing tan +configure:6591: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:88:6: warning: conflicting types for built-in function 'tan'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 88 | char tan (); + | ^~~ +conftest.c:1:1: note: 'tan' is declared in header '' + 1 | /* confdefs.h */ +configure:6591: $? = 0 +configure:6608: result: none required +configure:6620: checking for library containing exp +configure:6651: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:89:6: warning: conflicting types for built-in function 'exp'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 89 | char exp (); + | ^~~ +conftest.c:1:1: note: 'exp' is declared in header '' + 1 | /* confdefs.h */ +configure:6651: $? = 0 +configure:6668: result: none required +configure:6680: checking for library containing sqrt +configure:6711: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:90:6: warning: conflicting types for built-in function 'sqrt'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 90 | char sqrt (); + | ^~~~ +conftest.c:1:1: note: 'sqrt' is declared in header '' + 1 | /* confdefs.h */ +configure:6711: $? = 0 +configure:6728: result: none required +configure:6740: checking for library containing cbrt +configure:6771: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:91:6: warning: conflicting types for built-in function 'cbrt'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 91 | char cbrt (); + | ^~~~ +conftest.c:1:1: note: 'cbrt' is declared in header '' + 1 | /* confdefs.h */ +configure:6771: $? = 0 +configure:6788: result: none required +configure:6800: checking for library containing log +configure:6831: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:92:6: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 92 | char log (); + | ^~~ +conftest.c:1:1: note: 'log' is declared in header '' + 1 | /* confdefs.h */ +configure:6831: $? = 0 +configure:6848: result: none required +configure:6860: checking for library containing log10 +configure:6891: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:93:6: warning: conflicting types for built-in function 'log10'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 93 | char log10 (); + | ^~~~~ +conftest.c:1:1: note: 'log10' is declared in header '' + 1 | /* confdefs.h */ +configure:6891: $? = 0 +configure:6908: result: none required +configure:6920: checking for library containing asin +configure:6951: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:94:6: warning: conflicting types for built-in function 'asin'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 94 | char asin (); + | ^~~~ +conftest.c:1:1: note: 'asin' is declared in header '' + 1 | /* confdefs.h */ +configure:6951: $? = 0 +configure:6968: result: none required +configure:6980: checking for library containing acos +configure:7011: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:95:6: warning: conflicting types for built-in function 'acos'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 95 | char acos (); + | ^~~~ +conftest.c:1:1: note: 'acos' is declared in header '' + 1 | /* confdefs.h */ +configure:7011: $? = 0 +configure:7028: result: none required +configure:7040: checking for library containing atan +configure:7071: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:96:6: warning: conflicting types for built-in function 'atan'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 96 | char atan (); + | ^~~~ +conftest.c:1:1: note: 'atan' is declared in header '' + 1 | /* confdefs.h */ +configure:7071: $? = 0 +configure:7088: result: none required +configure:7100: checking for library containing sinh +configure:7131: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:97:6: warning: conflicting types for built-in function 'sinh'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 97 | char sinh (); + | ^~~~ +conftest.c:1:1: note: 'sinh' is declared in header '' + 1 | /* confdefs.h */ +configure:7131: $? = 0 +configure:7148: result: none required +configure:7160: checking for library containing cosh +configure:7191: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:98:6: warning: conflicting types for built-in function 'cosh'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 98 | char cosh (); + | ^~~~ +conftest.c:1:1: note: 'cosh' is declared in header '' + 1 | /* confdefs.h */ +configure:7191: $? = 0 +configure:7208: result: none required +configure:7220: checking for library containing tanh +configure:7251: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:99:6: warning: conflicting types for built-in function 'tanh'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 99 | char tanh (); + | ^~~~ +conftest.c:1:1: note: 'tanh' is declared in header '' + 1 | /* confdefs.h */ +configure:7251: $? = 0 +configure:7268: result: none required +configure:7280: checking for library containing asinh +configure:7311: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:100:6: warning: conflicting types for built-in function 'asinh'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 100 | char asinh (); + | ^~~~~ +conftest.c:1:1: note: 'asinh' is declared in header '' + 1 | /* confdefs.h */ +configure:7311: $? = 0 +configure:7328: result: none required +configure:7340: checking for library containing acosh +configure:7371: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:101:6: warning: conflicting types for built-in function 'acosh'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 101 | char acosh (); + | ^~~~~ +conftest.c:1:1: note: 'acosh' is declared in header '' + 1 | /* confdefs.h */ +configure:7371: $? = 0 +configure:7388: result: none required +configure:7400: checking for library containing atanh +configure:7431: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:102:6: warning: conflicting types for built-in function 'atanh'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 102 | char atanh (); + | ^~~~~ +conftest.c:1:1: note: 'atanh' is declared in header '' + 1 | /* confdefs.h */ +configure:7431: $? = 0 +configure:7448: result: none required +configure:7460: checking for library containing floor +configure:7491: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:103:6: warning: conflicting types for built-in function 'floor'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 103 | char floor (); + | ^~~~~ +conftest.c:1:1: note: 'floor' is declared in header '' + 1 | /* confdefs.h */ +configure:7491: $? = 0 +configure:7508: result: none required +configure:7520: checking for library containing ceil +configure:7551: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:104:6: warning: conflicting types for built-in function 'ceil'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 104 | char ceil (); + | ^~~~ +conftest.c:1:1: note: 'ceil' is declared in header '' + 1 | /* confdefs.h */ +configure:7551: $? = 0 +configure:7568: result: none required +configure:7580: checking for library containing fabs +configure:7611: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:105:6: warning: conflicting types for built-in function 'fabs'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 105 | char fabs (); + | ^~~~ +conftest.c:1:1: note: 'fabs' is declared in header '' + 1 | /* confdefs.h */ +configure:7611: $? = 0 +configure:7628: result: none required +configure:7640: checking for library containing erf +configure:7671: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:106:6: warning: conflicting types for built-in function 'erf'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 106 | char erf (); + | ^~~ +conftest.c:1:1: note: 'erf' is declared in header '' + 1 | /* confdefs.h */ +configure:7671: $? = 0 +configure:7688: result: none required +configure:7700: checking for library containing erfc +configure:7731: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:107:6: warning: conflicting types for built-in function 'erfc'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 107 | char erfc (); + | ^~~~ +conftest.c:1:1: note: 'erfc' is declared in header '' + 1 | /* confdefs.h */ +configure:7731: $? = 0 +configure:7748: result: none required +configure:7760: checking for library containing j0 +configure:7791: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:108:6: warning: conflicting types for built-in function 'j0'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 108 | char j0 (); + | ^~ +configure:7791: $? = 0 +configure:7808: result: none required +configure:7820: checking for library containing j1 +configure:7851: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:109:6: warning: conflicting types for built-in function 'j1'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 109 | char j1 (); + | ^~ +configure:7851: $? = 0 +configure:7868: result: none required +configure:7880: checking for library containing y0 +configure:7911: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:110:6: warning: conflicting types for built-in function 'y0'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 110 | char y0 (); + | ^~ +configure:7911: $? = 0 +configure:7928: result: none required +configure:7940: checking for library containing y1 +configure:7971: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:111:6: warning: conflicting types for built-in function 'y1'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] + 111 | char y1 (); + | ^~ +configure:7971: $? = 0 +configure:7988: result: none required +configure:8000: checking for library containing hypot +configure:8031: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c:112:6: warning: conflicting types for built-in function 'hypot'; expected 'double(double, double)' [-Wbuiltin-declaration-mismatch] + 112 | char hypot (); + | ^~~~~ +conftest.c:1:1: note: 'hypot' is declared in header '' + 1 | /* confdefs.h */ +configure:8031: $? = 0 +configure:8048: result: none required +configure:8061: checking whether sighandlers must be reinstalled +configure:8118: gcc -o conftest -g -O2 conftest.c -lm -lncurses >&5 +conftest.c: In function 'main': +conftest.c:150:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] + 150 | exit(nsigint != 2); + | ^~~~ +conftest.c:112:1: note: include '' or provide a declaration of 'exit' + 111 | #include + +++ |+#include + 112 | #endif +conftest.c:150:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] + 150 | exit(nsigint != 2); + | ^~~~ +conftest.c:150:9: note: include '' or provide a declaration of 'exit' +configure:8118: $? = 0 +configure:8118: ./conftest +configure:8118: $? = 0 +configure:8129: result: no +configure:8152: checking for aspell +configure:8168: found /usr/bin/aspell +configure:8180: result: aspell +configure:8291: checking that generated files are newer than configure +configure:8297: result: done +configure:8324: creating ./config.status + +## ---------------------- ## +## Running config.status. ## +## ---------------------- ## + +This file was extended by joe config.status 4.6, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = + CONFIG_HEADERS = + CONFIG_LINKS = + CONFIG_COMMANDS = + $ ./config.status + +on MaderHatter + +config.status:965: creating Makefile +config.status:965: creating joe/Makefile +config.status:965: creating joe/util/Makefile +config.status:965: creating rc/Makefile +config.status:965: creating man/Makefile +config.status:965: creating man/ru/Makefile +config.status:965: creating syntax/Makefile +config.status:965: creating po/Makefile +config.status:965: creating colors/Makefile +config.status:965: creating charmaps/klingon +config.status:965: creating desktop/Makefile +config.status:965: creating joe/autoconf.h +config.status:1146: joe/autoconf.h is unchanged +config.status:1194: executing depfiles commands + +## ---------------- ## +## Cache variables. ## +## ---------------- ## + +ac_cv_build=x86_64-unknown-linux-gnu +ac_cv_c_compiler_gnu=yes +ac_cv_c_const=yes +ac_cv_env_CC_set= +ac_cv_env_CC_value= +ac_cv_env_CFLAGS_set= +ac_cv_env_CFLAGS_value= +ac_cv_env_CPPFLAGS_set= +ac_cv_env_CPPFLAGS_value= +ac_cv_env_CPP_set= +ac_cv_env_CPP_value= +ac_cv_env_LDFLAGS_set= +ac_cv_env_LDFLAGS_value= +ac_cv_env_LIBS_set= +ac_cv_env_LIBS_value= +ac_cv_env_UNICODE_VERSION_set= +ac_cv_env_UNICODE_VERSION_value= +ac_cv_env_build_alias_set= +ac_cv_env_build_alias_value= +ac_cv_env_host_alias_set= +ac_cv_env_host_alias_value= +ac_cv_env_target_alias_set= +ac_cv_env_target_alias_value= +ac_cv_func_alarm=yes +ac_cv_func_fork=yes +ac_cv_func_fork_works=yes +ac_cv_func_getcwd=yes +ac_cv_func_getwd=yes +ac_cv_func_isblank=yes +ac_cv_func_lstat_dereferences_slashed_symlink=yes +ac_cv_func_lstat_empty_string_bug=no +ac_cv_func_mkdir=yes +ac_cv_func_mkstemp=yes +ac_cv_func_putenv=yes +ac_cv_func_setitimer=yes +ac_cv_func_setlocale=yes +ac_cv_func_setpgid=yes +ac_cv_func_sigaction=yes +ac_cv_func_siginterrupt=yes +ac_cv_func_sigprocmask=yes +ac_cv_func_sigvec=no +ac_cv_func_stat_empty_string_bug=no +ac_cv_func_strchr=yes +ac_cv_func_strdup=yes +ac_cv_func_utime=yes +ac_cv_func_vfork=yes +ac_cv_func_vfork_works=yes +ac_cv_header_curses_h=yes +ac_cv_header_dirent_dirent_h=yes +ac_cv_header_errno_h=yes +ac_cv_header_fcntl_h=yes +ac_cv_header_libutil_h=no +ac_cv_header_limits_h=yes +ac_cv_header_locale_h=yes +ac_cv_header_paths_h=yes +ac_cv_header_pty_h=yes +ac_cv_header_pwd_h=yes +ac_cv_header_selinux_context_h=yes +ac_cv_header_selinux_selinux_h=yes +ac_cv_header_sgtty_h=yes +ac_cv_header_signal_h=yes +ac_cv_header_stddef_h=yes +ac_cv_header_stdlib_h=yes +ac_cv_header_string_h=yes +ac_cv_header_sys_dirent_h=no +ac_cv_header_sys_ioctl_h=yes +ac_cv_header_sys_param_h=yes +ac_cv_header_sys_stat_h=yes +ac_cv_header_sys_time_h=yes +ac_cv_header_sys_types_h=yes +ac_cv_header_sys_utime_h=no +ac_cv_header_sys_wait_h=yes +ac_cv_header_term_h=yes +ac_cv_header_time_h=yes +ac_cv_header_unistd_h=yes +ac_cv_header_utime_h=yes +ac_cv_header_utmp_h=yes +ac_cv_header_vfork_h=no +ac_cv_host=x86_64-unknown-linux-gnu +ac_cv_objext=o +ac_cv_path_EGREP='/usr/bin/grep -E' +ac_cv_path_GREP=/usr/bin/grep +ac_cv_path_install='/usr/bin/install -c' +ac_cv_path_mkdir=/usr/bin/mkdir +ac_cv_prog_AWK=gawk +ac_cv_prog_CPP='gcc -E' +ac_cv_prog_SPELL=aspell +ac_cv_prog_ac_ct_CC=gcc +ac_cv_prog_cc_c89= +ac_cv_prog_cc_g=yes +ac_cv_prog_gcc_traditional=no +ac_cv_prog_make_make_set=yes +ac_cv_search_acos='none required' +ac_cv_search_acosh='none required' +ac_cv_search_asin='none required' +ac_cv_search_asinh='none required' +ac_cv_search_atan='none required' +ac_cv_search_atanh='none required' +ac_cv_search_cbrt='none required' +ac_cv_search_ceil='none required' +ac_cv_search_cos='none required' +ac_cv_search_cosh='none required' +ac_cv_search_erf='none required' +ac_cv_search_erfc='none required' +ac_cv_search_exp='none required' +ac_cv_search_fabs='none required' +ac_cv_search_floor='none required' +ac_cv_search_hypot='none required' +ac_cv_search_j0='none required' +ac_cv_search_j1='none required' +ac_cv_search_log10='none required' +ac_cv_search_log='none required' +ac_cv_search_login_tty='none required' +ac_cv_search_opendir='none required' +ac_cv_search_openpty='none required' +ac_cv_search_sin=-lm +ac_cv_search_sinh='none required' +ac_cv_search_snprintf='none required' +ac_cv_search_sqrt='none required' +ac_cv_search_tan='none required' +ac_cv_search_tanh='none required' +ac_cv_search_tgetflag=-lncurses +ac_cv_search_y0='none required' +ac_cv_search_y1='none required' +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_long=8 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short=2 +ac_cv_sizeof_void_p=8 +ac_cv_sys_file_offset_bits=no +ac_cv_sys_largefile_CC=no +ac_cv_sys_posix_termios=yes +ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes +ac_cv_sys_tiocgwinsz_in_termios_h=no +ac_cv_target=x86_64-unknown-linux-gnu +ac_cv_type_long_long=yes +ac_cv_type_off_t=yes +ac_cv_type_pid_t=yes +ac_cv_type_sighandler_t=no +ac_cv_type_signal=void +ac_cv_type_size_t=yes +ac_cv_type_ssize_t=yes +am_cv_CC_dependencies_compiler_type=gcc3 +am_cv_make_support_nested_variables=yes +am_cv_prog_cc_c_o=yes +joe_cv_isblank=yes +joe_cv_reinstall_sighandlers=no +joe_cv_setpgrp_void=yes + +## ----------------- ## +## Output variables. ## +## ----------------- ## + +ACLOCAL='${SHELL} /home/jie/project/joe/missing aclocal-1.14' +AMDEPBACKSLASH='\' +AMDEP_FALSE='#' +AMDEP_TRUE='' +AMTAR='$${TAR-tar}' +AM_BACKSLASH='\' +AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +AM_DEFAULT_VERBOSITY='1' +AM_V='$(V)' +AUTOCONF='${SHELL} /home/jie/project/joe/missing autoconf' +AUTOHEADER='${SHELL} /home/jie/project/joe/missing autoheader' +AUTOMAKE='${SHELL} /home/jie/project/joe/missing automake-1.14' +AWK='gawk' +CC='gcc' +CCDEPMODE='depmode=gcc3' +CFLAGS='-g -O2' +CPP='gcc -E' +CPPFLAGS='' +CYGPATH_W='echo' +DEFS='-DHAVE_CONFIG_H' +DEPDIR='.deps' +ECHO_C='' +ECHO_N='-n' +ECHO_T='' +EGREP='/usr/bin/grep -E' +EXEEXT='' +GREP='/usr/bin/grep' +INSTALL_DATA='${INSTALL} -m 644' +INSTALL_PROGRAM='${INSTALL}' +INSTALL_SCRIPT='${INSTALL}' +INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' +LDFLAGS='' +LIBOBJS='' +LIBS='-lm -lncurses ' +LN_S='ln -s' +LTLIBOBJS='' +MAINT='#' +MAINTAINER_MODE_FALSE='' +MAINTAINER_MODE_TRUE='#' +MAKEINFO='${SHELL} /home/jie/project/joe/missing makeinfo' +MKDIR_P='/usr/bin/mkdir -p' +OBJEXT='o' +PACKAGE='joe' +PACKAGE_BUGREPORT='' +PACKAGE_NAME='joe' +PACKAGE_STRING='joe 4.6' +PACKAGE_TARNAME='joe' +PACKAGE_URL='' +PACKAGE_VERSION='4.6' +PATH_SEPARATOR=':' +SET_MAKE='' +SHELL='/bin/bash' +SPELL='aspell' +STRIP='' +UNICODE_VERSION='9.0.0' +VERSION='4.6' +ac_ct_CC='gcc' +am__EXEEXT_FALSE='' +am__EXEEXT_TRUE='#' +am__fastdepCC_FALSE='#' +am__fastdepCC_TRUE='' +am__include='include' +am__isrc='' +am__leading_dot='.' +am__nodep='_no' +am__quote='' +am__tar='$${TAR-tar} chof - "$$tardir"' +am__untar='$${TAR-tar} xf -' +bindir='${exec_prefix}/bin' +build='x86_64-unknown-linux-gnu' +build_alias='' +build_cpu='x86_64' +build_os='linux-gnu' +build_vendor='unknown' +datadir='${datarootdir}' +datarootdir='${prefix}/share' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +dvidir='${docdir}' +exec_prefix='${prefix}' +host='x86_64-unknown-linux-gnu' +host_alias='' +host_cpu='x86_64' +host_os='linux-gnu' +host_vendor='unknown' +htmldir='${docdir}' +includedir='${prefix}/include' +infodir='${datarootdir}/info' +install_sh='${SHELL} /home/jie/project/joe/install-sh' +libdir='${exec_prefix}/lib' +libexecdir='${exec_prefix}/libexec' +localedir='${datarootdir}/locale' +localstatedir='${prefix}/var' +mandir='${datarootdir}/man' +mkdir_p='$(MKDIR_P)' +oldincludedir='/usr/include' +pdfdir='${docdir}' +prefix='/home/jie/project/joe/bin' +program_transform_name='s,x,x,' +psdir='${docdir}' +sbindir='${exec_prefix}/sbin' +sharedstatedir='${prefix}/com' +sysconfdir='${prefix}/etc' +target='x86_64-unknown-linux-gnu' +target_alias='' +target_cpu='x86_64' +target_os='linux-gnu' +target_vendor='unknown' + +## ----------- ## +## confdefs.h. ## +## ----------- ## + +/* confdefs.h */ +#define PACKAGE_NAME "joe" +#define PACKAGE_TARNAME "joe" +#define PACKAGE_VERSION "4.6" +#define PACKAGE_STRING "joe 4.6" +#define PACKAGE_BUGREPORT "" +#define PACKAGE_URL "" +#define PACKAGE "joe" +#define VERSION "4.6" +#define HAVE_OPENPTY 1 +#define HAVE_LOGIN_TTY 1 +#define TERMINFO 1 +#define HAVE_SNPRINTF 1 +#define HAVE_DIRENT_H 1 +#define HAVE_POSIX_TERMIOS 1 +#define GWINSZ_IN_SYS_IOCTL 1 +#define HAVE_ERRNO_H 1 +#define HAVE_FCNTL_H 1 +#define HAVE_LOCALE_H 1 +#define HAVE_SGTTY_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STRING_H 1 +#define HAVE_SYS_IOCTL_H 1 +#define HAVE_SYS_PARAM_H 1 +#define HAVE_SYS_TIME_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UTIME_H 1 +#define HAVE_TIME_H 1 +#define HAVE_PWD_H 1 +#define HAVE_PATHS_H 1 +#define HAVE_PTY_H 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_SYS_WAIT_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_SIGNAL_H 1 +#define HAVE_CURSES_H 1 +#define HAVE_UTMP_H 1 +#define HAVE_STDDEF_H 1 +#define HAVE_TERM_H 1 +#define HAVE_SELINUX_SELINUX_H 1 +#define HAVE_SELINUX_CONTEXT_H 1 +#define HAVE_SELINUX 1 +#define PROTOTYPES 1 +#define __PROTOTYPES 1 +#define HAVE_LONG_LONG 1 +#define SIZEOF_CHAR 1 +#define SIZEOF_SHORT 2 +#define SIZEOF_INT 4 +#define SIZEOF_LONG 8 +#define SIZEOF_LONG_LONG 8 +#define SIZEOF_VOID_P 8 +#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 +#define SETPGRP_VOID 1 +#define SIZEOF_OFF_T 8 +#define RETSIGTYPE void +#define HAVE_FORK 1 +#define HAVE_VFORK 1 +#define HAVE_WORKING_VFORK 1 +#define HAVE_WORKING_FORK 1 +#define HAVE_GETCWD 1 +#define HAVE_GETWD 1 +#define HAVE_ISBLANK 1 +#define HAVE_WORKING_ISBLANK 1 +#define HAVE_ALARM 1 +#define HAVE_MKDIR 1 +#define HAVE_MKSTEMP 1 +#define HAVE_PUTENV 1 +#define HAVE_SETLOCALE 1 +#define HAVE_STRCHR 1 +#define HAVE_STRDUP 1 +#define HAVE_UTIME 1 +#define HAVE_SETPGID 1 +#define HAVE_SETITIMER 1 +#define HAVE_SIGACTION 1 +#define HAVE_SIGINTERRUPT 1 +#define HAVE_SIGPROCMASK 1 +#define HAVE_SIN 1 +#define HAVE_COS 1 +#define HAVE_TAN 1 +#define HAVE_EXP 1 +#define HAVE_SQRT 1 +#define HAVE_CBRT 1 +#define HAVE_LOG 1 +#define HAVE_LOG10 1 +#define HAVE_ASIN 1 +#define HAVE_ACOS 1 +#define HAVE_ATAN 1 +#define HAVE_SINH 1 +#define HAVE_COSH 1 +#define HAVE_TANH 1 +#define HAVE_ASINH 1 +#define HAVE_ACOSH 1 +#define HAVE_ATANH 1 +#define HAVE_FLOOR 1 +#define HAVE_CEIL 1 +#define HAVE_FABS 1 +#define HAVE_ERF 1 +#define HAVE_ERFC 1 +#define HAVE_J0 1 +#define HAVE_J1 1 +#define HAVE_Y0 1 +#define HAVE_Y1 1 +#define HAVE_HYPOT 1 + +configure: exit 0 diff --git a/config.status b/config.status new file mode 100755 index 0000000..bfd2574 --- /dev/null +++ b/config.status @@ -0,0 +1,1299 @@ +#! /bin/bash +# Generated by configure. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=${CONFIG_SHELL-/bin/bash} +export SHELL +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by joe $as_me 4.6, which was +generated by GNU Autoconf 2.69. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +# Files that config.status was made for. +config_files=" Makefile joe/Makefile joe/util/Makefile rc/Makefile man/Makefile man/ru/Makefile syntax/Makefile po/Makefile colors/Makefile charmaps/klingon desktop/Makefile" +config_headers=" joe/autoconf.h" +config_commands=" depfiles" + +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to the package provider." + +ac_cs_config="'--prefix=/home/jie/project/joe/bin'" +ac_cs_version="\ +joe config.status 4.6 +configured by ./configure, generated by GNU Autoconf 2.69, + with options \"$ac_cs_config\" + +Copyright (C) 2012 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='/home/jie/project/joe' +srcdir='.' +INSTALL='/usr/bin/install -c' +MKDIR_P='/usr/bin/mkdir -p' +AWK='gawk' +test -n "$AWK" || AWK=awk +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +if $ac_cs_recheck; then + set X /bin/bash './configure' '--prefix=/home/jie/project/joe/bin' $ac_configure_extra_args --no-create --no-recursion + shift + $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 + CONFIG_SHELL='/bin/bash' + export CONFIG_SHELL + exec "$@" +fi + +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +# +# INIT-COMMANDS +# +AMDEP_TRUE="" ac_aux_dir="." + + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "joe/autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS joe/autoconf.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "joe/Makefile") CONFIG_FILES="$CONFIG_FILES joe/Makefile" ;; + "joe/util/Makefile") CONFIG_FILES="$CONFIG_FILES joe/util/Makefile" ;; + "rc/Makefile") CONFIG_FILES="$CONFIG_FILES rc/Makefile" ;; + "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; + "man/ru/Makefile") CONFIG_FILES="$CONFIG_FILES man/ru/Makefile" ;; + "syntax/Makefile") CONFIG_FILES="$CONFIG_FILES syntax/Makefile" ;; + "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;; + "colors/Makefile") CONFIG_FILES="$CONFIG_FILES colors/Makefile" ;; + "charmaps/klingon") CONFIG_FILES="$CONFIG_FILES charmaps/klingon" ;; + "desktop/Makefile") CONFIG_FILES="$CONFIG_FILES desktop/Makefile" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && +S["am__EXEEXT_FALSE"]="" +S["am__EXEEXT_TRUE"]="#" +S["LTLIBOBJS"]="" +S["SPELL"]="aspell" +S["LIBOBJS"]="" +S["UNICODE_VERSION"]="9.0.0" +S["LN_S"]="ln -s" +S["EGREP"]="/usr/bin/grep -E" +S["GREP"]="/usr/bin/grep" +S["CPP"]="gcc -E" +S["am__fastdepCC_FALSE"]="#" +S["am__fastdepCC_TRUE"]="" +S["CCDEPMODE"]="depmode=gcc3" +S["am__nodep"]="_no" +S["AMDEPBACKSLASH"]="\\" +S["AMDEP_FALSE"]="#" +S["AMDEP_TRUE"]="" +S["am__quote"]="" +S["am__include"]="include" +S["DEPDIR"]=".deps" +S["OBJEXT"]="o" +S["EXEEXT"]="" +S["ac_ct_CC"]="gcc" +S["CPPFLAGS"]="" +S["LDFLAGS"]="" +S["CFLAGS"]="-g -O2" +S["CC"]="gcc" +S["MAINT"]="#" +S["MAINTAINER_MODE_FALSE"]="" +S["MAINTAINER_MODE_TRUE"]="#" +S["AM_BACKSLASH"]="\\" +S["AM_DEFAULT_VERBOSITY"]="1" +S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)" +S["AM_V"]="$(V)" +S["am__untar"]="$${TAR-tar} xf -" +S["am__tar"]="$${TAR-tar} chof - \"$$tardir\"" +S["AMTAR"]="$${TAR-tar}" +S["am__leading_dot"]="." +S["SET_MAKE"]="" +S["AWK"]="gawk" +S["mkdir_p"]="$(MKDIR_P)" +S["MKDIR_P"]="/usr/bin/mkdir -p" +S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" +S["STRIP"]="" +S["install_sh"]="${SHELL} /home/jie/project/joe/install-sh" +S["MAKEINFO"]="${SHELL} /home/jie/project/joe/missing makeinfo" +S["AUTOHEADER"]="${SHELL} /home/jie/project/joe/missing autoheader" +S["AUTOMAKE"]="${SHELL} /home/jie/project/joe/missing automake-1.14" +S["AUTOCONF"]="${SHELL} /home/jie/project/joe/missing autoconf" +S["ACLOCAL"]="${SHELL} /home/jie/project/joe/missing aclocal-1.14" +S["VERSION"]="4.6" +S["PACKAGE"]="joe" +S["CYGPATH_W"]="echo" +S["am__isrc"]="" +S["INSTALL_DATA"]="${INSTALL} -m 644" +S["INSTALL_SCRIPT"]="${INSTALL}" +S["INSTALL_PROGRAM"]="${INSTALL}" +S["target_os"]="linux-gnu" +S["target_vendor"]="unknown" +S["target_cpu"]="x86_64" +S["target"]="x86_64-unknown-linux-gnu" +S["host_os"]="linux-gnu" +S["host_vendor"]="unknown" +S["host_cpu"]="x86_64" +S["host"]="x86_64-unknown-linux-gnu" +S["build_os"]="linux-gnu" +S["build_vendor"]="unknown" +S["build_cpu"]="x86_64" +S["build"]="x86_64-unknown-linux-gnu" +S["target_alias"]="" +S["host_alias"]="" +S["build_alias"]="" +S["LIBS"]="-lm -lncurses " +S["ECHO_T"]="" +S["ECHO_N"]="-n" +S["ECHO_C"]="" +S["DEFS"]="-DHAVE_CONFIG_H" +S["mandir"]="${datarootdir}/man" +S["localedir"]="${datarootdir}/locale" +S["libdir"]="${exec_prefix}/lib" +S["psdir"]="${docdir}" +S["pdfdir"]="${docdir}" +S["dvidir"]="${docdir}" +S["htmldir"]="${docdir}" +S["infodir"]="${datarootdir}/info" +S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" +S["oldincludedir"]="/usr/include" +S["includedir"]="${prefix}/include" +S["localstatedir"]="${prefix}/var" +S["sharedstatedir"]="${prefix}/com" +S["sysconfdir"]="${prefix}/etc" +S["datadir"]="${datarootdir}" +S["datarootdir"]="${prefix}/share" +S["libexecdir"]="${exec_prefix}/libexec" +S["sbindir"]="${exec_prefix}/sbin" +S["bindir"]="${exec_prefix}/bin" +S["program_transform_name"]="s,x,x," +S["prefix"]="/home/jie/project/joe/bin" +S["exec_prefix"]="${prefix}" +S["PACKAGE_URL"]="" +S["PACKAGE_BUGREPORT"]="" +S["PACKAGE_STRING"]="joe 4.6" +S["PACKAGE_VERSION"]="4.6" +S["PACKAGE_TARNAME"]="joe" +S["PACKAGE_NAME"]="joe" +S["PATH_SEPARATOR"]=":" +S["SHELL"]="/bin/bash" +_ACAWK +cat >>"$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +D["PACKAGE_NAME"]=" \"joe\"" +D["PACKAGE_TARNAME"]=" \"joe\"" +D["PACKAGE_VERSION"]=" \"4.6\"" +D["PACKAGE_STRING"]=" \"joe 4.6\"" +D["PACKAGE_BUGREPORT"]=" \"\"" +D["PACKAGE_URL"]=" \"\"" +D["PACKAGE"]=" \"joe\"" +D["VERSION"]=" \"4.6\"" +D["HAVE_OPENPTY"]=" 1" +D["HAVE_LOGIN_TTY"]=" 1" +D["TERMINFO"]=" 1" +D["HAVE_SNPRINTF"]=" 1" +D["HAVE_DIRENT_H"]=" 1" +D["HAVE_POSIX_TERMIOS"]=" 1" +D["GWINSZ_IN_SYS_IOCTL"]=" 1" +D["HAVE_ERRNO_H"]=" 1" +D["HAVE_FCNTL_H"]=" 1" +D["HAVE_LOCALE_H"]=" 1" +D["HAVE_SGTTY_H"]=" 1" +D["HAVE_STDLIB_H"]=" 1" +D["HAVE_STRING_H"]=" 1" +D["HAVE_SYS_IOCTL_H"]=" 1" +D["HAVE_SYS_PARAM_H"]=" 1" +D["HAVE_SYS_TIME_H"]=" 1" +D["HAVE_UNISTD_H"]=" 1" +D["HAVE_UTIME_H"]=" 1" +D["HAVE_TIME_H"]=" 1" +D["HAVE_PWD_H"]=" 1" +D["HAVE_PATHS_H"]=" 1" +D["HAVE_PTY_H"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_STAT_H"]=" 1" +D["HAVE_SYS_WAIT_H"]=" 1" +D["HAVE_LIMITS_H"]=" 1" +D["HAVE_SIGNAL_H"]=" 1" +D["HAVE_CURSES_H"]=" 1" +D["HAVE_UTMP_H"]=" 1" +D["HAVE_STDDEF_H"]=" 1" +D["HAVE_TERM_H"]=" 1" +D["HAVE_SELINUX_SELINUX_H"]=" 1" +D["HAVE_SELINUX_CONTEXT_H"]=" 1" +D["HAVE_SELINUX"]=" 1" +D["PROTOTYPES"]=" 1" +D["__PROTOTYPES"]=" 1" +D["HAVE_LONG_LONG"]=" 1" +D["SIZEOF_CHAR"]=" 1" +D["SIZEOF_SHORT"]=" 2" +D["SIZEOF_INT"]=" 4" +D["SIZEOF_LONG"]=" 8" +D["SIZEOF_LONG_LONG"]=" 8" +D["SIZEOF_VOID_P"]=" 8" +D["LSTAT_FOLLOWS_SLASHED_SYMLINK"]=" 1" +D["SETPGRP_VOID"]=" 1" +D["SIZEOF_OFF_T"]=" 8" +D["RETSIGTYPE"]=" void" +D["HAVE_FORK"]=" 1" +D["HAVE_VFORK"]=" 1" +D["HAVE_WORKING_VFORK"]=" 1" +D["HAVE_WORKING_FORK"]=" 1" +D["HAVE_GETCWD"]=" 1" +D["HAVE_GETWD"]=" 1" +D["HAVE_ISBLANK"]=" 1" +D["HAVE_WORKING_ISBLANK"]=" 1" +D["HAVE_ALARM"]=" 1" +D["HAVE_MKDIR"]=" 1" +D["HAVE_MKSTEMP"]=" 1" +D["HAVE_PUTENV"]=" 1" +D["HAVE_SETLOCALE"]=" 1" +D["HAVE_STRCHR"]=" 1" +D["HAVE_STRDUP"]=" 1" +D["HAVE_UTIME"]=" 1" +D["HAVE_SETPGID"]=" 1" +D["HAVE_SETITIMER"]=" 1" +D["HAVE_SIGACTION"]=" 1" +D["HAVE_SIGINTERRUPT"]=" 1" +D["HAVE_SIGPROCMASK"]=" 1" +D["HAVE_SIN"]=" 1" +D["HAVE_COS"]=" 1" +D["HAVE_TAN"]=" 1" +D["HAVE_EXP"]=" 1" +D["HAVE_SQRT"]=" 1" +D["HAVE_CBRT"]=" 1" +D["HAVE_LOG"]=" 1" +D["HAVE_LOG10"]=" 1" +D["HAVE_ASIN"]=" 1" +D["HAVE_ACOS"]=" 1" +D["HAVE_ATAN"]=" 1" +D["HAVE_SINH"]=" 1" +D["HAVE_COSH"]=" 1" +D["HAVE_TANH"]=" 1" +D["HAVE_ASINH"]=" 1" +D["HAVE_ACOSH"]=" 1" +D["HAVE_ATANH"]=" 1" +D["HAVE_FLOOR"]=" 1" +D["HAVE_CEIL"]=" 1" +D["HAVE_FABS"]=" 1" +D["HAVE_ERF"]=" 1" +D["HAVE_ERFC"]=" 1" +D["HAVE_J0"]=" 1" +D["HAVE_J1"]=" 1" +D["HAVE_Y0"]=" 1" +D["HAVE_Y1"]=" 1" +D["HAVE_HYPOT"]=" 1" + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { + line = $ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + ac_datarootdir_hack=' + s&@datadir@&${datarootdir}&g + s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g + s&@infodir@&${datarootdir}/info&g + s&@localedir@&${datarootdir}/locale&g + s&@mandir@&${datarootdir}/man&g + s&\${datarootdir}&${prefix}/share&g' ;; +esac +ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +} + +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Older Autoconf quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named 'Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running 'make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "$am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} + ;; + + esac +done # for ac_tag + + +as_fn_exit 0 diff --git a/desktop/Makefile b/desktop/Makefile new file mode 100644 index 0000000..d3461a3 --- /dev/null +++ b/desktop/Makefile @@ -0,0 +1,469 @@ +# Makefile.in generated by automake 1.14.1 from Makefile.am. +# desktop/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994-2013 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. + + + + +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/joe +pkgincludedir = $(includedir)/joe +pkglibdir = $(libdir)/joe +pkglibexecdir = $(libexecdir)/joe +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 = : +build_triplet = x86_64-unknown-linux-gnu +host_triplet = x86_64-unknown-linux-gnu +target_triplet = x86_64-unknown-linux-gnu +subdir = desktop +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(dist_desktop_DATA) +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/joe/autoconf.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_$(V)) +am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(desktopdir)" +DATA = $(dist_desktop_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/jie/project/joe/missing aclocal-1.14 +AMTAR = $${TAR-tar} +AM_DEFAULT_VERBOSITY = 1 +AUTOCONF = ${SHELL} /home/jie/project/joe/missing autoconf +AUTOHEADER = ${SHELL} /home/jie/project/joe/missing autoheader +AUTOMAKE = ${SHELL} /home/jie/project/joe/missing automake-1.14 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CPP = gcc -E +CPPFLAGS = +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /usr/bin/grep -E +EXEEXT = +GREP = /usr/bin/grep +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LDFLAGS = +LIBOBJS = +LIBS = -lm -lncurses +LN_S = ln -s +LTLIBOBJS = +MAINT = # +MAKEINFO = ${SHELL} /home/jie/project/joe/missing makeinfo +MKDIR_P = /usr/bin/mkdir -p +OBJEXT = o +PACKAGE = joe +PACKAGE_BUGREPORT = +PACKAGE_NAME = joe +PACKAGE_STRING = joe 4.6 +PACKAGE_TARNAME = joe +PACKAGE_URL = +PACKAGE_VERSION = 4.6 +PATH_SEPARATOR = : +SET_MAKE = +SHELL = /bin/bash +SPELL = aspell +STRIP = +UNICODE_VERSION = 9.0.0 +VERSION = 4.6 +abs_builddir = /home/jie/project/joe/desktop +abs_srcdir = /home/jie/project/joe/desktop +abs_top_builddir = /home/jie/project/joe +abs_top_srcdir = /home/jie/project/joe +ac_ct_CC = gcc +am__include = include +am__leading_dot = . +am__quote = +am__tar = $${TAR-tar} chof - "$$tardir" +am__untar = $${TAR-tar} xf - +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-unknown-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = unknown +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = ${SHELL} /home/jie/project/joe/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = $(MKDIR_P) +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /home/jie/project/joe/bin +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target = x86_64-unknown-linux-gnu +target_alias = +target_cpu = x86_64 +target_os = linux-gnu +target_vendor = unknown +top_build_prefix = ../ +top_builddir = .. +top_srcdir = .. +desktopdir = $(datarootdir)/applications +dist_desktop_DATA = joe.desktop jmacs.desktop jstar.desktop jpico.desktop +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 ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu desktop/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu desktop/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 +$(am__aclocal_m4_deps): +install-dist_desktopDATA: $(dist_desktop_DATA) + @$(NORMAL_INSTALL) + @list='$(dist_desktop_DATA)'; test -n "$(desktopdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(desktopdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(desktopdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \ + done + +uninstall-dist_desktopDATA: + @$(NORMAL_UNINSTALL) + @list='$(dist_desktop_DATA)'; test -n "$(desktopdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + + +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 "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$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 $(DATA) +installdirs: + for dir in "$(DESTDIR)$(desktopdir)"; 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: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_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 + +html-am: + +info: info-am + +info-am: + +install-data-am: install-dist_desktopDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +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-dist_desktopDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-hook +.MAKE: install-am install-data-am install-strip uninstall-am + +.PHONY: all all-am check check-am clean clean-generic cscopelist-am \ + ctags-am distclean distclean-generic distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-data-hook install-dist_desktopDATA \ + install-dvi install-dvi-am install-exec install-exec-am \ + install-html install-html-am install-info install-info-am \ + install-man 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 tags-am \ + uninstall uninstall-am uninstall-dist_desktopDATA \ + uninstall-hook + + +update-databases: + -update-desktop-database $(desktopdir) + +install-data-hook: update-databases +uninstall-hook: update-databases + +# 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: diff --git a/joe/Makefile b/joe/Makefile new file mode 100644 index 0000000..c5fd087 --- /dev/null +++ b/joe/Makefile @@ -0,0 +1,806 @@ +# Makefile.in generated by automake 1.14.1 from Makefile.am. +# joe/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994-2013 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. + + + + + +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/joe +pkgincludedir = $(includedir)/joe +pkglibdir = $(libdir)/joe +pkglibexecdir = $(libexecdir)/joe +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 = : +build_triplet = x86_64-unknown-linux-gnu +host_triplet = x86_64-unknown-linux-gnu +target_triplet = x86_64-unknown-linux-gnu +bin_PROGRAMS = joe$(EXEEXT) +subdir = joe +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(srcdir)/autoconf.h.in $(top_srcdir)/depcomp \ + $(noinst_HEADERS) TODO +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = autoconf.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__installdirs = "$(DESTDIR)$(bindir)" +PROGRAMS = $(bin_PROGRAMS) +am_joe_OBJECTS = b.$(OBJEXT) blocks.$(OBJEXT) bw.$(OBJEXT) \ + cmd.$(OBJEXT) hash.$(OBJEXT) help.$(OBJEXT) kbd.$(OBJEXT) \ + macro.$(OBJEXT) main.$(OBJEXT) menu.$(OBJEXT) path.$(OBJEXT) \ + poshist.$(OBJEXT) pw.$(OBJEXT) queue.$(OBJEXT) qw.$(OBJEXT) \ + rc.$(OBJEXT) regex.$(OBJEXT) scrn.$(OBJEXT) tab.$(OBJEXT) \ + termcap.$(OBJEXT) tty.$(OBJEXT) tw.$(OBJEXT) ublock.$(OBJEXT) \ + uedit.$(OBJEXT) uerror.$(OBJEXT) ufile.$(OBJEXT) \ + uformat.$(OBJEXT) uisrch.$(OBJEXT) umath.$(OBJEXT) \ + undo.$(OBJEXT) usearch.$(OBJEXT) ushell.$(OBJEXT) \ + utag.$(OBJEXT) va.$(OBJEXT) vfile.$(OBJEXT) vs.$(OBJEXT) \ + w.$(OBJEXT) utils.$(OBJEXT) syntax.$(OBJEXT) utf8.$(OBJEXT) \ + selinux.$(OBJEXT) charmap.$(OBJEXT) mouse.$(OBJEXT) \ + lattr.$(OBJEXT) gettext.$(OBJEXT) builtin.$(OBJEXT) \ + builtins.$(OBJEXT) vt.$(OBJEXT) mmenu.$(OBJEXT) \ + state.$(OBJEXT) options.$(OBJEXT) unicode.$(OBJEXT) \ + cclass.$(OBJEXT) frag.$(OBJEXT) colors.$(OBJEXT) \ + unicat-9.0.0.$(OBJEXT) +joe_OBJECTS = $(am_joe_OBJECTS) +joe_LDADD = $(LDADD) +AM_V_P = $(am__v_P_$(V)) +am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I. +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_$(V)) +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_$(V)) +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(joe_SOURCES) +DIST_SOURCES = $(joe_SOURCES) +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +HEADERS = $(noinst_HEADERS) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + distdir +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ + $(LISP)autoconf.h.in +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = ${SHELL} /home/jie/project/joe/missing aclocal-1.14 +AMTAR = $${TAR-tar} +AM_DEFAULT_VERBOSITY = 1 +AUTOCONF = ${SHELL} /home/jie/project/joe/missing autoconf +AUTOHEADER = ${SHELL} /home/jie/project/joe/missing autoheader +AUTOMAKE = ${SHELL} /home/jie/project/joe/missing automake-1.14 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CPP = gcc -E +CPPFLAGS = +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /usr/bin/grep -E +EXEEXT = +GREP = /usr/bin/grep +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LDFLAGS = +LIBOBJS = +LIBS = -lm -lncurses +LN_S = ln -s +LTLIBOBJS = +MAINT = # +MAKEINFO = ${SHELL} /home/jie/project/joe/missing makeinfo +MKDIR_P = /usr/bin/mkdir -p +OBJEXT = o +PACKAGE = joe +PACKAGE_BUGREPORT = +PACKAGE_NAME = joe +PACKAGE_STRING = joe 4.6 +PACKAGE_TARNAME = joe +PACKAGE_URL = +PACKAGE_VERSION = 4.6 +PATH_SEPARATOR = : +SET_MAKE = +SHELL = /bin/bash +SPELL = aspell +STRIP = +UNICODE_VERSION = 9.0.0 +VERSION = 4.6 +abs_builddir = /home/jie/project/joe/joe +abs_srcdir = /home/jie/project/joe/joe +abs_top_builddir = /home/jie/project/joe +abs_top_srcdir = /home/jie/project/joe +ac_ct_CC = gcc +am__include = include +am__leading_dot = . +am__quote = +am__tar = $${TAR-tar} chof - "$$tardir" +am__untar = $${TAR-tar} xf - +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-unknown-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = unknown +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = ${SHELL} /home/jie/project/joe/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = $(MKDIR_P) +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /home/jie/project/joe/bin +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target = x86_64-unknown-linux-gnu +target_alias = +target_cpu = x86_64 +target_os = linux-gnu +target_vendor = unknown +top_build_prefix = ../ +top_builddir = .. +top_srcdir = .. +AUTOMAKE_OPTIONS = foreign +SUBDIRS = util +EXTRA_DIST = TODO +sysconf_joedir = $(sysconfdir)/joe +data_joedir = $(datadir)/joe +noinst_HEADERS = b.h blocks.h bw.h cmd.h config.h hash.h help.h kbd.h \ + macro.h main.h menu.h path.h poshist.h pw.h queue.h qw.h rc.h regex.h \ + scrn.h tab.h termcapj.h tty.h tw.h types.h ublock.h uedit.h uerror.h \ + ufile.h uformat.h uisrch.h umath.h undo.h usearch.h ushell.h utag.h \ + utils.h va.h vfile.h vs.h w.h utf8.h syntax.h charmap.h mouse.h \ + lattr.h gettext.h builtin.h vt.h mmenu.h state.h options.h selinux.h \ + unicode.h cclass.h frag.h colors.h + +AM_CPPFLAGS = -DJOERC="\"$(sysconf_joedir)/\"" -DJOEDATA="\"$(data_joedir)/\"" + +# joe_LDADD = -lm +joe_SOURCES = b.c blocks.c bw.c cmd.c hash.c help.c kbd.c macro.c main.c menu.c \ + path.c poshist.c pw.c queue.c qw.c rc.c regex.c scrn.c tab.c termcap.c \ + tty.c tw.c ublock.c uedit.c uerror.c ufile.c uformat.c uisrch.c umath.c \ + undo.c usearch.c ushell.c utag.c va.c vfile.c vs.c w.c utils.c syntax.c \ + utf8.c selinux.c charmap.c mouse.c lattr.c gettext.c builtin.c \ + builtins.c vt.c mmenu.c state.c options.c unicode.c \ + cclass.c frag.c colors.c unicat-9.0.0.c + +termidx_SOURCES = termidx.c +stringify_SOURCES = stringify.c +all: autoconf.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +.SUFFIXES: .c .o .obj +$(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 ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign joe/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign joe/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 +$(am__aclocal_m4_deps): + +autoconf.h: stamp-h1 + @test -f $@ || rm -f stamp-h1 + @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 + +stamp-h1: $(srcdir)/autoconf.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status joe/autoconf.h +$(srcdir)/autoconf.h.in: # $(am__configure_deps) + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f autoconf.h stamp-h1 +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ + fi; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p \ + ; then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' \ + -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' \ + `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files + +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) + +joe$(EXEEXT): $(joe_OBJECTS) $(joe_DEPENDENCIES) $(EXTRA_joe_DEPENDENCIES) + @rm -f joe$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(joe_OBJECTS) $(joe_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +include ./$(DEPDIR)/b.Po +include ./$(DEPDIR)/blocks.Po +include ./$(DEPDIR)/builtin.Po +include ./$(DEPDIR)/builtins.Po +include ./$(DEPDIR)/bw.Po +include ./$(DEPDIR)/cclass.Po +include ./$(DEPDIR)/charmap.Po +include ./$(DEPDIR)/cmd.Po +include ./$(DEPDIR)/colors.Po +include ./$(DEPDIR)/frag.Po +include ./$(DEPDIR)/gettext.Po +include ./$(DEPDIR)/hash.Po +include ./$(DEPDIR)/help.Po +include ./$(DEPDIR)/kbd.Po +include ./$(DEPDIR)/lattr.Po +include ./$(DEPDIR)/macro.Po +include ./$(DEPDIR)/main.Po +include ./$(DEPDIR)/menu.Po +include ./$(DEPDIR)/mmenu.Po +include ./$(DEPDIR)/mouse.Po +include ./$(DEPDIR)/options.Po +include ./$(DEPDIR)/path.Po +include ./$(DEPDIR)/poshist.Po +include ./$(DEPDIR)/pw.Po +include ./$(DEPDIR)/queue.Po +include ./$(DEPDIR)/qw.Po +include ./$(DEPDIR)/rc.Po +include ./$(DEPDIR)/regex.Po +include ./$(DEPDIR)/scrn.Po +include ./$(DEPDIR)/selinux.Po +include ./$(DEPDIR)/state.Po +include ./$(DEPDIR)/syntax.Po +include ./$(DEPDIR)/tab.Po +include ./$(DEPDIR)/termcap.Po +include ./$(DEPDIR)/tty.Po +include ./$(DEPDIR)/tw.Po +include ./$(DEPDIR)/ublock.Po +include ./$(DEPDIR)/uedit.Po +include ./$(DEPDIR)/uerror.Po +include ./$(DEPDIR)/ufile.Po +include ./$(DEPDIR)/uformat.Po +include ./$(DEPDIR)/uisrch.Po +include ./$(DEPDIR)/umath.Po +include ./$(DEPDIR)/undo.Po +include ./$(DEPDIR)/unicat-9.0.0.Po +include ./$(DEPDIR)/unicode.Po +include ./$(DEPDIR)/usearch.Po +include ./$(DEPDIR)/ushell.Po +include ./$(DEPDIR)/utag.Po +include ./$(DEPDIR)/utf8.Po +include ./$(DEPDIR)/utils.Po +include ./$(DEPDIR)/va.Po +include ./$(DEPDIR)/vfile.Po +include ./$(DEPDIR)/vs.Po +include ./$(DEPDIR)/vt.Po +include ./$(DEPDIR)/w.Po + +.c.o: + $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< + $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +# $(AM_V_CC)source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(COMPILE) -c -o $@ $< + +.c.obj: + $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` + $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +# $(AM_V_CC)source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +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 "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile $(PROGRAMS) $(HEADERS) autoconf.h +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(bindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_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-recursive + +clean-am: clean-binPROGRAMS clean-generic mostlyclean-am + +distclean: distclean-recursive + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-hdr distclean-local distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: install-binPROGRAMS + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-compile mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-binPROGRAMS + +.MAKE: $(am__recursive_targets) all install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ + check-am clean clean-binPROGRAMS clean-generic cscopelist-am \ + ctags ctags-am distclean distclean-compile distclean-generic \ + distclean-hdr distclean-local distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-binPROGRAMS 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-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ + ps ps-am tags tags-am uninstall uninstall-am \ + uninstall-binPROGRAMS + + +distclean-local: + rm -f *~ + +.PHONY: termcap + +# 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: diff --git a/joe/autoconf.h b/joe/autoconf.h new file mode 100644 index 0000000..b9f88cf --- /dev/null +++ b/joe/autoconf.h @@ -0,0 +1,415 @@ +/* joe/autoconf.h. Generated from autoconf.h.in by configure. */ +/* joe/autoconf.h.in. Generated from configure.ac by autoheader. */ + +/* Define to 1 if `TIOCGWINSZ' requires . */ +#define GWINSZ_IN_SYS_IOCTL 1 + +/* If we have acos() */ +#define HAVE_ACOS 1 + +/* If we have acosh() */ +#define HAVE_ACOSH 1 + +/* Define to 1 if you have the `alarm' function. */ +#define HAVE_ALARM 1 + +/* If we have asin() */ +#define HAVE_ASIN 1 + +/* If we have asinh() */ +#define HAVE_ASINH 1 + +/* If we have atan() */ +#define HAVE_ATAN 1 + +/* If we have atanh() */ +#define HAVE_ATANH 1 + +/* If we have cbrt() */ +#define HAVE_CBRT 1 + +/* If we have ceil() */ +#define HAVE_CEIL 1 + +/* If we have cos() */ +#define HAVE_COS 1 + +/* If we have cosh() */ +#define HAVE_COSH 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_CURSES_H 1 + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +#define HAVE_DIRENT_H 1 + +/* If we have erf() */ +#define HAVE_ERF 1 + +/* If we have erfc() */ +#define HAVE_ERFC 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* If we have exp() */ +#define HAVE_EXP 1 + +/* If we have fabs() */ +#define HAVE_FABS 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* If we have floor() */ +#define HAVE_FLOOR 1 + +/* Define to 1 if you have the `fork' function. */ +#define HAVE_FORK 1 + +/* Define to 1 if you have the `getcwd' function. */ +#define HAVE_GETCWD 1 + +/* Define to 1 if you have the `getwd' function. */ +#define HAVE_GETWD 1 + +/* If we have hypot() */ +#define HAVE_HYPOT 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_INTTYPES_H */ + +/* Define to 1 if you have the `isblank' function. */ +#define HAVE_ISBLANK 1 + +/* If we have j0() */ +#define HAVE_J0 1 + +/* If we have j1() */ +#define HAVE_J1 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LIBUTIL_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_LOCALE_H 1 + +/* If we have log() */ +#define HAVE_LOG 1 + +/* If we have log10() */ +#define HAVE_LOG10 1 + +/* If we have BSD function login_tty() */ +#define HAVE_LOGIN_TTY 1 + +/* Define to 1 if the system has the type `long long'. */ +#define HAVE_LONG_LONG 1 + +/* Define to 1 if `lstat' has the bug that it succeeds when given the + zero-length file name argument. */ +/* #undef HAVE_LSTAT_EMPTY_STRING_BUG */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_MEMORY_H */ + +/* Define to 1 if you have the `mkdir' function. */ +#define HAVE_MKDIR 1 + +/* Define to 1 if you have the `mkstemp' function. */ +#define HAVE_MKSTEMP 1 + +/* Define to 1 if you have the header file, and it defines `DIR'. */ +/* #undef HAVE_NDIR_H */ + +/* If we have BSD function openpty() */ +#define HAVE_OPENPTY 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_PATHS_H 1 + +/* We have and */ +#define HAVE_POSIX_TERMIOS 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_PTY_H 1 + +/* Define to 1 if you have the `putenv' function. */ +#define HAVE_PUTENV 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_PWD_H 1 + +/* We have SELinux headers */ +#define HAVE_SELINUX 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SELINUX_CONTEXT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SELINUX_SELINUX_H 1 + +/* Define to 1 if you have the `setitimer' function. */ +#define HAVE_SETITIMER 1 + +/* Define to 1 if you have the `setlocale' function. */ +#define HAVE_SETLOCALE 1 + +/* Define to 1 if you have the `setpgid' function. */ +#define HAVE_SETPGID 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SGTTY_H 1 + +/* Define to 1 if you have the `sigaction' function. */ +#define HAVE_SIGACTION 1 + +/* Define if you have the `sighandler_t' type. */ +/* #undef HAVE_SIGHANDLER_T */ + +/* Define to 1 if you have the `siginterrupt' function. */ +#define HAVE_SIGINTERRUPT 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SIGNAL_H 1 + +/* Define to 1 if you have the `sigprocmask' function. */ +#define HAVE_SIGPROCMASK 1 + +/* Define to 1 if you have the `sigvec' function. */ +/* #undef HAVE_SIGVEC */ + +/* If we have sin() */ +#define HAVE_SIN 1 + +/* If we have sinh() */ +#define HAVE_SINH 1 + +/* If we have snprintf */ +#define HAVE_SNPRINTF 1 + +/* If we have sqrt() */ +#define HAVE_SQRT 1 + +/* Define to 1 if `stat' has the bug that it succeeds when given the + zero-length file name argument. */ +/* #undef HAVE_STAT_EMPTY_STRING_BUG */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STDDEF_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STDINT_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the `strchr' function. */ +#define HAVE_STRCHR 1 + +/* Define to 1 if you have the `strdup' function. */ +#define HAVE_STRDUP 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STRINGS_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* We have and */ +/* #undef HAVE_SYSV_TERMIO */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_DIRENT_H */ + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +/* #undef HAVE_SYS_DIR_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_IOCTL_H 1 + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +/* #undef HAVE_SYS_NDIR_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_TERMIO_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_UTIME_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_WAIT_H 1 + +/* If we have tan() */ +#define HAVE_TAN 1 + +/* If we have tanh() */ +#define HAVE_TANH 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_TERMIO_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_TERM_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_TIME_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if you have the `utime' function. */ +#define HAVE_UTIME 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UTIME_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UTMP_H 1 + +/* Define to 1 if you have the `vfork' function. */ +#define HAVE_VFORK 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_VFORK_H */ + +/* Define to 1 if `fork' works. */ +#define HAVE_WORKING_FORK 1 + +/* Define if isblank() works with expressions with side effects */ +#define HAVE_WORKING_ISBLANK 1 + +/* Define to 1 if `vfork' works. */ +#define HAVE_WORKING_VFORK 1 + +/* If we have y0() */ +#define HAVE_Y0 1 + +/* If we have y1() */ +#define HAVE_Y1 1 + +/* Define to 1 if `lstat' dereferences a symlink specified with a trailing + slash. */ +#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 + +/* Define if we have to reinstall signal handler when invoked */ +/* #undef NEED_TO_REINSTALL_SIGNAL */ + +/* Name of package */ +#define PACKAGE "joe" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "joe" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "joe 4.6" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "joe" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "4.6" + +/* Define to 1 if the C compiler supports function prototypes. */ +#define PROTOTYPES 1 + +/* Define as the return type of signal handlers (`int' or `void'). */ +#define RETSIGTYPE void + +/* Define if setpgrp() takes no arguments */ +#define SETPGRP_VOID 1 + +/* The size of `char', as computed by sizeof. */ +#define SIZEOF_CHAR 1 + +/* The size of `int', as computed by sizeof. */ +#define SIZEOF_INT 4 + +/* The size of `long', as computed by sizeof. */ +#define SIZEOF_LONG 8 + +/* The size of `long long', as computed by sizeof. */ +#define SIZEOF_LONG_LONG 8 + +/* The size of `off_t', as computed by sizeof. */ +#define SIZEOF_OFF_T 8 + +/* The size of `short', as computed by sizeof. */ +#define SIZEOF_SHORT 2 + +/* The size of `void *', as computed by sizeof. */ +#define SIZEOF_VOID_P 8 + +/* Define to 1 if you have the ANSI C header files. */ +/* #undef STDC_HEADERS */ + +/* If we have newer terminfo/termcap capabilities */ +#define TERMINFO 1 + +/* Version number of package */ +#define VERSION "4.6" + +/* Enable large inode numbers on Mac OS X 10.5. */ +#ifndef _DARWIN_USE_64_BIT_INODE +# define _DARWIN_USE_64_BIT_INODE 1 +#endif + +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + +/* Check to see if we can use strict prototypes */ +#ifndef PARAMS +# ifdef PROTOTYPES +# define PARAMS(protos) protos +# else +# define PARAMS(protos) () +# endif +#endif + +/* Define like PROTOTYPES; this can be used by system headers. */ +#define __PROTOTYPES 1 + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define to `long int' if does not define. */ +/* #undef off_t */ + +/* Define to `int' if does not define. */ +/* #undef pid_t */ + +/* Define to `unsigned int' if does not define. */ +/* #undef size_t */ + +/* Define to `int' if does not define. */ +/* #undef ssize_t */ + +/* Define as `fork' if `vfork' does not work. */ +/* #undef vfork */ diff --git a/joe/joe b/joe/joe new file mode 100755 index 0000000..a21e1bb Binary files /dev/null and b/joe/joe differ diff --git a/joe/stamp-h1 b/joe/stamp-h1 new file mode 100644 index 0000000..e45bf99 --- /dev/null +++ b/joe/stamp-h1 @@ -0,0 +1 @@ +timestamp for joe/autoconf.h diff --git a/joe/usearch.c b/joe/usearch.c index cf70a68..d1181b2 100644 --- a/joe/usearch.c +++ b/joe/usearch.c @@ -777,7 +777,7 @@ static int set_pattern(W *w, char *s, void *obj, int *notify) if (opt_icase) p = joe_gettext(_("case (S)ensitive (R)eplace (B)ackwards Bloc(K) (%{help} for help): ")); else - p = joe_gettext(_("(I)gnore (R)eplace (B)ackwards Bloc(K) (%{help} for help): ")); + p = joe_gettext(_("(A)ll (I)gnore (R)eplace (B)ackwards Bloc(K) (%{help} for help): ")); if (sLEN(s) || !globalsrch || !pico) { setpat(srch, s); diff --git a/joe/util/Makefile b/joe/util/Makefile new file mode 100644 index 0000000..89d79c3 --- /dev/null +++ b/joe/util/Makefile @@ -0,0 +1,574 @@ +# Makefile.in generated by automake 1.14.1 from Makefile.am. +# joe/util/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994-2013 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. + + + + +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/joe +pkgincludedir = $(includedir)/joe +pkglibdir = $(libdir)/joe +pkglibexecdir = $(libexecdir)/joe +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 = : +build_triplet = x86_64-unknown-linux-gnu +host_triplet = x86_64-unknown-linux-gnu +target_triplet = x86_64-unknown-linux-gnu +noinst_PROGRAMS = termidx$(EXEEXT) stringify$(EXEEXT) uniproc$(EXEEXT) \ + checkwidths$(EXEEXT) +subdir = joe/util +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ + $(top_srcdir)/depcomp README +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/joe/autoconf.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +PROGRAMS = $(noinst_PROGRAMS) +am_checkwidths_OBJECTS = checkwidths.$(OBJEXT) +checkwidths_OBJECTS = $(am_checkwidths_OBJECTS) +checkwidths_LDADD = $(LDADD) +am_stringify_OBJECTS = stringify.$(OBJEXT) +stringify_OBJECTS = $(am_stringify_OBJECTS) +stringify_LDADD = $(LDADD) +am_termidx_OBJECTS = termidx.$(OBJEXT) +termidx_OBJECTS = $(am_termidx_OBJECTS) +termidx_LDADD = $(LDADD) +am_uniproc_OBJECTS = uniproc.$(OBJEXT) +uniproc_OBJECTS = $(am_uniproc_OBJECTS) +uniproc_LDADD = $(LDADD) +AM_V_P = $(am__v_P_$(V)) +am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I. -I$(top_builddir)/joe +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_$(V)) +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_$(V)) +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(checkwidths_SOURCES) $(stringify_SOURCES) \ + $(termidx_SOURCES) $(uniproc_SOURCES) +DIST_SOURCES = $(checkwidths_SOURCES) $(stringify_SOURCES) \ + $(termidx_SOURCES) $(uniproc_SOURCES) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/jie/project/joe/missing aclocal-1.14 +AMTAR = $${TAR-tar} +AM_DEFAULT_VERBOSITY = 1 +AUTOCONF = ${SHELL} /home/jie/project/joe/missing autoconf +AUTOHEADER = ${SHELL} /home/jie/project/joe/missing autoheader +AUTOMAKE = ${SHELL} /home/jie/project/joe/missing automake-1.14 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CPP = gcc -E +CPPFLAGS = +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /usr/bin/grep -E +EXEEXT = +GREP = /usr/bin/grep +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LDFLAGS = +LIBOBJS = +LIBS = -lm -lncurses +LN_S = ln -s +LTLIBOBJS = +MAINT = # +MAKEINFO = ${SHELL} /home/jie/project/joe/missing makeinfo +MKDIR_P = /usr/bin/mkdir -p +OBJEXT = o +PACKAGE = joe +PACKAGE_BUGREPORT = +PACKAGE_NAME = joe +PACKAGE_STRING = joe 4.6 +PACKAGE_TARNAME = joe +PACKAGE_URL = +PACKAGE_VERSION = 4.6 +PATH_SEPARATOR = : +SET_MAKE = +SHELL = /bin/bash +SPELL = aspell +STRIP = +UNICODE_VERSION = 9.0.0 +VERSION = 4.6 +abs_builddir = /home/jie/project/joe/joe/util +abs_srcdir = /home/jie/project/joe/joe/util +abs_top_builddir = /home/jie/project/joe +abs_top_srcdir = /home/jie/project/joe +ac_ct_CC = gcc +am__include = include +am__leading_dot = . +am__quote = +am__tar = $${TAR-tar} chof - "$$tardir" +am__untar = $${TAR-tar} xf - +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-unknown-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = unknown +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = ${SHELL} /home/jie/project/joe/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = $(MKDIR_P) +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /home/jie/project/joe/bin +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target = x86_64-unknown-linux-gnu +target_alias = +target_cpu = x86_64 +target_os = linux-gnu +target_vendor = unknown +top_build_prefix = ../../ +top_builddir = ../.. +top_srcdir = ../.. +AUTOMAKE_OPTIONS = foreign +EXTRA_DIST = \ + unicode-8-0-0/Blocks.txt \ + unicode-8-0-0/CaseFolding.txt \ + unicode-8-0-0/EastAsianWidth.txt \ + unicode-8-0-0/UnicodeData.txt \ + unicode-9-0-0/Blocks.txt \ + unicode-9-0-0/CaseFolding.txt \ + unicode-9-0-0/EastAsianWidth.txt \ + unicode-9-0-0/UnicodeData.txt \ + unicode-10-0-0/Blocks.txt \ + unicode-10-0-0/CaseFolding.txt \ + unicode-10-0-0/EastAsianWidth.txt \ + unicode-10-0-0/UnicodeData.txt \ + README + +termidx_SOURCES = termidx.c +stringify_SOURCES = stringify.c +uniproc_SOURCES = uniproc.c +checkwidths_SOURCES = checkwidths.c +all: all-am + +.SUFFIXES: +.SUFFIXES: .c .o .obj +$(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 ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign joe/util/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign joe/util/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 +$(am__aclocal_m4_deps): + +clean-noinstPROGRAMS: + -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) + +checkwidths$(EXEEXT): $(checkwidths_OBJECTS) $(checkwidths_DEPENDENCIES) $(EXTRA_checkwidths_DEPENDENCIES) + @rm -f checkwidths$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(checkwidths_OBJECTS) $(checkwidths_LDADD) $(LIBS) + +stringify$(EXEEXT): $(stringify_OBJECTS) $(stringify_DEPENDENCIES) $(EXTRA_stringify_DEPENDENCIES) + @rm -f stringify$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(stringify_OBJECTS) $(stringify_LDADD) $(LIBS) + +termidx$(EXEEXT): $(termidx_OBJECTS) $(termidx_DEPENDENCIES) $(EXTRA_termidx_DEPENDENCIES) + @rm -f termidx$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(termidx_OBJECTS) $(termidx_LDADD) $(LIBS) + +uniproc$(EXEEXT): $(uniproc_OBJECTS) $(uniproc_DEPENDENCIES) $(EXTRA_uniproc_DEPENDENCIES) + @rm -f uniproc$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(uniproc_OBJECTS) $(uniproc_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +include ./$(DEPDIR)/checkwidths.Po +include ./$(DEPDIR)/stringify.Po +include ./$(DEPDIR)/termidx.Po +include ./$(DEPDIR)/uniproc.Po + +.c.o: + $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< + $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +# $(AM_V_CC)source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(COMPILE) -c -o $@ $< + +.c.obj: + $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` + $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +# $(AM_V_CC)source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +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 "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$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 $(PROGRAMS) +installdirs: +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: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_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 clean-noinstPROGRAMS mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-local distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ + clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \ + distclean-compile distclean-generic distclean-local \ + distclean-tags 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-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ + tags tags-am uninstall uninstall-am + + +distclean-local: + rm -f *~ + +# 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: diff --git a/joe/util/checkwidths b/joe/util/checkwidths new file mode 100755 index 0000000..82003ed Binary files /dev/null and b/joe/util/checkwidths differ diff --git a/joe/util/stringify b/joe/util/stringify new file mode 100755 index 0000000..9751b28 Binary files /dev/null and b/joe/util/stringify differ diff --git a/joe/util/termidx b/joe/util/termidx new file mode 100755 index 0000000..8c95900 Binary files /dev/null and b/joe/util/termidx differ diff --git a/joe/util/uniproc b/joe/util/uniproc new file mode 100755 index 0000000..bdbe6a5 Binary files /dev/null and b/joe/util/uniproc differ diff --git a/man/Makefile b/man/Makefile new file mode 100644 index 0000000..bff1987 --- /dev/null +++ b/man/Makefile @@ -0,0 +1,673 @@ +# Makefile.in generated by automake 1.14.1 from Makefile.am. +# man/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994-2013 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. + + + +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/joe +pkgincludedir = $(includedir)/joe +pkglibdir = $(libdir)/joe +pkglibexecdir = $(libexecdir)/joe +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 = : +build_triplet = x86_64-unknown-linux-gnu +host_triplet = x86_64-unknown-linux-gnu +target_triplet = x86_64-unknown-linux-gnu +subdir = man +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/joe/autoconf.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_$(V)) +am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +man1dir = $(mandir)/man1 +am__installdirs = "$(DESTDIR)$(man1dir)" +NROFF = nroff +MANS = $(man_MANS) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + distdir +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = ${SHELL} /home/jie/project/joe/missing aclocal-1.14 +AMTAR = $${TAR-tar} +AM_DEFAULT_VERBOSITY = 1 +AUTOCONF = ${SHELL} /home/jie/project/joe/missing autoconf +AUTOHEADER = ${SHELL} /home/jie/project/joe/missing autoheader +AUTOMAKE = ${SHELL} /home/jie/project/joe/missing automake-1.14 +AWK = gawk +CC = gcc +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CPP = gcc -E +CPPFLAGS = +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /usr/bin/grep -E +EXEEXT = +GREP = /usr/bin/grep +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LDFLAGS = +LIBOBJS = +LIBS = -lm -lncurses +LN_S = ln -s +LTLIBOBJS = +MAINT = # +MAKEINFO = ${SHELL} /home/jie/project/joe/missing makeinfo +MKDIR_P = /usr/bin/mkdir -p +OBJEXT = o +PACKAGE = joe +PACKAGE_BUGREPORT = +PACKAGE_NAME = joe +PACKAGE_STRING = joe 4.6 +PACKAGE_TARNAME = joe +PACKAGE_URL = +PACKAGE_VERSION = 4.6 +PATH_SEPARATOR = : +SET_MAKE = +SHELL = /bin/bash +SPELL = aspell +STRIP = +UNICODE_VERSION = 9.0.0 +VERSION = 4.6 +abs_builddir = /home/jie/project/joe/man +abs_srcdir = /home/jie/project/joe/man +abs_top_builddir = /home/jie/project/joe +abs_top_srcdir = /home/jie/project/joe +ac_ct_CC = gcc +am__include = include +am__leading_dot = . +am__quote = +am__tar = $${TAR-tar} chof - "$$tardir" +am__untar = $${TAR-tar} xf - +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-unknown-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = unknown +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = ${SHELL} /home/jie/project/joe/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = $(MKDIR_P) +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /home/jie/project/joe/bin +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target = x86_64-unknown-linux-gnu +target_alias = +target_cpu = x86_64 +target_os = linux-gnu +target_vendor = unknown +top_build_prefix = ../ +top_builddir = .. +top_srcdir = .. +sysconf_joedir = $(sysconfdir)/joe +data_joedir = $(datadir)/joe +data_docdir = $(docdir) +SUBDIRS = ru +man_MANS = joe.1 +EXTRA_DIST = joe.1.in +MOSTLYCLEANFILES = $(man_MANS) +all: all-recursive + +.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 ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \ + $(am__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 +$(am__aclocal_m4_deps): +install-man1: $(man_MANS) + @$(NORMAL_INSTALL) + @list1=''; \ + list2='$(man_MANS)'; \ + test -n "$(man1dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ + echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ + { for i in $$list1; do echo "$$i"; done; \ + if test -n "$$list2"; then \ + for i in $$list2; do echo "$$i"; done \ + | sed -n '/\.1[a-z]*$$/p'; \ + fi; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ + done; } + +uninstall-man1: + @$(NORMAL_UNINSTALL) + @list=''; test -n "$(man1dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.1[a-z]*$$/p'; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +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 "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile $(MANS) +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(man1dir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_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-recursive + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-man + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: install-man1 + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-man + +uninstall-man: uninstall-man1 + +.MAKE: $(am__recursive_targets) install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \ + check-am clean clean-generic cscopelist-am ctags ctags-am \ + distclean distclean-generic distclean-tags 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-man1 install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am uninstall-man uninstall-man1 + + +joe.1 : joe.1.in + LC_ALL=C sed 's,@JOERC\@,$(sysconf_joedir),; s,@JOEDOC\@,$(data_docdir),; s,@JOEDATA\@,$(data_joedir),; s,@SPELL\@,aspell,; s,@BINDIR\@,$(bindir),' $(srcdir)/joe.1.in > $@ + +# 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: diff --git a/man/joe.1 b/man/joe.1 new file mode 100644 index 0000000..2f33465 --- /dev/null +++ b/man/joe.1 @@ -0,0 +1,6002 @@ +.\" generated with Ronn/v0.7.3 +.\" http://github.com/rtomayko/ronn/tree/0.7.3 +. +.TH "JOE" "" "March 2016" "" "" +. +.SH "NAME" +\fBJOE\fR \- Joe\'s Own Editor +. +.SH "Syntax" +\fBjoe [global\-options] [ [local\-options] filename ]\.\.\.\fR +. +.br +\fBjstar [global\-options] [ [local\-options] filename ]\.\.\.\fR +. +.br +\fBjmacs [global\-options] [ [local\-options] filename ]\.\.\.\fR +. +.br +\fBrjoe [global\-options] [ [local\-options] filename ]\.\.\.\fR +. +.br +\fBjpico [global\-options] [ [local\-options] filename ]\.\.\.\fR +. +.SH "Description" +JOE is a powerful console screen editor\. It has a "mode\-less" user interface which is similar to many user\-friendly PC editors\. Users of Micro\-Pro\'s WordStar or Borland\'s "Turbo" languages will feel at home\. JOE is a full featured UNIX screen\-editor though, and has many features for editing programs and text\. +. +.P +JOE also emulates several other editors\. JSTAR is a close imitation of WordStar with many "JOE" extensions\. JPICO is a close imitation of the Pine mailing system\'s PICO editor, but with many extensions and improvements\. JMACS is a GNU\-EMACS imitation\. RJOE is a restricted version of JOE, which allows you to edit only the files specified on the command line\. +. +.P +Although JOE is actually five different editors, it still requires only one executable, but one with five different names\. The name of the editor with an "rc" appended gives the name of JOE\'s initialization file, which determines the personality of the editor\. +. +.P +JOE is free software; you can distribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation\. JOE is available over the Internet from \fIhttp://www\.sourceforge\.net/projects/joe\-editor\fR\. +. +.SH "Usage" +To start the editor, type \fBjoe\fR followed by zero or more names of files you want to edit\. Each file name may be preceded by a local option setting (see the local options table which follows)\. Other global options, which apply to the editor as a whole, may also be placed on the command line (see the global options table which follows)\. If you are editing a new file, you can either give the name of the new file when you invoke the editor, or in the editor when you save the new file\. A modified syntax for file names is provided to allow you to edit program output, standard input/output, or sections of files or devices\. See the section \fIFilenames\fR below for details\. +. +.P +Once you are in the editor, you can type in text and use special control\-character sequences to perform other editing tasks\. To find out what the control\-character sequences are, read the rest of this man page or type \fB^K H\fR for help in the editor\. +. +.P +Now for some obscure computer\-lore: +. +.P +The \fB^\fR means that you hold down the \fBControl\fR key while pressing the following key (the same way the \fBShift\fR key works for uppercase letters)\. A number of control\-key sequences are duplicated on other keys, so that you don\'t need to press the control key: \fBEsc\fR will work in place of \fB^[\fR, \fBDel\fR will work in place of \fB^?\fR, \fBBackspace\fR will work in place of \fB^H\fR, \fBTab\fR will work in place of \fB^I\fR, \fBReturn\fR or \fBEnter\fR will work in place of \fB^M\fR and \fBLinefeed\fR will work in place of \fB^J\fR\. Some keyboards may give you trouble with some control keys\. \fB^\fR_, \fB^^\fR and \fB^@\fR can usually be entered without pressing shift (i\.e\., try \fB^\-\fR, \fB^6\fR and \fB^2\fR)\. Other keyboards may reassign these to other keys\. Try: \fB^\.\fR, \fB^,\fR and \fB^/\fR\. \fB^Space\fR can usually be used in place of \fB^@\fR\. \fB^\e\fR and \fB^]\fR are interpreted by many communication programs, including telnet and kermit\. Usually you just hit the key twice to get it to pass through the communication program\. +. +.P +On some keyboards, holding the \fBAlt\fR key down while pressing another key is the same as typing \fBEsc\fR before typing the other key\. +. +.P +Once you have typed \fB^K H\fR, the first help window appears at the top of the screen\. You can continue to enter and edit text while the help window is on\. To page through other topics, hit \fBEsc ,\fR and \fBEsc \.\fR (that is, \fBEsc ,\fR and \fBEsc \.\fR)\. Use \fB^K H\fR to dismiss the help window\. +. +.P +You can customize the keyboard layout, the help screens and a number of behavior defaults by copying JOE\'s initialization file (usually \fB/etc/joe/joerc\fR) to \fB\.joerc\fR in your home directory and then by modifying it\. See the section \fIjoerc\fR below\. +. +.P +To have JOE used as your default editor for e\-mail and News, you need to set the \fBEDITOR\fR and \fBVISUAL\fR environment variables in your shell initialization file (\fB\.cshrc\fR or \fB\.profile\fR) to refer to JOE (JOE usually resides as \fB/usr/bin/joe\fR)\. +. +.P +There are a number of other obscure invocation parameters which may have to be set, particularly if your terminal screen is not updating as you think it should\. See the section \fIEnvironment variables\fR below\. +. +.P + \fI\fR +. +.SH "Command Line Options" +These options can also be specified in the joerc file\. Local options can be set depending on the file\-name extension\. Programs (\.c, \.h or \.p extension) usually have autoindent enabled\. Wordwrap is enabled on other files, but rc files have it disabled\. +. +.P +An option is enabled when it\'s given like this: +. +.IP "" 4 +. +.nf + +\-wordwrap +. +.fi +. +.IP "" 0 +. +.P +An option is disabled when it\'s given like this: +. +.IP "" 4 +. +.nf + +\-\-wordwrap +. +.fi +. +.IP "" 0 +. +.P +Some options take arguments\. Arguments are given like this: +. +.IP "" 4 +. +.nf + +\-lmargin 5 +. +.fi +. +.IP "" 0 +. +.P +The following global options may be specified on the command line: +. +.IP "\(bu" 4 +asis +. +.br +Characters with codes above 127 will be sent to the terminal as\-is, instead of as inverse of the corresponding character below 128\. If this does not work, check your terminal server\. This option has no effect if UTF\-8 encoding is used\. +. +.br + +. +.IP "\(bu" 4 +assume_256color +. +.br +Assume ANSI\-like terminal emulator supports 256 colors even if termcap entry says it doesn\'t\. +. +.br + +. +.IP "\(bu" 4 +assume_color +. +.br +Assume ANSI\-like terminal emulator supports color even if termcap entry says it doesn\'t\. +. +.br + +. +.IP "\(bu" 4 +text_color \fBcolor\fR +. +.br +Set color for text\. +. +.br + +. +.IP "\(bu" 4 +status_color \fBcolor\fR +. +.br +Set color for status bar\. +. +.br + +. +.IP "\(bu" 4 +help_color \fBcolor\fR +. +.br +Set color for help\. +. +.br + +. +.IP "\(bu" 4 +menu_color \fBcolor\fR +. +.br +Set color for menus\. +. +.br + +. +.IP "\(bu" 4 +prompt_color \fBcolor\fR +. +.br +Set color for prompts\. +. +.br + +. +.IP "\(bu" 4 +msg_color \fBcolor\fR +. +.br +Set color for messages\. +. +.br + +. +.IP "\(bu" 4 +autoswap +. +.br +Automatically swap \fB^K B\fR with \fB^K K\fR if necessary to mark a legal block during block copy/move commands\. +. +.br + +. +.IP "\(bu" 4 +backpath path +. +.br +Sets path to a directory where all backup files are to be stored\. If this is unset (the default) backup files are stored in the directory containing the file\. +. +.br + +. +.IP "\(bu" 4 +baud nnn +. +.br +Set the baud rate for the purposes of terminal screen optimization (overrides value reported by stty)\. JOE inserts delays for baud rates below 19200, which bypasses tty buffering so that typeahead will interrupt the screen output\. Scrolling commands will not be used for 38400 baud and above\. This is useful for X\-terms and other console ttys which really aren\'t going over a serial line\. +. +.br + +. +.IP "\(bu" 4 +beep +. +.br +Enable beeps when edit commands return errors, for example when the cursor goes past extremes\. +. +.br + +. +.IP "\(bu" 4 +break_links +. +.br +When enabled, JOE first deletes the file before writing it in order to break hard\-links and symbolic\-links\. +. +.br + +. +.IP "\(bu" 4 +break_hardlinks +. +.br +When enabled, and the file is not a symbolic links, JOE first deletes the file before writing it in order to break hard\-links\. +. +.br + +. +.IP "\(bu" 4 +brpaste +. +.br +When JOE starts, send command to the terminal emulator that enables "bracketed paste mode" (but only if the terminal seems to have the ANSI command set)\. In this mode, text pasted into the window is bracketed with ESC [ 2 0 0 ~ and ESC [ 2 0 1 ~\. +. +.br + +. +.IP "\(bu" 4 +columns nnn +. +.br +Set number of columns in terminal emulator (in case termcap entry is wrong)\. This is only useful on old system which don\'t have the "get window size" ioctl\. +. +.br + +. +.IP "\(bu" 4 +csmode +. +.br +Enable continued search mode: Successive \fB^K F\fRs repeat the current search instead of prompting for a new one\. +. +.br + +. +.IP "\(bu" 4 +dopadding +. +.br +Enable JOE to send padding NULs to the terminal (for very old terminals)\. +. +.br + +. +.IP "\(bu" 4 +exask +. +.br +When set, \fB^K X\fR prompts for a new name before saving the file\. +. +.br + +. +.IP "\(bu" 4 +floatmouse +. +.br +When set, mouse clicks can position the cursor beyond the ends of lines\. +. +.br + +. +.IP "\(bu" 4 +guess_crlf +. +.br +When set, JOE tries to guess the file format MS\-DOS or UNIX\. +. +.br + +. +.IP "\(bu" 4 +guess_indent +. +.br +When set, JOE tries to guess the indentation character and indentation step based on the contents of the file\. The algorithm is to find the greatest common factor of the three most common indentations found in the file\. +. +.br + +. +.IP "\(bu" 4 +guess_non_utf8 +. +.br +When set, enable guessing of non\-UTF\-8 files in UTF\-8 locales\. +. +.br + +. +.IP "\(bu" 4 +guess_utf8 +. +.br +When set, enable guessing of UTF\-8 files in non\-UTF\-8 locales\. +. +.br + +. +.IP "\(bu" 4 +guess_utf16 +. +.br +When set, enable guessing of UTF\-16 files\. If a UTF\-16BE or UTF\-16LE file is detected, it is converted to UTF\-8 during load, and converted back to UTF\-16 during save\. +. +.br + +. +.IP "\(bu" 4 +helpon +. +.br +When set, start off with the on\-line help enabled\. +. +.br + +. +.IP "\(bu" 4 +help_is_utf8 +. +.br +When set, the help text in the joerc file is assumed to be UTF\-8\. +. +.br + +. +.IP "\(bu" 4 +icase +. +.br +Search is case insensitive by default when set\. +. +.br + +. +.IP "\(bu" 4 +joe_state +. +.br +Enable reading and writing of ~/\.joe_state file +. +.br + +. +.IP "\(bu" 4 +joexterm +. +.br +Set this if xterm was configured with \-\-paste64 option for better mouse support\. +. +.br + +. +.IP "\(bu" 4 +keepup +. +.br +The column number on the status line is updated constantly when this is set, otherwise it is updated only once a second\. +. +.br + +. +.IP "\(bu" 4 +language \fBlanguage\fR +. +.br +Sets language for aspell\. +. +.br + +. +.IP "\(bu" 4 +lightoff +. +.br +Automatically turn off \fB^K B\fR \fB^K K\fR highlighting after a block operation\. +. +.br + +. +.IP "\(bu" 4 +lines nnn +. +.br +Set number of lines in terminal emulator (in case termcap entry is wrong)\. This is only useful on old system which don\'t have the "get window size" ioctl\. +. +.br + +. +.IP "\(bu" 4 +marking +. +.br +Enable marking mode: highlights between \fB^K B\fR and cursor\. +. +.br + +. +.IP "\(bu" 4 +menu_above +. +.br +Put menus above prompt instead of below them\. +. +.br + +. +.IP "\(bu" 4 +menu_explorer +. +.br +Stay in menu when a directory is selected (otherwise the directory is added to the path and the cursor jumps back to the prompt)\. +. +.br + +. +.IP "\(bu" 4 +menu_jump +. +.br +Jump into the file selection menu when \fBTab\fR \fBTab\fR is hit\. +. +.br + +. +.IP "\(bu" 4 +mid +. +.br +If this option is set and the cursor moves off the window, the window will be scrolled so that the cursor is in the center\. This option is forced on slow terminals which don\'t have scrolling commands\. +. +.br + +. +.IP "\(bu" 4 +left nn +. +.br +This sets the number of columns the screen scrolls to the left when cursor moves past the left edge or when the crawll command is issued\. If nn is negative, then it\'s the fraction of the screen to scroll\. For example, \-2 means scroll 1/2 the screen\. +. +.br + +. +.IP "\(bu" 4 +right nn +. +.br +This sets the number of columns the screen scrolls to the right when cursor moves past the right edge or when the crawlr command is issued\. If nn is negative, then it\'s the fraction of the screen to scroll\. For example, \-3 means scroll 1/3 the screen\. +. +.br + +. +.IP "\(bu" 4 +mouse +. +.br +Enable xterm mouse support\. +. +.br + +. +.IP "\(bu" 4 +nobackups +. +.br +Disable backup files\. +. +.br + +. +.IP "\(bu" 4 +nocurdir +. +.br +Disable current\-directory prefix in prompts\. +. +.br + +. +.IP "\(bu" 4 +noexmsg +. +.br +Disable exiting message ("File not changed so no update needed") +. +.br + +. +.IP "\(bu" 4 +nolinefeeds +. +.br +Disable sending linefeeds to preserve screen history in terminal emulator\'s scroll\-back buffer (only relevant when notite mode is enabled)\. +. +.br +. +.br + +. +.IP "\(bu" 4 +nolocks +. +.br +Disable EMACS compatible file locks\. +. +.br + +. +.IP "\(bu" 4 +nomodcheck +. +.br +Disable periodic file modification check\. +. +.br + +. +.IP "\(bu" 4 +nonotice +. +.br +This option prevents the copyright notice from being displayed when the editor starts\. +. +.br + +. +.IP "\(bu" 4 +nosta +. +.br +This option eliminates the top\-most status line\. It\'s nice for when you only want to see your text on the screen or if you\'re using a vt52\. +. +.br + +. +.IP "\(bu" 4 +notagsmenu +. +.br +Disable selection menu for tags search with multiple results\. +. +.br + +. +.IP "\(bu" 4 +notite +. +.br +Disable ti and te termcap sequences which are usually set up to save and restore the terminal screen contents when JOE starts and exits\. +. +.br + +. +.IP "\(bu" 4 +pastehack +. +.br +If keyboard input comes in as one block assume it\'s a mouse paste and disable autoindent and wordwrap\. +. +.br + +. +.IP "\(bu" 4 +noxon +. +.br +Disable \fB^S\fR and \fB^Q\fR flow control, possibly allowing \fB^S\fR and \fB^Q\fR to be used as editor keys\. +. +.br + +. +.IP "\(bu" 4 +orphan +. +.br +Orphan extra files given on the command line instead of creating windows for them (the files are loaded, but you need to use switch\-buffer commands to access them)\. +. +.br + +. +.IP "\(bu" 4 +pg nnn +. +.br +Set number of lines to keep during Page Up and Page Down (use \-1 for 1/2 window size)\. +. +.br + +. +.IP "\(bu" 4 +regex +. +.br +Use standard regular expression syntax by default, instead of the JOE syntax (where special characters have their meaning only when preceded with backslash)\. +. +.br + +. +.IP "\(bu" 4 +restore +. +.br +Set to have cursor positions restored to last positions of previously edited files\. +. +.br + +. +.IP "\(bu" 4 +rtbutton +. +.br +Swap left and right mouse buttons\. +. +.br + +. +.IP "\(bu" 4 +search_prompting +. +.br +Show previous search string in search command (like in PICO)\. +. +.br + +. +.IP "\(bu" 4 +skiptop nnn +. +.br +When set to N, the first N lines of the terminal screen are not used by JOE and are instead left with their original contents\. This is useful for programs which call JOE to leave a message for the user\. +. +.br + +. +.IP "\(bu" 4 +square +. +.br +Enable rectangular block mode\. +. +.br + +. +.IP "\(bu" 4 +transpose +. +.br +Transpose rows with columns in all menus\. +. +.br + +.IP "\(bu" 4 +title +. +.br +Display context (titles) in status line. When enabled this shows the first line of the function that the cursor is in on the status line\. The syntax file context.jsf identifies which lines are title lines\. +. +.br + +. +.IP "\(bu" 4 +type +. +.br +Select file type, overriding the automatically determined type\. The file types are defined in the \fBftyperc\fR file\. +. +.br + +. +.IP "\(bu" 4 +undo_keep nnn +. +.br +Sets number of undo records to keep (0 means infinite)\. +. +.br + +. +.IP "\(bu" 4 +usetabs +. +.br +Set to allow rectangular block operations to use tabs\. +. +.br + +. +.IP "\(bu" 4 +wrap +. +.br +Enable search to wrap to beginning of file\. +. +.br + +. +.IP "" 0 +. +.P +The following local options may be specified on the command line: +. +.IP "\(bu" 4 ++nnn +. +.br +The cursor starts on the specified line\. +. +.br + +. +.IP "\(bu" 4 +autoindent +. +.br +Enable auto\-indent mode\. When you hit \fBEnter\fR on an indented line, the indentation is duplicated onto the new line\. +. +.br + +. +.IP "\(bu" 4 +c_comment +. +.br +Enable \fB^G\fR skipping of C\-style comments /\fI\.\.\.\fR/ +. +.br + +. +.IP "\(bu" 4 +cpara \fBcharacters\fR +. +.br +Sets list of characters which can indent paragraphs\. +. +.br + +. +.IP "\(bu" 4 +cnotpara \fBcharacters\fR +. +.br +Sets list of characters which begin lines which are definitely not part of paragraphs\. +. +.br + +. +.IP "\(bu" 4 +cpp_comment +. +.br +Enable \fB^G\fR skipping of C++\-style comments // \.\.\. +. +.br + +. +.IP "\(bu" 4 +crlf +. +.br +JOE uses CR\-LF as the end of line sequence instead of just LF\. This is for editing MS\-DOS or VMS files\. +. +.br + +. +.IP "\(bu" 4 +encoding \fBencoding\fR +. +.br +Set file encoding (like utf\-8 or 8859\-1)\. +. +.br + +. +.IP "\(bu" 4 +flowed +. +.br +Set to force an extra space after each line of a paragraph but the last\. +. +.br + +. +.IP "\(bu" 4 +force +. +.br +When set, a final newline is appended to the file if there isn\'t one when the file is saved\. +. +.br + +. +.IP "\(bu" 4 +french +. +.br +When set, only one space is inserted after periods in paragraph reformats instead of two\. +. +.br + +. +.IP "\(bu" 4 +hex +. +.br +Enable hex\-dump mode\. +. +.br + +. +.IP "\(bu" 4 +highlight +. +.br +Enable syntax highlighting\. +. +.br + +. +.IP "\(bu" 4 +highlighter_context +. +.br +Enable use of syntax file to identify comments and strings which should be skipped over during \fB^G\fR matching\. +. +.br + +. +.IP "\(bu" 4 +indentc nnn +. +.br +Sets the indentation character for shift left and shift right (\fB^K ,\fR and \fB^K \.\fR)\. Use 32 for \fBSpace\fR, 9 for \fBTab\fR\. +. +.br + +. +.IP "\(bu" 4 +indentfirst +. +.br +When set, the smart home key jumps to the indentation point first, otherwise it jumps to column 1 first\. +. +.br + +. +.IP "\(bu" 4 +istep nnn +. +.br +Sets indentation step\. +. +.br + +. +.IP "\(bu" 4 +linums +. +.br +Enable line number display\. +. +.br + +. +.IP "\(bu" 4 +lmargin +. +.br +Set left margin\. +. +.br + +. +.IP "\(bu" 4 +lmsg +. +.br +Define left\-side status bar message\. +. +.br + +. +.IP "\(bu" 4 +overwrite +. +.br +Enable overtype mode\. Typing overwrites existing characters instead of inserting before them\. +. +.br + +. +.IP "\(bu" 4 +picture +. +.br +Enable "picture" mode\- allows cursor to go past ends of lines\. +. +.br + +. +.IP "\(bu" 4 +pound_comment +. +.br +\fB^G\fR ignores # \.\.\. comments\. +. +.br + +. +.IP "\(bu" 4 +purify +. +.br +Fix indentation if necessary before shifting or smart backspace\. For example, if indentation uses a mix of tabs and spaces, and indentc is space, then indentation will be converted to all spaces before the shifting operation\. +. +.br + +. +.IP "\(bu" 4 +rdonly +. +.br +Set read\-only mode\. +. +.br + +. +.IP "\(bu" 4 +rmargin nnn +. +.br +Set right margin\. +. +.br + +. +.IP "\(bu" 4 +rmsg \fBstring\fR +. +.br +Define right\-side status bar message\. +. +.br + +. +.IP "\(bu" 4 +semi_comment +. +.br +\fB^G\fR ignores ; \.\.\. comments\. +. +.br + +. +.IP "\(bu" 4 +single_quoted +. +.br +\fB^G\fR ignores \'\.\.\.\' +. +.br + +. +.IP "\(bu" 4 +smartbacks +. +.br +Enable smart backspace and tab\. When this mode is set backspace and tab indent or unindent based on the values of the istep and indentc options\. +. +.br + +. +.IP "\(bu" 4 +smarthome +. +.br +Home key first moves cursor to beginning of line, then if hit again, to the first non\-blank character\. +. +.br + +. +.IP "\(bu" 4 +smsg \fBstring\fR +. +.br +Define status command format when cursor is on a character\. +. +.br + +. +.IP "\(bu" 4 +spaces +. +.br +Insert spaces when \fBTab\fR key is hit\. +. +.br + +. +.IP "\(bu" 4 +syntax \fBsyntax\fR +. +.br +Set syntax for syntax highlighting\. +. +.br + +. +.IP "\(bu" 4 +tab nnn +. +.br +Set tab stop width\. +. +.br + +. +.IP "\(bu" 4 +text_delimiters \fBword delimiter list\fR +. +.br +Give list of word delimiters which \fB^G\fR will step through\. +. +.IP "" 0 +. +.P +For example, "begin=end:if=elif=else=endif" means that \fB^G\fR will jump between the matching if, elif, else and endif\. +. +.IP "\(bu" 4 +vhdl_comment +. +.br +\fB^G\fR ignores \-\- \.\.\. comments +. +.br + +. +.IP "\(bu" 4 +wordwrap +. +.br +JOE wraps the previous word when you type past the right margin\. +. +.br + +. +.IP "\(bu" 4 +zmsg \fBstring\fR +. +.br +Define status command format when cursor is at end of file\. +. +.br + +. +.IP "\(bu" 4 +xmsg \fBstring\fR +. +.br +Define startup message (usually the copyright notice)\. +. +.br + +. +.IP "\(bu" 4 +aborthint \fBstring\fR +. +.br +Give the key sequence to show in prompts for abort (usually ^C)\. +. +.br + +. +.IP "\(bu" 4 +helphint \fBstring\fR +. +.br +Give the key sequence to show in prompts for help (usually ^K H)\. +. +.br + +. +.IP "" 0 +. +.SS "Colors and attributes" +Combine attributes and up to one foreground color and one background color to create arguments for color options like text_color\. For example: bold+bg_green+blue +. +.IP "\(bu" 4 +Attributes: bold, inverse, blink, dim, underline, and italic +. +.IP "\(bu" 4 +Foreground colors: white, cyan, magenta, blue, yellow, green, red, or black +. +.IP "\(bu" 4 +Background colors: bg_white, bg_cyan, bg_magenta, bg_blue, bg_yellow, bg_green, bg_red or bg_black +. +.IP "" 0 +. +.P +With a 16 color or 256 color terminal emulator (export TERM=xterm\-16color), these brighter than normal colors become available: +. +.IP "\(bu" 4 +Foreground: WHITE, CYAN, MAGENTA, BLUE, YELLOW, GREEN, RED or BLACK +. +.IP "\(bu" 4 +Background: bg_WHITE, bg_CYAN, bg_MAGENTA, bg_BLUE, bg_YELLOW, bg_GREEN, bg_RED or bg_BLACK +. +.IP "" 0 +. +.P +With a 256 color terminal emulator (export TERM=xterm\-256color), these become available: +. +.IP "\(bu" 4 +fg_RGB and bg_RGB, where R, G and B rand from 0 \- 5\. So: fg_500 is bright red\. +. +.IP "\(bu" 4 +fg_NN and bg_NN give shades of grey, where the intensity, NN, ranges from 0 \- 23\. +. +.IP "" 0 +. +.SS "Status line definition strings" +\-lmsg defines the left\-justified string and \-rmsg defines the right\-justified string\. The first character of \-rmsg is the background fill character\. +. +.P +\-smsg defines the status command (\fB^K Space\fR)\. \-zmsg defines it when the cursor is at the end of the file\. The last character of smsg or zmsg is the fill character\. +. +.P +The following escape sequences can be used in these strings: +. +.IP "" 4 +. +.nf + +%t 12 hour time +%u 24 hour time +%T O for overtype mode, I for insert mode +%W W if wordwrap is enabled +%I A if autoindent is enabled +%X Rectangle mode indicator +%n File name +%m \'(Modified)\' if file has been changed +%* \'*\' if file has been changed +%R Read\-only indicator +%r Row (line) number +%c Column number +%o Byte offset into file +%O Byte offset into file in hex +%a Ascii value of character under cursor +%A Ascii value of character under cursor in hex +%w Width of character under cursor +%p Percent of file cursor is at +%l No\. lines in file +%k Entered prefix keys +%S \'*SHELL*\' if there is a shell running in window +%M Macro recording message +%y Syntax +%e Encoding +%x Context (first non\-indented line going backwards) +%dd day +%dm month +%dY year +%Ename% value of environment variable +%Tname% value of option (ON or OFF for Boolean options) +. +.fi +. +.IP "" 0 +. +.P +These formatting escape sequences may also be given: +. +.IP "" 4 +. +.nf + +\ei Inverse +\eu Underline +\eb Bold +\ed Dim +\ef Blink +\el Italic +. +.fi +. +.IP "" 0 +. +.P +. +.br +. +.SH "Basic Editing" +When you type characters into the editor, they are normally inserted into the file being edited (or appended to the file if the cursor is at the end of the file)\. This is the normal operating mode of the editor\. If you want to replace some existing text, you have to delete the old text before or after you type in the replacement text\. The \fBBackspace\fR key can be used for deleting text: move the cursor to right after the text you want to delete and hit \fBBackspace\fR a number of times\. +. +.P +Hit the \fBEnter\fR or \fBReturn\fR key to insert a line\-break\. For example, if the cursor was in the middle of a line and you hit \fBEnter\fR, the line would be split into two lines with the cursor appearing at the beginning of the second line\. Hit \fBBackspace\fR at the beginning of a line to eliminate a line\-break\. +. +.P +Use the arrow keys to move around the file\. If your keyboard doesn\'t have arrow keys (or if they don\'t work for some reason), use \fB^F\fR to move forwards (right), \fB^B\fR to move backwards (left), \fB^P\fR to move to the previous line (up), and \fB^N\fR to move to the next line (down)\. The right and left arrow keys simply move forwards or backwards one character at a time through the text: if you\'re at the beginning of a line and you press left\-arrow, you will end up at the end of the previous line\. The up and down arrow keys move forwards and backwards by enough characters so that the cursor appears in the same column that it was in on the original line\. +. +.P +If you want to indent the text you enter, you can use the \fBTab\fR key\. This inserts a special control character which makes the characters which follow it begin at the next tab stop\. Tab stops normally occur every 8 columns, but this can be changed with the \fB^T D\fR command\. PASCAL and C programmers often set tab stops on every 4 columns\. +. +.P +If for some reason your terminal screen gets messed up (for example, if you receive a mail notice from biff), you can have the editor refresh the screen by hitting \fB^R\fR\. +. +.P +There are many other keys for deleting text and moving around the file\. For example, hit \fB^D\fR to delete the character the cursor is on instead of deleting backwards like \fBBackspace\fR\. \fB^D\fR will also delete a line\-break if the cursor is at the end of a line\. Type \fB^Y\fR to delete the entire line the cursor is on or \fB^J\fR to delete just from the cursor to the end of the line\. +. +.P +Hit \fB^A\fR to move the cursor to the beginning of the line it\'s on\. Hit \fB^E\fR to move the cursor to the end of the line\. Hit \fB^U\fR or \fB^V\fR for scrolling the cursor up or down 1/2 a screen\'s worth\. +. +.br +"Scrolling" means that the text on the screen moves, but the cursor stays at the same place relative to the screen\. Hit \fB^K U\fR or \fB^K V\fR to move the cursor to the beginning or the end of the file\. Look at the help screens in the editor to find even more delete and movement commands\. +. +.P +If you make a mistake, you can hit \fB^_\fR to "undo" it\. On most keyboards you hit just \fB^\-\fR to get \fB^_\fR, but on some you might have to hold both the \fBShift\fR and \fBControl\fR keys down at the same time to get it\. If you "undo" too much, you can "redo" the changes back into existence by hitting \fB^^\fR (type this with just \fB^6\fR on most keyboards)\. +. +.SS "Cursor position history" +If you were editing in one place within the file, and you then temporarily had to look or edit some other place within the file, you can get back to the original place by hitting \fB^K \-\fR\. This command actually returns you to the last place you made a change in the file\. You can step through a history of places with \fB^K \-\fR and \fB^K =\fR, in the same way you can step through the history of changes with the "undo" and "redo" commands\. +. +.SS "Save and exit" +When you are done editing the file, hit \fB^K X\fR to exit the editor\. You will be prompted for a file name if you hadn\'t already named the file you were editing\. +. +.P +When you edit a file, you actually edit only a copy of the file\. So if you decide that you don\'t want the changes you made to a file during a particular edit session, you can hit \fB^C\fR to exit the editor without saving them\. +. +.P +If you edit a file and save the changes, a backup copy of that file is created in the current directory, with a \fB~\fR appended to the name, which contains the original version of the file\. +. +.SS "File operations" +You can hit \fB^K D\fR to save the current file (possibly under a different name from what the file was called originally)\. After the file is saved, you can hit \fB^K E\fR to edit a different file\. +. +.P +If you want to save only a selected section of the file, see the section on \fIBlocks\fR below\. +. +.P +If you want to include another file in the file you\'re editing, use \fB^K R\fR to insert it\. +. +.P + \fI\fR +. +.SS "Filenames" +Wherever JOE expects you to enter a file name, whether on the command line or in prompts within the editor, you may also type: +. +.IP "\(bu" 4 +!command +. +.IP "" 0 +. +.P +To read or write data to or from a shell command\. For example, use \fBjoe \'!ls\'\fR to get a copy of your directory listing to edit or from within the editor use \fB^K D !mail jhallen@world\.std\.com\fR to send the file being edited to me\. +. +.IP "\(bu" 4 +>>filename +. +.IP "" 0 +. +.P +Use this to have JOE append the edited text to the end of the file "filename\." +. +.IP "\(bu" 4 +filename,START,SIZE +. +.IP "" 0 +. +.P +Use this to access a fixed section of a file or device\. \fBSTART\fR and \fBSIZE\fR may be entered in decimal (ex\.: 123) octal (ex\.: 0777) or hexadecimal (ex\.: 0xFF)\. For example, use \fBjoe /dev/fd0,508,2\fR to edit bytes 508 and 509 of the first floppy drive in Linux\. +. +.IP "\(bu" 4 +\- +. +.IP "" 0 +. +.P +Use this to get input from the standard input or to write output to the standard output\. For example, you can put JOE in a pipe of commands: \fBquota \-v | joe | mail root\fR, if you want to complain about your low quota\. +. +.SS "Using JOE in a shell script" +JOE used to use /dev/tty to access the terminal\. This caused a problem with idle\-session killers (they would kill JOE because the real tty device was not being accessed for a long time), so now JOE only uses /dev/tty if you need to pipe a file into JOE, as in: +. +.IP "" 4 +. +.nf + +echo "hi" | joe +. +.fi +. +.IP "" 0 +. +.P +If you want to use JOE in a shell script which has its stdin/stdout redirected, but you do not need to pipe to it, you should simply redirect JOE\'s stdin/stdout to /dev/tty: +. +.IP "" 4 +. +.nf + +joe filename /dev/tty +. +.fi +. +.IP "" 0 +. +.P +. +.br +. +.br +. +.SS "Word wrap and formatting" +If you type past the right edge of the screen in a C or PASCAL language file, the screen will scroll to the right to follow the cursor\. If you type past the right edge of the screen in a normal file (one whose name doesn\'t end in \.c, \.h or \.p), JOE will automatically wrap the last word onto the next line so that you don\'t have to hit \fBEnter\fR\. This is called word\-wrap mode\. Word\-wrap can be turned on or off with the \fB^T W\fR command\. JOE\'s initialization file is usually set up so that this mode is automatically turned on for all non\-program files\. See the section below on the \fIjoerc\fR file to change this and other defaults\. +. +.P +Aside for Word\-wrap mode, JOE does not automatically keep paragraphs formatted like some word\-processors\. Instead, if you need a paragraph to be reformatted, hit \fB^K J\fR\. This command "fills in" the paragraph that the cursor is in, fitting as many words in a line as is possible\. A paragraph, in this case, is a block of text separated above and below by a blank line\. +. +.P +The margins which JOE uses for paragraph formatting and word\-wrap can be set with the \fB^T L\fR and \fB^T R\fR commands\. If the left margin is set to a value other than 1, then when you start typing at the beginning of a line, the cursor will immediately jump to the left margin\. +. +.P +There are a number of options which control the paragraph reformatter and word wrapper: +. +.IP "\(bu" 4 +The \fBcpara\fR option provides a list of characters which can indent a paragraph\. For example, in e\-mail quoted matter is indicated by \fB>\fR at the beginnings of line, so this character should be in the cpara list\. +. +.IP "\(bu" 4 +The \fBcnotpara\fR option provides a list of characters which, if they are the first non\-whitespace character of a line, indicate that the line is not to be included as part of a paragraph for formatting\. For example, lines beginning with \'\.\' in nroff can not be paragraph lines\. +. +.IP "\(bu" 4 +Autoindent mode affects the formatter\. If autoindent is disabled, only the first line will be indented\. If autoindent is enabled, the entire paragraph is indented\. +. +.IP "\(bu" 4 +\fBfrench\fR determines how many spaces are inserted after periods\. +. +.IP "\(bu" 4 +When \fBflowed\fR is enabled, a space is inserted after each but the last line of the paragraph\. This indicates that the lines belong together as a single paragraph in some programs\. +. +.IP "\(bu" 4 +When \fBovertype\fR is enabled, the word wrapper will not insert lines\. +. +.IP "" 0 +. +.SS "Centering" +If you want to center a line within the margins, use the \fB^K A\fR command\. +. +.SS "Spell checker" +Hit \fBEsc N\fR to check the spelling of the word the cursor is on using the aspell program (or ispell program if you modify the joerc file)\. Hit \fBEsc L\fR to check the highlighted block or the entire file if no block is highlighted\. +. +.P +JOE passes the language and character encoding to the spell checker\. To change the language, hit \fB^T V\fR\. For example, use en_US for English\. +. +.SS "Overtype mode" +Sometimes it\'s tiresome to have to delete old text before or after you insert new text\. This happens, for example, when you are changing a table and you want to maintain the column position of the right side of the table\. +. +.br +When this occurs, you can put the editor in overtype mode with \fB^T T\fR\. +. +.br +When the editor is in this mode, the characters you type in replace existing characters, in the way an idealized typewriter would\. Also, \fBBackspace\fR simply moves left instead of deleting the character to the left, when it\'s not at the end or beginning of a line\. Overtype mode is not the natural way of dealing with text electronically, so you should go back to insert\-mode as soon as possible by typing \fB^T T\fR again\. +. +.P +If you need to insert while you\'re in overtype mode, hit \fB^@\fR\. This inserts a single \fBSpace\fR into the text\. +. +.SS "Control and Meta characters" +Each character is represented by a number\. For example, the number for \'A\' is 65 and the number for \'1\' is 49\. All of the characters which you normally see have numbers in the range of 32 \- 126 (this particular arbitrary assignment between characters and numbers is called the ASCII character set)\. The numbers outside of this range, from 0 to 255, aren\'t usually displayed, but sometimes have other special meanings\. The number 10, for example, is used for the line\-breaks\. You can enter these special, non\-displayed \fBcontrol characters\fR by first hitting \fB^Q\fR and then hitting a character in the range \fB@ A B C \.\.\. X Y Z [ ^ ] \e _\fR to get the number 0 \- 31, and ? to get 127\. For example, if you hit \fB^Q J\fR, you\'ll insert a line\-break character, or if you hit \fB^Q I\fR, you\'ll insert a \fBTab\fR character (which does the same thing the \fBTab\fR key does)\. A useful control character to enter is 12 (\fB^Q L\fR), which causes most printers to advance to the top of the page\. You\'ll notice that JOE displays this character as an underlined L\. You can enter the characters above 127, the \fBmeta characters\fR, by first hitting \fB^\e\fR\. This adds 128 to the next (possibly control) character entered\. JOE displays characters above 128 in inverse\-video\. Some foreign languages, which have more letters than English, use the meta characters for the rest of their alphabet\. You have to put the editor in \fBasis\fR mode to have these passed untranslated to the terminal\. +. +.P +\fBNote:\fR JOE now normally passes all 8\-bits to the terminal unless the locale is set to C or POSIX\. If the locale is C or POSIX, then the \fBasis\fR flag determines if \fBmeta characters\fR are shown in inverse video or passed directly to the terminal\. +. +.P +\fBNote:\fR In older version of JOE, you had to use \fBEsc \'\fR to enter control characters\. +. +.SH "Character sets and UTF\-8" +JOE natively handles two classes of character sets: UTF\-8 and byte coded (like ISO\-8859\-1)\. For these character sets, the file is loaded as\-is into memory, and is exactly preserved during save, even if it contains UTF\-8 coding errors\. +. +.P +It can not yet natively handle other major classes such as UTF\-16 or GB2312\. There are other restrictions: character sets must use LF (0x0A) or CR\-LF (0x0D \- 0x0A) as line terminators, space must be 0x20 and tab must be 0x09\. Basically, the files must be UNIX or MS\-DOS compatible text files\. +. +.P +This means EBCDIC will not work properly (but you would need to handle fixed record length lines anyway) and character sets which use CR terminated lines (MACs) will not yet work\. +. +.P +JOE now supports UTF\-16 (both big endian and little endian)\. It supports UTF\-16 by converting to UTF\-8 during load, and converting back to UTF\-16 during save\. +. +.P +The terminal and the file can have different encodings\. JOE will translate between the two\. Currently, one of the two must be UTF\-8 for translation to work\. +. +.P +The character set for the terminal and the default character set assumed for files is determined by the \'LC_ALL\' environment variable (and if that\'s not set, LC_CTYPE and LANG are also checked)\. +. +.P +For example, if LC_ALL is set to: +. +.IP "" 4 +. +.nf + +de_DE +. +.fi +. +.IP "" 0 +. +.P +Then the character set will be ISO\-8859\-1\. +. +.P +If LC_ALL is set to: +. +.IP "" 4 +. +.nf + +de_DE\.UTF\-8 +. +.fi +. +.IP "" 0 +. +.P +The character set will be UTF\-8\. +. +.P +Hit \fB^T E\fR to change the coding for the file\. Hit \fBTab\fR \fBTab\fR at this prompt to get a list of available codings\. There are a number of built\-in character sets, plus you can install character sets in the ~/\.joe/charmaps and /usr/share/joe/charmaps directories\. +. +.P +Check: /usr/share/i18n/charmaps for example character set files\. Only byte oriented character sets will work\. Also, the file should not be gzipped (all of the charmap files in /usr/share/i18n/charmaps on my computer were compressed)\. The parser is very bad, so basically the file has to look exactly like the example one in /usr/share/joe/charmaps\. +. +.P +You can hit \fB^K Space\fR to see the current character set\. +. +.P +You can hit \fB^Q x\fR to enter a Unicode character if the file coding is UTF\-8\. +. +.SH "Prompts" +Most prompts record a history of the responses you give them\. You can hit up and down arrow to step through these histories\. +. +.P +Prompts are actually single line windows with no status line, so you can use any editing command that you normally use on text within the prompts\. The prompt history is actually just other lines of the same "prompt file"\. Thus you can can search backwards though the prompt history with the normal \fB^K F\fR command if you want\. +. +.P +Since prompts are windows, you can also switch out of them with \fB^K P\fR and \fB^K N\fR\. +. +.SS "Completion and selection menus" +You can hit \fBTab\fR in just about any prompt to request JOE to complete the word you are typing\. If JOE beeps, there are either no completions or many\. As with the "bash" shell, hit \fBTab\fR twice to bring up a list of all the possibilities\. This list is actually a menu, but by default, the cursor does not jump into it since it is usually easier to just type in your selection\. You can, however, jump into the menu window with \fB^K P\fR (move to previous window) and use the arrow keys and to make your selection\. Also in a menu, you can hit the first letter of any of the items to make the cursor jump directly to it\. The \fB^T\fR option menu works like this\. +. +.P +If the menu is too large to fit in the window, you can hit Page Up and Page Down to scroll it (even if you have not jumped into it)\. +. +.P +\fBTab\fR completion works in the search and replace prompts as well\. In this case, JOE tries to complete the word based on the contents of the buffer\. If you need search for the \fBTab\fR character itself, you can enter it with \fB^Q Tab\fR\. +. +.P +Also, you can hit \fBEsc Enter\fR in a text window to request JOE to complete the word you are typing\. As with the search prompt, JOE tries to complete the word based on the contents of the buffer\. It will bring up a menu of possibilities if you hit \fBEsc Enter\fR twice\. +. +.SH "Where am I?" +Hit \fB^K Space\fR to have JOE report the line number, column number, and byte number on the last line of the screen\. The number associated with the character the cursor is on (its ASCII code) is also shown\. You can have the line number and/or column number always displayed on the status line by placing the appropriate escape sequences in the status line setup strings\. Edit the joerc file for details\. +. +.SH "What if I hit ^K by accident?" +Hit the space bar\. This runs an innocuous command (it shows the line number on the status bar)\. +. +.SH "Temporarily suspending the editor" +If you need to temporarily stop the editor and go back to the shell, hit \fB^K Z\fR\. You might want to do this to stop whatever you\'re editing and answer an e\-mail message or read this man page, for example\. You have to type \fBfg\fR or \fBexit\fR (you\'ll be told which when you hit \fB^K Z\fR) to return to the editor\. +. +.SH "Searching for text" +Hit \fB^K F\fR to have the editor search forwards or backwards for a text fragment (\fBstring\fR) for you\. You will be prompted for the text to search for\. After you hit \fBEnter\fR, you are prompted to enter options\. +. +.br +You can just hit \fBEnter\fR again to have the editor immediately search forwards for the text, or you can enter one or more of these options: +. +.IP "\(bu" 4 +\fBb\fR +. +.br + +. +.IP "" 0 +. +.P +Search backwards instead of forwards\. +. +.IP "\(bu" 4 +\fBi\fR +. +.br + +. +.IP "" 0 +. +.P +Treat uppercase and lower case letters as the same when searching\. Normally uppercase and lowercase letters are considered to be different\. +. +.IP "\(bu" 4 +\fBnnn\fR +. +.br + +. +.IP "" 0 +. +.P +(where \fBnnn\fR is a number) If you enter a number, JOE searches for the Nth occurrence of the text\. This is useful for going to specific places in files structured in some regular manner\. +. +.IP "\(bu" 4 +\fBr\fR +. +.br + +. +.IP "" 0 +. +.P +Replace text\. If you enter the \fBr\fR option, then you will be further prompted for replacement text\. Each time the editor finds the search text, you will be prompted as to whether you want to replace the found search text with the replacement text\. You hit: \fBy\fR to replace the text and then find the next occurrence, \fBn\fR to not replace this text, but to then find the next occurrence, \fBr\fR to replace all of the remaining occurrences of the search text in the remainder of the file without asking for confirmation (subject to the \fBnnn\fR option above), or \fB^C\fR to stop searching and replacing\. +. +.P +You can also hit \fBB\fR or \fBBackspace\fR to back up to the previously found text (if it had been replaced, the replacement is undone)\. +. +.IP "\(bu" 4 +\fBa\fR +. +.br + +. +.IP "" 0 +. +.P +The search covers all loaded buffers\. So to replace all instances of "foo" with "bar" in all \.c files in the current directory: +. +.IP "" 4 +. +.nf + +joe *\.c + ^K F + foo + ra + bar +. +.fi +. +.IP "" 0 +. +.IP "\(bu" 4 +\fBe\fR +. +.br + +. +.IP "" 0 +. +.P +The search covers all files in the grep or make error list\. You can use a UNIX command to generate a list of files and search and replace through the list\. So to replace all instances of "foo" with "bar" in all \.c files which begin with f\. You can also use "ls" and "find" instead of grep to create the file list\. +. +.IP "" 4 +. +.nf + +Esc G + grep \-n foo f*\.c +^K F + foo + re + bar +. +.fi +. +.IP "" 0 +. +.IP "\(bu" 4 +\fBx\fR +. +.br + +. +.IP "" 0 +. +.P +JOE will use the standard syntax for regular expressions if this option is given\. In the standard syntax, these characters have their special meanings directly, and do not have to be escaped with backslash: \., *, +, ?, {, }, (, ), |, ^, $ and [\. +. +.IP "\(bu" 4 +\fBy\fR +. +.br + +. +.IP "" 0 +. +.P +JOE will use the JOE syntax for regular expressions instead of the standard syntax\. This overrides the "\-regex" option\. +. +.IP "\(bu" 4 +\fBv\fR +. +.br + +. +.IP "" 0 +. +.P +JOE will send debug information about the regular expression to the startup log\. The log can be viewed with the showlog command\. +. +.P +You can hit \fB^L\fR to repeat the previous search\. +. +.P +You can hit \fB^K H\fR at the search and replace options prompt to bring up a list of all search and replace options\. +. +.SS "Regular Expressions" +A number of special character sequences may be entered as search text: +. +.IP "\(bu" 4 +\fB\e*\fR +. +.br + +. +.IP "" 0 +. +.P +This finds zero or more of the item to the left\. For example, if you give \fBAB\e*C\fR as the search text, JOE will try to find an A followed by any number of Bs, and then a C\. +. +.IP "\(bu" 4 +\fB\e+\fR +. +.br + +. +.IP "" 0 +. +.P +This finds one or more of the item to the left\. For example, if you give \fBAB\e+C\fR as the search text, JOE will try to find an A followed by one or more Bs, and then a C\. +. +.IP "\(bu" 4 +\fB\e?\fR +. +.br + +. +.IP "" 0 +. +.P +This indicates that the item to the left is optional\. For example, if you give \fBAB\e?C\fR as the search text, JOE will find AC or ABC\. +. +.IP "\(bu" 4 +\fB\e{min,max}\fR +. +.br + +. +.IP "" 0 +. +.P +This indicates that JOE should try to find a string with a specific number of occurrences of the item to the left\. For example, \fBAX\e{2,5}B\fR will match these strings: AXXB, AXXXB, AXXXXB, and AXXXXXB\. Min can be left out to indicate 0 occurrences\. Max (and the comma) can be left out to indicate any number of occurrences\. +. +.IP "\(bu" 4 +\fB\e\.\fR +. +.br + +. +.IP "" 0 +. +.P +This finds exactly one character\. For example, if you give \fBA\e\.B\fR as the search text, JOE will find AXB, but not AB or AXXB\. +. +.IP "\(bu" 4 +\fB\e!\fR +. +.br + +. +.IP "" 0 +. +.P +This works like \fB\.\fR, but matches a balanced C\-language expression\. For example, if you search for \fBmalloc(\e!\e*)\fR, then JOE will find all function calls to \fBmalloc\fR, even if there was a \fB)\fR within the parenthesis\. +. +.IP "\(bu" 4 +\fB\e|\fR +. +.br + +. +.IP "" 0 +. +.P +This finds the item on the left or the item on the right\. For example, if you give \fBA\e|B\fR as the search text, JOE will try to find either an A or a B\. +. +.IP "\(bu" 4 +\fB\e( \e)\fR +. +.br + +. +.IP "" 0 +. +.P +Use these to group characters together\. For example, if you search for \fB\e(foo\e)\e+\fR, then JOE will find strings like "foo", and "foofoofoo"\. +. +.IP "\(bu" 4 +\fB^ \e$\fR +. +.br + +. +.IP "" 0 +. +.P +These match the beginnings and endings of lines\. For example, if you give \fB^test\e$\fR, then JOE with find \fBtest\fR on a line by itself\. +. +.IP "\(bu" 4 +\fB\e\fI\e\e\fR\fR +. +.br + +. +.IP "" 0 +. +.P +These match the beginnings and endings of words\. For example, if you give \fB\e\fIis\e\e\fR\fR, then JOE will find the word "is" but will not find the "is" in "this"\. +. +.IP "\(bu" 4 +\fB\e[\.\.\.]\fR +. +.br + +. +.IP "" 0 +. +.P +This matches any single character which appears within the brackets\. For example, if \fB\e[Tt]his\fR is entered as the search string, then JOE finds both \fBThis\fR and \fBthis\fR\. Ranges of characters can be entered within the brackets\. For example, \fB\e[A\-Z]\fR finds any uppercase letter\. If the first character given in the brackets is \fB^\fR, then JOE tries to find any character not given in the the brackets\. To include \fB\-\fR itself, include it as the last or first character (possibly after \fB^\fR)\. +. +.IP "\(bu" 4 +\fB\e\e\fR +. +.br + +. +.IP "" 0 +. +.P +Matches a single \e\. +. +.IP "\(bu" 4 +\fB\en\fR +. +.br + +. +.IP "" 0 +. +.P +This finds the special end\-of\-line or line\-break character\. +. +.P +A number of special character sequences may also be given in the replacement string: +. +.IP "\(bu" 4 +\fB\e&\fR +. +.br + +. +.IP "" 0 +. +.P +This gets replaced by the text which matched the search string\. For example, if the search string was \fB\e\fI\e*\e\e\fR\fR, which matches words, and you give \fB"\e&"\fR, then JOE will put quote marks around words\. +. +.IP "\(bu" 4 +\fB\e1 \- \e9\fR +. +.br + +. +.IP "" 0 +. +.P +These get replaced with the text which matched the Nth grouping; the text within the Nth set of \e( \e)\. +. +.IP "\(bu" 4 +\fB\el, \eu\fR +. +.br + +. +.IP "" 0 +. +.P +Convert the next character of the replacement text to lowercase or uppercase\. +. +.IP "\(bu" 4 +\fB\eL, \eU\fR +. +.br + +. +.IP "" 0 +. +.P +Convert all following replacement text to lowercase or uppercase\. Conversion stops when \eE is encountered\. +. +.IP "\(bu" 4 +\fB\e\e\fR +. +.br + +. +.IP "" 0 +. +.P +Use this if you need to put a \fB\e\fR in the replacement string\. +. +.IP "\(bu" 4 +\fB\en\fR +. +.br + +. +.IP "" 0 +. +.P +Use this if you need to put a line\-break in the replacement string\. +. +.P +Some examples: +. +.P +Suppose you have a list of addresses, each on a separate line, which starts with "Address:" and has each element separated by commas\. Like so: +. +.P +Address: S\. Holmes, 221b Baker St\., London, England +. +.P +If you wanted to rearrange the list, to get the country first, then the city, then the person\'s name, and then the address, you could do this: +. +.P +Type \fB^K F\fR to start the search, and type: +. +.P +\fBAddress:\e(\e\.\e*\e),\e(\e\.\e*\e),\e(\e\.\e*\e),\e(\e\.\e*\e)\e$\fR +. +.P +to match "Address:", the four comma\-separated elements, and then the end of the line\. When asked for options, you would type \fBr\fR to replace the string, and then type: +. +.P +\fBAddress:\e4,\e3,\e1,\e2\fR +. +.P +To shuffle the information the way you want it\. After hitting return, the search would begin, and the sample line would be changed to: +. +.P +Address: England, London, S\. Holmes, 221b Baker St\. +. +.P + \fI\fR +. +.SS "Escape sequences" +JOE understands the following escape sequences withing search and replacement strings: +. +.IP "\(bu" 4 +\ex{10ffff} +. +.br + +. +.IP "" 0 +. +.P +This matches a specific Unicode code point given in hexadecimal\. +. +.IP "\(bu" 4 +\exFF +. +.br + +. +.IP "" 0 +. +.P +This matches a specific character specified in hexadecimal\. +. +.IP "\(bu" 4 +\e377 +. +.br + +. +.IP "" 0 +. +.P +This matches a specific character specified in octal\. +. +.IP "\(bu" 4 +\ep{Ll} +. +.br + +. +.IP "" 0 +. +.P +This matches any character in the named Unicode category or block\. +. +.P +The block names, such as "Latin\-1 Supplement" or "Arabic" can be found here: +. +.P +Unicode Blocks \fIftp://ftp\.unicode\.org/Public/8\.0\.0/ucd/Blocks\.txt\fR +. +.P +The category names such as "Ll" can be found here: +. +.P +Unicode Categories \fIftp://ftp\.unicode\.org/Public/5\.1\.0/ucd/UCD\.html#General_Category_Values\fR +. +.P +Note that a single letter matches all of the category names which start with that letter\. For example, \ep{N} (any number) include \ep{Nd} (decimal digit), \ep{Nl} (letter number) and \ep{No} (other number)\. +. +.IP "\(bu" 4 +\ed +. +.br + +. +.IP "" 0 +. +.P +This matches any Unicode digit\. This is the same as \ep{Nd}\. +. +.IP "\(bu" 4 +\eD +. +.br + +. +.IP "" 0 +. +.P +This matches anything except for a Unicode digit\. This is the same as \e[^\ep{Nd}]\. +. +.IP "\(bu" 4 +\ew +. +.br + +. +.IP "" 0 +. +.P +This matches any word character\. This is the same as \e[^\ep{C}\ep{P}\ep{Z}]\. +. +.IP "\(bu" 4 +\eW +. +.br + +. +.IP "" 0 +. +.P +This matches anything except for a word character\. This is the same as \e[\ep{C}\ep{P}\ep{Z}]\. +. +.IP "\(bu" 4 +\es +. +.br + +. +.IP "" 0 +. +.P +This matches any space character\. This is the same as \e[\et\er\ef\en\ep{Z}]\. +. +.IP "\(bu" 4 +\eS +. +.br + +. +.IP "" 0 +. +.P +This matches anything except for a spacing character\. This is the same as \e[^\et\er\ef\en\ep{Z}]\. +. +.IP "\(bu" 4 +\ei +. +.br + +. +.IP "" 0 +. +.P +This matches an identifier start character\. This is the same as \e[\ep{L}\ep{Pc}\ep{Nl}]\. +. +.IP "\(bu" 4 +\eI +. +.br + +. +.IP "" 0 +. +.P +This matches anything except for an identifier start character\. This is the same as \e[^\ep{L}\ep{Pc}\ep{Nl}]\. +. +.IP "\(bu" 4 +\ec +. +.br + +. +.IP "" 0 +. +.P +This matches an identifier continuation character\. This is the same as \e[\ei\ep{Mn}\ep{Mc}\ep{Nd}\ex{200c}\ex{200d}]\. +. +.IP "\(bu" 4 +\eC +. +.br + +. +.IP "" 0 +. +.P +This matches anything except for an identifier continuation character\. This is the same as \e[^\ei\ep{Mn}\ep{Mc}\ep{Nd}\ex{200c}\ex{200d}]\. +. +.IP "\(bu" 4 +\et Tab +. +.IP "\(bu" 4 +\en Newline +. +.IP "\(bu" 4 +\er Carriage return +. +.IP "\(bu" 4 +\eb Backspace +. +.IP "\(bu" 4 +\ea Alert +. +.IP "\(bu" 4 +\ef Formfeed +. +.IP "\(bu" 4 +\ee Escape +. +.IP "\(bu" 4 +\e\e Backslash +. +.IP "" 0 +. +.SH "Incremental search" +Use \fBEsc S\fR to start an increment search forwards, or \fBEsc R\fR to start an incremental search backwards\. As you type the search string, the cursor will jump to the first text that matches the regular expression you have entered so far\. +. +.P +Hit \fBEsc S\fR or \fBEsc R\fR again to find the next occurrence of the text or to switch the direction of the search\. +. +.P +\fB^S\fR, \fB^\e\fR and \fB^L\fR have the same effect as \fBEsc S\fR\. \fB^R\fR has the same effect as \fBEsc R\fR\. These keys are to support JMACS\. +. +.P +Hit \fBBackspace\fR to undo the last incremental search action\. The last action could be a repeat of a previous search or the entering of a new character\. +. +.P +Use \fB^Q\fR to insert control characters into the search text\. Previously, ` could also be used for this\. +. +.P +Hit any other key to exit the increment search\. +. +.SH "Goto matching delimiter" +Hit \fB^G\fR to jump between matching delimiters\. This works on both character delimiters (like \'(\' and \')\') and word delimiters for languages like Pascal and Verilog which use "begin" and "end" to delimit blocks\. It also works for matching start and end tags in XML\. If a word is not known, \fB^G\fR starts a search with the word moved into the search prompt\. +. +.P +For \fB^G\fR to work on word delimiters, the cursor must be positioned on the first letter of the word\. So in XML, if the cursor is on the < in , it will jump to the >\. But if it is one the \'f\', it will jump to the matching \. Likewise, in C, \fB^G\fR will jump between #if, #else and #endif, but you need to position the cursor on the letter, not the \'#\'\. +. +.P +\fB^G\fR is smart enough to skip delimiters found in quoted or commented\-out matter\. You need to tell JOE how your language indicates this: see the \fBftyperc\fR file for examples of how this is done\. +. +.P +The are a number of options which control the behavior of \fB^G\fR\. These options control which kinds of comments \fB^G\fR can skip over: +. +.IP "\(bu" 4 +c_comment +. +.IP "\(bu" 4 +cpp_comment +. +.IP "\(bu" 4 +pount_comment +. +.IP "\(bu" 4 +semi_comment +. +.IP "\(bu" 4 +vhdl_comment +. +.IP "" 0 +. +.P +These options determine which kinds of strings \fB^G\fR can skip over: +. +.IP "\(bu" 4 +single_quoted +. +.IP "\(bu" 4 +double_quoted +. +.IP "" 0 +. +.P +This option allows an annotated syntax file to determine which text can be counted as comments or strings which can be skipped over by \fB^G\fR: +. +.IP "\(bu" 4 +highlighter_context +. +.IP "" 0 +. +.P +This option enables the use of syntax files to identify comments and strings which should be skipped over during \fB^G\fR matching\. The syntax file states should be annotated with the \fBstring\fR and \fBcomment\fR keywords for this to work\. +. +.IP "\(bu" 4 +text_delimiters +. +.IP "" 0 +. +.P +This option provides a list of word delimiters to match\. For example, "begin=end:if=elif=else=endif" means that \fB^G\fR will jump between the matching if, elif, else and endif\. It will also jump between begin and end\. +. +.P +\fB^G\fR has a built\-in table for matching character delimiters\- it knows that \fB(\fR goes with \fB)\fR\. +. +.P +\fB^G\fR has a built\-in parser to handle start/end tag matching for XML\. +. +.P + \fI\fR +. +.SH "Regions" +If you want to move, copy, save or delete a specific section of text, you can do it with highlighted blocks\. First, move the cursor to the start of the section of text you want to work on, and press \fB^K B\fR\. Then move the cursor to the character just after the end of the text you want to affect and press \fB^K K\fR\. The text between the \fB^K B\fR and \fB^K K\fR should become highlighted\. Now you can move your cursor to someplace else in your document and press \fB^K M\fR to move the highlighted text there\. +. +.br +You can press \fB^K C\fR to make a copy of the highlighted text and insert it to where the cursor is positioned\. \fB^K Y\fR to deletes the highlighted text\. \fB^K W\fR, writes the highlighted text to a file\. +. +.P +A very useful command is \fB^K /\fR, which filters a block of text through a UNIX command\. For example, if you select a list of words with \fB^K B\fR and \fB^K K\fR, and then type \fB^K / sort\fR, the list of words will be sorted\. Another useful UNIX command for \fB^K /\fR, is \fBtr\fR\. If you type \fB^K / tr a\-z A\-Z\fR, then all of the letters in the highlighted block will be converted to uppercase\. +. +.SS "How do I deselect a highlighted region?" +After you are finished with some region operations, you can just leave the highlighting on if you don\'t mind it (but don\'t accidentally hit \fB^K Y\fR)\. If it really bothers you, however, just hit \fB^K B ^K K\fR, to turn the highlighting off\. +. +.P +Beginning with JOE 4\.2, you can hit \fB^C\fR to cancel the region selection\. +. +.SS "New ways of selecting regions" +The classic way is to hit \fB^K B\fR at the beginning and \fB^K K\fR at the end\. These set pointers called markb and markk\. Once these are set you can jump to markb with \fBEsc B\fR and jump to markk with \fBEsc K\fR\. +. +.P +New way: hit Ctrl\-\fBRight Arrow\fR to start selecting rightward\. Each time you hit Ctrl\-\fBRight Arrow\fR, the block is extended one more to the right\. This uses a simple macro: "begin_marking,rtarw,toggle_marking"\. +. +.P +Unfortunately, there is no standard way to get the keysequence given by the terminal emulator when you hit Ctrl\-\fBRight Arrow\fR\. Instead you have to determine this sequence yourself and enter it directly in the joerc file\. Some examples are given for Xterm and gnome\-terminal\. Hit \fB^Q\fR Ctrl\-\fBRight Arrow\fR within JOE to have the sequence shown on your screen\. Note that Putty uses \fBEsc Esc [ C\fR which will not appear with \fB^Q Right Arrow\fR (also \fBEsc Esc\fR is the set bookmark command, so you need to unbind it to do this in Putty)\. +. +.P +Also you can hit Ctrl\-\fBDelete\fR to cut and Ctrl\-\fBInsert\fR to paste if the sequence for these keys are known\. +. +.P +The mouse can also be used to select text if mouse support is enabled in JOE\. +. +.SH "Indenting program blocks" +Auto\-indent mode is toggled with the \fB^T I\fR command\. The \fBjoerc\fR file is normally set up so that files with names ending with \.p, \.c or \.h have auto\-indent mode enabled\. When auto\-indent mode is enabled and you hit \fBEnter\fR, the cursor will be placed in the same column that the first non\-whitespace character was on in the original line\. +. +.P +You can use the \fB^K ,\fR and \fB^K \.\fR commands to shift a block of text to the left or right\. If no highlighting is set when you give these commands, the program block (as indicated by indentation) that the cursor is located in will be selected, and will be moved by subsequent \fB^K ,\fR and \fB^K \.\fR commands\. +. +.P +The number of columns these commands shift by and the character used for shifting can be set through the istep and indentc options\. These options are available in the \fB^T\fR menu\. Also, \fB^T =\fR can be used to quickly select from a number of common values for indentation step and character\. +. +.P +JOE has a number of additional options related to indenting programs: +. +.IP "\(bu" 4 +smartbacks +. +.br +Enable smart backspace and tab\. When this mode is set \fBBackspace\fR and \fBTab\fR indent or unindent based on the values of the istep and indentc options\. +. +.br + +. +.IP "\(bu" 4 +smarthome +. +.br +The \fBHome\fR and \fB^A\fR keys first move the cursor to the beginning of the line, then if hit again, to the first non\-blank character\. +. +.br + +. +.IP "\(bu" 4 +indentfirst +. +.br +Smart home goes to first non\-blank character first, instead of going to the beginning of the line first\. +. +.br + +. +.IP "\(bu" 4 +purify +. +.br +Fix indentation if necessary before shifting or smart backspace\. For example, if indentation uses a mix of tabs and spaces, and indentc is space, then indentation will be converted to all spaces before the shifting operation\. +. +.br + +. +.IP "\(bu" 4 +guess_indent +. +.br +When set, JOE tries to guess the indentation character and indentation step based on the contents of the file\. The algorithm is to find the greatest common factor of the three most common indentations found in the file\. +. +.br + +. +.IP "" 0 +. +.SH "Rectangle mode" +Type \fB^T X\fR to have \fB^K B\fR and \fB^K K\fR select rectangular blocks instead of stream\-of\-text blocks\. This is also known as columnar mode\. This mode is useful for moving, copying, deleting or saving columns of text\. You can also filter columns of text with the \fB^K /\fR command\- if you want to sort a column, for example\. The insert file command, \fB^K R\fR is also affected\. +. +.P +When rectangle mode is selected, overtype mode is also useful (\fB^T T\fR)\. When overtype mode is selected, rectangles will replace existing text instead of getting inserted before it\. Also the delete block command (\fB^K Y\fR) will clear the selected rectangle with \fBSpaces\fR and \fBTabs\fR instead of deleting it\. Overtype mode is especially useful for the filter block command (\fB^K /\fR), since it will maintain the original width of the selected column\. +. +.SH "Picture mode" +Use \fB^T P\fR to enter or exit picture mode\. Picture mode helps with ASCII drawings\. +. +.P +Picture mode controls how JOE handles the case where the cursor is past the ends of lines\. This happens when you use the up or down arrow keys to move the cursor from the end of a long line to a short line\. +. +.P +If you attempt to type a character in this case: +. +.P +If picture mode is off, the cursor will jump to the end of the line and insert it there\. +. +.P +If picture mode is on, the line is filled with spaces so that the character can be inserted at the cursor position\. +. +.SH "Windows" +You can edit more than one file at the same time or edit two or more different places of the same file\. To do this, hit \fB^K O\fR, to split the screen into two windows\. Use \fB^K P\fR or \fB^K N\fR to move the cursor into the top window or the lower window\. Use \fB^K E\fR to edit a new file in one of the windows\. A window will go away when you save the file with \fB^K X\fR or abort the file with \fB^C\fR\. If you abort a file which exists in two windows, one of the window goes away, not the file\. +. +.P +You can hit \fB^K O\fR within a window to create even more windows\. If you have too many windows on the screen, but you don\'t want to eliminate them, you can hit \fB^K I\fR\. This will show only the window the cursor is in, or if there was only one window on the screen to begin with, try to fit all hidden windows on the screen\. If there are more windows than can fit on the screen, you can hit \fB^K N\fR on the bottom\-most window or \fB^K P\fR on the top\-most window to get to them\. +. +.P +If you gave more than one file name to JOE on the command line, each file will be placed in a different window\. +. +.P +You can change the height of the windows with the \fB^K G\fR and \fB^K T\fR commands\. +. +.SS "Windowing system model" +JOE has an unusual model for its windowing system\. Basically you have a ring of windows, but only a section of this ring may fit on the screen\. The windows not on the screen still exist, they are just scrolled off\. When you hit \fB^K N\fR on the bottom window of the screen, it scrolls further windows from the ring onto the screen, possibly letting the top window scroll out of view\. +. +.P +Native JOE tries to keep each loaded buffer in a window, so users can find all of the buffers by scrolling through the windows\. The \fBexplode\fR command (\fB^K I\fR) either expands all windows to the size of the screen so that only one window can fit on the screen, or shrinks them all as much as possible to fit many on the screen\. +. +.P +On the other hand, JOE supports "orphan" buffers\- files loaded into the editor, but which are not in a window\. \fB^C\fR normally closes a window and discards the buffer that was in it\. If you hit \fB^C\fR on the last remaining window, it will normally exit the editor\. However, if there are orphan buffers, \fB^C\fR will instead load them into this final window to give you a chance to explicitly discard them\. If the \fBorphan\fR option is given on the command line, as in \fBjoe \-orphan *\.c\fR, then JOE only loads the first file into a window and leaves all the rest as orphans\. +. +.P +\fBorphan\fR also controls whether the edit command \fB^K E\fR creates a new window for a newly loaded file, or reuses the current window (orphaning its previous occupant)\. +. +.P +The \fBbufed\fR command prompts for a name of a buffer to switch into a window\. Its completion list will show all buffers, including orphans and buffers which appear in other windows\. \fBEsc V\fR and \fBEsc U\fR (\fBnbuf\fR and \fBpbuf\fR commands) allow you to cycle through all buffers within a single window\. +. +.P +Windows maintain a stack of occupants to support the pop\-up shell window feature\. When a pop\-up window is dismissed, the previous buffer is returned to the window\. +. +.SH "Scratch buffers" +Scratch buffers are buffers which JOE does not worry about trying to preserve\. JOE will not ask to save modified scratch buffers\. Pop\-up shell windows, the startup log and compile and grep message windows are scratch buffers\. You can create your own scratch buffer with the \fBscratch\fR command\. +. +.P +The following commands load scratch buffers: +. +.IP "\(bu" 4 +\fBshowlog\fR Show startup log +. +.IP "\(bu" 4 +\fBmwind\fR Show message window (compile / grep messages from \fBEsc C\fR and \fBEsc G\fR commands)\. +. +.IP "" 0 +. +.SH "Keyboard macros" +Macros allow you to record a series of keystrokes and replay them with the press of two keys\. This is useful to automate repetitive tasks\. To start a macro recording, hit \fB^K [\fR followed by a number from 0 to 9\. The status line will display (Macro n recording\.\.\.)\. Now, type in the series of keystrokes that you want to be able to repeat\. The commands you type will have their usual effects\. Hit \fB^K ]\fR to stop recording the macro\. Hit \fB^K\fR followed by the number you recorded the macro in to execute one iteration of the key\-strokes\. +. +.P +For example, if you want to put "**" in front of a number of lines, you can type: +. +.P +\fB^K [ 0 ^A **\fR\fIdown arrow\e\fR \fB^K ]\fR +. +.P +Which starts the macro recording, moves the cursor to the beginning of the line, inserts "**", moves the cursor down one line, and then ends the recording\. Since we included the key\-strokes needed to position the cursor on the next line, we can repeatedly use this macro without having to move the cursor ourselves, something you should always keep in mind when recording a macro\. +. +.SS "Keyboard macro subroutines" +If you find that the macro you are recording itself has a repeated set of key\-strokes in it, you can record a macro within the macro, as long as you use a different macro number\. Also you can execute previously recorded macros from within new macros\. +. +.SS "Query suspend" +If your macro includes a prompt for user input, and you want the user to fill in the prompt every time the macro is executed, hit \fB^K ?\fR at the point in the macro recording where the user action is required\. Keyboard input will not be recorded at this point\. When the user completes the prompt, macro recording will continue\. +. +.P +When the macro is executed, the macro player will pause at the point where \fB^K ?\fR was entered to allow user input\. When the user completes the prompt, the player continues with the rest of the macro\. +. +.SS "Repeat" +You can use the repeat command, \fB^K \e\fR, to repeat a macro, or any other edit command or even a normal character, a specified number of times\. Hit \fB^K \e\fR, type in the number of times you want the command repeated and press \fBEnter\fR\. The next edit command you now give will be repeated that many times\. For example, to delete the next 20 lines of text, type: +. +.P +\fB^K \e 20\fR\fIreturn\fR\fB^Y\fR +. +.SH "Macros and commands" +A macro is a comma separated list of commands\. When the macro is executed, each command is executed until either the end of the list is reached, or one of the commands fails (non\-zero return value from the command)\. Failed commands beep if you have beeps enabled (\fB^T B\fR)\. +. +.P +Hit \fBEsc D\fR to insert the current set of keyboard macros as text into the current buffer\. For example, the "**" insert macro above looks like this: +. +.IP "" 4 +. +.nf + +home,"**",dnarw ^K 0 Macro 0 +. +.fi +. +.IP "" 0 +. +.P +You could insert this into your \.joerc file and change the key sequence (the \fBK 0\fR) to something more permanent\. +. +.SS "Define your own" +You can bind macros to key sequences or define your own named macros in the joerc file\. For example, this will define a macro called \fBfoo\fR: +. +.IP "" 4 +. +.nf + +:def foo eof,bol +. +.fi +. +.IP "" 0 +. +.P +\fBfoo\fR will position the cursor at the beginning of the last line of the file\. \fBeof\fR jumps to the end of the file\. \fBbol\fR jumps to the beginning of a line\. Once a macro has been named this way it will show up in the completion list of the \fBEsc X\fR command prompt\. +. +.SS "Command prompt" +You can execute a macro directly by typing it into the command prompt\. Hit \fBEsc X\fR to bring up the command prompt\. Hit \fBTab\fR at this prompt for a completion list of all available commands\. +. +.P +Here is a \fIcomplete list of commands\fR\. +. +.SS "Macro don\'t stop modifier" +Sometimes, you expect commands to sometimes fail, but want the rest of the commands in the list to be executed anyway\. To mark a command which is allowed to fail, postfix it with \'!\'\. For example, here a macro which hits down page in the window above: +. +.IP "" 4 +. +.nf + +prevw,pgdn!,nextw +. +.fi +. +.IP "" 0 +. +.P +If prevw fails, the macro is aborted as usual\. Even if pgdn fails (already at end of buffer), nextw will be executed so that the cursor is returned to the original window\. +. +.SS "Macro repeat argument modifiers" +Repeat arguments can be specified with \fB^K \e\fR\. When a command is executed with a repeat argument, it is repeatedly executed the specified number of times\. If the repeat argument is negative, an opposite command (if one exists) is executed instead\. For example, if you repeat "rtarw" \-3 times, "ltarw" will be repeated 3 times\. If a negative argument is given for a command which does not have an opposite, the repeat argument is ignored\. +. +.P +Normally, if a repeat argument is specified for a macro, the macro is simply repeated the given number of times\. If a negative argument is given, the argument is ignored\. +. +.P +Sometimes you want to allow negative arguments for macros and have their behavior modified\. To do this, postfix each command within the macro which should be switched to its opposite for negative arguments with \'\-\'\. For example, here is the page down other window macro: +. +.IP "" 4 +. +.nf + +prevw,pgdn\-!,nextw +. +.fi +. +.IP "" 0 +. +.P +Now if you execute this with an argument of \-2, it will be repeated twice, but pgup will be executed instead of pgdn\. (note that several postfix modifiers can be placed after each command)\. +. +.P +Sometimes when a repeat argument is given to macro, you want only one of the commands in the list to be repeated, not the entire macro\. This can be indicated as follows: +. +.IP "" 4 +. +.nf + +prevw,pgdn#!,nextw +. +.fi +. +.IP "" 0 +. +.P +If this is executed with an argument of 2, prevw is executed once, pgdn is executed twice, and nextw is executed once\. +. +.P +Finally, even more complex semantics can be expressed with the "if" command: +. +.IP "" 4 +. +.nf + +if~,"arg<0",then, + ltarw, +else, + rtarw, +endif +. +.fi +. +.IP "" 0 +. +.P +When the macro is executed, the "arg" math variable is set to the given repeat argument\. The "argset" variable is set to true if the user set an argument, even if it\'s 1\. If no argument was given, argset is false\. +. +.P +If any command in the list is postfixed with ~ (if above), the macro is not repeated, even if there is an argument\. \'arg\' is still set to the given repeat count, however\. +. +.SS "\'psh\'/\'query\' interaction" +The \'psh\' command saves the \fB^K B\fR and \fB^K K\fR positions on a stack\. When the macro completes, (or when the \'pop\' command is called) the positions are restored\. +. +.P +The \'query\' command suspends macro execution until the current dialog is complete\. It also suspends the automatic \'pop\' which happens at the end of a macro\- so if the macro ends in a dialog you often want to call \'query\' to prevent the \fB^K B\fR \fB^K K\fR positions from being restored too early\. +. +.SH "Tags search" +If you are editing a large C program with many source files, you can use the \fBctags\fR program to generate a \fBtags\fR file\. This file contains a list of program symbols and the files and positions where the symbols are defined\. +. +.P +First, create the tags file with the "ctags" program\. For example: +. +.IP "" 4 +. +.nf + +ctags *\.c *\.h +. +.fi +. +.IP "" 0 +. +.P +This will create a file called "tags" in the current directory\. +. +.P +JOE looks for the "tags" file in the current directory\. If there is none, it will try to open the file specified by the TAGS environment variable\. +. +.P +Paths in the tags file are always relative to location of the tags file itself\. +. +.P +The tags file contains a list of identifier definition locations in one of these formats: +. +.IP "" 4 +. +.nf + +identifier filename /search\-expression/[;comments] + +identifier filename ?search\-expression?[;comments] + +identifier filename line\-number[;comments] +. +.fi +. +.IP "" 0 +. +.P +Some versions of ctags include class\-names in the identifiers: +. +.IP "" 4 +. +.nf + +class::member +. +.fi +. +.IP "" 0 +. +.P +In this case, JOE will match on any of these strings: +. +.IP "" 4 +. +.nf + +member +::member +class::member +. +.fi +. +.IP "" 0 +. +.P +Some versions of ctags include a filename in the identifier: +. +.IP "" 4 +. +.nf + +filename:identifier +. +.fi +. +.IP "" 0 +. +.P +In this case JOE will only find the identifier if the buffer name matches the filename\. +. +.P +The search\-expression is a vi regular expression, but JOE only supports the following special characters: +. +.IP "" 4 +. +.nf + +^ at the beginning means expression starts at beginning of line + +$ at the end means expression ends at end of line + +\ex quote x (suppress meaning of /, ?, ^ or $) +. +.fi +. +.IP "" 0 +. +.P +Type \fB^K ;\fR to bring up a tags search prompt\. If the cursor had been on an identifier, the prompt is pre\-loaded with it\. Tab completion works in this prompt (it uses the tags file to find completions)\. +. +.P +When you hit \fBEnter\fR, the tags search commences: +. +.P +If there is one and only one match, JOE will jump directly to the definition\. +. +.P +If there are multiple matches, then the behavior is controlled by the notagsmenu option\. If notagsmenu is enabled JOE jumps to the first definition\. If you hit \fB^K ;\fR again before hitting any other keys, JOE jumps to the next definition, and so on\. The "tagjump" command also performs this function\. +. +.P +If notagsmenu is disabled, JOE brings up a menu of all the matches\. You select the one you want and JOE jumps to it\. If you hit \fB^K ;\fR again before hitting any other keys, the same menu re\-appears with the cursor left in the original location\. +. +.P +You can hit \fB^K \-\fR to move the cursor back to the original location before the tags search (often \fB^C\fR will work as well)\. +. +.P +Since \fB^K ;\fR loads the definition file into the current window, you probably want to split the window first with \fB^K O\fR, to have both the original file and the definition file loaded\. +. +.SH "Calculator" +JOE has a built\-in calculator which can be invoked with \fBEsc M\fR\. +. +.SS "Math functions" +sin, cos, tan, exp, sqrt, cbrt, ln, log, asin, acos, atan, sinh, cosh, tanh, asinh, acosh, atanh, int, floor, ceil, abs, erf, erfc, j0, j1, y0, y1 +. +.SS "Variables" +. +.IP "\(bu" 4 +e +. +.br +Set to \'e\' +. +.br + +. +.IP "\(bu" 4 +pi +. +.br +Set to \'pi\' +. +.br + +. +.IP "\(bu" 4 +top +. +.br +Set to line number of top window line +. +.br + +. +.IP "\(bu" 4 +lines +. +.br +Set to number of lines in file +. +.br + +. +.IP "\(bu" 4 +line +. +.br +Set to current line number +. +.br + +. +.IP "\(bu" 4 +col +. +.br +Set to current column number +. +.br + +. +.IP "\(bu" 4 +byte +. +.br +Set to current byte number +. +.br + +. +.IP "\(bu" 4 +size +. +.br +Set to buffer size +. +.br + +. +.IP "\(bu" 4 +height +. +.br +Set to window height +. +.br + +. +.IP "\(bu" 4 +width +. +.br +Set to window width +. +.br + +. +.IP "\(bu" 4 +char +. +.br +Set to ASCII val of character under cursor +. +.br + +. +.IP "\(bu" 4 +markv +. +.br +True if there is a valid block set (^KB \.\.\. ^KK) +. +.br + +. +.IP "\(bu" 4 +rdonly +. +.br +True if file is read\-only +. +.br + +. +.IP "\(bu" 4 +arg +. +.br +Current repeat argument +. +.br + +. +.IP "\(bu" 4 +argset +. +.br +True if a repeat argument was given +. +.br + +. +.IP "\(bu" 4 +is_shell +. +.br +True if executed in an active shell window +. +.br + +. +.IP "\(bu" 4 +no_windows +. +.br +No\. buffer windows on the screen +. +.br + +. +.IP "\(bu" 4 +ans +. +.br +Result of previous expression +. +.br + +. +.IP "" 0 +. +.SS "Commands" +. +.IP "\(bu" 4 +hex +. +.br +Hex display mode +. +.br + +. +.IP "\(bu" 4 +dec +. +.br +Decimal display mode +. +.br + +. +.IP "\(bu" 4 +ins +. +.br +Insert \'ans\' into buffer +. +.br + +. +.IP "\(bu" 4 +sum +. +.br +Sum of numbers in block +. +.br + +. +.IP "\(bu" 4 +cnt +. +.br +Count numbers in block +. +.br + +. +.IP "\(bu" 4 +avg +. +.br +Average value of numbers in block +. +.br + +. +.IP "\(bu" 4 +dev +. +.br +Standard deviation of numbers in block +. +.br + +. +.IP "\(bu" 4 +eval +. +.br +Evaluate math expressions in block (or whole file if no block set)\. +. +.br + +. +.IP "\(bu" 4 +joe(\.\.\.) +. +.br +Execute a JOE macro (argument in same format as joerc file macros)\. Return value of JOE macro is returned (for macro success, return true (non\-zero))\. +. +.br + +. +.IP "" 0 +. +.P +For example: +. +.IP "" 4 +. +.nf + +joe(sys,"[ 1 == 1 ]",rtn) +. +.fi +. +.IP "" 0 +. +.P +([ 1 == 1 ]) is a shell command\. "[" is a synonym for the "test" UNIX command\. +. +.P +Returns true\. +. +.P +Remember: argument for JOE macro command "if" is a math expression\. So for example, the macro: +. +.IP "" 4 +. +.nf + +if,"joe(sys,\e"[ 1 == 1 ]\e",rtn)",then,"TRUE",endif +. +.fi +. +.IP "" 0 +. +.P +Types TRUE into the buffer\. +. +.SS "Operators:" +. +.IP "\(bu" 4 +!x +. +.br +Logical not of x\. +. +.br + +. +.IP "\(bu" 4 +x +. +.br +Raise x to power of y\. +. +.br + +. +.IP "\(bu" 4 +a*b +. +.br +Multiply\. +. +.br + +. +.IP "\(bu" 4 +a/b +. +.br +Divide\. +. +.br + +. +.IP "\(bu" 4 +a%b +. +.br +Modulus\. +. +.br + +. +.IP "\(bu" 4 +a+b +. +.br +Add\. +. +.br + +. +.IP "\(bu" 4 +a\-b +. +.br +Subtract\. +. +.br + +. +.IP "\(bu" 4 +ab +. +.br +True if a is greater than b\. +. +.br + +. +.IP "\(bu" 4 +a>=b +. +.br +True if a is greater than or equal to b\. +. +.br + +. +.IP "\(bu" 4 +a==b +. +.br +True if a equals b\. +. +.br + +. +.IP "\(bu" 4 +a!=b +. +.br +True if a does not equal b\. +. +.br + +. +.IP "\(bu" 4 +a&&b +. +.br +True if both a and b are true\. +. +.br + +. +.IP "\(bu" 4 +a||b +. +.br +True if ether a or b are true\. +. +.br + +. +.IP "\(bu" 4 +a?b:c +. +.br +If a is true return b, otherwise return c\. +. +.br + +. +.IP "\(bu" 4 +a=b +. +.br +Assign b to a\. +. +.br + +. +.IP "\(bu" 4 +a:b +. +.br +Execute a, then execute b\. +. +.br + +. +.IP "" 0 +. +.TP +&&, || and ? : work as in C and sh as far as side effects: if the +. +.TP +left side of && is false, the right side is not evaluated\. +is expression separator\. +. +.SH "Shell windows" +Hit \fB^K \'\fR to run a command shell in one of JOE\'s windows\. When the cursor is at the end of a shell window (use \fB^K V\fR if it\'s not), whatever you type is passed to the shell instead of the buffer\. Any output from the shell or from commands executed in the shell is appended to the shell window (the cursor will follow this output if it\'s at the end of the shell window)\. This command is useful for recording the results of shell commands\- for example the output of \fBmake\fR, the result of \fBgrep\fRping a set of files for a string, or directory listings from \fBFTP\fR sessions\. Besides typeable characters, the keys \fB^C\fR, \fBBackspace\fR, \fBDel\fR, \fBReturn\fR and \fB^D\fR are passed to the shell\. Type the shell \fBexit\fR command to stop recording shell output\. If you press \fB^C\fR in a shell window, when the cursor is not at the end of the window, the shell is \fBkill\fRed\. +. +.P +If you use Bash, you can hit: \fB^Q Up Arrow\fR and \fB^Q Down Arrow\fR to scroll through Bash\'s history buffer\. Other keys work as well: try \fB^Q ^A\fR to go to beginning of line or \fB^Q ^E\fR to go to end of line\. Unfortunately JOE only emulates a dumb terminal, so you have to use a lot of imagination to do any editing beyond hitting backspace\. +. +.P +In general, any character quoted with \fB^Q\fR is sent to the shell\. +. +.P +Also sent to the shell: \fBTab\fR, \fBBackspace\fR, \fBEnter\fR, \fB^C\fR and \fB^D\fR\. +. +.P + \fI\fR +. +.SH "Pop\-up shell windows" +Hit F1 \- F4 to open and switch between shell windows\. +. +.P +Pop\-up shell windows use a full terminal emulator so that when you type "man ls" it\'s formatted correctly (it works well enough so that some interactive programs can be used)\. Even so, the shell window is still an edit buffer\. +. +.P +The old shell window (with no terminal emulation) still exists: use \fB^K \'\fR to invoke it as usual\. This is useful to see control sequences emitted by a program\. +. +.P +More of the keys get passed to the running program in pop\-up shell windows compared with the older one\. There is a :vtshell section of the joerc file to control which ones\. In particular arrow keys and Ctrl\-C are passed to the program\. It means you can easily step through bash history with the arrow keys, or abort programs the normal way with Ctrl\-C\. +. +.P +On the other hand, loss of Ctrl\-C means it\'s less obvious how to close the window\. One way is to move the cursor off of the shell data entry point (with Ctrl\-P), and then hit Ctrl\-C\. Another is to hit \fB^K Q\fR\. Finally, you can type \'pop\' at the command prompt\. +. +.P +If you need to pass a key to the shell that JOE normally uses, quote it\. For example, if you invoke "emacs \-nw" in the shell window, you can exit it with: +. +.IP "" 4 +. +.nf + +^Q ^X ^C +. +.fi +. +.IP "" 0 +. +.P +To quickly position the cursor back to the point where data is entered into the shell, hit \fB^K V\fR\. +. +.P +When you open a shell window, a JOE\-specific startup\-script is sourced\. It\'s located in /etc/joe/shell\.sh (also /etc/joe/shell\.csh)\. It contains some aliases which allow you to control JOE with fake shell commands\. I have these commands so far: +. +.IP "\(bu" 4 +clear +. +.br +erase shell window (delete buffer contents) +. +.br + +. +.IP "\(bu" 4 +joe file +. +.br +edit a file in JOE +. +.br + +. +.IP "\(bu" 4 +math 1+2 +. +.br +evaluate equation using JOE\'s calculator +. +.br + +. +.IP "\(bu" 4 +cd xyz +. +.br +change directory, keep JOE up to date +. +.br + +. +.IP "\(bu" 4 +markb +. +.br +same as ^KB +. +.br + +. +.IP "\(bu" 4 +markk +. +.br +same as ^KK +. +.br + +. +.IP "\(bu" 4 +mark command +. +.br +execute shell command, mark it\'s output +. +.br + +. +.IP "\(bu" 4 +parse command +. +.br +execute shell command, parse it\'s output for file names and line numbers (for find or grep) +. +.br + +. +.IP "\(bu" 4 +parser comman +. +.br +execute shell command, parse it\'s output for errors (for gcc) +. +.br + +. +.IP "\(bu" 4 +release +. +.br +release parsed errors +. +.br + +. +.IP "\(bu" 4 +pop +. +.br +dismiss shell window (same as ^K Q) +. +.br + +. +.IP "" 0 +. +.P +These work by emitting an escape sequence recognized by the terminal emulator: \fBEsc { joe_macro }\fR\. When this is received, the macro is executed\. For security, only macros defined in the joerc file which begin with "shell_" can be executed this way\. +. +.SS "Use cases" +Pop\-up shell windows have a number of nice use cases: +. +.IP "\(bu" 4 +Use it to browse manual pages +. +.IP +Hit F1 and type "man fopen"\. Use \'b\' (\'u\') and space to control \fImore\fR (or \fIless\fR) while viewing the manual\. You can leave the manual on the screen in one window while editing in another window\. +. +.IP "\(bu" 4 +Use it to switch directories +. +.IP +Hit F1 and navigate to the directory while using \fIcd\fR\. Once you are in the right place, hit \fB^K E\fR to load a file (or type "edit file" from the shell)\. +. +.IP "\(bu" 4 +Use it in conjunction with the error parser to find files +. +.IP +Hit F1 and navigate to a directory\. Use grep or find (or both) to generate a list of files): +. +.IP "" 0 +. +.IP "" 4 +. +.nf + + parse grep \-n FIXME *\.c +. +.fi +. +.IP "" 0 +. +.P +Or: +. +.IP "" 4 +. +.nf + + markb; find \. | xargs grep \-n FIXME; markk; parse +. +.fi +. +.IP "" 0 +. +.P +(Note that you can\'t say this: +. +.IP "" 4 +. +.nf + + parse find \. | xargs grep \-n FIXME +. +.fi +. +.IP "" 0 +. +.P +\&\.\.\.the issue is that only the words to the left of the pipe symbol are passed as arguments to the parse command)\. +. +.P +Now use \fB^P\fR to position the cursor on one of the lines of the list\. Hit \fBEsc Space\fR to have JOE edit the file and jump to the specified line (also you can use \fBEsc \-\fR and \fBEsc =\fR to step through the list)\. +. +.IP "\(bu" 4 +Use it in conjunction with search and replace to edit many files +. +.IP +Once JOE has a list of files (from above), use search and replace with the \'e\' option to visit all of them: +. +.IP "" 0 +. +.IP "" 4 +. +.nf + + ^K F + Find: + Options: re + Replace: +. +.fi +. +.IP "" 0 +. +.IP "\(bu" 4 +Build your project +. +.IP "" 0 +. +.P +Easily capture errors from a build with: +. +.IP "" 4 +. +.nf + + parserr make +. +.fi +. +.IP "" 0 +. +.P +Hit \fBEsc =\fR and \fBEsc \-\fR to step through the errors\. +. +.SS "How it works\.\." +. +.IP "\(bu" 4 +There is a new mode "ansi"\. (\fBEsc X\fR mode ansi)\. When this mode is enabled, the screen updater hides escape sequences which are in the buffer\. Otherwise you get a big mess from the sequences surrounding colored output from \'ls\'\. +. +.IP "\(bu" 4 +There is a new built\-in syntax: "ansi"\. (\fB^T Y\fR ansi)\. This syntax parses the ANSI color control sequences so that text gets colored\. +. +.IP "\(bu" 4 +There is a terminal emulator to interpret control sequences from the shell program\. It emulates a terminal by modifying the contents of an edit buffer\. +. +.IP "\(bu" 4 +When the edit window is resized we tell the shell by issuing the TIOCSSIZE or TIOCSWINSZ ioctl\. This way, the program running in the shell knows the window size\. +. +.IP "" 0 +. +.SH "Compiler and grep/find parsers" +JOE has two parsers which can be used to generate the error list (list of file names / line numbers)\. +. +.P +The "parserr" command parses the entire buffer, or if the block is set, just the highighted block for compiler error messages\. The messages should be in this format: +. +.IP "" 4 +. +.nf + + file\.name line\-number : +. +.fi +. +.IP "" 0 +. +.P +The file name needs to be made of numbers, letters, \'/\', \'\.\' and \'\-\'\. It must have at leat one \'\.\' in it\. There needs to be a colon somewhere after the line number\. Lines not in this format are ignored\. +. +.P +The "gparse\' command parses the entire buffer, or if the block is set, just the highlighted block for a list of filenames or filenames with line numbers from "grep \-n", "find" and similar programs\. +. +.IP "" 4 +. +.nf + +filename + +filename: + +filename:line\-number: +. +.fi +. +.IP "" 0 +. +.P +Once JOE has the error list, there are a number of things you can do with it: +. +.IP "\(bu" 4 +Visit the files/locations in the list with \fBEsc \-\fR and \fBEsc =\fR +. +.IP "\(bu" 4 +Search and replace across all files in the list by using the \'e\' search and replace option\. +. +.IP "\(bu" 4 +Clear the list by using the "release" command\. +. +.IP "" 0 +. +.P +Also, you can use \fBEsc Space\fR (\'jump\' command) to parse the line the cursor is on and jump to the parsed filename and line number\. \'jump\' uses the grep/find parser unless \'parserr\' had been previously issued in the buffer\. +. +.SS "Grep\-find" +Hit \fBEsc G\fR to bring up the prompt\. Enter a command which results in file names with line numbers, for example: \'grep \-n fred *\.c\'\. This will list all instances of \'fred\' in the *\.c files\. You need the \'\-n\' to get the line numbers\. +. +.P +Now you can hit \fBEsc Space\fR on one of the lines to jump to the selected file\. Also, you can use \fBEsc =\fR and \fBEsc \-\fR to step through each line\. +. +.SS "Compile" +Hit \fBEsc C\fR to save all modified files and then bring up the compile prompt\. Enter the command you want to use for the compiler (typically "make \-w")\. The compiler will run in a shell window\. When it\'s complete, the results are parsed\. +. +.P +The \'\-w\' flag should be given to "make" so that it prints messages whenever it changes directories\. The message are in this format: +. +.IP "" 4 +. +.nf + +make[1]: Entering directory `/home/jhallen/joe\-editor\-mercurial/joe\' +. +.fi +. +.IP "" 0 +. +.P +If there are any errors or warnings from the compiler you can hit \fBEsc Space\fR on one of the lines to jump to the selected file\. Also, you can use \fBEsc =\fR and \fBEsc \-\fR to step through each line\. +. +.SH "Syntax highlighting" +To enable highlight use \fB^T H\fR\. +. +.P +To select the syntax, use \fB^T Y\fR\. You can hit \fBTab\fR \fBTab\fR at the prompt for a completion list\. +. +.P +JOE tries to determine the syntax to use based on the name and contents of the file\. The configuration file /etc/joe/ftyperc contains the definitions\. +. +.P +Each syntax is defined by a file located /usr/share/joe/syntax/\. +. +.SH "How JOE syntax highlighting works" +\fIfrom c\.jsf \fIhttp://joe\-editor\.hg\.sourceforge\.net/hgweb/joe\-editor/joe\-editor/file/tip/syntax/c\.jsf\.in\fR, slightly modified\fR +. +.P +A deterministic state machine that performs lexical analysis of the target language is provided in a syntax file\. (This is the "assembly language" of syntax highlighting\. A separate program could in principal be used to convert a regular expression NFA syntax into this format)\. +. +.P +Each state begins with: +. +.IP "" 4 +. +.nf + +: +. +.fi +. +.IP "" 0 +. +.P +\fIname\e\fR is the state\'s name\. +. +.P +\fIcolor\-name\e\fR is the color used for characters eaten by the state (really a symbol for a user definable color)\. +. +.P +\fIcontext\e\fR tells JOE if the current character is part of a comment or a string\. This allows JOE to skip over comments and strings when matching characters such as parentheses\. To use this feature, the highlighter_context option must be applied to the files highlighted by the corresponding syntax\. To apply the option, add it to ftyperc for those file entries\. +. +.P +The valid contexts are: +. +.IP "\(bu" 4 +comment This character is part of a comment\. Example: /* comment */ +. +.IP "\(bu" 4 +string This character is part of a string\. Examples: "string" \'c\' \'string\' +. +.IP "" 0 +. +.P +The comment and string delimiters themselves should be marked with the appropriate context\. The context is considered to be part of the color, so the recolor=\-N and recolormark options apply the context to previous characters\. +. +.P +The first state defined is the initial state\. +. +.P +Within a state, define transitions (jumps) to other states\. Each jump has the form: +. +.IP "" 4 +. +.nf + + [