Idle thoughts: What does `stty` think the backspace key really is on that machine? Maybe it yields 1 for some odd reason, thus being "\x01" = "Ctrl-a" and thus the problem.
Another thought: make the test do "\x02" and test for Ctrl-b instead.
Idle thoughts: What does `stty` think the backspace key really is on that machine? Maybe it yields 1 for some odd reason, thus being "\x01" = "Ctrl-a" and thus the problem.
Another thought: make the test do "\x02" and test for Ctrl-b instead.