Diff for /np2/x11/cmserial.c between versions 1.2 and 1.4

version 1.2, 2004/06/17 14:28:39 version 1.4, 2007/01/21 00:03:02
Line 12 Line 12
  * 2. Redistributions in binary form must reproduce the above copyright   * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the   *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.   *    documentation and/or other materials provided with the distribution.
  * 3. The name of the author may not be used to endorse or promote products  
  *    derived from this software without specific prior written permission.  
  *   *
  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR   * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES   * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
Line 334  cmserial_create(UINT port, BYTE param, U Line 332  cmserial_create(UINT port, BYTE param, U
   
         /* set misc flag */          /* set misc flag */
         cfmakeraw(&options);          cfmakeraw(&options);
         options.c_cflag |= CLOCAL | CREAD;      /* enable recv and local mode */          options.c_cflag |= CLOCAL | CREAD;
         options.c_cflag |= CRTSCTS;             /* hard flow */          options.c_lflag &= ~(ICANON | ECHO | ECHOE | ISIG);
         options.c_iflag |= ~(IXON | IXOFF);  
   
 #if defined(SERIAL_DEBUG)  #if defined(SERIAL_DEBUG)
         print_status(&options);          print_status(&options);

Removed from v.1.2  
changed lines
  Added in v.1.4


RetroPC.NET-CVS <cvs@retropc.net>