Debian Codegraph @

src/getline/CHANGES

raw
1 Changes from last patch (v38i004 in comp.sources.misc)
2 * added djgpp support on PCs
3 * cleanup up __unix__ ifdefs
4 * added __STDC__ prototypes in header file
5 * change makefile to build an archive and testgl
6 * added retry on interrupted read()s
7 * fixed GO32 keymapping to handles arrow keys properly
8
9 Changes from last release (v37i050 in comp.sources.misc)
10 * Added support for AIX, XENIX, TurboC, gcc (EMX) under OS/2
11 * Added ^U (kill line) functionality
12 * Added ESC-B/ESC-F backward/forward one word functionality
13 * Made it possible to preload history with gl_histadd() before calling
14 getline()
15
16 Changes from last release (v28i056 in comp.sources.misc)
17
18 * type-ahead saved in BSD mode (was OK in SYSV and POSIX)
19 * fixed POSIX mode bug and enabled termios use if POSIX defined.
20 * allow caller to supply a prompt width calculation function so that the
21 caller can embed escape sequences into the prompt (see gl_strwidth in
22 the man page).
23 * added a getline.h header file for inclusion into the caller.
24 * man page added, thanks to DaviD W. Sanderson ([email protected])
25
26
27 Changes from previous release (v25i056 and patch v26i092)
28
29 * The user no longer calls gl_init() and gl_cleanup(), getline() sets
30 required terminal modes on entry and resets before returning. This
31 was necessary to capture changes in terminal modes that the main
32 program might be making.
33 * Getline() now looks to see which characters are bound to signal
34 generation, and when these characters are seen getline() resets
35 terminal modes before passing on the signal. If the signal handler
36 returns to getline(), the screen is automatically updated and editing
37 can continue.
38 * The toggle key for overwrite mode has been moved from ^G to ^O
39 * All code is now classic rather than ANSI C, so any compiler should
40 be able to handle it.
41 * ^Y now yanks back previously kill'ed (^K) text starting at the
42 current location.
43 * ^R/^S begin reverse and forward incremental searches through the
44 history list.
45 * The programmer must add buffers onto the history list by calling
46 gl_addhist(char *buffer). This function makes copies of the buffer
47 and adds them to the history list if the buffer is not a blank line
48 and if the buffer is different than the last item saved (so the
49 program need not check for these conditions)
50 * The main program can specify the screen width to use with a call to
51 gl_setwidth(int width)
52 * Getline now insists that both the input and output are connected to
53 a terminal. If this is not the case, an error message is written and
54 the program is terminated. The main program should check for this
55 case and use buffered IO (stdio) for non-interactive sessions.
56