X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=README;h=c826c97964fef454dbe6e370178d386391eea2ef;hb=1ad7deb43b6a1157e9d9afac48d7e66e41fa7356;hp=9e5f3971d1468948618cd82bd6abf6aa3c44d995;hpb=dba2080a407b920ad54432c484e0044b92cd34c7;p=pd_readline diff --git a/README b/README index 9e5f397..c826c97 100644 --- a/README +++ b/README @@ -1,32 +1,32 @@ ***** README - pd_readline ***** - This repo is for the (eventual) storage of a public-domain + This repo is for the storage of a public-domain readline-and-command-history implementation. -Update - 26th Aug 2012 - +Update - 6th Sep 2012 - -Very useful progress. -Keystroke sequences are now stored in an array of structs. -This makes it VERY easy to see the various special flags -in a keystroke sequence -(e.g. Esc, Ctrl, Alt and so on..... ). +Almost there! +The code now pretty much works as expected. -Big breakthrough - the code can now distinguish between -normal "printable" keys and keys that should not be -printed (e.g. arrow keys, Ctrl sequences and so on). +It looks like the stack-smash problem has now +been fixed. I've give the code a pretty good +hammering and it didn't give me problems. -The next goal is to make the code move the cursor to the -left (when left-arrow is pressed) and delete a char (when -backspace is pressed). +Pressing Enter still exits the program rather +than storing the existing command-line and "staying +in the program". I hope to change this soon. -Still some way to go to get to a REAL readline, but we are -"on the way......" +You can edit a command-line (using backspace). +You can move around with left and right-arrow +keys. +Command-history can be recalled from a file with +the up-arrow key, and you can scroll up and down +through the command-history. This code is released to the public domain. "Share and enjoy........ ;) " - - mooseman