Date: Sat, 16 Dec 1995 21:20:40 -0500 (EST) From: John Capo <jc@irbs.com> To: partha@Ipsilon.COM (Partha Saraty) Cc: bugs@FreeBSD.org Subject: Re: ping from a background process stops for input Message-ID: <199512170220.VAA03563@irbs.irbs.com> In-Reply-To: <199512170037.QAA23976@mailhost.Ipsilon.COM> from "Partha Saraty" at Dec 16, 95 04:37:08 pm
index | next in thread | previous in thread | raw e-mail
Partha Saraty writes:
>
>
> When I do a ping and place the stdout in a file from a
> background process, it waits for tty input and doesn't
> continue. Is this a known problem? Is there a
> workaround? Any help would be appreciated.
>
Redirect ping's input from /dev/null or remove this piece of code
from ping.c:165.
if (tcgetattr (0, &ts) != -1) {
reset_kerninfo = !(ts.c_lflag & NOKERNINFO);
ts.c_lflag |= NOKERNINFO;
tcsetattr (0, TCSANOW, &ts);
}
John Capo
IRBS Engineering
(305) 792-9551
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512170220.VAA03563>
