Click to See Complete Forum and Search --> : pty-redir


hardigunawan
01-17-2001, 10:34 PM
i'm setting up vpn over ssh. It uses pty-redir to redirect ssh's stdin to ptypX.

On linux machine it works, but on QNX, there's an error "Pseudo terminal is not allocated because stdin is not a terminal".

I've rechecked pty-redir source code and it is logically correct.

Is there any c code which I can test whether I can redirect stdin to ptypX?