Hi all, setsid function creates a new session and the calling process becomes the session leader. But, the new process have no control terminal. How, can i assign a control terminal to the new session. Or, is it possible to reassign a control terminal from one session to other??? bye, saugata