| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Mixing up function and void pointers isn't defined by POSIX or the
C standard. POSIX only specifies that casting the result of dlsym(3) to
an appropriate function pointer works.
Avoid all this by using a typedef.
from Michael Forney, ok tb@
|
|
|
|
|
| |
Slightly more useful for some, same defaults as bash.
No objection deraadt@ phessler@, ok tb@ kn@ benno@
|
|
|
|
|
| |
key by default. The shell will query the terminfo database to
find the escape sequence to clear the screen. OK deraadt@
|
|
|
|
| |
emacs.c:1041:2: warning: Value stored to 'cp' is never read
|
| |
|
|
|
|
| |
OK anton@ jca@
|
| |
|
|
|
|
| |
that fixes the issues seen on hppa. OK deraadt@ otto@
|
|
|
|
| |
Requested by deraadt@
|
|
|
|
| |
OK tb@
|
|
|
|
|
|
|
| |
the warnings are due to the use of globals with generic names,
specifically "options" and "path". I've renamed "options" to
"sh_options" since it holds the shell options and "path" to
"search_path". OK jca@ tb@
|
|
|
|
| |
ok jca@
|
|
|
|
| |
Not bound by default and not very useful. ok schwarze@ anton@
|
|
|
|
|
|
|
|
| |
- Keep the order of bindings in sync between the manual and implementation
- Fix wrongly documented bindings in the manual
- Break out commands without a default binding in the manual
ok jmc@ tb@
|
|
|
|
|
| |
Unused since 2012, to be removed after 6.2. Input from anton@,
ok anton@ millert@
|
|
|
|
| |
ok anton@ millert@
|
|
|
|
|
|
|
|
| |
Pointless since the removal of the setlocale() call in main.c:rev1.82,
the emacs-usemeta flag isn't used in the code since 2012. This kills
a chunk of code in a statically linked ksh.
ok millert@
|
|
|
|
|
|
| |
now.
ok schwarze@
|
|
|
|
|
|
|
|
|
| |
complete UTF-8 character first. Fixes an issue while running ksh in tmux where
UTF-8 characters inserted in columns other than the last one are discarded.
With help from nicm@ and schwarze@ who also wrote the UTF-8 validation, thanks!
ok schwarze@
|
|
|
|
|
|
|
|
|
|
| |
mode, not "stuff". While here, remove the poorly described "stuff"
and "stuff" bind functions as well..
In the unlikely event anyone has those in .kshrc, they'll need to
be removed.
ok anton@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in two respects:
1. During output in x_e_putc(), when counting display columns,
skip UTF-8 continuation bytes. Fixes backward movements that
cause horizontal scrolling.
2. After deleting characters, recalculate the last byte that fits
on the line.
Patch from <Anton dot Lindqvist at gmail dot com> on tech@.
OK millert@ tb@
|
|
|
|
|
|
| |
make commands starting with the escape key (^[) work as documented.
Long-standing bug, this time reported by Dave minus Cohen dot com.
OK natano@ halex@
|
|
|
|
| |
ok nicm@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Improve all functions involving words by allowing non-ASCII
characters to be part of words.
2. Allow insertion of non-ASCII characters without screwing up the
display, by backing up to the start byte after inserting a continuation
byte, and starting to re-print there.
3. Fix forward movement which i didn't get quite right in my previous
commit: Always advance to a start byte, never to a final continuation
byte, or the next insertion would split the character in the middle.
OK mpi@
|
|
|
|
| |
ok bmercer gsoares nicm sthen
|
|
|
|
| |
ok mmcc@ a while ago
|
|
|
|
|
|
|
|
|
| |
right can only move by whole characters, not into the middle of a
character, and that deleting characters can only delete characters
whole, not individual bytes out of characters.
Based on parts of a patch by Frederic Nowak <fnwk at mailbox dot org>,
tweaked by me.
OK tedu@ semarie@ mpi@
|
|
|
|
| |
ok nicm@
|
|
|
|
| |
ok nicm@
|
|
|
|
|
|
|
| |
and to silence a compiler warning. Also remove its prototype, which is
directly above its definition.
ok tedu@
|
|
|
|
| |
ok nicm@
|
|
|
|
|
| |
x_emacs_putbuf() does is call x_do_ins().
From mksh via Michael McConville
|
| |
|
| |
|
|
|
|
| |
change.
|
|
|
|
| |
McConville. ok millert
|
|
|
|
| |
ok deraadt
|
|
|
|
| |
ok mpi@
|
| |
|
|
|
|
|
| |
myself, with a variety of other people spending some time as well.
Thanks.
|
|
|
|
| |
no binary changes.
|
|
|
|
| |
in the keybinding system rewrite, reported by Lars Engblom.
|
|
|
|
| |
length and need not start with ESC or ^X; patch from marco@ feedback mpi@
|
|
|
|
|
|
|
| |
would insert 16000 letter l'. Going over the line limit makes no sense
so limit it's repetition and prevent the hang in the process.
ok guenther
|
|
|
|
|
|
| |
no binary change.
sure @deraadt
|
| |
|
|
|
|
| |
millert@ ok
|
|
|
|
|
| |
tested by me and naddy, and others...
ok naddy@ and me.
|
|
|
|
|
| |
length equal to screen width - 2. Spotted by jmc@, tested by various.
ok deraadt@
|
|
|
|
|
|
| |
next as it is every other canonical mode, or emulation of canonical mode.
change it to act like it should
ok djm david marc tdeval pvalchev
|