full history API implemented
[CleanReadLine.git] / README.md
1 Clean readline Version 0.3
2 ==========================
3
4 ReadLine is a Clean library that allows interactive console programs to use the
5 GNU readline libraries. At the moment this is only tested on Linux.
6
7 ###Usage
8 To setup the library you can simply run
9 ```
10 make -C Clean\ System\ Files
11 ```
12
13 To compile and test the test program you can run
14 ```
15 make
16 ./test
17 ```
18
19 When you want to use the library in your program you should compile with the
20 `-l -lreadline` linker flag
21
22 All functions try to resemble the original
23 [readline](http://cnswww.cns.cwru.edu/php/chet/readline/readline.html) and
24 [history](http://cnswww.cns.cwru.edu/php/chet/readline/history.html) api
25 functions as close as possible
26
27 *Please note that some functions will crash if `usingHistory` is not called*
28
29 ###Changelog
30
31 - 0.3 (2016-01-26)
32 - Better build mechanism
33 - Information about the history list functions implemented, not thoroughly
34 tested though.
35 - Fixed issue #1
36 - History state can now be written as well as read
37 - 0.2 (2016-01-25)
38 - History file operations added
39 - EOF is now properly handled
40 - 0.1 (2016-01-25)
41 - Readline is working
42 - History works but no control over it
43
44 ###Todo
45
46 - Use builtin Maybe if available, otherwise fall back on own Maybe
47 - Complete history api implementation
48 - Control over tabcompletion, right now it completes on filenames.
49 - Check possibilities for Windows/Mac
50
51 ###Author
52
53 Mart Lubbers (mart at martlubbers.net)