rlwrap seems cool at first blush, but you quickly realize that for anything nontrivial (e.g. context-aware autocomplete) you need to use readline directly
This isn't about adding readline support to your own programs (although it's a reasonable stop-gap solution there), this is about adding basic readline support to other people's programs without a massive investment.