[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to call a bash-func from readline? && how to call rl-func from bash?
From: |
L A Walsh |
Subject: |
How to call a bash-func from readline? && how to call rl-func from bash? |
Date: |
Sat, 13 May 2017 15:14:57 -0700 |
User-agent: |
Thunderbird |
How might one programatically call a bash
function from readline, and pass information from that function
back into readline?
Also, is it possible to define a readline
function, or only use predefined ones?
Ex: On a keypress, I would like to be able to
redefine that key in ".bashrc" and have it call a
bash-function that could map the key to itself or
a sequence of keys based on the shell's current state.
How would someone do that?
Thanks!
-linda
- How to call a bash-func from readline? && how to call rl-func from bash?,
L A Walsh <=