home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Distributions / ucb / spencer_2bsd.tar.gz / 2bsd.tar / src / csh / READ_ME < prev    next >
Text File  |  1980-02-17  |  1KB  |  28 lines

  1. Thu Apr 19 12:17:29 PST 1979
  2.  
  3. This shell needs a printf which prints through putchar like it used to.
  4. The printf.c in this dir hacks one from the stdio printf without dragging
  5. in all the stdio stuff.  It should work on most systems which only have stdio.
  6. Some early versions of stdio have a "strout" whose first 2 arguments are
  7. reversed.  Check this before you run the shell.
  8.  
  9. The getpw*.c stuff here is simply to keep from dragging in all the data space
  10. from the stdio stuff (an input buffer, output buffer, file structs, etc)
  11. since the shell does its own i/o anyways because of the way
  12. it parses in loops.  If you don't care about more data space you dont need
  13. to take these.
  14.  
  15. For the debugging "alloc" command to work it needs to work its
  16. way through the alloc list.  A modified version of alloc which does this
  17. is in this directory.  If you wish you can simply get rid of the "alloc"
  18. command and not define "debug" in makefile.
  19.  
  20. For the shell to coexist with another shell you can define OTHERSH
  21. in sh.local.h as, e.g. "/bin/sh".  If a file which purports to be a shell
  22. script doesn't start with a `#' this other shell interprets it.
  23. If necessary a longer string than just `#' could easily be used.
  24. If OTHERSH is not defined then this hack doesn't occur.
  25. For full sanity complementary code should be placed in OTHERSH!
  26.  
  27. Look at sh.local.h for other things which you may need/want to change.
  28.