TCSASOFT
(void)tcsetattr(input, TCSAFLUSH|TCSASOFT, &term);
while (tcsetattr(input, TCSAFLUSH|TCSASOFT, &oterm) == -1 &&
#ifndef TCSASOFT