Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!pasteur!ucbvax!ulysses!cjc
From: cjc@ulysses.homer.nj.att.com (Chris Calabrese[rs])
Newsgroups: comp.unix.wizards
Subject: Re: where to do line editing?
Summary: ksh editor library
Message-ID: <10447@ulysses.homer.nj.att.com>
Date: 14 Jul 88 14:32:08 GMT
References: <678@gtx.com> <143@loquat.cis.ohio-state.edu>
Organization: AT&T Bell Laboratories, Murray Hill
Lines: 24

In article <143@loquat.cis.ohio-state.edu>, karl@loquat.UUCP writes:
> al@gtx.com writes:
>    [line editing as in ksh is mighty neat, but might be better done
>    [...]
> 
> I did it once.  I created a thing called liblinedit.a, which consisted
> [...]
> It occurs to me that ksh's editing library may even include a way to
> build a libedit.a suitable for such usage.

Yes, it does, and it's used internally at AT&T.
In fact something like this was available as a package from The Store!,
a free dial-up uucp service for owners of AT&T UNIXPC machines.  I'm
not sure if this actually taken from the Ksh, or if it was public domain,
but stuff like this is out there.

Isn't Ksh source is always available from the Tool Chest?

BTW, I wrote such a package in college (for vi compatable line editing
inside a shell which we were writing [we hadn't heard of the Ksh yet]),
and it was pretty straight-forward.
-- 
	Christopher J. Calabrese
	AT&T Bell Laboratories
	ulysses!cjc