The Gnu readline library is used by other programs, such as shells and interpreters, to provide common line-editing capabilities.
Questions tagged [libreadline]
83 questions
0
votes
1 answer
After Mojave upgrade, experiencing Readline library errors. Python 3.5 is requiring Readline 7, but Brew installs only Readline 8
Following an upgrade to MacOS Mojave I rebuilt my Python development environment using Homebrew and Pyenv.
I first updated XCODE and my SDK headers ( https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes#3035624…

Chris Luther
- 1
- 1
- 3
0
votes
1 answer
GNU Auto completion on variables
I'm developing a Linux tool with a prompt in C. I have enabled "function" and "file" completion using GNU library. Now I want to extend the support to "variable" name completion as well. Below is the example for better understanding:
WORKING…

Krish
- 1
- 2
0
votes
2 answers
How to stop autocomplete and have normal tab with GNU readline library in Python
Right now, I'm running the following code in Python 2.7:
import readline as rl
rl.parse_and_bind('set editing-mode vi') #allow for arrow keys to be used
rl.set_completer()
raw_input()
According to this, rl.set_completer() should remove the…

Pro Q
- 4,391
- 4
- 43
- 92
0
votes
0 answers
Can you set on Mac so forward word (alt+f or back alt+b) respect underscores as word boundaries?
Is this possible to change the behavior for alt+f and alt+b in terminal and other applications. I have them currently set to forward word and backword word, respectively. I'd like them to respect underscores but I didn't know if this was possible…

J Spen
- 2,614
- 4
- 26
- 41
0
votes
1 answer
Calling readline()'s Tab Completion Directly
I know if I want tab completion I can use
char *readline (const char *prompt);
and I'll get tab completion while it's running, but what if I already have a string that I want to be completed? Is there a specific function in the readline library…

Josh Wein
- 65
- 4
- 12
0
votes
2 answers
libreadline undefined symbol: PC in bash when using | bc -l
I am connecting by ssh to another machine to execute a bash script, whose problematic part is the following:
fkeypar "ex1.fef[1]" TSTARTI #### fkeypar is an external command to get some values to assign to the subsequent…

Py-ser
- 1,860
- 9
- 32
- 58
0
votes
1 answer
don't load readline module in irb
The readline extension on my OSX seems buggy.
$irb -f --noreadline
irb(main):001:0> "中文"
=> "中文"
$irb -f --readline
irb(main):001:0> \U+FFE4\U+FFB8\U+FFAD\U+FFE6
So I want to set --noreadline as default option for irb. how to do it?
p.s. I'm…

Lai Yu-Hsuan
- 27,509
- 28
- 97
- 164
0
votes
1 answer
Why GNU Readline so slow?
I write a program for encrypting.
#include
#include
#include
#include
int main(void) {
char * plain;
char letter;
int value;
int index;
plain = readline("Please input your…

比尔盖子
- 2,693
- 5
- 37
- 53