Current builds of st print ^H for backspace when reading input, e.g.:
~ $ read
foo^H^H^Hbar
You should read [0]. If you want get a correct behaviour you have to
put this line into your profile:
stty erase
I suspect this question is going to be common, maybe we should put it
in
Quoth Roberto E. Vargas Caballero on Sun, May 25 2014 08:36 +0200:
You should read [0]. If you want get a correct behaviour you
have to put this line into your profile:
stty erase
Ah, sorry, I should have re-read that (very informative) thread. This
makes perfect sense.
--
Wolfgang
Current builds of st print ^H for backspace when reading input, e.g.:
~ $ read
foo^H^H^Hbar
This seems to have been introduced within the last month. A build
from 2014-04-23 (commit 16ac85bf...) handles backspace as expected.
--
Wolfgang Corcoran-Mathe