Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!unisoft!rembo From: rembo@unisoft.UUCP (Tony Rems) Newsgroups: comp.unix.sysv386 Subject: Re: no access to tty; no job control Keywords: csh Message-ID: <3275@unisoft.UUCP> Date: 13 Dec 90 08:33:05 GMT References: <4091@pluto.dss.com> Reply-To: rembo@unisoft.UUCP (Tony Rems) Organization: UniSoft Corporation -- UNIX R Us. Lines: 24 In article <4091@pluto.dss.com> cat@pluto.dss.com (Iain Wacey) writes: >I am trying to write a rlogin type program under Interactive Unix. >I exec the login program but when it starts up a csh i get the message > Warning: no access to tty; thus no job control in this shell... >What I need to know is waht causes this and how can I get around it. >Thanks. > Well, most likely you have not set up your tty modes and your controlling terminal properly. If you really want to do this right, I'd suggest picking up a copy of: "UNIX Network Programming" -by W. Richard Stevens In chapter 15, he gives a very thorough treatment of rlogin and how to work ptys and the rlogin process. Besides that it's probably one of the best UNIX books out there. If you want more specific help, you'll need to post some snipets of code (not the whole thing, please) or feel free to e-mail it to me. Good luck. -Tony