OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [sim/] [getline/] [CHANGES] - Blame information for rev 35

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.