commit 230e5ec41d7a348e71ac46ec7ea326e8463f58b5 Author: Mid Favila Date: Tue Feb 8 15:11:56 2022 -0400 Initial commit. diff --git a/CHANGES b/CHANGES new file mode 100644 index 0000000..6c70e4f --- /dev/null +++ b/CHANGES @@ -0,0 +1,27 @@ +2022-02-08 Mid Favila + + * Set version to 3.0.2. + * Revert to Makefile build system. + * Remove e-mail handling capabilities. + +2013-03-24 Thomas Cort + + * Version 3.0.1 released. + * Security Fix: be more careful with the handling of .serc files. Now the + euid of se must match the owner of the file and the file must not be + writable by any other users in order for se to execute it. Thank you + to Matthias Kilian of the OpenBSD project for alerting me to this issue. + +2013-03-06 Thomas Cort + + * Version 3.0 released. + * Convert the build system to automake/autoconf. + * Modernize the K&R style function prototypes. Resolve compiler warnings. + * Use safer versions of string functions (snprintf, strncpy, etc). + * Rename some functions to avoid naming conflicts (delete, index, etc). + * Port to Linux, BSD, GNU, Haiku, Minix, OpenSolaris, and others. + * Add support for termios, make termio the fallback. + * Drop HARD_TERMS, OLD_SCRATCH, and OLD_GLOB options. + * Remove hardcoded paths, get them from autoconf now. + * Use syslog for optional usage logging instead of a file in /usr/tmp. + * Add a sample .serc file. diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..ca8e407 --- /dev/null +++ b/COPYING @@ -0,0 +1,6 @@ +The se source code and associated files are in the public domain. + +There are a few output files from autoconf/automake (configure, Makefile, etc) +which contain copyright notices. Those notices give unlimited permission to +copy and/or distribute the files, with or without modifications, as long as +the notices are preserved. diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..d1f2d51 --- /dev/null +++ b/NEWS @@ -0,0 +1,19 @@ +2022.02.08 - Convert to Makefile build system. + +2022.02.07 - Forked se 3.0.1. + +2013.03.24 - se 3.0.1 has been released. This is a security release. It is + recommended that all users upgrade. The release fixes + insecure handling of .serc files. The new behaviour is + to ignore .serc files that aren't owned by the euid of + the se process and .serc files that are writable by + other users. No other changes are included in this + release. Thank you to Matthias Kilian of the OpenBSD + project for alerting me to this issue. + +2013.03.06 - se 3.0 has been released. This release includes major portability + enhancements and build system changes. The old makefile based + build system has been replaced with a slick new autotools + configure script. This, combined with some code modernization, + allows se to build and run on a variety of platforms. See the + ChangeLog for details. diff --git a/README b/README new file mode 100644 index 0000000..3010947 --- /dev/null +++ b/README @@ -0,0 +1,39 @@ +MSE, or the Minimal Screen Editor, is a screen-oriented version of the +Unix editor ed. It contains a number of quirks, and is somewhat +idiosyncratic at times, but if you're patient I think you'll find it +rather enjoyable. + +When I came across it (looking for an ed with a UI), I decided to start +writing patches removing obsolete and unneeded code - eventually these +will turn into my own version of a screen-oriented ed. + +ORIGINAL README FOLLOWS. +------------------------------------------------------------------------- + http://se-editor.org/ + +This is the source code for the text editor, se ('Screen Editor'). +se is a screen oriented version of the classic UNIX text editor ed. +The editor implements many of the commands of ed, but instead of +being line oriented, se is screen oriented. + +Se started out as the version of 'ed' that came with the book 'Software +Tools', by Kernighan and Plauger, which was written in Ratfor. On the Pr1me +computers at the School of Information and Computer Science at Georgia Tech, +Dan Forsyth, Perry Flinn, and Alan Akin added all the enhancements suggested +in the exercises in the book, and some more of their own. Jack Waugh made +extensive modifications to turn it into a screen editor; further work was done +by Dan Forsyth. All of this was in an improved Georgia Tech version of Ratfor. + +Later, Dan Forsyth, then at Medical Systems Development Corporation, +converted the Ratfor version into C, for Berkeley Unix (4.1 BSD). At Georgia +Tech, Arnold Robbins took the C version and added many new features and +improvements, the most important of which was termcap support and System V +support. The existing help screens were edited and completed at that time, as +well. This was completed in early 1985. + +In early 2013, Thomas Cort continued maintenance of se, modernizing +the code base and build system to support current POSIX operating systems. +Thomas' primary motivation is to preserve this bit of computing history. +His goals are to squash any remaining bugs and make se as portable as +possible. No major new features will be added. He can be reached at +tcort@se-editor.org diff --git a/TODO b/TODO new file mode 100644 index 0000000..5b4a0ad --- /dev/null +++ b/TODO @@ -0,0 +1,30 @@ +This file lists potential improvements for future versions of se. + + - Remove code not related to supporting *nix + - Remove any non-portable (ideally POSIX but de facto works too) code + - Remove any code not related specifically to editing (email notifs, etc) + - Adjust line-editing to be more intuitive (maybe use a simple line-edit + library) + - Figure out why there appears to be a line limit on current file. Fix. + - Revert autotools build to makefile-based. [DONE - 2022/2/8] + + + +OLD SE TODO FOLLOWS. ENCLOSED IN BRACKETS ARE NEW NOTES. +----------------------------------------------------------------- + +Documentation: + + - tutorial (like vimtutor or `C-h t` in emacs) [not necessary] + - texinfo manual [use mandoc] + +Port to the following operating systems: + + - FreeDOS [just no] + (this is a high cost, low reward target, but it might be + an interesting platform to support). + +Other Improvements: + + - Better usage() output with useful explainations. + - add a test suite (should be easy since we have scriptse already). diff --git a/help/Makefile.am b/help/Makefile.am new file mode 100644 index 0000000..9c588dd --- /dev/null +++ b/help/Makefile.am @@ -0,0 +1,11 @@ +# This file is in the public domain. + +helpdir = $(datadir)/@PACKAGE@/help + +help_DATA = a abt ah arg2 args b bang bug c cc ccmisc chardel charins colon \ + com comdir comsyn d dir e eh elp equal f g h i j k l list ln m \ + motion n o o- oa oc od of og oh oi ok ol olm om os ot ou ov ow ox \ + oy oz p pat patex q quote r rpt s scan serc shell specl t termchar \ + tilde u v w x y z + +EXTRA_DIST = $(help_DATA) diff --git a/help/Makefile.in b/help/Makefile.in new file mode 100644 index 0000000..408187b --- /dev/null +++ b/help/Makefile.in @@ -0,0 +1,406 @@ +# Makefile.in generated by automake 1.11.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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@ + +# This file is in the public domain. + +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 = : +subdir = help +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 = +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)$(helpdir)" +DATA = $(help_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTERMCAP = @LIBTERMCAP@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +helpdir = $(datadir)/@PACKAGE@/help +help_DATA = a abt ah arg2 args b bang bug c cc ccmisc chardel charins colon \ + com comdir comsyn d dir e eh elp equal f g h i j k l list ln m \ + motion n o o- oa oc od of og oh oi ok ol olm om os ot ou ov ow ox \ + oy oz p pat patex q quote r rpt s scan serc shell specl t termchar \ + tilde u v w x y z + +EXTRA_DIST = $(help_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) --foreign help/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign help/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-helpDATA: $(help_DATA) + @$(NORMAL_INSTALL) + @list='$(help_DATA)'; test -n "$(helpdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(helpdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(helpdir)" || 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)$(helpdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(helpdir)" || exit $$?; \ + done + +uninstall-helpDATA: + @$(NORMAL_UNINSTALL) + @list='$(help_DATA)'; test -n "$(helpdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(helpdir)'; $(am__uninstall_files_from_dir) +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(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)$(helpdir)"; 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-helpDATA + +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-helpDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-helpDATA \ + 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-helpDATA + + +# 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/help/a b/help/a new file mode 100644 index 0000000..f426006 --- /dev/null +++ b/help/a @@ -0,0 +1,16 @@ + a -- Append command + + default range syntax + . a + + "a" is for appending new lines of text after a given line. If + no line number is typed before the "a", text will be appended + after the current line. The last line appended becomes the + current line. To signal the end of the appended text, you + type a "." on a line by itself. Control characters "f", "v", + "l", and "k" work differently for "a" command than for "v". + "a:" works as a one line append (i.e. anything following the + colon is appended after the current line). + + To return to the command directory, type "hcomdir." + See also: "hcc" (control characters) and "hc" (change). diff --git a/help/abt b/help/abt new file mode 100644 index 0000000..d537a11 --- /dev/null +++ b/help/abt @@ -0,0 +1,12 @@ + Abort character + + CTRL-F ("Funny Return") character is used to abort a "v" + command before all the specified lines have been modified. + Typing it causes the current line to be restored to its state + of before the "v" command was begun, and causes a return to + the editor's command level. + + + Type "hv" for a description of the "v" command. + Type "hrpt" for CTRL-F's meaning if in append or command mode. + Type "htermchar" for info about other termination characters. diff --git a/help/ah b/help/ah new file mode 100644 index 0000000..7c2e8d2 --- /dev/null +++ b/help/ah @@ -0,0 +1,6 @@ + + If you're running Berkeley Unix, and you're bored + Type the following command for something enjoyable: + + !rogue + diff --git a/help/arg2 b/help/arg2 new file mode 100644 index 0000000..907d42a --- /dev/null +++ b/help/arg2 @@ -0,0 +1,16 @@ + Arguments (cont) + + Once the terminal type is established, the remaining arg- + uments are interpreted thus: if the argument begins with a + "-", the rest of it is interpreted as though it appeared after + the "o" in an option command. For example, an argument of + "-w10" acts as a command "ow10". On the other hand, if the + argument does not begin with "-", it is interpreted as a file + name (path- name). The named file is read into the edit + buffer, and its name becomes the remembered file name. If + more than one file is named, the edit buffer will contain the + contents of all the files. If an error is encountered while + interpreting arguments (file not found, illegal option), the + remainder will be ignored. + + For invoking command syntax, type "hargs". diff --git a/help/args b/help/args new file mode 100644 index 0000000..3af96e0 --- /dev/null +++ b/help/args @@ -0,0 +1,9 @@ + Argument Handling + + The syntax for 'se's invoking command is usually given as + se {-