background and foreground process

background and foreground process

am 06.11.2007 18:57:41 von Payel

Hi,

Can anyone explain me in detail how to implement bg and fg in unix
shell?


Thanks.

Re: background and foreground process

am 06.11.2007 19:36:15 von Loki Harfagr

On Tue, 06 Nov 2007 17:57:41 +0000, Payel wrote:

> Hi,
>
> Can anyone explain me in detail how to implement bg and fg in unix
> shell?

That's quite a big question :-)
Could you explain globally but substantially
what you exactly want to achieve?

Besides, you wrote 'implement', do you mean you're actually
writing a new shell and need infos about how to write the
spawning modules?

Re: background and foreground process

am 06.11.2007 19:42:54 von Payel

On Nov 6, 1:36 pm, loki harfagr wrote:
> On Tue, 06 Nov 2007 17:57:41 +0000, Payel wrote:
> > Hi,
>
> > Can anyone explain me in detail how to implement bg and fg in unix
> > shell?
>
> That's quite a big question :-)
> Could you explain globally but substantially
> what you exactly want to achieve?
>
> Besides, you wrote 'implement', do you mean you're actually
> writing a new shell and need infos about how to write the
> spawning modules?


yes. I wrote a shell and want to add bg and fg functionality into it,
so I need guidance about how to write those functions.

Re: background and foreground process

am 06.11.2007 19:50:13 von Stephane CHAZELAS

2007-11-06, 18:42(-00), Payel:
[...]
>> That's quite a big question :-)
>> Could you explain globally but substantially
>> what you exactly want to achieve?
>>
>> Besides, you wrote 'implement', do you mean you're actually
>> writing a new shell and need infos about how to write the
>> spawning modules?
>
>
> yes. I wrote a shell and want to add bg and fg functionality into it,
> so I need guidance about how to write those functions.

You asked that question already a week ago, multiposting in
several newsgroups and got several answers. Why are you asking
it again. Didn't the answer help you get started?

--
Stéphane

Re: background and foreground process

am 06.11.2007 19:55:35 von Payel

On Nov 6, 1:50 pm, Stephane CHAZELAS wrote:
> 2007-11-06, 18:42(-00), Payel:
> [...]
>
> >> That's quite a big question :-)
> >> Could you explain globally but substantially
> >> what you exactly want to achieve?
>
> >> Besides, you wrote 'implement', do you mean you're actually
> >> writing a new shell and need infos about how to write the
> >> spawning modules?
>
> > yes. I wrote a shell and want to add bg and fg functionality into it,
> > so I need guidance about how to write those functions.
>
> You asked that question already a week ago, multiposting in
> several newsgroups and got several answers. Why are you asking
> it again. Didn't the answer help you get started?
>
> --
> St=E9phane


I got only one answer for it and it was not very clear to get started.

Re: background and foreground process

am 06.11.2007 20:33:02 von Cyrus Kriticos

Payel wrote:
> Stephane CHAZELAS wrote:
>> Payel wrote:
>>
>>>> That's quite a big question :-)
>>>> Could you explain globally but substantially
>>>> what you exactly want to achieve?
>>>> Besides, you wrote 'implement', do you mean you're actually
>>>> writing a new shell and need infos about how to write the
>>>> spawning modules?
>>>>
>>> yes. I wrote a shell and want to add bg and fg functionality into it,
>>> so I need guidance about how to write those functions.
>>>
>> You asked that question already a week ago, multiposting in
>> several newsgroups and got several answers. Why are you asking
>> it again. Didn't the answer help you get started?
>>
> I got only one answer for it and it was not very clear to get started.

http://www.apl.jhu.edu/Misc/Unix-info/workshop/job.html

http://www.amazon.com/book_for_Payel/dp/0201433079

--
Best regards | Be nice to America or they'll bring democracy to
Cyrus | your country.