version 0.3
[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 /usr/lib/libreadline.so` 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 ###Changelog
28
29 - 0.3 (2016-01-26)
30 - Better build mechanism
31 - Information about the history list functions implemented, not thoroughly
32 tested though.
33 - Fixed issue #1
34 - History state can now be written as well as read
35 - 0.2 (2016-01-25)
36 - History file operations added
37 - EOF is now properly handled
38 - 0.1 (2016-01-25)
39 - Readline is working
40 - History works but no control over it
41
42 ###Todo
43
44 - Use builtin Maybe if available, otherwise fall back on own Maybe
45 - Complete history api implementation
46 - Control over tabcompletion, right now it completes on filenames.
47 - Check possibilities for Windows/Mac
48
49 ###Author
50
51 Mart Lubbers (mart at martlubbers.net)