/[rdesktop]/sourceforge.net/trunk/rdesktop/serial.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/serial.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 781 by jsorg71, Sat Oct 2 01:30:33 2004 UTC revision 782 by astrand, Thu Oct 7 13:00:29 2004 UTC
# Line 445  serial_create(uint32 device_id, uint32 a Line 445  serial_create(uint32 device_id, uint32 a
445    
446          tcsetattr(serial_fd, TCSANOW, ptermios);          tcsetattr(serial_fd, TCSANOW, ptermios);
447  */  */
448          pser_inf->ptermios->c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);          pser_inf->ptermios->c_iflag &=
449                    ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON);
450          pser_inf->ptermios->c_oflag &= ~OPOST;          pser_inf->ptermios->c_oflag &= ~OPOST;
451          pser_inf->ptermios->c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);          pser_inf->ptermios->c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN);
452          pser_inf->ptermios->c_cflag &= ~(CSIZE|PARENB);          pser_inf->ptermios->c_cflag &= ~(CSIZE | PARENB);
453          pser_inf->ptermios->c_cflag |= CS8;          pser_inf->ptermios->c_cflag |= CS8;
454          tcsetattr(serial_fd, TCSANOW, pser_inf->ptermios);          tcsetattr(serial_fd, TCSANOW, pser_inf->ptermios);
455    

Legend:
Removed from v.781  
changed lines
  Added in v.782

  ViewVC Help
Powered by ViewVC 1.1.26