MirBSD Korn Shell for Jehanne
Go to file
tg 977237ad14 • merge vi_reset() and edit_reset() into x_vi() to allow for following:
• fix vi mode (which, however, is officially orphaned) multi-line $PS1 by
  using a similar algorithm for prompt skipping as emacs mode (changing
  the meaning of prompt_trunc variable and using prompt_redraw, just even
  more efficiently than vi mode); reported by asarch via IRC
• fix multi-line prompts if last line is “too large” by using emacs mode
  algorithm of just internally appending a newline, while here ☺ this even
  saves us having to re-add the prompt_skip variable…

WARNING: this is only barely tested, as almost nobody ever uses vi mode
⇒ test yourself, there may be bugs (e.g. off-by-ones); already known is
  that the vi input line editing mode is NOT multibyte safe…
2008-09-14 20:24:59 +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
Build.sh heirloom-sh and Solaris /bin/sh caught use of $NROFF before definition 2008-07-21 21:00:25 +00:00
check.pl prevent using a possibly undefined variable 2008-07-14 14:53:23 +00:00
check.t • merge vi_reset() and edit_reset() into x_vi() to allow for following: 2008-09-14 20:24:59 +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 • merge vi_reset() and edit_reset() into x_vi() to allow for following: 2008-09-14 20:24:59 +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 • merge final version of the stack-free diff as committed by jaredy@openbsd 2008-08-02 17:45:12 +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 remove a line which accidentally got committed, oops 2008-07-10 18:34:08 +00:00
Makefile run millert’s afree checker by default (idea from openbsd) if MirOS-current 2008-08-02 17:40:37 +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 be more efficient 2008-08-14 17:39:30 +00:00
setmode.c
sh.h • merge vi_reset() and edit_reset() into x_vi() to allow for following: 2008-09-14 20:24:59 +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 • bump NUFILE and FDBASE, allowing for more than 10 fds used by scripts 2008-07-09 21:32:45 +00:00
var.c • syn.c: replace expanded use of str_save() with the actual macro 2008-07-12 16:56:40 +00:00