📄 changelog.0
字号:
Thu Jun 15 11:02:06 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * made pdksh-5.2.3 distribution * c_ksh.c(c_whence): search keyword table if vflag set. * tree.h(DOVACHECK): new define. * eval.c(expand): check DOVACHECK flag. * exec.c(execute): when calling eval(), or in t->evalflags. * syn.c(get_command): set evalflags to DOVACHECK instead of DOASNTILDE.Wed Jun 14 09:27:19 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * c_ksh.c(c_cd): two argument format: use current_wd, not path when appending elen bytes. (fix from Gabor Zahemszky).Tue Jun 13 15:54:11 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * history.c(c_fc): if last not specified and !-l, use first as last. * eval.c(maybe_expand_tilde): allow CSUBST to end tilde word. * misc.c(gmatch): made sc and pc unsigned.Fri Jun 2 11:55:40 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * configure.in: added flock to AC_CHECK_FUNCS call. * conf-end.h: undef COMPLEX_HISTORY if !HAVE_FLOCK.Tue May 30 20:38:47 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * sh.h(SEEK_SET,SEEK_CUR,SEEK_END): define if not defined. * history.c: change L_XTND to SEEK_END.Tue May 30 17:01:34 NDT 1995 John Rochester (jr@panda.cs.mun.ca) * shf.c(shf_seek): new function. * shf.h(shf_seek): new prototype.Tue May 30 16:42:41 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * aclocal.m4(KSH_DEV_FD): new test. * acconfig.h(HAVE_DEV_FD): new define. * configure.in: call KSH_DEV_FD. * c_test.h(TO_FILAXST): new enum. * c_test.c(test_stat,test_eaccess): new functions for /dev/fd/n handling. * c_test.c(test_evalop): call test_stat() and test_eaccess() instead of stat() and eaccess() in most places; added case for TO_FILAXST.Tue May 30 16:06:21 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * aclocal.m4(KSH_MEMMOVE): fixed test so copies overlap.Sun May 28 11:11:03 NDT 1995 John Rochester (jr@panda.cs.mun.ca) * sh.h(safe_prompt): new variable. * main.c(initsubs): removed PS1. * main.c(main): initialize safe_prompt; initialize PS1 from safe_prompt. * lex.c(set_prompt): create new env while expanding PS1 - if expansion fails, use safe_prompt.Sat May 27 20:59:02 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * exec.c: put comments around token after #endif.Thu May 25 10:10:45 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * c_test.c(test_eval): case TO_OPTION: negate test if option starts with a !, always fail if option doesn't exist. * sh.h(FNOHUP): new define. * misc.c(options[]): "nohup" new option. * jobs.c(j_stopped,j_stopped_running): name of j_stopped changed to j_stopped_running; changed all calls; check for/warn about running jobs if appropriate. * jobs.c(j_exit): check for/kill running jobs if appropriate. * main.c(shell),c_sh.c(c_exit): un-ifdef JOBS the j_stopped_running() call and really_exit initialization/clearing.Wed May 24 10:06:14 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * options.h(DEFAULT_ENV): new define. * main.c(main): if ENV isn't set and DEFAULT_ENV is defined, include the later. (based on patches from Dave Kinchlea). * sh.h(LAEXPR): new define. * expr.c(evaluate): changed return type to error indicator; added rval and error_ok arguments; changed all calls (c_sh.c(c_shift), c_ulimit.c(c_ulimit),eval.c(expand),var.c(global,local)). * expr.c(v_evaluate): added error_ok argument; changed return value to error indicator; call unwind() if !error_ok. * expr.c(evalerr): changed errorf() to warningf(); call unwind(LAEXPR). * c_test.c(test_eval): merged code for integer operations to have two calls to evaluate(). * io.c(warningf): print trailing newline; changed all calls. * history.c(hist_get): string search: use histptr, not histptr - 1.Tue May 23 11:07:50 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * sh.h(GI_NONAME): new define. * misc.c(ksh_getopts): honour GI_NONAME flag. * c_ksh.c(getopts_reset): set GI_NONAME flag. * exec.c(comexec): don't change $0 if FPOSIX flag set. * misc.c(ksh_getopt): don't use GI_DONE to allow parsing past bad options. * sh.h(GI_DONE): deleted define. * var.c(unset): added array_ref parameter; unset/free whole array if not an array_reference; changed all calls. * c_sh.c(c_unset): set array_ref parameter if there is a [ in the name.Mon May 22 10:33:14 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * history.c(hist_init): complex version: initialize hist_source (fix from Simon J. Gerraty).Sat May 20 11:06:15 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * made pdksh-5.2.2 distribution * Makefile.in: added c_test.h to HDRS.Fri May 19 12:35:18 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * made pdksh-5.2.1 distribution * emacs.c(v_version): ignore typed character if it is a space. * emacs.c(x_emacs_keys): bind <ESC>erase-char to delete-back-word (was delete-back-char). * emacs.c(x_defkeybindings[]): bound list-file to ^X^Y and newline-and-next to ^O, as per man page. * c_ksh.c(c_whence): changed "is a keyword" to "is a reserved word". * sh.h: changed SVSV_PGRP to SYSV_PGRP. * vi.c(vi_cmd): uncommented case for ^[ to make it easy to enable completion.Mon May 15 15:25:22 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * history.c(c_fc): accept -40 as -- -40. * main.c(initcoms[]): take -- out of history alias. * vi.c(print_expansions): handle trailing slash correctly (don't print empty strings). * c_ksh.c(c_cd): put back ksh_get_wd() call for os/2. * misc.c(ksh_get_wd): changed buf to b in call to getcwd().Tue May 9 13:57:31 NDT 1995 Michael Rendell (michael@dragon.cs.mun.ca) * c_test.h: new file. * c_test.c: major code restructuring: common parsing/evaluation routines call/called-by three sets of routines: one for normal test (and [..]), one for parsing [[ .. ]] one for evaluating [[ .. ]]. * c_test.c(oexpr,aexpr,nexpr,primary,is_op): renamed to test_oexpr, test_aexpr, test_nexpr, test_primary, test_isop. * c_test.c(eval_unop,eval_binop): combined into new test_eval function. * c_test.c(syntax): renamed to ptest_error, * c_test.c(ptest_isa,ptest_getopnd,ptest_eval): new functions. * syn.c(syntaxerr): added extra arg; changed all calls. * syn.c(db_parse,db_oaexpr,db_nexpr,db_primary): deleted. * syn.c(dbtestp_isa,dbtestp_getopnd,dbtestp_eval,dbtestp_error): added. * syn.c(get_command): case DBRACKET: changed to call new routines. * tree.c(ptree): case DBRACKET: changed. * exec.c(execute): case DBRACKET: changed. * exec.c(dbteste_isa,dbteste_getopnd,dbteste_eval,dbteste_error): added.Fri May 5 17:10:23 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * emacs.c(compl_file,compl_command): fixed buffer growing code.Thu May 4 22:44:01 NDT 1995 Michael Rendell (michael@garfield.cs.mun.ca) * aclocal.m4(KSH_UNISTD_H): include <sys/types.h> and only include <dirent.h> if HAVE_DIRENT_H is defined.Thu May 4 21:19:15 NDT 1995 Michael Rendell (michael@garfield.cs.mun.ca) * c_ksh.c: include "ksh_stat.h". * c_ksh.c(c_cd): don't do physical chdir if S_ISLNK not defined.Wed May 3 10:08:32 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * made pdksh-5.2.0 distribution * misc.c: include <ctype.h>. * misc.c(gmatch): added isfile argument; changed all calls. * sh.h(FILECHCONV): (os2 version) - use isupper. * emacs.c(strmatch): don't increment in FILECHCONV. * aclocal.m4(KSH_HEADER_SYS_WAIT): new macro. * configure.in: use KSH_HEADER_SYS_WAIT instead of AC_HEADER_SYS_WAIT. * ksh_wait.h: if POSIX_SYS_WAIT not defined, undef W* macros.Tue May 2 12:10:39 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * emacs.c,emacs-gen.sh,emacs-c.in,emacs.out,Makefile.in: changed emacs source munging to create emacs.out which is included by emacs.c rather then munging emacs.c itself. * lex.c(pprompt): flush shl_out. * vi.c(glob_word): if path has *?[, don't add * (was if last component). * emacs.c(x_search_char): renamed to x_search_char_forw. * emacs.c(x_search_char_back): new function; bound to ^[^]. * sh.h: changed SVR3_PGRP to SYSV_PGRP. (fixes from Gabor Zahemszky).Tue May 2 10:09:57 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * c_ksh.c(c_cd): deleted OS2 ifdefs. * path.c(make_path): use ISRELPATH instead of ISABSPATH * path.c(simplify_path): use ISROOTEDPATH instead of ISABSPATH. * sh.h(ISABSPATH,ISROOTEDPATH,ISRELPATH): changed/new defines. * aclocal.m4(AC_LANG_C,AC_LANG_CPLUSPLUS,AC_TRY_RUN): copied from autoconf's acgeneral.m4, changed to handle .exe suffix. * aclocal.m4(KSH_OS_TYPE): os2 case: set $ac_exe_suffix. * configure.in: substitute ac_exe_suffix. * Makefile.in: changed references to E to exe_suffix, set to ac_exe_suffix * c_ksh.c(c_cd): ifdef S_ISLNK second use of get_phys_path(). * edit.c(x_mode): removed ifndef OS2. (fixes from Dale DePriest) * exec.c(search_access1): add .sh to suffix lists. * vi.c(vi_insert,vi_hook): OS2: changes to allow arrow keys work in insert mode.Mon May 1 16:28:44 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * path.c(ksh_get_wd): getcwd() case, return alloc'd buffer, not a malloc'd one.Mon May 1 09:41:56 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * aclocal.m4: changed HAVE_SYS_RESOURCES_H to HAVE_SYS_RESOURCE_H. * aclocal.m4(KSH_OS_TYPE): new macro. * aclocal.m4(KSH_OS2_EMX): deleted. * configure.in: deleted calls to AC_AIX,AC_MINIX,AC_ISC_POSIX, KSH_OS2_EMX; replaced with KSH_OS_TYPE. * acconfig.h(OS_ISC,OS_SCO): new undefs. * sh.h: changed use of isc386 to OS_ISC * edit.c: changed use of M_UNIX to OS_SCO.Sat Apr 29 21:10:54 NDT 1995 Michael Rendell (michael@garfield.cs.mun.ca) * vi.c(glob_word): don't append * if there are unescaped globing characters in the last component of the filename; some redundent code eliminated. (based on fix from Michael Jetzer).Fri Apr 28 16:10:22 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * eval.c(globit): save/restore actual DIRSEP char - don't use DIRSEP. * c_ulimit.c: removed ARGS from declaration of ulimit to avoid portability problems (osf/1 has ulimit(int,...), os2 has ulimit(int,long)). * tty.c(tty_init): added __SCO__ defines to avoid opening /dev/tty. * configure.in,aclocal.m4,acconfig.h: added KSH_OS2_EMX test. * os2/config.h, os2/configure.cmd, os2/make.sed: updated for new autoconf.Tue Apr 25 12:20:45 NDT 1995 Michael Rendell (michael@dragon.cs.mun.ca) * configure.in: added sys/param.h test; changed getcwd test to getwd. * c_ksh.c(c_pwd): new function. * sh.h(current_wd, current_wd_size): new variables. * c_ksh.c(c_cd): changed to handle -L, -P. * main.c(main): use set_current_wd when setting $PWD; instead of changing to / when can't get pwd, print warning; deleted pwd alias; don't make PWD and OLDPWD reaedonly. * path.c(simplify_path): changed to handle relative paths. * path.c(make_path): added phys_path argument to support cd -P. * path.c(set_current_wd,get_phys_path,do_phys_path): new functions. * misc.c(ksh_get_wd): new function. * missing.c(getcwd): deleted. * misc.c(options[]),sh.h: added "physical", FPHYSICAL.Mon Apr 24 14:33:03 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * shf.c(shf_smprintf): new function. * expand.h(Xsize): new define.Fri Apr 21 21:22:44 NDT 1995 Michael Rendell (michael@garfield.cs.mun.ca) * sh.h: changed SIZEOF_long to SIZEOF_LONG. * exec.c(scriptexec): if OS2 ifdefed code, changed ISDIRSEP to explicit /.Thu Apr 20 21:18:12 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * history.c(hist_get) if n < 0, use n + 1 to account for histbackup(). * lex.c(set_prompt): added source argument; changed all calls; changed to do ! and !! substitutions when setting PS1. * lex.c(pprompt): ifdef'd out code to deal with ! and !!. * shf.c(shf_puts): new routine. * exec.c(herein), lex.c(getsc_): changed to use shf_puts.Thu Apr 20 15:50:35 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * siglist.sh: clear traps in subshell to cover for bug in bash 1.4.3 (based on fix from Fritz Heinrichmeyer).Wed Apr 19 12:04:59 NDT 1995 Michael Rendell (michael@panda.cs.mun.ca) * vi.c(classify): cleaned up table; filled in U_ flag for commands that don't modify things. * vi.c(first_insert, saved_inslen): new variables. * vi.c(vi_reset): don't reset yanklen, inslen, lastcmd, lastac; set first_insert, saved_inslen. * vi.c(vi_insert): added code to handle first insertion to allow redoing commands from last edit. (based on fixes from Michael Jetzer). * vi.c(VVERSION): new state. * vi.c(classify): cleared C_ flag for 032 (^Z); set it for ^V. * vi.c(nextstate): added VVERSION.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -