<sdomi>
lol, why the heck does `read` (no args) do line editing with backspaces just fine, but if I use `read -d $'\x12'` (^R) then backspace just shows the escape code?
<sdomi>
better yet, if retrieved with readline then backspaces work, but it ignores newlines
<isabella>
because in the first case you're in cooked mode, but in the latter read needs to enable raw mode