TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: Robert Heller 71450,3432 (X)
from: Roy J. Fehlandt 73377,1605
date: 1992-10-15 15:44:46
subject: #16644-#OSK Login Shell ??

#: 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.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.