문제

If I have a pseudo terminal given to me (from say a pty-req (http://www.ietf.org/rfc/rfc4254.txt)) do I need to emulate the data coming back, or is that already emulated data?

도움이 되었습니까?

해결책

It depends on the level of emulation you're talking about. The pty uses the remote server's terminal driver, so options controlled by stty (and the analogous system calls) will be emulated there.

But you're running an application that sends terminal control escape sequences, you'll need to handle that locally.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top