On 02/09/2018 07:04 PM, Johnson, Andrew N. wrote:
> Please check out the changes to epicsReadline in 3.16 (I think the
> code in 7.0 is the same but I might be wrong and that was where I did
> the work instead of 3.16). Your work may need some changes but I
> think the newer API may be what you’re looking for.
Thanks, will do.
> The RTEMS targets also have support for a library called libtecla
> which I believe provides some/similar functionality but I don’t know
> exactly what — Eric Norum added that way back.
It is much larger: 22 kLOC in 22 C files, whereas linenoise has just one
C file and one header and 820 LOC. I looked for a smaller and simpler
library because I did not want to spend much time learning how to
configure, build, and use libtecla.
> What is the license for linenoise? I have heard of it and it sounds
> like it might be a good fit.
Looks like a 2-clause standard BSD license [1].
[1] https://github.com/antirez/linenoise/blob/master/LICENSE
Cheers
Ben
--
"Make it so they have to reboot after every typo." ― Scott Adams
Attachment:
signature.asc
Description: OpenPGP digital signature
- References:
- bundling linenoise with base Benjamin Franksen
- Re: bundling linenoise with base Johnson, Andrew N.
- Navigate by Date:
- Prev:
Re: bundling linenoise with base Eric Norum
- Next:
Re: Scanning on event number fails with EPICS 3.16 Dirk Zimoch
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: bundling linenoise with base Eric Norum
- Next:
RE: bundling linenoise with base Laznovsky Michael (PSI)
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024
|