home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / sysutils / kornshel / changelo < prev    next >
Text File  |  1992-08-25  |  12KB  |  341 lines

  1. Thu Aug 13 00:00:42 1992  Simon J. Gerraty  (sjg@zen)
  2.  
  3.     * setstr(), varsub(): be robust when given dud args.
  4.  
  5. Wed Aug 12 23:56:29 1992  Simon J. Gerraty  (sjg@zen)
  6.  
  7.     * Fixed build problem when COMPLEX_HISTORY is not defined.
  8.     * don't make COMPLETE_LIST the default, add 
  9.         bind '^[^['=complete-list
  10.     in .kshrc if desired.
  11.  
  12.  
  13. Mon Aug  3 22:41:17 1992  Simon J. Gerraty  (sjg@zen)
  14.  
  15.     * emacs.c: correctly bind <ESC><erase>.
  16.     * var.c: treat COLUMNS and FCEDIT as special.
  17.  
  18. Sat Aug  1 17:17:02 1992  Simon J. Gerraty  (sjg@zen)
  19.  
  20.     * Incorporated massive contribution from Peter Collinson
  21.     includes new features (refer to ../Changes.pc) and support for
  22.     BSDI's BSD/386.
  23.  
  24.     * emacs.c: new command complete-list provided by
  25.     Neil.Smithline@eng.sun.com this nicer than the standard ksh
  26.     file completion.  Define COMPLETE_LIST to bind this to <ESC><ESC>
  27.     by default.
  28.  
  29. Sat May 30 15:44:56 1992  Simon J. Gerraty  (sjg@zen)
  30.  
  31.     * added flag XXWHL in tree.h, used by execute() when calling
  32.     exchild() to indicate that stdin should not be invalidated.  This
  33.     corrects handling of:  
  34.          ls | while read f; do ls -l $f; done
  35.  
  36.     Thanks to Bruce Momjian for tracking down the fault.
  37.  
  38. Tue May 12 19:23:17 1992  Simon J. Gerraty  (sjg@zen)
  39.  
  40.     * Fix bug in init_editmode() if EMACS and VI are not both defined.
  41.  
  42. Sun May  3 17:47:54 1992  Simon J. Gerraty  (sjg@zen)
  43.  
  44.     * sigact.c:  allow force build if USE_* defined.
  45.     * main.c: call init_editmode() _after_ processing /etc/profile.
  46.     * jobs.c: ensure SA_RESTART is defined.
  47.  
  48. Sat Apr 25 00:20:51 1992  Simon J. Gerraty  (sjg@zen)
  49.  
  50.     * Implemented a simple history file.
  51.     The default file is "$HOME/.pdksh_hist" but can be changed by
  52.     setting HISTFILE in any of /etc/profile,.profile or .kshrc.
  53.     The format is trivial - one line per history item.  
  54.     You can creat a set history file, by making it read-only.
  55.     History is only saved during wrap-up and only if the file is
  56.     writeable.  NOTE: if writeable the file is OVERWRITTEN.
  57.  
  58. Fri Apr 24 22:22:04 1992  Simon J Gerraty  (sjg@zen)
  59.  
  60.     * sigact.c: New file.
  61.     An implementation of sigaction() and freinds, which simply
  62.     interfaces to BSD's setsigmask() et al, BSD4.1's setsig() or plain
  63.     old signal(2).  It attempts to use the most useful available.
  64.     If it thinks the system really has sigaction() it compiles to
  65.     noting, and its header sigact.h does nothing.
  66.     At present all use of sigaction is bounded by USE_SIGACT, if/when
  67.     this approach appears to work, the alternatives will be withdrawn.
  68.  
  69. Fri Apr 24 10:42:40 1992  Simon J Gerraty  (sjg@taureau)
  70.  
  71.     * Added support for sigaction and friends!, turns out sigset() 
  72.     et al just don't handle job control.  Define USE_SIGACT if you
  73.     have sigaction().  Job control now works on this System V machine
  74.     (Bull DPX/2).
  75.  
  76.     * getsc_(lex.c), x_getc(edit.c):  Added goto's! to allow the
  77.     read() calls to be retried (on systems that don't do it
  78.     automatically) if the read() was interrupted by a SIGCHLD
  79.     (sigchld_caught > 0).  This was the cause of the problem with an
  80.     async child terminating the shell on System V.
  81.  
  82. Wed Apr 22 14:57:01 1992  Simon J Gerraty  (sjg@taureau)
  83.  
  84.     * exchild(jobs.c): block SIGCHLD when fork()ing, until safe to
  85.     receive.
  86.  
  87.     * Added support? for sigset() and friends.  Allow JOBS to work on
  88.     System V machines.  This does NOT work right yet.
  89.     With JOBS defined, an async process terminates the shell when it
  90.     (the child) exits, and ^Z does nothing!  
  91.  
  92. Tue Apr 21 15:18:08 1992  Simon J. Gerraty  (sjg@sun0)
  93.  
  94.     * removed const qualifyer from setctypes() 1st arg, as gcc-2.1
  95.     generates incorrect code for this function.  This is a temperary
  96.     hack until gcc is fixed.
  97.  
  98.     * do not install std/stdc/stdarg.h in std/h, any compiler that
  99.     will use stdarg.h should have one.
  100.  
  101. Sun Apr 19 20:16:32 1992  Simon J. Gerraty  (sjg@zen)
  102.  
  103.     * added support of stdargs to tree.c and _fixed_ the use of
  104.     varargs. 
  105.  
  106. Sat Apr 18 16:35:48 1992  Simon J. Gerraty  (sjg@zen)
  107.  
  108.     * x_read(edit.c): added logic to check $EDITOR etc.
  109.  
  110.  
  111. Fri, 10 Jan 92 13:13:52      Bullseye Software  (sumax!polari!bullseye)
  112.  
  113.     * alloc.c:afreeall() references memory it has already deallocated.
  114.  
  115. Wed, 1 Jan 92 20:03:55    Bert Gijsbers (a430mcb1@diamond.sara.nl)
  116.  
  117.     * expand(eval.c):  PS1='${PWD##/*/}[!]% ' prints also characters
  118.     with ascii = 128 
  119.  
  120.     * main(main.c): Testing whether the first letter of argv[0] is a
  121.     '-' does not work when ksh reads .kshrc.
  122.  
  123. Sun, 29 Dec 91 20:05:02  Bert Gijsbers (a430mcb1@diamond.sara.nl)
  124.  
  125.     * Support for Minix.
  126.  
  127. Wed, 11 Dec 91 12:41:31    Kees J. Bot (kjb@cs.vu.nl)
  128.  
  129.     * fixes for sun3 with 4.1.1
  130.  
  131. Wed, 4 Dec 91 15:53:43  Reg Quinton (reggers@julian.uwo.ca)
  132.  
  133.     * fixes for SGI
  134.  
  135. Mon Nov 25 12:36:42 1991  Simon J. Gerraty  (sjg at zen)
  136.  
  137.     * stdh.h:  make sure FD_CLEXEC is defined if we support F_SETFD.
  138.  
  139.     * emacs.c: Attempt to make alloc() of x_tab acceptible to more
  140.     compilers.  Not 100% yet.
  141.  
  142. Sat Nov 23 14:31:44 1991  Simon J. Gerraty  (sjg at zen)
  143.  
  144.     * Improved fd_clexec handling for systems that don't have
  145.     an F_SETFD fcntl().  The new arrangement will not blow up if an
  146.     attempt is made to fd_clexec a fd above MAXFD (64 by default).
  147.     main.c:main()  and io.c:savefd() now simply call
  148.     exec.c:fd_clexec().
  149.  
  150. Sat Aug  1 17:11:24 1992  Simon J. Gerraty  (sjg@zen)
  151.  
  152.     * Incorporated massive contribution from Peter Collinson
  153.     Refer to Changes.pc
  154.  
  155.     * Incorporated Emacs-style completion provided by
  156.     Neil.Smithline@eng.sun.com this a bit nicer than the standard ksh
  157.     file completion.
  158.  
  159. Sun May  3 17:50:03 1992  Simon J. Gerraty  (sjg@zen)
  160.  
  161.     * Updated MACHINES.
  162.     * Placed source under CVS.  This should help with processing fixes
  163.     from the field.
  164.  
  165. Sat Apr 25 10:53:20 1992  Simon J. Gerraty  (sjg@zen)
  166.  
  167.     * Getting ready for 4.3 release.  
  168.  
  169. Fri Nov 22 22:24:29 1991  Simon J. Gerraty  (sjg at zen)
  170.  
  171.     * Cleaned up the build process slightly.  Makefiles in ./std tree
  172.     now maintain objects within the libraries rather than simply
  173.     building the .o's and archiving them.  Of course the make(1) used
  174.     must know how to maintain libraries :-)
  175.  
  176.     * Added bug.report as a template for bug reporting.
  177.  
  178.     * Source in ./sh can be built independently of ./std tree if
  179.     desired.  See comments in ./sh/Makefile.
  180.  
  181.     * As originally distributed some of libstdc.a was not used and
  182.     libposix.a was not used at all.  On Sun's this highlighted a bug
  183.     (incompatibility) in the times() call.  Now the ./std/libs are
  184.     used fully, and the supplied times() call functions as expected.
  185.  
  186. Fri Nov 22 11:24:57 1991  Simon J. Gerraty  (sjg at zen)
  187.  
  188.     * Since many people had problems using the headers and libraries
  189.     in std/*, modified sh/* so that they can be compiled in the
  190.     absence of std/*.  This requires putting in some fixes that I had
  191.     left out from my 3.2 version.  Particularly, catering for systems
  192.     that do not have F_SETFD.
  193.  
  194.     * exec.c:
  195.     Added fd_clexec array for tracking fd's to close in child after
  196.     fork().  This is avoid wasting fd's on systems that don't have
  197.     F_SETFD.
  198.  
  199.     * jobs.c:
  200.     Allow Sun's and perhaps other BSD systems to define WAIT_T to be
  201.     union wait and thus use their native status handling for children.
  202.  
  203.     * The file sh/MACHINES now tracks systems the shell has been
  204.     compiled on.
  205.  
  206.  
  207. Sat Nov  9 14:57:30 1991  Simon J. Gerraty  (sjg at zen)
  208.  
  209.     * Release version 4.1 as a new base line.
  210.  
  211. Thu Nov  7 23:11:25 1991  Simon J. Gerraty  (sjg at zen)
  212.  
  213.     * John R MacMillan suppied a fix for a bug in yylex() that was the
  214.     cause of several odd problems such as:
  215.         $ foo=echo
  216.         $ $foo bar
  217.         bar: not found
  218.         $ pwd
  219.         $ /local/src/pdksh
  220.         $ $foo bar
  221.         bar
  222.         $
  223.  
  224. Sun Sep 15 23:19:27 1991  Simon J. Gerraty  (sjg at zen)
  225.  
  226.     * emacs.c:
  227.     Added function x_lastcp() which returns a pointer to that char in
  228.     the edit buffer that will be the last displayed on the screen.
  229.     Thus:
  230.  
  231.           cp = x_lastcp();
  232.       while (cp > xcp)
  233.             x_bs(*--cp);
  234.  
  235.     Will correctly position the cursor on the screen (regardless of
  236.     TABs etc in the buffer).  The previous method got out of sync if
  237.     there were any TABs to display.
  238.  
  239. Wed Aug  7 11:26:55 1991  Simon J. Gerraty  (sjg at sun0)
  240.  
  241.     * jobs.c:
  242.     The Sun SPARCstation 2 was proving extremely unreliable using ksh.
  243.     After puting traces in jobs.c, it turns out the problem was
  244.     multiple SIGCHLD events happening too quickly causing the handler
  245.     to be interupted and thus not recognise the job that it had just
  246.     reaped was one of its own.  Having done the waitpid(), but not
  247.     adjusted the job table entry, j_waitj() would loop forever waiting
  248.     for a job to finnish (that had already done so!)
  249.     Solution was to have the SIGCHLD handler simply record the events
  250.     by inrcrementing sigchld_caught.  The actual reaping is now done
  251.     in a new funtion j_reapchld(), which does what the old signal
  252.     handler did but blocks SIGCHLD while scanning the job table.
  253.     j_waitj() calls j_reapchld() when sigchld_caught is non-zero.
  254.     The SS2 is now much more reliable...
  255.  
  256.     * trace.c:
  257.     Added my simple _TRACE facility (used to track the j_waitj
  258.     problem).  Simply -DUSE_TRACE for it to have effect.  If USE_TRACE
  259.     is undefined, calls to _TRACE() expand to while(0) which an
  260.     optimizer will usually remove.  sh.h now includes trace.h
  261.  
  262. Mon Jun 10 10:27:14 1991  Simon J. Gerraty  (sjg at zen)
  263.  
  264.     * emacs.c:
  265.     A couple of assignments (xbp = xbuf) were not migrated from the
  266.     3.2 version.  Caused an anoying bug when retrieving history
  267.     commands.
  268.  
  269. Mon May 27 12:50:20 1991  Simon J. Gerraty  (sjg at sun0)
  270.  
  271.     * added fixes supplied by Mike Jetzer:
  272.     These relate mainly to vi mode.  See Changes.mlj
  273.  
  274.     * c_sh.c c_exit():
  275.     Modified behavior to not imediately exit if there are stopped
  276.     jobs.  A subsequent exit will kill any jobs left and terminate the
  277.     shell.
  278.  
  279. Fri May 24 15:20:10 1991  Simon J. Gerraty  (sjg at sun0)
  280.  
  281.     * edit.h:
  282.     Cleaned up prototypes.  Built shell on sun3.
  283.     While gcc-1.39 builds the ksh ok on the 386i, on the sun3 jobs
  284.     don't work correctly - any non-builtin command gets stopped and
  285.     put into the background.  Had same problem with 3.2, using
  286.     /usr/bin/cc works fine.
  287.  
  288. Thu May 23 13:45:20 1991  Simon J. Gerraty  (sjg at sun0)
  289.  
  290.     * migrated my 3.2 edit.c changes to the new shell.
  291.     Affects edit.c, emacs.c
  292.     Added edit.h which is now included by edit.c,emacs.c and vi.c
  293.  
  294.     * vi.c:
  295.     Fixed handling of '!' in prompt by using pprompt() as in emacs.c
  296.  
  297.     * std/stdc/vprintf.c:
  298.     Fixed bug in output of left '0' padded unsigned numbers was
  299.     always padding with ' ' which left a space in ksh's temp file
  300.     names.  This prevented fc -l from working.
  301.  
  302. Here is my 3.2 ChangeLog:
  303. Fri Mar 22 16:50:14 1991  Simon J. Gerraty  (sjg at sun0)
  304.  
  305.     * edit.c:
  306.     Added x_set_arg() and x_prev_histword().
  307.     x_set_arg() handles 'ESC''0-9' type args which are used by word
  308.     related commands.
  309.     x_prev_histword() recovers the last (default) or sepcified arg
  310.     word from the previous command line.  Bound to ESC. and ESC_ to be
  311.     compatible with real ksh.
  312.  
  313. Tue Feb 26 14:16:17 1991 Simon J. Gerraty  (sjg at zen)
  314.  
  315.     * edit.c:
  316.     Changes to handle editing of command lines longer than $COLUMNS in
  317.     a manner compatible with real ksh.
  318.  
  319. Mon Feb 25 12:20:36 1991 Simon J. Gerraty  (sjg at sun0)
  320.  
  321.     * var.c,table.h:
  322.     Implemented $RANDOM
  323.     Some scripts use [ "$RANDOM" != "$RANDOM" ] to check for ksh.
  324.  
  325. Wed Feb 20 12:20:36 1991 Simon J. Gerraty  (sjg at sun0)
  326.  
  327.     Changes so that shell will compile on sun386i.
  328.  
  329.     * exec.c,main.c,io.c:
  330.     Handle the case where FD_CLEXEC isn't defined.
  331.  
  332.     * jobs.c:
  333.     SunOS has its own ideas about job status etc.
  334.  
  335.     * tree.c:
  336.     Fixed conflict between varargs and stdarg.
  337.  
  338.  
  339.  
  340.  
  341.