From: Roland G. <RGI...@cp...> - 2003-06-19 16:23:46
|
> Could someone explain to me the difference, if any, between: > > $e->raw_pty(1); > > and > > $e->slave->stty('raw'); Well, the main difference is that you can use raw_pty without pulling in IO::Stty, that's why I added it. And of course that you can specify it before the pty gets allocated and used. This prevents a race that the spawned program would start generating output which gets mangled by the pty before the parent has time to set the pty to raw. Hope this helps, Roland |