📄 changelog.0
字号:
* vi.c(vi_hook): cases for VVERSION. * sh.h(ksh_version): new declaration; removed declaration from all other files. * Makefile.in: removed rcs-ci, rcs-diff targets; put RCSFILES into DISTFILES and removed former. * var.c(newblock): copy argc/argv from previous env if it exists.Tue Apr 18 23:10:32 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * jobs.c(exchild): report internal error if execute() returns in child. * exec.c(execute): case TASYNC: clear exec flag in call to execute().Tue Apr 18 12:05:23 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * emacs.c(x_bind): added list argument. * c_ksh.c(c_bind): added -l (list) option. * emacs.c,emacs-c.in: moved emacs.c to emacs-c.in. * Makefile: add rule to create emacs.c from emacs-c.in. * emacs-gen.sh: new file. * emacs.c(struct x_defbindings, x_defbindings[]): new struct/array. * emacs.c(struct x_ftab, x_ftab[]): removed x_db_tab, x_db_char; initialize x_ftab[] via script. * emacs.c(x_init_emacs): changed to load key bindings from x_defbindings. * emacs.c(Findex): added typedef. * emacs.c(x_tab[]): changed to index into x_ftab; changed all refernces. * emacs.c(xft_*): changed to XFUNC_*. * emacs.c(XF_PREFIX): new flag, used for x_meta1, 2, 3. * emacs.c(KPREF,KNULL): deleted (no functional use), changed references to KSTD. * emacs.c(x_last_command): changed type to Findex. * emacs.c(x_emacs): set x_last_command to 0 at start; removed same from case KEOL. * emacs.c(XF_ARG): new flag for struct ftab. * emacs.c(x_ftab[]): filled in XF_ARG for appropriate commands. * emacs.c(x_arg_defaulted): new variable. * emacs.c(x_emacs,x_set_arg): set x_arg_defaulted. * emacs.c(x_bword, x_fword,x_fold_case): removed use of x_last_command. * emacs.c(x_fold_upper,x_fold_lower,x_fold_capitailze): trivial functions that call x_fold_case; changed x_ftab[] to use these instead of x_fold_case so arbitrary keys can be bound to them. * emacs.c(x_fold_case): changed to assume argument is 'L', 'U', or 'C'. * emacs.c(x_del_back,x_del_char,x_prev_histword,x_prev_com,x_next_com, x_kill,x_insert): use x_arg and x_arg_defaulted. * emacs.c(x_delete): don't change mark point (xmp) if <= cp; added force_push argument; changed all calls.Mon Apr 17 10:30:12 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * emacs.c(x_e_getc): changed to handle macroptr, ungetting characters. * emacs.c(x_e_ungetc): new function. * emacs.c(x_emacs): let x_e_getc() take care of macroptr. * emacs.c(x_version,x_search_hist): use x_e_ungetc() instead of macroptr. * emacs.c(x_set_arg): handle string of digits. * emacs.c(x_search_hist): handle deleting chars from search string. (fix from Dale DePriest) * emacs.c(x_search): added sameline paramater. * emacs.c(x_search_list): changes x_zots() to x_e_puts(); make deleting in empty pattern break out of search. * vi.c(domove): case '%': adjust ncursor forward only if matching opening bracket (so when cursor is on the B in "(fooBar)", c% changes the openbracket as well. * vi.c(vi_cmd): case y/d/c: special case to move end point ahead if move cmd is % and match was to the left of the cursor.Thu Apr 13 10:34:26 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * vi.c(complete_word): no bell on ambiguous matches (user can tell its ambiguous 'cause there is not space or slash appended) * configure.in,aclocal.m4: added KSH_MEMMOVE, KSH_MEMSET tests to fix problems with compiler builtins. * misc.c(blocking_read, reset_nonblock) new routines. * sh.h: deleted O_NONBLOCK ifdefs/defines. * main.c(main),lex.c(getsc_),edit.c(x_getc),shf.c(shf_fillbuf): use reset_nonblock(). (fix based on code from John Rochester)Tue Apr 11 14:36:22 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * history.c(c_fc): mostly POSIXized. * history.c(hist_execute,hist_get_newest,hist_get_oldest): new routines. * history.c(hist_get,histget): changed histget to hist_get. * history.c(hist_replace,histrpl): changed histrpl to hist_replace. * lex.h(SHIST,histpush): deleted; deleted all references. * history.c(histget): add approx check for history that hasn't happened yet. * misc.c(getn): allow leading plus (eg, +3). * main.c(initcoms[]): defined history as "fc -l --". * conf-end.h(JOBS): don't define if no posix or bsd process groups (was if SIGCONT not defined).Mon Apr 10 14:51:54 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * exec.c(comexec),c_ksh.c(c_getopts),c_sh.c(c_read): use FEXPORT flag. * ksh_wait.h: changed to work with autoconf 2.x AC_HEADER_SYS_WAIT - if sys/wait.h uses union wait, don't include it.Thu Apr 6 12:19:58 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * tty.c(tty_init): print warning if open of /dev/tty fails.Sat Mar 4 01:20:03 NST 1995 Michael Rendell (michael@garfield.cs.mun.ca) * io.c(maketemp): create valid dos filenames.Mon Feb 27 11:04:32 NST 1995 Michael Rendell (michael@panda.cs.mun.ca) * Changed from autoconf 1.x to autoconf 2.x. * acconfig.h: included old config.h.top and config.h.bot. * config.h.top, config.h.bot: deleted; deleted all references. * install.sh: changed to install-sh; changed all references. * Makefile.in: use @CPPFLAGS@, @CFLAGS@, @LDFLAGS@; use @configure_input@; remove config.log and config.cache in distclean; use @prefix@ and @exec_prefix@. * ksh_dir.h: changed to use new autoconf defines; changed NLENGTH() to NAMLEN(); changed all references.Mon Feb 27 9:31:02 NST 1995 Michael Rendell (michael@panda.cs.mun.ca) * sh.h(ISABSPATH): new macro. * var.c(setspec): use ISABSPATH() when setting tmpdir. * emacs.c(compl_file): added OS2 ifdefs. * exec.c(scriptexec): OS2: ignore path specified in #! scripts. * sh.h(ksh_dupbase): OS2: now same as unix. * trap.c(sigtraps[],inittraps): remove OS2 defines. * trap.c(alarm_catcher): V7_SIGNALS: use sig, not i. (Fixes from Dale DePriest)Mon Feb 27 10:06:00 NST 1995 Michael Rendell (michael@panda.cs.mun.ca) * configure.in: test for resource.h. * c_ulimit.c: include ksh_time.h instead of sys/time.h; use HAVE_SYS_RESOURCE_H when including sys/resource.h (was HAVE_SETRLIMIT). * aclocal.m4(KSH_RLIM_T): check sys/resources.h for rlim_t.Fri Feb 24 17:30:16 NST 1995 Michael Rendell (michael@panda.cs.mun.ca) * vi.c(struct macro_state, macro): new structure/variable. * vi.c(vi_hook, vi_cmd): use macro state info to allow nested macros, detect recursive macros.Wed Feb 22 21:20:43 NST 1995 Michael Rendell (michael@panda.cs.mun.ca) * c_ksh.c(c_whence): "an export" instead of "a export". * vi.c(classify[]): added @<char>. * vi.c(vi_hook,vi_cmd): added support for @<char> (macros). (fixes from Frank Edwards).Sun Feb 19 11:57:20 NST 1995 Michael Rendell (michael@panda.cs.mun.ca) * exec.c(comexec): case CFUNC: use cp (not tp->name) when checking if an autoloaded function was defined; save/restore kshname before/after function call. * var.c(popblock): don't set kshname to e->loc->argv[0] - it isn't always right.Fri Feb 10 12:36:16 NST 1995 Michael Rendell (michael@panda.cs.mun.ca) * misc.c(parse_args): check OF_SET when building set_opts (was checking OF_CMDLINE). * conf-end.h(JOBS): don't define if SIGCONT not defined. * sh.h(FLOGIN) new enum. * misc.c(options[],parse_args): added login option; set FLOGIN if name in argv[0] starts with -. * main.c(main): use FLOGIN flag; changed the way OS2 code looks for profile.Wed Feb 1 09:55:40 NST 1995 Michael Rendell (michael@panda.cs.mun.ca) * expr.c(varsub): in FUNSET test, don't always fail # and % substitutions (test for unset variable).Wed Jan 25 09:22:15 NST 1995 Michael Rendell (michael@panda.cs.mun.ca) * sh.h(MIN_COLS): new define. * sh.h(MIN_EDIT_SPACE): new define. * vi.c(prompt_trunc): new variable. * vi.c(edit_resize): calculate how much of prompt to truncate. * lex.c(pprompt): added new argument; changed all calls. * lex.c(yylex),emacs.c(x_emacs),vi.c(x_vi): move pprompt() inside x_emacs(), x_vi() or just before read in yylex().Tue Jan 24 12:35:18 NST 1995 Michael Rendell (michael@panda.cs.mun.ca) * misc.c(parse_args): changed arrayname variable to array. * var.c(basename): changed name of function to arrayname(); changed all references (Based on fix from Dan Quinlan).Fri Dec 30 10:34:50 NST 1994 Michael Rendell (michael@panda.cs.mun.ca) * ksh.1: modifications to generate two man pages: sh and ksh (Fixes from Michael Harrdt).Wed Dec 28 16:55:13 NST 1994 Michael Rendell (michael@panda.cs.mun.ca) * vi.c(complete_word): don't check for globing characters.Wed Dec 28 10:32:18 NST 1994 Michael Rendell (michael@panda.cs.mun.ca) * exec.c(search_access1): don't use ret variable; move "." to end of xsuffixes/rsuffixes. * os2.c(_execve): OS2: fixed typo. * sh.h(FILENCMP): changed stricmp to strnicmp. * os2/config.h: added define for rlim_t. * os2/make.sed: changed > null to > nul. * Makefile.in(dist): generate os2/makefile after running Dist-fixup. (Fixes from Dale DePriest)Thu Dec 22 15:06:06 NST 1994 Michael Rendell (michael@panda.cs.mun.ca) * made pdksh-5.1.3 distribution * *.c: removed RCSids.Wed Dec 21 11:55:01 NST 1994 Michael Rendell (michael@panda.cs.mun.ca) * table.h(struct tbl): changed array field to union of array/fname; changed all references. * c_ksh.c(c_whence): print undefined function path. * exec.c(comexec): do autoloading of undefined functions; print error if function can't be found. * exec.c(findcom): fill in tp->u.fname for undefined functions; search FPATH if search of PATH fails. * table.h(FC_NOAUTOLOAD): deleted define; removed all references.Tue Dec 20 14:16:16 NST 1994 Michael Rendell (michael@panda.cs.mun.ca) * exec.c(herein): check if name is null. * lex.h(HEREDELIM,SHEREDELIM,SHEREDQUOTE): new defines. * lex.c(yylex): added code for HEREDELIM. * syn.c(synio): use HEREDELIM. * lex.c(readhere): changed to allow \n in here-delimiter. * tree.c(tputS): quote ", ` and $ inside "-quotes. * tree.c(ptree,pioact): made static. * tree.c(ptree,fptreef,vfptreef): added indent argument; changed to use indent argument; changed all calls. * tree.h(struct ioword): added delim field. * tree.c(iocopy),syn.c(synio,syntaxerr): deal with delim field. * tree.c(pioact): print contents of here documents. * c_ksh.c(c_typeset): typeset -f foo: set exit code to 1 if function not found.Mon Dec 19 15:14:02 NST 1994 Michael Rendell (michael@garfield.cs.mun.ca) * history.c(histinit): increment line number for each history line. * exec.c(iosetup): OS2: if open /dev/null fails, try nul instead. * Makefile.in(debugtools,install,uninstall): make check-pgrp last; use $E. * eval.c(eval,expand): OS2: added DODIRSWP code. * main.c(main): OS2: only include $HOME/kshrc.ksh if interactive. * sh.h(FILENCMP,FILECMP,FILECHCONV): new defines. * misc.c(gmatch),vi.c(grabsearch,complete_word),emacs.c(compl_file): OS2: case insensitive compares. (fixes from Dale DePriest).Mon Dec 19 09:54:42 NST 1994 Michael Rendell (michael@panda.cs.mun.ca) * vi.c(vi_cmd): make ~ honour argcnt (fix from Troy Bollinger). * vi.c(complete_word): don't add trailing / if there is already one. * vi.c(glob_word): return rval, not 0.Thu Dec 15 11:06:01 NST 1994 Michael Rendell (michael@panda.cs.mun.ca) * vi.c(vi_cmd): call complete_word() with argument of 1 not 0.Tue Dec 13 12:07:50 NST 1994 Michael Rendell (michael@panda.cs.mun.ca) * history.c(histget): made static; added approx argument; changed all calls.Tue Dec 13 10:58:14 NST 1994 Michael Rendell (michael@panda.cs.mun.ca) * Makefile.in(mandir): use $(manext), not 1 (fix from Mike Long).Mon Dec 12 20:55:53 NST 1994 John Rochester (jr@panda.cs.mun.ca) * tree.c(ptree): print TELIF part of if statementsFri Dec 9 15:21:36 NST 1994 Michael Rendell (michael@panda.cs.mun.ca) * trap.c(inittraps): OS2: don't trap SIGTERM (temproary fix). * exec.c(search_access1): OS2: fixed to check for valid suffix and change mode from X_OK to R_OK if appropriate. * edit.c: include <sys/stream.h>, <sys/ptem.h> for SCO unix (fix from William Bader). * c_ulimit.c(c_ulimit): changed type of val from long to rlim_t (fix from Thomas Gellekum and J.T.Conklin). * aclocal.m4(KSH_RLIM_T): new test for rlim_t. * configure.in: use KSH_RLIM_T. * acconfig.h: added rlim_t.Thu Dec 8 12:20:25 NST 1994 Michael Rendell (michael@panda.cs.mun.ca) * expr.c(evalexpr): changed div-by-zero test to only derefernce vr if operation is a divide.Mon Dec 5 14:42:52 NST 1994 Michael Rendell (michael@panda.cs.mun.ca) * exec.c(search): OS2: typo - changed namlen to namelen. * exec.c(search_access): OS2: check execute bit explicitly. * main.c(main): OS2: don't include ./profile.ksh. * options.h(DEFAULT_PATH): OS2: added /os2 to path. * sh.h(ksh_getdup): OS2: define to getdup(); prototype for getdup(). * Makefile.in(dist): create os2 Makefile based on distribution Makefile.in.Mon Dec 5 12:17:14 NST 1994 Michael Rendell (michael@panda.cs.mun.ca) * made pdksh-5.1.2 distribution * eval.c(globit): when searching directory, re-calculate end of string based on prefix length.Fri Dec 2 11:07:48 NST 1994 Michael Rendell (michael@panda.cs.mun.ca) * syn.c(wordlist): if token isn't 'in', don't reject ;.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -