IETF-SSH archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: fds beyond 0/1/2
Nicolas Williams <Nicolas.Williams%oracle.com@localhost> writes:
> That's true in the pty case (because the stdout/stderr distinction is
> lost before the writes even happen as the two fildes will both refer to
> the same pty).
It's possible (and perfectly logical, at least to me) to implement the
pty case on the server side by allocating one pty to use for stdin and
stdout, and a separate pipe for stderr. But when I tried thet, some
shells, notably bash, seemed to get into problems.
Anyway, I don't see a big problem with having the same flow control
window for stdout and stderr. Not sure what to think about the multiple
fd case, since it's unclear to me what the applications are.
Regards,
/Niels
--
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
Home |
Main Index |
Thread Index |
Old Index