[comp.unix.i386] Line discipline source

shepperd@dms.UUCP (Dave Shepperd) (11/13/89)

I've recieved nearly 2 dozen requests for the source code to my
line discipline, so I posted it last week in a measly 4 parts.
Already the reports are coming in: missing part(s) n, please
re-send them. Since my mailer appears to be mainly incoming only,
I have no other choice than to re-post the whole kit-n-kaboodle.
The documentation on the beast is poor (well, ok, I admit it
really sucks) so is not ready for the prime time comp.sources
so I'm posting it this time to alt.sources in 4 parts taking
about 200k bytes. Be forwarned. If you want it, watch there.

Since this kind of program seems to stir up primal emotions bordering
on the religious in some people, I offer the following: "If you find
the material offensive, please don't look at it or use it".
I.e. flames > /dev/null.

It was pointed out to me that I didn't answer the questions "What
the hell is this? Do I want it?" in the first paragraph of the README
file so I fixed that. To recap:

		Cled version 1.7 11/07/89

Cled is a interactive command line editor with history that lives as
a line discipline. It is currently used on SCO Xenix and SCO Unix
systems and hasn't been tested on other flavors of *nix systems
(although it ought to work).

As a line discipline, all programs that read "cooked" input from a
terminal (adb, csh, sh, sdb, ftp,...) may use it if they (or the user)
chooses. It does not affect programs that read from the terminal in raw
mode (emacs, vi, ksh, telnet,...). This affords the user a uniform line
editing environment. Although, as shipped, the defaults have been setup
to match those of a VMS system, they are easily changed to match those
of emacs, vi, etc. either system wide or per individual's requirements.

Minimum System requirements to install this editor (without modification):
   1) Be able to login as root.
   2) SCO UNIX 3.2, Xenix/386 2.3.1 or later.
   3) Unix/Xenix development system.
   4) The link kit must be installed.

Minimum requirements to use this editor:
   1) VT100 terminals (or compatibles) connected either directly or
	through terminal servers or X window system servers running xterm.
	(The console on a Xenix/Unix system qualifies, but may want/need
	to change some of the key maps either in cled or in the system).

The VT100 requirement is a soft requirement, and exists mainly because
it is the VT100 escape sequences that are recognized for the cursor
positioning keys. Cusor positioning may be mapped to control keys if so
desired.

-- 
Dave Shepperd.	    shepperd@dms.UUCP or motcsd!dms!shepperd
Atari Games Corporation, 675 Sycamore Drive, Milpitas CA 95035.
Nobody knows what I'm saying. I don't even know what I'm saying.