version 1.12, 2001/04/14 16:33:20 |
version 1.13, 2001/04/15 01:35:22 |
|
|
} else { |
} else { |
/* |
/* |
* SSH2: |
* SSH2: |
* Opcodes 0 to 159 are defined to have |
* Opcodes 1 to 159 are defined to have |
* a uint32 argument. |
* a uint32 argument. |
* Opcodes 160 to 255 are undefined and |
* Opcodes 160 to 255 are undefined and |
* cause parsing to stop. |
* cause parsing to stop. |
|
|
return; /* Don't process bytes passed */ |
return; /* Don't process bytes passed */ |
} |
} |
if (failure == -1) |
if (failure == -1) |
return; /* Packet parsed ok but tty stuff failed */ |
return; /* Packet parsed ok but tcgetattr() failed */ |
|
|
/* Set the new modes for the terminal. */ |
/* Set the new modes for the terminal. */ |
if (tcsetattr(fd, TCSANOW, &tio) == -1) |
if (tcsetattr(fd, TCSANOW, &tio) == -1) |