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 keyhandler.c - Reads the keystrokes and calls
13 functions to handle them.
15 funcs.c - Functions to handle the keystrokes.
18 Update - 6th Sep 2012 -
21 The code now pretty much works as expected.
23 It looks like the stack-smash problem has now
24 been fixed. I've give the code a pretty good
25 hammering and it didn't give me problems.
27 Pressing Enter still exits the program rather
28 than storing the existing command-line and "staying
29 in the program". 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 Command-history can be recalled from a file with
35 the up-arrow key, and you can scroll up and down
36 through the command-history.
38 This code is released to the public domain.
39 "Share and enjoy........ ;) "