Path: utzoo!news-server.csri.toronto.edu!rutgers!psuvax1!psuvm!cunyvm!uupsi!pinet!reg From: reg@pinet.aip.org (Dr. Richard Glass) Newsgroups: comp.unix.programmer Subject: Re: Problems with execl("bin/csh", ...) in my OWN shell from login Message-ID: <1991Mar9.165027.16309@pinet.aip.org> Date: 9 Mar 91 16:50:27 GMT References: <12602@ucrmath.ucr.edu> Organization: American Institute of Physics Lines: 8 When cshell is a login shell, it is given a special name of -. What you may want to try is is the following : execl("/bin/csh", "-", (char **)0 ); This will invoke the csh as if the shell was invoked by login. Ricky Glass - reg@pinet.aip.org