MirBSD Korn Shell for Jehanne
Go to file
tg 0322c87457 EXPERIMENTAL: make it so that the last (not yet entered) line (even if
empty) appears pushed into the history, so that, when pressing cursor-up
or ^P, with a cursor-down or ^N you get it back, unless you modify a line
retrieved from the history, in which case it will overwrite the saved line
and place the current history pointer past the entered history lines

This is for Emacs mode; Vi mode had something similar already, and shares
some code and data

XXX there are several static buffers of size LINE (currently 4096) in here
2008-09-20 14:10:23 +00:00
Build.sh heirloom-sh and Solaris /bin/sh caught use of $NROFF before definition 2008-07-21 21:00:25 +00:00
Makefile run millert’s afree checker by default (idea from openbsd) if MirOS-current 2008-08-02 17:40:37 +00:00
alloc.c • merge final version of the stack-free diff as committed by jaredy@openbsd 2008-08-02 17:45:12 +00:00
check.pl prevent using a possibly undefined variable 2008-07-14 14:53:23 +00:00
check.t work around GNU getopt(3) violating every single standard in existence 2008-09-19 10:41:55 +00:00
copyright remove advertising clause from mksh distribution: while I’d still prefer 2008-04-22 11:47:57 +00:00
dot.mkshrc add new builtin “realpath” calling realpath(3) on its argument, skipping 2008-05-17 18:27:57 +00:00
edit.c EXPERIMENTAL: make it so that the last (not yet entered) line (even if 2008-09-20 14:10:23 +00:00
eval.c • syn.c: replace expanded use of str_save() with the actual macro 2008-07-12 16:56:40 +00:00
exec.c • alloc() can’t fail, afree() can take NULL 2008-05-17 18:47:03 +00:00
expr.c • syn.c: replace expanded use of str_save() with the actual macro 2008-07-12 16:56:40 +00:00
funcs.c • bring back automatic turn-on of FPOSIX if called as sh/-sh 2008-09-17 19:31:30 +00:00
histrap.c even simpler *and* const clean 2008-07-12 17:16:03 +00:00
jobs.c optimise based upon the following assumption: 2008-05-17 19:03:25 +00:00
lex.c • syn.c: replace expanded use of str_save() with the actual macro 2008-07-12 16:56:40 +00:00
main.c • bring back automatic turn-on of FPOSIX if called as sh/-sh 2008-09-17 19:31:30 +00:00
misc.c fixes for constant conditionals, from gcc-4.2 fat binary building 2008-07-18 11:33:13 +00:00
mksh.1 • bring back automatic turn-on of FPOSIX if called as sh/-sh 2008-09-17 19:31:30 +00:00
setmode.c • more unsigned → unsigned int 2008-04-19 22:15:06 +00:00
sh.h • bring back automatic turn-on of FPOSIX if called as sh/-sh 2008-09-17 19:31:30 +00:00
shf.c • alloc() can’t fail, afree() can take NULL 2008-05-17 18:47:03 +00:00
strlcpy.c libc strlfun.c: 2008-07-07 12:59:54 +00:00
syn.c • merge final version of the stack-free diff as committed by jaredy@openbsd 2008-08-02 17:45:12 +00:00
tree.c pull in another fix from oksh: 2008-09-14 20:29:13 +00:00
var.c • syn.c: replace expanded use of str_save() with the actual macro 2008-07-12 16:56:40 +00:00