home *** CD-ROM | disk | FTP | other *** search
- Send bug reports, fixes and enhancements to:
- Chris Thewalt (thewalt@ce.berkeley.edu)
- 11/9/91
-
- A simple driver called testgl.c has been included, all it does is echo each
- line of input that is read. The user can perform editing and history
- manipulation before hitting RET.
-
- The details of getline are all included as comments within getline.c
-
- environment: ANSI C, UNIX (sysv or bsd) or MSDOS with MSC
- (Converting to K&R C should be fairly simple)
-
- tested on: DECstation 5000, Ultrix 4.2 with gcc
- Sun Sparc II, SunOS 4.1.1, gcc
- SGI Iris, IRIX System V.3, cc
- PC, DR DOS 5.0, MSC 6.0
-
- description: Getline can be used in programs that want to provide
- an emacs style line editing cabability with history.
- Getline allows the user to edit the current line
- and move through the history list of lines previously
- typed and returns the buffer to the caller when RETURN
- is entered. Long lines are handled by scrolling.
- Does NOT use termcap, uses only \b to move around.
-
- The actual editing capabilites are a very small subset
- of emacs commands, but then the package is very small
- and quite portable. Get GNU readline if you need more
- powerful editing.
-