Re: GNUbash v. 4.4.23-5 – Bash identifier location is non-correct in terminal

2018-10-30 Thread Jaren Stangret
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

Re: Add sleep builtin

2018-08-19 Thread Jaren Stangret
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: >

Segfault when unsetting READLINE_LINE inside 'bind -x'

2017-04-23 Thread Jaren Stangret
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