If that's the problem, then it's quite similar to bug 12647, and the solution used there might be more robust. kbd_mode, unlike stty, doesn't rely on the terminfo database, which may be beneficial since we're running with only cached files available.
If that's the problem, then it's quite similar to bug 12647, and the solution used there might be more robust. kbd_mode, unlike stty, doesn't rely on the terminfo database, which may be beneficial since we're running with only cached files available.