- // - Current PTY code is strange with mknod
- clt->pty = _SysOpen("/Devices/pts/telnetd0", OPENFLAG_CREATE|OPENFLAG_READ|OPENFLAG_WRITE);
- if( clt->pty < 0 ) {
- perror("Unable to open server PTY");
- _SysClose(clt->Socket);
- clt->Socket = 0;
- return ;
- }
+ // TODO: Use PTYs
+ clt->stdin = _SysOpen("/Devices/fifo/anon", OPENFLAG_READ|OPENFLAG_WRITE);
+ clt->stdout = _SysOpen("/Devices/fifo/anon", OPENFLAG_READ|OPENFLAG_WRITE);