I am struggling to get a USB modem and terminal configured properly under OpenBSD. The same code on Linux is fine. The symptom I am seeing is a hung read() after issuing ATZ\r to the modem.
I'm guessing there's an uninitialized field in my struct termios tty. The latest Posix provides O_TTY_INIT to ensure a terminal is in a good configuration, but OpenBSD does not recognize it. What is the equivalent under OpenBSD? How do I achieve O_TTY_INIT when using a struct termios tty? Thanks in advance.