| 1 |
The files in this directory provide simple line-editing and history |
| 2 |
support for the standalone javascript engine, through the 'editline' |
| 3 |
library. |
| 4 |
|
| 5 |
The editline files used here have been modified to work with the js |
| 6 |
build system and to quiet some compiler warnings, and also to remove |
| 7 |
filename-completion support. |
| 8 |
|
| 9 |
Mike McCabe, [email protected] |
| 10 |
|
| 11 |
|
| 12 |
The original README file distributed with the editline library follows. |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
This is a line-editing library. It can be linked into almost any |
| 17 |
program to provide command-line editing and recall. |
| 18 |
|
| 19 |
It is call-compatible with the FSF readline library, but it is a |
| 20 |
fraction of the size (and offers fewer features). It does not use |
| 21 |
standard I/O. It is distributed under a "C News-like" copyright. |
| 22 |
|
| 23 |
Configuration is done in the Makefile. Type "make testit" to get |
| 24 |
a small slow shell for testing. |
| 25 |
|
| 26 |
An earlier version was distributed with Byron's rc. Principal |
| 27 |
changes over that version include: |
| 28 |
Faster. |
| 29 |
Is eight-bit clean (thanks to [email protected]) |
| 30 |
Written in K&R C, but ANSI compliant (gcc all warnings) |
| 31 |
Propagates EOF properly; rc trip test now passes |
| 32 |
Doesn't need or use or provide memmove. |
| 33 |
More robust |
| 34 |
Calling sequence changed to be compatible with readline. |
| 35 |
Test program, new manpage, better configuration |
| 36 |
More system-independent; includes Unix and OS-9 support. |
| 37 |
|
| 38 |
This contains some changes since the posting to comp.sources.misc: |
| 39 |
Bugfix for completion on absolute pathnames. |
| 40 |
Better handling of M-n versus showing raw 8bit chars. |
| 41 |
Better signal handling. |
| 42 |
Now supports termios/termio/sgttyb ioctl's. |
| 43 |
Add M-m command to toggle how 8bit data is displayed. |
| 44 |
|
| 45 |
There is one known bug: |
| 46 |
History-searching redraws the line wrong if the text |
| 47 |
retrieved is shorter then the prompt. |
| 48 |
|
| 49 |
Enjoy, |
| 50 |
Rich $alz |
| 51 |
<[email protected]> |
| 52 |
|
| 53 |
Copyright 1992,1993 Simmule Turner and Rich Salz. All rights reserved. |
| 54 |
|
| 55 |
This software is not subject to any license of the American Telephone |
| 56 |
and Telegraph Company or of the Regents of the University of California. |
| 57 |
|
| 58 |
Permission is granted to anyone to use this software for any purpose on |
| 59 |
any computer system, and to alter it and redistribute it freely, subject |
| 60 |
to the following restrictions: |
| 61 |
1. The authors are not responsible for the consequences of use of this |
| 62 |
software, no matter how awful, even if they arise from flaws in it. |
| 63 |
2. The origin of this software must not be misrepresented, either by |
| 64 |
explicit claim or by omission. Since few users ever read sources, |
| 65 |
credits must appear in the documentation. |
| 66 |
3. Altered versions must be plainly marked as such, and must not be |
| 67 |
misrepresented as being the original software. Since few users |
| 68 |
ever read sources, credits must appear in the documentation. |
| 69 |
4. This notice may not be removed or altered. |