site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Configure both pty line disciplines to disable local echo? To do so, clear ECHO in c_lflag before calling tcsetattr(3)... Thanks for the response! I tried it -- good guess, but still no luck. T _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... On Sep 17, 2007, at 9:34 PM, Régis Duchesne wrote: Another interesting tidbit: I test by using one of the two clients (running a little sandbox in xterm) to send "a" followed by hitting return, and it sends 2 bytes (0x61 0xa, which is 'a' followed by a newline, so that's fine). But when my app reads this from the master file descriptor, it reads 3 bytes -- 0x61 0xa 0xa. Based on that observation and your hint, I also tried clearing the ECHONL flag in my app, but that didn't change anything. I will continue looking at the rest of these flags, but if there's any more ideas out there, feel free to reply. -- Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems. --Jamie Zawinski, in comp.lang.emacs This email sent to site_archiver@lists.apple.com