home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume14 / mush6.0 / patch1 / README-6.1 < prev   
Encoding:
Text File  |  1988-04-28  |  3.0 KB  |  67 lines

  1. The patches included here apply mostly to system-v sites.  However,
  2. you should include them if you are going to keep up to date with
  3. future pathes.  Here is a summary of the files and functions that
  4. have changed and why.
  5.  
  6. Also included with these update diffs is a file called Mailrc which
  7. can be used to make Mush look very much like ucb's Mail program. It was
  8. written by Bart Schaefer (ogcvax!schaefer@sun.com).  Test your new mush
  9. by sending him mail congratulating him on his upcoming wedding :-)
  10.  
  11. mush.h --
  12.     Truncated version ID.
  13.  
  14.     putchar() redefined fputc(c, stdout), fflush(stdout) because sys-v
  15.     isn't getting newlines when in curses mode. Isn't stdout supposed
  16.     to be line buffered?  Does setting cbreak or something change this?
  17.     If this doesn't fix the problem for sys-v, add setbuf(stdout, NULL) at
  18.     the top of main.c, but that shouldn't be necessary (in fact, none of
  19.     this _should_ be necessary).
  20.  
  21.     SIGCHLD may cause infinite loop on pyramid's cpp cuz they
  22.     define SIGCHLD to be SIGCLD.  SIGCHLD is now only defined if it's
  23.     not already defined.  If your system has SIGCHLD and SIGCLD defined
  24.     to _different values_ and you have SYSV defined, you may need to
  25.     check into this, but I doubt your system's that weird.
  26.  
  27.     glob_flags is now u_long (helps lint)
  28.  
  29. loop.c --
  30.     #ifdef SYSV around signal(SIGCHLD, ...) cuz sys-v doesn't really deal
  31.     with it correctly.  Best just let it default and forget about it. Note
  32.     that sys-v'ers won't be able to watch processes die using "debug" anymore.
  33.  
  34. commands.c --
  35.     Printenv() now takes an argument.  "printenv _var_" will
  36.     print the varname and value rather than all env variables.
  37.  
  38. mail.c --
  39.     OLD_MAILER and OLD_MAIL now merged to OLD_MAILER.  Too confusing
  40.     to have both and if either is used, both tend to be used.  Refer to
  41.     README-6.0 for details.
  42.  
  43. print.c --
  44.     yet more fixes for varargs.h people.  It seems that pyramid (sys-v/BSD)
  45.     now have va_start() defined to have an open brace ( { ) and va_end()
  46.     has the closing brace ( } ).  So, you can't have a starting block
  47.     be inbetween each call.  Who writes that stuff?
  48.  
  49. strings.c --
  50.     Sprintf() now supports varargs and has #ifdef VPRINTF checks.
  51.     As it turns out, some systems don't have IOSTRG either, but I'm not
  52.     really up to date on this one.  If you have a problem with it, just
  53.     remove its reference in the routine and it should work anyway.
  54.  
  55. hdrs.c --
  56.     compose_hdr() should run faster now (thus, any display of headers:
  57.     'h', 'z', etc...) should be faster due to the code no longer computes
  58.     the weekday name (Sun, Mon, etc..) unless specifically requested by %D
  59.     (in which it takes the same amount of time as before).
  60.  
  61. curs_io.c/signals.c --
  62.     added new function scrn_line which reads a line of text from a line
  63.     on the curses screen for use by stdout.  It seems that sys-v curses
  64.     package uses shorts instead of chars to represent each char on the
  65.     screen.  I use #ifdef A_CHARTEXT to see if this applies to you.
  66.  
  67.