remove additional end of line in command output
force stdin to behave as pseudo-tty