home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / pdksh-src.lha / src / amiga / pdksh / sh / ChangeLog < prev    next >
Text File  |  1993-12-01  |  8KB  |  232 lines

  1. Tue May 12 19:23:17 1992  Simon J. Gerraty  (sjg@zen)
  2.  
  3.     * Fix bug in init_editmode() if EMACS and VI are not both defined.
  4.  
  5. Sun May  3 17:47:54 1992  Simon J. Gerraty  (sjg@zen)
  6.  
  7.     * sigact.c:  allow force build if USE_* defined.
  8.     * main.c: call init_editmode() _after_ processing /etc/profile.
  9.     * jobs.c: ensure SA_RESTART is defined.
  10.  
  11. Sat Apr 25 00:20:51 1992  Simon J. Gerraty  (sjg@zen)
  12.  
  13.     * Implemented a simple history file.
  14.     The default file is "$HOME/.pdksh_hist" but can be changed by
  15.     setting HISTFILE in any of /etc/profile,.profile or .kshrc.
  16.     The format is trivial - one line per history item.  
  17.     You can creat a set history file, by making it read-only.
  18.     History is only saved during wrap-up and only if the file is
  19.     writeable.  NOTE: if writeable the file is OVERWRITTEN.
  20.  
  21. Fri Apr 24 22:22:04 1992  Simon J Gerraty  (sjg@zen)
  22.  
  23.     * sigact.c: New file.
  24.     An implementation of sigaction() and freinds, which simply
  25.     interfaces to BSD's setsigmask() et al, BSD4.1's setsig() or plain
  26.     old signal(2).  It attempts to use the most useful available.
  27.     If it thinks the system really has sigaction() it compiles to
  28.     noting, and its header sigact.h does nothing.
  29.     At present all use of sigaction is bounded by USE_SIGACT, if/when
  30.     this approach appears to work, the alternatives will be withdrawn.
  31.  
  32. Fri Apr 24 10:42:40 1992  Simon J Gerraty  (sjg@taureau)
  33.  
  34.     * Added support for sigaction and friends!, turns out sigset() 
  35.     et al just don't handle job control.  Define USE_SIGACT if you
  36.     have sigaction().  Job control now works on this System V machine
  37.     (Bull DPX/2).
  38.  
  39.     * getsc_(lex.c), x_getc(edit.c):  Added goto's! to allow the
  40.     read() calls to be retried (on systems that don't do it
  41.     automatically) if the read() was interrupted by a SIGCHLD
  42.     (sigchld_caught > 0).  This was the cause of the problem with an
  43.     async child terminating the shell on System V.
  44.  
  45. Wed Apr 22 14:57:01 1992  Simon J Gerraty  (sjg@taureau)
  46.  
  47.     * exchild(jobs.c): block SIGCHLD when fork()ing, until safe to
  48.     receive.
  49.  
  50.     * Added support? for sigset() and friends.  Allow JOBS to work on
  51.     System V machines.  This does NOT work right yet.
  52.     With JOBS defined, an async process terminates the shell when it
  53.     (the child) exits, and ^Z does nothing!  
  54.  
  55. Tue Apr 21 15:18:08 1992  Simon J. Gerraty  (sjg@sun0)
  56.  
  57.     * removed const qualifyer from setctypes() 1st arg, as gcc-2.1
  58.     generates incorrect code for this function.  This is a temperary
  59.     hack until gcc is fixed.
  60.  
  61.     * do not install std/stdc/stdarg.h in std/h, any compiler that
  62.     will use stdarg.h should have one.
  63.  
  64. Sun Apr 19 20:16:32 1992  Simon J. Gerraty  (sjg@zen)
  65.  
  66.     * added support of stdargs to tree.c and _fixed_ the use of
  67.     varargs. 
  68.  
  69. Sat Apr 18 16:35:48 1992  Simon J. Gerraty  (sjg@zen)
  70.  
  71.     * x_read(edit.c): added logic to check $EDITOR etc.
  72.  
  73.  
  74. Fri, 10 Jan 92 13:13:52      Bullseye Software  (sumax!polari!bullseye)
  75.  
  76.     * alloc.c:afreeall() references memory it has already deallocated.
  77.  
  78. Wed, 1 Jan 92 20:03:55    Bert Gijsbers (a430mcb1@diamond.sara.nl)
  79.  
  80.     * expand(eval.c):  PS1='${PWD##/*/}[!]% ' prints also characters
  81.     with ascii = 128 
  82.  
  83.     * main(main.c): Testing whether the first letter of argv[0] is a
  84.     '-' does not work when ksh reads .kshrc.
  85.  
  86. Sun, 29 Dec 91 20:05:02  Bert Gijsbers (a430mcb1@diamond.sara.nl)
  87.  
  88.     * Support for Minix.
  89.  
  90. Wed, 11 Dec 91 12:41:31    Kees J. Bot (kjb@cs.vu.nl)
  91.  
  92.     * fixes for sun3 with 4.1.1
  93.  
  94. Wed, 4 Dec 91 15:53:43  Reg Quinton (reggers@julian.uwo.ca)
  95.  
  96.     * fixes for SGI
  97.  
  98. Sat Nov  9 14:57:30 1991  Simon J. Gerraty  (sjg at zen)
  99.  
  100.     * Release version 4.1 as a new base line.
  101.  
  102. Thu Nov  7 23:11:25 1991  Simon J. Gerraty  (sjg at zen)
  103.  
  104.     * John R MacMillan suppied a fix for a bug in yylex() that was the
  105.     cause of several odd problems such as:
  106.         $ foo=echo
  107.         $ $foo bar
  108.         bar: not found
  109.         $ pwd
  110.         $ /local/src/pdksh
  111.         $ $foo bar
  112.         bar
  113.         $
  114.  
  115. Sun Sep 15 23:19:27 1991  Simon J. Gerraty  (sjg at zen)
  116.  
  117.     * emacs.c:
  118.     Added function x_lastcp() which returns a pointer to that char in
  119.     the edit buffer that will be the last displayed on the screen.
  120.     Thus:
  121.  
  122.           cp = x_lastcp();
  123.       while (cp > xcp)
  124.             x_bs(*--cp);
  125.     
  126.     Will correctly position the cursor on the screen (regardless of
  127.     TABs etc in the buffer).  The previous method got out of sync if
  128.     there were any TABs to display.
  129.  
  130. Wed Aug  7 11:26:55 1991  Simon J. Gerraty  (sjg at sun0)
  131.  
  132.     * jobs.c:
  133.     The Sun SPARCstation 2 was proving extremely unreliable using ksh.
  134.     After puting traces in jobs.c, it turns out the problem was
  135.     multiple SIGCHLD events happening too quickly causing the handler
  136.     to be interupted and thus not recognise the job that it had just
  137.     reaped was one of its own.  Having done the waitpid(), but not
  138.     adjusted the job table entry, j_waitj() would loop forever waiting
  139.     for a job to finnish (that had already done so!)
  140.     Solution was to have the SIGCHLD handler simply record the events
  141.     by inrcrementing sigchld_caught.  The actual reaping is now done
  142.     in a new funtion j_reapchld(), which does what the old signal
  143.     handler did but blocks SIGCHLD while scanning the job table.
  144.     j_waitj() calls j_reapchld() when sigchld_caught is non-zero.
  145.     The SS2 is now much more reliable...
  146.  
  147.     * trace.c:
  148.     Added my simple _TRACE facility (used to track the j_waitj
  149.     problem).  Simply -DUSE_TRACE for it to have effect.  If USE_TRACE
  150.     is undefined, calls to _TRACE() expand to while(0) which an
  151.     optimizer will usually remove.  sh.h now includes trace.h
  152.  
  153. Mon Jun 10 10:27:14 1991  Simon J. Gerraty  (sjg at zen)
  154.  
  155.     * emacs.c:
  156.     A couple of assignments (xbp = xbuf) were not migrated from the
  157.     3.2 version.  Caused an anoying bug when retrieving history
  158.     commands. 
  159.  
  160. Mon May 27 12:50:20 1991  Simon J. Gerraty  (sjg at sun0)
  161.  
  162.     * added fixes supplied by Mike Jetzer:
  163.     These relate mainly to vi mode.  See Changes.mlj
  164.  
  165.     * c_sh.c c_exit():
  166.     Modified behavior to not imediately exit if there are stopped
  167.     jobs.  A subsequent exit will kill any jobs left and terminate the
  168.     shell. 
  169.  
  170. Fri May 24 15:20:10 1991  Simon J. Gerraty  (sjg at sun0)
  171.  
  172.     * edit.h:
  173.     Cleaned up prototypes.  Built shell on sun3.
  174.     While gcc-1.39 builds the ksh ok on the 386i, on the sun3 jobs
  175.     don't work correctly - any non-builtin command gets stopped and
  176.     put into the background.  Had same problem with 3.2, using
  177.     /usr/bin/cc works fine.
  178.  
  179. Thu May 23 13:45:20 1991  Simon J. Gerraty  (sjg at sun0)
  180.  
  181.     * migrated my 3.2 edit.c changes to the new shell.
  182.     Affects edit.c, emacs.c
  183.     Added edit.h which is now included by edit.c,emacs.c and vi.c
  184.     
  185.     * vi.c:
  186.     Fixed handling of '!' in prompt by using pprompt() as in emacs.c
  187.  
  188.     * std/stdc/vprintf.c:
  189.     Fixed bug in output of left '0' padded unsigned numbers was
  190.     always padding with ' ' which left a space in ksh's temp file
  191.     names.  This prevented fc -l from working.
  192.  
  193. Here is my 3.2 ChangeLog:
  194. Fri Mar 22 16:50:14 1991  Simon J. Gerraty  (sjg at sun0)
  195.  
  196.     * edit.c:
  197.     Added x_set_arg() and x_prev_histword().
  198.     x_set_arg() handles 'ESC''0-9' type args which are used by word
  199.     related commands.
  200.     x_prev_histword() recovers the last (default) or sepcified arg
  201.     word from the previous command line.  Bound to ESC. and ESC_ to be
  202.     compatible with real ksh.
  203.  
  204. Tue Feb 26 14:16:17 1991 Simon J. Gerraty  (sjg at zen)
  205.  
  206.     * edit.c:
  207.     Changes to handle editing of command lines longer than $COLUMNS in
  208.     a manner compatible with real ksh.
  209.  
  210. Mon Feb 25 12:20:36 1991 Simon J. Gerraty  (sjg at sun0)
  211.  
  212.     * var.c,table.h:
  213.     Implemented $RANDOM
  214.     Some scripts use [ "$RANDOM" != "$RANDOM" ] to check for ksh. 
  215.  
  216. Wed Feb 20 12:20:36 1991 Simon J. Gerraty  (sjg at sun0)
  217.  
  218.     Changes so that shell will compile on sun386i.
  219.  
  220.     * exec.c,main.c,io.c:
  221.     Handle the case where FD_CLEXEC isn't defined.
  222.  
  223.     * jobs.c:
  224.     SunOS has its own ideas about job status etc.
  225.  
  226.     * tree.c:
  227.     Fixed conflict between varargs and stdarg.
  228.  
  229.  
  230.  
  231.  
  232.