TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Lile a small fast configurable line editing facility

7 pointsby textmodealmost 7 years ago
Interpreters, e.g., k and q, sometimes have no command line history or editing.<p>A solution frequently recommended for k and q is rlwrap.<p>I find rlwrap too big and slow, especially for the tiny, fast k and q interpreters. It feels sluggish.<p>I have begun experimenting with &quot;lile&quot;, a modified version of &quot;ile&quot; which apparently dates back to 1988. I have not seen it discussed anywhere on today&#x27;s www.<p>It is small and fast. Custom key commands can be assigned per application using configuration files.<p>More info:<p>ftp:&#x2F;&#x2F;ftp7.FreeBSD.org&#x2F;sites&#x2F;ftp.netbsd.org&#x2F;pub&#x2F;pkgsrc&#x2F;current&#x2F;pkgsrc&#x2F;misc&#x2F;lile&#x2F;DESCR<p>ftp:&#x2F;&#x2F;ftp6.us.freebsd.org&#x2F;mirror&#x2F;FreeBSD-Archive&#x2F;ports&#x2F;distfiles&#x2F;lile-2.0.tar.z<p>ftp:&#x2F;&#x2F;ftp.sra.co.jp&#x2F;pub&#x2F;os&#x2F;NetBSD&#x2F;NetBSD-current&#x2F;pkgsrc&#x2F;misc&#x2F;lile&#x2F;patches&#x2F;patch-aa<p>Do HN readers have other suggestions?<p>Below are some familiar options I have explored.<p>Dates may be wrong.<p>linenoise (2010)<p>https:&#x2F;&#x2F;github.com&#x2F;antirez&#x2F;linenoise<p>libtecla (2001)<p>http:&#x2F;&#x2F;www.astro.caltech.edu&#x2F;~mcs&#x2F;tecla&#x2F;<p>editline (1992)<p>https:&#x2F;&#x2F;thrysoee.dk&#x2F;editline&#x2F;<p>editline (1992)<p>https:&#x2F;&#x2F;github.com&#x2F;troglobit&#x2F;editline<p>readline (1989)<p>https:&#x2F;&#x2F;tiswww.case.edu&#x2F;php&#x2F;chet&#x2F;readline&#x2F;rltop.html

1 comment

slipwalkeralmost 7 years ago
wow. thanks a LOT ! i had no previous knowledge of this little gem. I am an avid user of rlwrap mostly to &quot;tame&quot; utils like sqlplus ( thanks, oracle ! ) or IBM cmd-line utils... these have horrendous editing capabilities. I am sure to check lile. :)