fredrick@acd.ucar.edu (Tim Fredrick) (01/01/91)
I am having trouble porting programs that want to use the tty in raw mode usually for the purpose of serial data transfers. These programs include macget, macput, xmodem, pcomm, etc. They use BSD line disciplines, but something like: stty disp bsd ; macget stuff ; stty disp posix doesn't seem to work for me. These programs usually set up the terminal with calls to ioctl such as: struct sgttyb ntty; ntty.sg_flags = RAW|ANYP; /* Sets RAW mode, 8-bit i/f, any parity */ ioctl (ttyfd, TIOCSETP, &ntty); Can anyone tell me how to convert these programs to use the posix line disciplines? Or has anyone ported macget, macput, xmodem, etc., to the Risc-System 6000 AIX3.1 successfully? Can I know what you did? Thanks in advance. --Tim Tim Fredrick National Center for Atmospheric Research Atmospheric Chemistry Division fredrick@ncar.ucar.edu PO Box 3000 fredrick@ncar.CSNET Boulder, CO 80307