2 ***** README - pd_readline *****
4 This repo is for the storage of a public-domain
5 readline-and-command-history implementation.
9 pd_readline.c - This is a file to test the
10 implementation. Contains the main() function.
12 test.txt - A small text file to test scrolling
13 up and down with. This would be the "history" file
14 in a real readline implementation.
17 Status - 31st Dec 2015 - "sort of works".
19 I'm back into doing work on this code.
21 I've reverted the code to a much simpler early version.
22 This compiles without errors and allows scrolling up
23 and down through the "test.txt" "dummy history" file.
24 It also allows editing of the command line.
25 However, edits are *not* yet saved in a history file.
27 Pressing Enter exits the program rather than storing
28 the existing command-line and "staying in the program".
29 I hope to change this soon.
31 You can edit a command-line (using backspace).
32 You can move around with left and right-arrow
34 "Dummy" history (from text.txt) can be recalled from a file with
35 the up-arrow key, and you can scroll up and down
36 through that file using the up and down arrows.
38 This code is released to the public domain.
39 "Share and enjoy........ ;) "