Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [readline]

The tag has no usage guidance.

0
votes
1answer
769 views

Problem with readline library (Ubuntu 18.04)

Try to launch sudo apt install debsig-verify (this is needed to install slack) and get this message: You might want to run 'apt --fix-broken install' to correct these. The following packages ...
2
votes
0answers
364 views

Using readline in python3 (input) pressing arrows will remove text from the input

My input code is: import readline readline.parse_and_bind('tab: complete') readline.parse_and_bind('set editing-mode vi') while True: c = input('INPUT> ') (It is a little piece of test code ...
1
vote
0answers
93 views

Bash: readline+vim jumps into cmd mode in forward-history-search and upon pressing Delete

I am using the vim mode in my bash (i.e. I setup readline to use vim mode through ~/.inputrc). If I do a history-search-backward and then history-search-forward in insert mode with some characters ...
0
votes
0answers
60 views

How to put cursor between PS1 characters?

I'd like to put the insertion cursor of bash inside the PS1 variable: export PS1='\u@\h:<cursor here>:\w' Where the colons are included in the prompt (typing enter should result in a string "::...
1
vote
2answers
113 views

“readline” when there is output at beginning of line [closed]

I am using the (excellent) readline (version 6.3, default [non-vi] mode) library from within my own program, running in a Terminal window (on a PC). There is a problem when there is previous output ...
5
votes
2answers
74 views

Tab-completion of shell patterns

On my Debian servers I'm used to hitting Tab to "preview" the expansion of shell patterns: $ cp *some*<Tab> something somewhat have-some-cake $ cp *some*_ When the pattern expands to one ...
11
votes
1answer
17k views

How do i do this “install: you may need to run ldconfig”

I need to install readline on a linux server. since I don't have sudo access, I tried this instruction. And I got into problem. I've installed readline by using ./configure, make, make install. At ...
2
votes
1answer
810 views

Where does /etc/inputrc come from?

I'm just being curious about how or from what package the /etc/inputrc file is generated in an Ubuntu system. I've tried: $ apt-file search /etc/inputrc But it outputs nothing. No package assigned? ...
26
votes
2answers
52k views

How do I install GNU Readline?

Basically as per question. I have the .tar.gz file but I can't seem to install it. I did the whole, './configure', 'make' and 'make install' but it didn't work.