* remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.
This commit is contained in:
parent
d513119138
commit
89fd75ae2b
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Jun 22 13:12:33 1995 Kung Hsu <kung@mexican.cygnus.com>
|
||||||
|
|
||||||
|
* remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR.
|
||||||
|
|
||||||
Wed Jun 21 13:24:41 1995 Jeff Law (law@snake.cs.utah.edu)
|
Wed Jun 21 13:24:41 1995 Jeff Law (law@snake.cs.utah.edu)
|
||||||
|
|
||||||
* hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and
|
* hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and
|
||||||
|
|
|
@ -359,14 +359,14 @@ nindy_wait( pid, status )
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
/* Input on remote */
|
/* Input on remote */
|
||||||
c = SERIAL_READCHAR (nindy_serial, 0);
|
c = SERIAL_READCHAR (nindy_serial, -1);
|
||||||
if (c == SERIAL_ERROR)
|
if (c == SERIAL_ERROR)
|
||||||
{
|
{
|
||||||
error ("Cannot read from serial line");
|
error ("Cannot read from serial line");
|
||||||
}
|
}
|
||||||
else if (c == 0x1b) /* ESC */
|
else if (c == 0x1b) /* ESC */
|
||||||
{
|
{
|
||||||
c = SERIAL_READCHAR (nindy_serial, 0);
|
c = SERIAL_READCHAR (nindy_serial, 1);
|
||||||
c &= ~0x40;
|
c &= ~0x40;
|
||||||
}
|
}
|
||||||
else if (c != 0x10) /* DLE */
|
else if (c != 0x10) /* DLE */
|
||||||
|
|
Loading…
Reference in New Issue