On Mon, Oct 29, 2018 at 7:37 AM Ilkka Virta wrote:
>
>prompt_to_bol() { local pos; printf '\e[6n'; read -sdR pos;
>[[ ${pos#*;} != 1 ]] && printf '\e[30;47m%%\n\e[0m'; }
>PROMPT_COMMAND=prompt_to_bol
>
> (I stole the main parts from the answers in
> https://unix.stackexchange.com/q
Additionally, for simple uses, using:
read -t
Works for pseudo built-in sleep. Not easy to use in subshells, or with any
forks.
On Sun, Aug 19, 2018, 12:12 PM konsolebox wrote:
> On Mon, Aug 20, 2018 at 12:26 AM, Clint Hepner
> wrote:
> >
> >> On Aug 19, 2018, at 10:25 AM, konsolebox wrote:
>
Hello,
Instead of segfaulting, BASH should ensure READELINE_LINE is unset or set
and empty.
*Configuration Information:*
Machine: x86_64
OS: linux-gnu
Compiler: x86_64-pc-linux-gnu-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64