home *** CD-ROM | disk | FTP | other *** search
- This is a replacement for /bin/login in NeXT Software Release 2.0
- and 2.1 that enables job control for /bin/sh users.
-
- /bin/sh and /bin/jsh are hard links to the same file; job control
- is enabled if argv[0][0]=='j' or the -J flag is set. Shells
- started from login have a '-' prepended to their basename to
- indicate that .profile should be sourced, so if you specify
- /bin/jsh as your login shell, its sees its name as -jsh, and
- doesn't activate job control. This has been reported to
- BUG_NEXT.
-
- This version of login passes the "-J" flag if the login shell
- is /bin/sh. Everything else still thinks you're running
- "regular" sh, so you don't have to muck with /etc/shells or
- anything. Inferior shells will *not* have job control
- enabled; use jsh instead if that's what you want (most of the
- time it isn't).
-