[BusyBox] ash (busybox) problem:"job control turned off" -- getty (tinylogin) problem: errno25: Not a typewriter (printed as "Inappropriate ioctl for device")

Erik Andersen andersen at codepoet.org
Wed Jul 3 17:49:05 UTC 2002


On Wed Jul 03, 2002 at 08:42:47PM +0400, Vladimir N. Oleynik wrote:
> > Thanks again vodz, very nice work.  Applied!
> 
> Thanks.
> I have missed one more strange editing:
> ioctl(tmp_pid, TIOCSCTTY, 1);

Yipe!  Good spotting.  I also agree with dropping the fd
and just working with stdin (0).  Much simpler and easier
to unerstand and be sure it is correct,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list