[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] ash (busybox) problem:"job control turned off" -- getty
From:       "Vladimir N. Oleynik" <dzo () simtreas ! ru>
Date:       2002-06-26 6:35:06
[Download RAW message or body]


Erik,

> On Sat Jun 08, 2002 at 07:43:03PM +0400, Vladimir N. Oleynik wrote:
> > Last path to loginutils/login.c and init.c in attach.
> 
> Hi vodz.  Your login patch looks fine to me.  I don't
> see any patch to init.c though.  Forgotten?

Ok. I ready for publicate this path.

Comment special for others patcher`s:

1) PLEASE. Do not change strlen("strings") to sizeof("string"). 
This not equivalent! (align effect). 
I very long time finding this strange error... :(

2) Function console_setup() closed descriptor! (Very old bug).

3) Please not put setsid() in mixed places. This do different effect!

4) I think, ASK_FIRST set emergency shell mode. This not have
by default "job control". 

DANGER: Control tty setted after reopen console only.

If require "job control" to ASK_FIRST inittab line You must set:

tty1::askfirst:/bin/sh --login < /dev/tty1 > /dev/tty1 2> /dev/tty1

Or use getty+login.


--w
vodz
["last_patch47.gz" (application/x-gzip)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic