| #
90f49946 |
| 16-Mar-2016 |
christos <christos@NetBSD.org> |
Sprinkle volatile for gcc 5!
|
| #
f0321293 |
| 18-Jun-2014 |
christos <christos@NetBSD.org> |
Adjust to the new alias text libedit API.
|
| #
c4044741 |
| 23-Mar-2014 |
dholland <dholland@NetBSD.org> |
don't use sprintf
|
| #
da4f7877 |
| 20-Mar-2012 |
matt <matt@NetBSD.org> |
Use C89 function definitions
|
| #
90ca8ad4 |
| 12-Jul-2011 |
joerg <joerg@NetBSD.org> |
Move the savehandler assignment before setjmp() to avoid triggering warnings about use before initialization with clang.
|
| #
4fc4fe2e |
| 18-Jun-2011 |
christos <christos@NetBSD.org> |
PR/45069: Henning Petersen: Use prototypes from builtins.h .
|
| #
416c5b0f |
| 07-Jan-2011 |
jmmv <jmmv@NetBSD.org> |
Call el_source before initializing sh-specific editline properties (i.e. the editor type and the tab completion binding).
This allows tab completion to work when a user has an ~/.editrc file.
Addre
Call el_source before initializing sh-specific editline properties (i.e. the editor type and the tab completion binding).
This allows tab completion to work when a user has an ~/.editrc file.
Addresses PR bin/43404.
show more ...
|
| #
f04ccd71 |
| 13-Feb-2008 |
joerg <joerg@NetBSD.org> |
Set unique mode for the history, so that repeating a command doesn't spam the history.
|
| #
27293760 |
| 16-Oct-2006 |
christos <christos@NetBSD.org> |
sprinkle volatile.
|
| #
084c0528 |
| 10-May-2006 |
mrg <mrg@NetBSD.org> |
quell GCC 4.1 uninitialised variable warnings.
XXX: we should audit the tree for which old ones are no longer needed after getting the older compilers out of the tree..
|
| #
d5d0c115 |
| 06-Mar-2006 |
aymeric <aymeric@NetBSD.org> |
Make the -s flag of fc work correctly. Ensure that only one command is specified and ensure that we break out of the loop after executing it. With the previous code, because the re-executed command w
Make the -s flag of fc work correctly. Ensure that only one command is specified and ensure that we break out of the loop after executing it. With the previous code, because the re-executed command was added to the history, it would think that it still had to execute it, leading to an infinite loop.
The last thing which differs from ksh is that we get the "fc -s " command into the history, but this is actually rather a feature in my humble opinion.
To test: $ echo hello $ fc -s ec <infinite loop or correct behaviour>
show more ...
|
| #
0df4f0ca |
| 15-Jul-2005 |
christos <christos@NetBSD.org> |
Only do certain actions when we are trully interactive, not just when we are connected to a tty: 1. enable editor 2. print directory on directory change. 3. print job messages
|
| #
c3b8cf7d |
| 09-May-2005 |
christos <christos@NetBSD.org> |
Only add the function when we initialize. Restore the binding of tab to ed-insert if tabcomplete is cleared.
|
| #
82537bf8 |
| 07-May-2005 |
dsl <dsl@NetBSD.org> |
If 'set -o tabcomplete' it set, then bind <tab> to the libedit filename completion function. Note that the libedit code will probably want fine-tuning! While editing the man page, add a note that non
If 'set -o tabcomplete' it set, then bind <tab> to the libedit filename completion function. Note that the libedit code will probably want fine-tuning! While editing the man page, add a note that non-whitespace IFS chars are terminators and can generate null arguments.
show more ...
|
| #
7568eb66 |
| 27-Oct-2003 |
lukem <lukem@NetBSD.org> |
skip a leading `-' on the arg0 name when calling el_init()
|
| #
1bbc81a5 |
| 19-Oct-2003 |
christos <christos@NetBSD.org> |
Let libedit handle signals so we resize properly. I might change my mind later on that.
|
| #
1e840c4d |
| 19-Oct-2003 |
lukem <lukem@NetBSD.org> |
Ensure that $TERM is set in the real environment before calling el_init(3) when executing "set -o (emacs|vi)". Fixes [bin/23175] from me.
|
| #
b5b29542 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
|
| #
a69cd45b |
| 13-Jul-2003 |
itojun <itojun@NetBSD.org> |
use bounded string op
|
| #
5e5ffccb |
| 04-May-2003 |
gmcgarry <gmcgarry@NetBSD.org> |
ANSIify.
|
| #
f8d2e9e1 |
| 04-May-2003 |
gmcgarry <gmcgarry@NetBSD.org> |
Add new builtin 'inputrc' which allows keybindings to be redefined for the current shell. From Arne H Juul in PR#10097.
|
| #
c02b3bbd |
| 24-Nov-2002 |
christos <christos@NetBSD.org> |
Fixes from David Laight: - ansification - format of output of jobs command (etc) - job identiers %+, %- etc - $? and $(...) - correct quoting of output of set, export -p and readonly -p - differentia
Fixes from David Laight: - ansification - format of output of jobs command (etc) - job identiers %+, %- etc - $? and $(...) - correct quoting of output of set, export -p and readonly -p - differentiation between nornal and 'posix special' builtins - correct behaviour (posix) for errors on builtins and special builtins - builtin printf and kill - set -o debug (if compiled with DEBUG) - cd src obj (as ksh - too useful to do without) - unset -e name, remove non-readonly variable from export list. (so I could unset -e PS1 before running the test shell...)
show more ...
|
| #
ccbeeb7c |
| 12-Mar-2002 |
christos <christos@NetBSD.org> |
get rid of sp completely, we were free-ing a bogus pointer; found by simonb.
|
| #
33809804 |
| 04-Feb-2001 |
christos <christos@NetBSD.org> |
remove redundant declarations and nexted externs.
|
| #
3112db7e |
| 06-Nov-2000 |
mycroft <mycroft@NetBSD.org> |
Call el_source() to use .editrc.
|