]> git.lizzy.rs Git - linenoise.git/commitdiff
README changes
authorantirez <antirez@gmail.com>
Sun, 21 Mar 2010 09:29:32 +0000 (10:29 +0100)
committerantirez <antirez@gmail.com>
Sun, 21 Mar 2010 09:29:32 +0000 (10:29 +0100)
README.markdown

index 01c7b7f7b3ae2d0e935f54ba7b97672bee585624..0faa8425eaa40861037174ce3da0319b8112a7d6 100644 (file)
@@ -4,7 +4,7 @@ A minimal, zero-config, readline replacement.
 
 ## Can a line editing library be 20k lines of code?
 
-Line editing with some support for history is a really important feature for command line utilities. Intead to retype everything 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?
+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?
 
 It's a matter of coding philosophy. For me shipping zero-configuration software is very important. Software that just works, uncompressing the tar.gz and typing make. Also not enabling line editing if readline is not present in the system is lame: as it is not a blocking requirements many configuration script will just drop the support if you don't have the lib installed. The result is a pollution of binaries without line editing support.