From: already5chosen@yahoo.com   
      
   On Mon, 10 Nov 2025 23:24:53 -0000 (UTC)   
   Kaz Kylheku <643-408-1753@kylheku.com> wrote:   
      
   > On 2025-11-10, Michael Sanders wrote:   
   > > On Mon, 10 Nov 2025 15:19:08 GMT, Scott Lurndal wrote:   
   > >   
   > >> If you are using linux, I'd recommend using libreadline   
   > >> or libedit rather than manually dealing with 'command lines'.   
   > >   
   > > Not all who wander are lost (translation: Many thanks but   
   > > I recommend teaching myself & building it myself).   
   > > I like dealing with things it means less 3rd party   
   > > stuff & extra libs. =)   
   >   
   > Antirez's "Linenoise" library is one .h and one .c file you can   
   > put into your C project; then you have no external dependency   
   > on libedit or libreadline.   
   >   
      
   Interesting.   
   I'd look at it for my embedded work.   
   Today, in embedded projects that feature command interpreter, I either   
   use my own line edit/history code or one I stall from Microsoft ~20   
   years ago (Microsoft's license from 20 years ago encourages stealing,   
   as long as result isn't GPLed).   
   I both cases I am not fully satisfied with behavior of command history.   
      
   > (The latter is poison because it's GPLed, by the way).   
   >   
      
   I wouldn't use libreadline in OS-less or lite-OSed embedded software   
   even if it had most anarchistic license in the World. It's too huge and   
   convoluted and probably assumes things that I don't want assumed.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|