RE: Switching between foreground and background

2003-09-23 Thread Mariano Moreyra
os. Manuk -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de John T. Williams Enviado el: Martes, 23 de Septiembre de 2003 13:07 Para: [EMAIL PROTECTED]; John T. Williams CC: Silambu Chelvan; [EMAIL PROTECTED]; [EMAIL PROTECTED] Asunto: Re: Switching between foregroun

Re: Switching between foreground and background

2003-09-23 Thread John T. Williams
rom: "Raghuveer" <[EMAIL PROTECTED]> To: "John T. Williams" <[EMAIL PROTECTED]> Cc: "Silambu Chelvan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, September 23, 2003 7:01 AM Subject: Re: Switching between foreground and background >

Re: Switching between foreground and background

2003-09-23 Thread Raghuveer
r setpid() and close stdin, out and err after the fork and go to infinite loop. -Raghu - Original Message - From: "Silambu Chelvan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 22, 2003 6:48 AM Subject: Switching between foreground and backgrou

Re: Switching between foreground and background

2003-09-22 Thread Silambu Chelvan
} > exit(0); > } > > > - Original Message ----- > From: "Silambu Chelvan" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, September 22, 2003 6:48 AM > Subject: Switching between foreground and background > > > > Hi

Re: Switching between foreground and background

2003-09-22 Thread John T. Williams
er 22, 2003 6:48 AM Subject: Switching between foreground and background > Hi all, > > I have written some program with signal handler. Is > this possible, if > one of the signals registered with my program is > raised, my program > should goto background and should come to

Re: Switching between foreground and background

2003-09-22 Thread Markus Klotzbuecher
On Monday 22 September 2003 02:38 pm, Silambu Chelvan wrote: > Hi, > > Thanks for your information. > > The method you suggested works fine but I still have a > requirement. The control is still in the process and > could not see the command prompt. The thing is that I > should get the command prom

Re: Switching between foreground and background

2003-09-22 Thread Silambu Chelvan
Hi, Thanks for your information. The method you suggested works fine but I still have a requirement. The control is still in the process and could not see the command prompt. The thing is that I should get the command prompt whenever the process is put into background so that I can issue some ot

Re: Switching between foreground and background

2003-09-22 Thread Markus Klotzbuecher
On Monday 22 September 2003 12:48 pm, Silambu Chelvan wrote: > Hi all, > > I have written some program with signal handler. Is > this possible, if > one of the signals registered with my program is > raised, my program > should goto background and should come to foreground > when some other of the

Switching between foreground and background

2003-09-22 Thread Silambu Chelvan
Hi all, I have written some program with signal handler. Is this possible, if one of the signals registered with my program is raised, my program should goto background and should come to foreground when some other of the registered signal is raised. how to do it? Any function available to