#: 16696 S12/OS9/68000 (OSK)
15-Oct-92 15:44:46
Sb: #16644-#OSK Login Shell ??
Fm: Roy J. Fehlandt 73377,1605
To: Robert Heller 71450,3432 (X)
The magic required back in the days of V2.2 was as follows:
char *argv [2];
argv [0] = "-shell";
argv [1] = NULL;
os9exec(oskfork, 1 + argv [0], argv,...); This will do it. When shell
sees the leading '-' on it's forked named (passed as it's argv[0]) it will read
the .login file. Before the fork, you should already have chd'd to the
directory where .login is to be found.
Roy
There is 1 Reply.
|