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 >

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

2018-10-29 Thread Ricky Tigg
Awesome, thanks! ma 29. lokak. 2018 klo 13.57 Ilkka Virta (itvi...@iki.fi) kirjoitti: > On 29.10. 12:40, Ricky Tigg wrote: > > Actual result: > > > > $ curl https://www.startpage.com > > (...) [yk@localhost ~]$ > > The shell just prints the prompt where ever the cursor was left. That's > quite

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

2018-10-29 Thread Ilkka Virta
On 29.10. 12:40, Ricky Tigg wrote: Actual result: $ curl https://www.startpage.com (...) [yk@localhost ~]$ The shell just prints the prompt where ever the cursor was left. That's quite common, the only exception I know is zsh, which moves the cursor to the start of line if the previous

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

2018-10-29 Thread Davide Brini
On Mon, 29 Oct 2018 11:40:54 +0100, Ricky Tigg wrote: > Component: bash.x86_64 4.4.23-5.fc29 @fedora > > To reproduce,: execute 'curl https://www.startpage.com'. > > Actual result: > > $ curl https://www.startpage.com > (...) [yk@localhost ~]$ > > Expected result: > > $ curl

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

2018-10-29 Thread Ricky Tigg
Component: bash.x86_64 4.4.23-5.fc29 @fedora To reproduce,: execute 'curl https://www.startpage.com'. Actual result: $ curl https://www.startpage.com (...) [yk@localhost ~]$ Expected result: $ curl https://www.startpage.com (...) [yk@localhost ~]$