Problems with: Activation of Csh from an `init' file.

ebk at iedl02.UUCP ebk at iedl02.UUCP
Sun Apr 15 11:20:23 AEST 1984


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



More information about the Comp.unix.wizards mailing list