]> git.lizzy.rs Git - linenoise.git/commitdiff
minor doc update
authorantirez <antirez@gmail.com>
Mon, 22 Mar 2010 01:55:22 +0000 (02:55 +0100)
committerantirez <antirez@gmail.com>
Mon, 22 Mar 2010 01:55:22 +0000 (02:55 +0100)
README.markdown
linenoise.c

index 22a1a1e6ddcf81d6f20b0e8465ee406dacd9f48e..dd655572590d7ea6815eb644e89ed304bf5979cd 100644 (file)
@@ -6,9 +6,9 @@ A minimal, zero-config, BSD licensed, readline replacement.
 
 Line editing with some support for history is a really important feature for command line utilities. Instead of retyping almost the same stuff again and again it's just much better to hit the up arrow and edit on syntax errors, or in order to try a slightly different command. But apparently code dealing with terminals is some sort of Black Magic: readline is 30k lines of code, libedit 20k. Is it reasonable to link small utilities to huge libraries just to get a minimal support for line editing?
 
-So what usually happens is either
+So what usually happens is either:
 
- * Large programs with configure scripts disabling line editing if readline is not present in the system, or not supporting it at all since readline is GPL licensed and libedit (the BSD clone) is not as known and available as readline is (Example: Tclsh).
+ * Large programs with configure scripts disabling line editing if readline is not present in the system, or not supporting it at all since readline is GPL licensed and libedit (the BSD clone) is not as known and available as readline is (Readl world example of this problem: Tclsh).
  * Smaller programs not using a configure script not supporting line editing at all (A problem we had with Redis-cli for instance).
  
 The result is a pollution of binaries without line editing support.
index 70b1efbd17eaa68b1537edf72311c013373ed215..2b3e5ef77c73a22d8ce1a3df0f6fbab21abd7929 100644 (file)
  *
  * Todo list:
  * - Switch to gets() if $TERM is something we can't support.
+ * - Filter bogus Ctrl+<char> combinations.
+ * - Win32 support
+ *
+ * Bloat:
  * - Completion?
+ * - History search like Ctrl+r in readline?
  *
  * List of escape sequences used by this program, we do everything just
  * with three sequences. In order to be so cheap we may have some