diff options
Diffstat (limited to 'app/xedit/man')
-rw-r--r-- | app/xedit/man/Makefile.am | 12 | ||||
-rw-r--r-- | app/xedit/man/Makefile.in | 460 | ||||
-rw-r--r-- | app/xedit/man/xedit.man | 476 |
3 files changed, 948 insertions, 0 deletions
diff --git a/app/xedit/man/Makefile.am b/app/xedit/man/Makefile.am new file mode 100644 index 000000000..6799ec5f5 --- /dev/null +++ b/app/xedit/man/Makefile.am @@ -0,0 +1,12 @@ + +appmandir = $(APP_MAN_DIR) +appman_PRE = xedit.man +appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX)) + +EXTRA_DIST = $(appman_PRE) +CLEANFILES = $(appman_DATA) +SUFFIXES = .$(APP_MAN_SUFFIX) .man + +# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure +.man.$(APP_MAN_SUFFIX): + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ diff --git a/app/xedit/man/Makefile.in b/app/xedit/man/Makefile.in new file mode 100644 index 000000000..97d7940f7 --- /dev/null +++ b/app/xedit/man/Makefile.in @@ -0,0 +1,460 @@ +# Makefile.in generated by automake 1.12.5 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2012 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = man +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +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)$(appmandir)" +DATA = $(appman_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ADMIN_MAN_DIR = @ADMIN_MAN_DIR@ +ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +APPDEFS_CFLAGS = @APPDEFS_CFLAGS@ +APPDEFS_LIBS = @APPDEFS_LIBS@ +APP_MAN_DIR = @APP_MAN_DIR@ +APP_MAN_SUFFIX = @APP_MAN_SUFFIX@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BASE_CFLAGS = @BASE_CFLAGS@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CHANGELOG_CMD = @CHANGELOG_CMD@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CWARNFLAGS = @CWARNFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DRIVER_MAN_DIR = @DRIVER_MAN_DIR@ +DRIVER_MAN_SUFFIX = @DRIVER_MAN_SUFFIX@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FILE_MAN_DIR = @FILE_MAN_DIR@ +FILE_MAN_SUFFIX = @FILE_MAN_SUFFIX@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_CMD = @INSTALL_CMD@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIB_MAN_DIR = @LIB_MAN_DIR@ +LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@ +LISPDIR = @LISPDIR@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MAN_SUBSTS = @MAN_SUBSTS@ +MISC_MAN_DIR = @MISC_MAN_DIR@ +MISC_MAN_SUFFIX = @MISC_MAN_SUFFIX@ +MKDIR_P = @MKDIR_P@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKGDEPS_CFLAGS = @PKGDEPS_CFLAGS@ +PKGDEPS_LIBS = @PKGDEPS_LIBS@ +PKG_CONFIG = @PKG_CONFIG@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRICT_CFLAGS = @STRICT_CFLAGS@ +STRIP = @STRIP@ +VERSION = @VERSION@ +XORG_MAN_PAGE = @XORG_MAN_PAGE@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +appdefaultdir = @appdefaultdir@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +appmandir = $(APP_MAN_DIR) +appman_PRE = xedit.man +appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX)) +EXTRA_DIST = $(appman_PRE) +CLEANFILES = $(appman_DATA) +SUFFIXES = .$(APP_MAN_SUFFIX) .man +all: all-am + +.SUFFIXES: +.SUFFIXES: .$(APP_MAN_SUFFIX) .man +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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 man/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-appmanDATA: $(appman_DATA) + @$(NORMAL_INSTALL) + @list='$(appman_DATA)'; test -n "$(appmandir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(appmandir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(appmandir)" || 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)$(appmandir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(appmandir)" || exit $$?; \ + done + +uninstall-appmanDATA: + @$(NORMAL_UNINSTALL) + @list='$(appman_DATA)'; test -n "$(appmandir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(appmandir)'; $(am__uninstall_files_from_dir) +tags: TAGS +TAGS: + +ctags: 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)$(appmandir)"; 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: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +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-appmanDATA + +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-appmanDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-appmanDATA 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-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am uninstall-appmanDATA + + +# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure +.man.$(APP_MAN_SUFFIX): + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ + +# 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/app/xedit/man/xedit.man b/app/xedit/man/xedit.man new file mode 100644 index 000000000..197a78257 --- /dev/null +++ b/app/xedit/man/xedit.man @@ -0,0 +1,476 @@ +.\" t +.\" $XConsortium: xedit.man,v 1.23 94/04/17 20:43:39 matt Exp $ +.\" Copyright (c) 1994 X Consortium +.\" +.\" Permission is hereby granted, free of charge, to any person obtaining +.\" a copy of this software and associated documentation files (the +.\" "Software"), to deal in the Software without restriction, including +.\" without limitation the rights to use, copy, modify, merge, publish, +.\" distribute, sublicense, and/or sell copies of the Software, and to +.\" permit persons to whom the Software is furnished to do so, subject to +.\" the following conditions: +.\" +.\" The above copyright notice and this permission notice shall be included +.\" in all copies or substantial portions of the Software. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +.\" IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR +.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +.\" OTHER DEALINGS IN THE SOFTWARE. +.\" +.\" Except as contained in this notice, the name of the X Consortium shall +.\" not be used in advertising or otherwise to promote the sale, use or +.\" other dealings in this Software without prior written authorization +.\" from the X Consortium. +.\" +.\" $XFree86: xc/programs/xedit/xedit.man,v 1.18 2002/10/12 16:06:48 herrb Exp $ +.\" +.TH XEDIT 1 __vendorversion__ +.SH NAME +xedit \- simple text editor for X +.SH SYNTAX +.B xedit +[ +.I \-toolkitoption +\&.\|.\|. ] [ +.I filename +\&.\|.\|. ] +.SH DESCRIPTION +.I Xedit +provides a window consisting of the following four areas: +.IP "Commands Section" 25 +A set of commands that allow you to exit \fIxedit\fP, save the file, or +load a new file into the edit window. +.IP "Message Window" 25 +Displays \fIxedit\fP messages. In addition, this window can be also used as +a scratch pad. +.IP "Filename Display" +Displays the name of the file currently being edited, and whether this file +is \fIRead-Write\fP or \fIRead Only\fP. +.IP "Edit Window" 25 +Displays the text of the file that you are editing or creating. +.SH OPTIONS +.I Xedit +accepts all of the standard X Toolkit command line +options (see +.IR X (__miscmansuffix__)). +The order of the command line options is not important. +.TP 8 +.I filename +Specifies the file(s) that are to be loaded during start-up. This is the +file which will be edited. If a file is not specified, +.I xedit +lets you load files or create new files after it has started up. +.SH EDITING +The Athena Text widget is used for the three sections of this +application that allow text input. The characters typed will go to +the Text widget that has the input focus, or the Text widget that the pointer +cursor is currently over. +.PP + +The following keystroke combinations are defined: +.sp +.TS +l l. +Ctrl-a Beginning Of Line +Meta-b Backward Word +Ctrl-b Backward Character +Meta-f Forward Word +Ctrl-d Delete Next Character +Meta-i Insert File +Ctrl-e End Of Line +Meta-k Kill To End Of Paragraph +Ctrl-f Forward Character +Meta-q Form Paragraph +Ctrl-g Keyboard Reset +Meta-v Previous Page +Ctrl-h Delete Previous Character +Meta-y Insert Current Selection +Ctrl-j Newline And Indent +Meta-z Scroll One Line Down +Ctrl-k Kill To End Of Line +Meta-d Delete Next Word +Ctrl-l Redraw Display +Meta-D Kill Word +Ctrl-m Newline Meta-h +Delete Previous Word +Ctrl-n Next Line +Meta-H Backward Kill Word +Ctrl-o Newline And Backup +Meta-< Beginning Of File +Ctrl-p Previous Line +Meta-> End Of File +Ctrl-r Search/Replace Backward +Meta-] Forward Paragraph +Ctrl-s Search/Replace Forward +Meta-[ Backward Paragraph +Ctrl-t Transpose Characters +Ctrl-u [\fInumber\fP] Multiply by 4 or \fInumber\fP +Meta-Delete Delete Previous Word +Ctrl-v Next Page +Meta-Shift Delete Kill Previous Word +Ctrl-w Kill Selection +Meta-Backspace Delete Previous Word +Ctrl-y Unkill Meta-Shift Backspace +Kill Previous Word +Ctrl-z Scroll One Line Up +Meta-z Scroll One Line Down +Ctrl-_ Undo +Escape Line Edit Mode +.TE +.sp +In addition, the pointer may be used to cut and paste text: +.TS +l l. +Button 1 Down Start Selection +Button 1 Motion Adjust Selection +Button 1 Up End Selection (cut) + +Button 2 Down Insert Current Selection (paste) + +Button 3 Down Extend Current Selection +Button 3 Motion Adjust Selection +Button 3 Up End Selection (cut) +.fi +.sp + +.SH LINE EDIT MODE +.I Line edit mode +enables several shortcut commands for searching and replacing text in a +xedit buffer. +.I Line edit mode +commands have the format: +.br +.nf + + [\fIline-number\fP[,\fIline-number\fP]]\fIcommand\fP[\fIparameters\fP] + +.fi +.I Line number +may be specified as: +.TP 8 +\&. +The current text line. +.TP 8 +$ +The last line of the file. +.TP 8 +number +The literal line \fInumber\fP. +.TP 8 +- or ^ +The previous line. Equivalent to \fI-1\fP. +.TP 8 +-number or ^number +The current line minus \fInumber\fP. +.TP 8 ++ +The next line. Equivalent to \fI+1\fP. +.TP 8 ++number +The current line plus \fInumber\fP. +.TP 8 +, or % +From the first to the last line. Equivalent to \fI1,$\fP. +.TP 8 +; +From the current to the last line. Equivalent to \fI.,$\fP. + +.PP +.I Command +may be specified as: +.TP 8 +s +Substitute text in the specified lines. +.TP 8 +/re/ +Search forward for the regular expression pattern \fIre\fP. +.TP 8 +?re? +Search backward for the regular expression pattern \fIre\fP. + +.PP +.I Parameters +may be specified as: +.TP 8 +/re/ +Works as a parameter to \fIi\fP or as a command. +.TP 8 +/re/text/ +Search forward for \fIre\fP and substitute by \fItext\fP. + +.PP +.I Options +may follow or be parameters, known values are: +.TP 8 +i +Case insensitive search. +.TP 8 +g +\fIGlobal\fP match when replacing text. Unless specified, only the nth, +that defaults to 1, match will be replaced. +.TP 8 +c +\fIConfirm\fP before replacing text. +.TP 8 +number +Replace only the occurrence referenced by \fInumber\fP. +.PP + +Commands accept some variations, examples: +.br +.nf + /pattern/i + i/pattern/ + i/pattern +.fi +Search forward for \fIpattern\fP. +.br +.nf + + ,sc/pattern/text + ,sc/pattern/text/ + ,s/pattern/text/c +.fi +Search the entire buffer and ask confirmation to replace \fIpattern\fP +with \fItext\fP. +.br +.nf + + ,s/pattern/text/number +.fi +Replace the match \fInumber\fP in the text line. If not specified, +defaults to the first occurrence. + +.PP +When searching for text, type <Return> to go to the next match. +When interactively replacing text, type \fIy\fP or \fIY\fP to accept the +change, and \fIn\fP or \fIN\fP to ignore it and go to the next match. + +.SH COMMANDS +.IP Quit 8 +Quits the current editing session. If any changes have not been saved, +.I xedit +displays a warning message, allowing the user to save them. +.IP Save +If file backups are enabled (see RESOURCES, below) +.I xedit +stores a copy of the +original, unedited file in <prefix>\fIfile\fP<suffix>, +then overwrites the \fIfile\fP with the contents of the edit window. The +filename is retrieved from the Text widget directly to the right of +the \fILoad\fP button. +.IP Load +Loads the file named in the text widget immediately to the right +of the this button and displays it in the Edit window. +.SH RESOURCES +For \fIxedit\fP the available resources are: +.TP 8 +.B tagsName (\fPClass\fB TagsName) +Specifies the name of the tags file to search when loading a new file. +Default value is \fItags\fP. +.TP 8 +.B loadTags (\fPClass\fB LoadTags) +Boolean value to enable or disabling searching for tags files. +Default is \fITrue\fP. +.TP 8 +.B enableBackups (\fPClass\fB EnableBackups) +Specifies that, when edits made to an existing file are saved, +.I xedit +is to copy the original version of that file to <prefix>\fIfile\fP<suffix> +before it saves the changes. The default value for this resource is +``on,'' stating that backups should be created. +.TP 8 +.B backupNamePrefix (\fPClass\fB BackupNamePrefix) +Specifies a string that is to be prepended to the backup filename. The +default is that no string shall be prepended. +.TP 8 +.B backupNameSuffix (\fPClass\fB BackupNameSuffix) +Specifies a string that is to be appended to the backup filename. The +default is to use ``~'' as the suffix. +.TP 8 +.B positionFormat (\fPClass\fB Format) +Specifies a format string used to display the cursor position. This +string uses printf(__libmansuffix__) like notation, where +.B %l +prints the line number, +.B %c +prints the column number, +.B %p +prints the insert position offset, and +.B %s +prints the current file size. It is also allowed to specify field sizes, +with the notation +.B %\-?[0\-9]+ +\&. The default format string is ``L%l'', which shows the character ``L'' +followed by the line number. +.TP 8 +.B hints (\fPClass\fB Hints) +Specifies a list of strings, separated by new lines, that will be +displayed in the bc_label window. +.TP 8 +.B hintsInterval (\fPClass \fBInterval) +Specifies the interval in seconds, which the hint string in the bc_label +window will be changed. +.TP 8 +.B changedBitmap (\fPClass \fBBitmap) +Specifies the name of the Bitmap that will be displayed in the fileMenu, when +the file being edited is changed. +.TP 8 +.B autoReplace (\fPClass \fBReplace) +This resource is useful to automatically correct common misspelling errors, but +can also be used to create simple macros. The format is +\fI{non-blanks}{blanks}[{string}]\fP. Fields are separated by newlines. +Example of use: +\" +.br +.nf +nto not\\n\\ +/macro some long string with \\\\\\n newlines \\\\\\n +.fi +\" +.br +Will automatically replace the word \fInto\fP by \fInot\fP, and \fI/macro\fP +by \fIsome long string with + newlines +\fP +when you type that words. +.TP 8 +.B ispell.dictionaries (\fPClass \fBispell.Dictionary) +Specifies a list of dictionary names, separated by spaces, available to the +ispell program. The default value is \fI"american americamed+ english"\fP. +.TP 8 +.B ispell.dictionary (\fPClass \fBispell.Dictionary) +Specifies the default dictionary to use. +.TP 8 +.B ispell*<DICTIONARY>.wordChars (\fPClass \fBispell*Chars) +Specifies a set of characters that can be part of a legal word. The +\fI<DICTIONARY>\fP field is one of the dictionaries specified in the +\fIdictionaries\fP resource. +.TP 8 +.B ispell.ispellCommand (\fPClass \fBispell.CommandLine) +The path to the ispell program, and possibly, additional arguments. You don't +need to specify the ``-w'' option, neither the ``-a'' option. +Refer to the \fIispell\fP(__appmansuffix__) manpage for more information on ispell options. +.TP 8 +.B ispell.formatting (\fPClass \fPispell.TextFormat) +Specifies which text formatting to use while spell checking the file. The +available formats are \fItext\fP and \fIhtml\fP. +.TP 8 +.B ispell*text.skipLines (\fPClass \fBispell*text.Skip) +Lines starting with one of the characters in this string will not be spell +checked. This resource is only used in \fItext\fP mode. +.TP 8 +.B ispell.terseMode (\fPClass \fBispell.Terse) +When enabled, runs ispell in terse mode, not asking user interaction for words +generated through compound formation (when using the ispell ``-C'' option), or +words generated through affix removal. The default value is False. +.TP 8 +.B ispell.lookCommand (\fPClass \fBispell.CommandLine) +The path to the program to search for alternate words, and possibly, +additional arguments. The default program used is \fI/usr/bin/egrep\fP. +.TP 8 +.B ispell.wordsFile (\fPClass \fBispell.Words) +The path to the file[s] to search for alternate words. The default file is +\fI/usr/share/dict/words\fP. +.TP 8 +.B ispell.guessLabel (\fPClass \fBispell.Status) +String displayed in the ispell status bar when ispell returns a guess list +of one or more words. The default value is \fIGuess\fP. +.TP 8 +.B ispell.missLabel (\fPClass \fBispell.Status) +String displayed in the ispell status bar when ispell returns a list of one +or more words to match a misspelled one. The default value is \fIMiss\fP. +.TP 8 +.B ispell.rootLabel (\fPClass \fBispell.Status) +String displayed in the ispell status bar when the word is not in the dictionary, +but it can be formed through a root one. The default value is \fIRoot:\fP, and is +followed by a space and the root word. +.TP 8 +.B ispell.noneLabel (\fPClass \fBispell.Status) +String displayed in the ispell status bar when there is no near misses. The default +value is \fINone\fP. +.TP 8 +.B ispell.compoundLabel (\fPClass \fBispell.Status) +String displayed in the ispell status bar when the word being checked is formed by +concatenation of two words. The default value is \fICompound\fP. +.TP 8 +.B ispell.okLabel (\fPClass \fBispell.Status) +String displayed in the ispell status bar when the checked word is in the dictionary. +This string is only displayed when using the \fIcheck\fP button in the xedit ispell +interface. The default value is \fIOk\fP. +.TP 8 +.B ispell.eofLabel (\fPClass \fBispell.Status) +The string displayed in the ispell status bar when the end of the file is reached. +The default value is \fIEnd Of File\fP. +.TP 8 +.B ispell.repeatLabel (\fPClass \fBispell.Status) +The string displayed in the ispell status bar when two identical words are found +together in the file. The default value is \fIRepeat\fP. +.TP 8 +.B ispell.lookLabel (\fPClass \fBispell.Status) +The string displayed in the ispell status bar after displaying the results of +the \fILook\fP command. If no results are found, the value of the +\fIispell.noneLabel\fP resource is shown. +.TP 8 +.B ispell.workingLabel (\fPClass \fBispell.Status) +The string displayed in the ispell status bar while xedit is communicating with +ispell. The default value is \fI...\fP. +.SH WIDGETS +In order to specify resources, it is useful to know the hierarchy of +the widgets which compose \fIxedit\fR. In the notation below, +indentation indicates hierarchical structure. The widget class name +is given first, followed by the widget instance name. +.sp +.nf +.ft CW +Xedit xedit + Paned paned + Paned buttons + Command quit + Command save + Command load + Text filename + Label bc_label + Text messageWindow + Label labelWindow + Text editWindow +.ft +.fi +.sp +.SH ENVIRONMENT +.PP +.TP 20 +.I DISPLAY +to get the default host and display number. +.TP 20 +.I XENVIRONMENT +to get the name of a resource file that overrides the global resources +stored in the RESOURCE_MANAGER property. +.SH FILES +.TP 20 +.I __apploaddir__/Xedit +specifies required resources +.SH "SEE ALSO" +.IR X (__miscmansuffix__), +.IR xrdb (__appmansuffix__), +.I "Athena Widget Set" +.SH RESTRICTIONS +Xedit is not a replacement to Emacs. +.SH COPYRIGHT +Copyright 1988, Digital Equipment Corporation. +.br +Copyright 1989, X Consortium +.br +Copyright 1998, The XFree86 Project +.br +See +.IR X (__miscmansuffix__) +for a full statement of rights and permissions. +.SH AUTHORS +Chris D. Peterson, MIT X Consortium +.br +Paulo Cesar Pereira de Andrade, The XFree86 Project |