TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: David George 72240,134
from: Kim Kempf 76701,65
date: 1990-07-08 00:51:40
subject: #4914-Login Shell

#: 4967 S12/OS9/68000 (OSK)
    08-Jul-90  00:51:40
Sb: #4914-Login Shell
Fm: Kim Kempf 76701,65
To: David George 72240,134

The login program forks the shell with argv[0] = '-'.  When shell sees this, it
knows assumes that it was forked by the login program and makes itself a
special case: read the .login/.logout files, set certain options such as
"interactive mode".  Hope this helps.

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™.