Need help with raw mode programs (AIX3.1 Risc-6000)

Need help with raw mode programs (AIX3.1 Risc-6000)

Post by Tim Fredri » Wed, 02 Jan 1991 07:49:15



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


 
 
 

1. Need help with elm 2.3 pl9 for the Risc-6000 (AIX3.1)

I compiled elm2.3pl9 on the IBM Risc-System 6000 using the cc compiler
under AIX3.1.  When I try to run elm, I get the following message

    elm -z
    Failed trying to initialize your terminal entry:  unknown return code -3

Has anyone successfully ported elm2.3 to the IBM Risc-System 6000?  If so,
what did you change to avoid this problem?  Does anyone else have any
insight?

Tim Fredrick             National Center for Atmospheric Research
                         Atmospheric Chemistry Division


2. ISDN Modem

3. How do I install a modem on a Risc-6000 (AIX3.1.3003)?

4. remote X can't access :1 on my system (xhost bug/problem?)

5. Is there a program to display CPU load on the Risc-6000?

6. Remote Host Name

7. Can't telnet to a Risc-System 6000/530 (AIX3.1.3002)

8. Booting problem

9. CommServer to RISC-6000

10. Can the Risc-6000 8mm tape drive read Exabyte tapes?

11. Looking for TeX for the Risc-6000

12. 3480 tape drive for RISC-6000

13. dataless RISC-6000?