Solved BSD licenced readline alternative

kbw

Member

Reaction score: 3
Messages: 40

Does anyone know of a BSD licensed alternative to readline for use in a C application?

Thanks.
 

ShelLuser

Son of Beastie

Reaction score: 1,697
Messages: 3,513

Just curious: why rely on something which isn't part of the FreeBSD base system? In order to have your program run on FreeBSD you'd need to rely on devel/libedit which could be an obstacle.
 
OP
OP
K

kbw

Member

Reaction score: 3
Messages: 40

I've taken to using a 3rd party app that uses fgets to get input. It's become really annoying, so wanted something a bit nicer.

I was about to use readline, then I. saw the license, and started looking for something else.

I have plugged in libedit, works fine, but it wasn't obvious how to persist history.

I may yet have to use readline on Linux. We'll see.
 
Top