Changeset d2d4372d in rtems


Ignore:
Timestamp:
Apr 3, 2000, 1:24:38 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
52448f35
Parents:
7ea9f1d
Message:

Patch from Charles-Antoine Gauthier <charles.gauthier@…> reviewed
by Eric Norum <eric@…> to disable flow control at initialization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libc/termios.c

    r7ea9f1d rd2d4372d  
    239239                tty->termios.c_iflag = BRKINT | ICRNL | IMAXBEL;
    240240                tty->termios.c_oflag = OPOST | ONLCR | XTABS;
    241                 tty->termios.c_cflag = B9600 | CS8 | CREAD;
     241                tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;
    242242                tty->termios.c_lflag = ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;
    243243
     
    257257                tty->termios.c_cc[VLNEXT] = '\026';
    258258
    259                 /* setup flow control mode, clear flow control flags */
    260                 tty->flow_ctrl = FL_MDXON;
     259                /* start with no flow control, clear flow control flags */
     260                tty->flow_ctrl = 0;
    261261                /*
    262262                 * set low/highwater mark for XON/XOFF support
Note: See TracChangeset for help on using the changeset viewer.