remove the dependency to remserial by creating our own pseudo terminal device