Fake tcgetattr() to allow busybox to do line edits