Questions tagged [readline]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
40 views

readline: unknown key modifier

I am attempting to set revert-all-at-newline on in my bash config file. bind 'revert-all-at-newline on' However, this throws the error readline: revert-all-at-newline: unknown key modifier bind ...
10
votes
2answers
267 views

Can I configure bash/readline to automatically convert NBSP to normal space?

I'm using Finnish keyboard layout which maps AltGr+Space to non-breaking space (NBSP, U+00A0). I'm happy with this in general but I find that I often accidentally write NBSP instead of normal space ...
0
votes
1answer
4k 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
576 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
123 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
67 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
193 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 ...
6
votes
2answers
91 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
23k 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 ...
4
votes
1answer
1k 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? ...
30
votes
3answers
69k 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.