home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-1.iso / CDROM / READMEs / Peanuts-1 / Patches / jsh-login.README < prev    next >
Encoding:
Text File  |  1996-11-09  |  808 b   |  18 lines

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