Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!akgua!mcnc!ncsu!uvacs!iedl02!ebk From: ebk@iedl02.UUCP Newsgroups: net.unix-wizards Subject: Re: Problems with: Activation of Csh from an `init' file. Message-ID: <1732@iedl02.UUCP> Date: Sat, 14-Apr-84 20:20:23 EST Article-I.D.: iedl02.1732 Posted: Sat Apr 14 20:20:23 1984 Date-Received: Wed, 18-Apr-84 19:16:57 EST References: reed.506 Lines: 8 when login starts up the login shell, argv[0] is a '-' followed by the name of the command. for your init program: execle("/bin/csh","-csh",NULL); csh checks this first character to determine whether or not it was started by login. John Owens