tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
lib
/
libedit
/
at
trash-bin2
2 folders
49 files
TEST
Always compile with WIDECHAR on and delete that preprocessor switch. OK martijn@. Diff also proofread by Christian Heckendorf <mbie at ulmus dot me>.
10 years ago
readline
Cleanup of standard header inclusion:
10 years ago
Makefile
Fix the inter-library dependency for libedit and libreadline. Previously they tried to depend on libtermcap which actually doesn't exist in the objdir.
7 years ago
chared.c
Use calloc(3) and recallocarray(3) instead of *alloc* + memset(0).
9 years ago
chared.h
Improve modularization at the chared/read boundary, no functional change.
10 years ago
chartype.c
Terminate NULL in argv. This fix is come from 1.31 from NetBSD lib/libedit/chartype.c via FreeBSD. From tj@
7 years ago
chartype.h
typos in comments; from Pedro Giffuni (FreeBSD) via Christos Zoulas (NetBSD)
10 years ago
common.c
Improve modularization at the chared/read boundary, no functional change.
10 years ago
config.h
Use getline(3) rather than fgetln(3) because it is standardized and simpler and safer to use. Implemented by Christos Zoulas following my suggestion, with a bug fix by me.
10 years ago
editline.3
man pages: add missing commas between subordinate and main clauses
4 years ago
editline.7
Fix next_history() and previous_history(): * The meaning of "next" and "previous" is exchanged in readline(3) with respect to editline(3); this part of the patch from Bastian Maerkisch. * next_history() can move beyond the newest entry; issue pointed out by Bastian Maerkisch, fix by me.
10 years ago
editrc.5
ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread;
6 years ago
el.c
Use calloc(3) and recallocarray(3) instead of *alloc* + memset(0).
9 years ago
el.h
Saving errno in el_errno is only needed for one purpose: Restoring the original errno found in el_wgetc() after el_wgets() did some cleanup that may have changed errno.
10 years ago
eln.c
delete the "private" and "public" preprocessor macros, just use standard C; OK martijn@
10 years ago
emacs.c
Replace the generated file "fcns.c" by a simpler header "func.h" included only in the one file needing it, "map.c". That allows to define el_action_t directly in "map.h", which in turn allows to stop including "fcns.h" from "el.h" and include it only in the modules needing it. Now we no longer autogenerate any C files.
10 years ago
filecomplete.c
get rid of the non-standard data type "Char" in almost all files; ok martijn@
10 years ago
filecomplete.h
get rid of the non-standard data type "Char" in almost all files; ok martijn@
10 years ago
hist.c
Use calloc(3) and recallocarray(3) instead of *alloc* + memset(0).
9 years ago
hist.h
get rid of the non-standard data type "Char" in almost all files; ok martijn@
10 years ago
histedit.h
Move the declaration of the function pointer type el_rfunc_t from the private header "read.h" to the public header <histedit.h>. That's not an interface change, it was already used and documented publicly, merely not properly declared.
10 years ago
history.c
delete the "private" and "public" preprocessor macros, just use standard C; OK martijn@
10 years ago
historyn.c
The files editline.c, historyn.c, and tokenizern.c are completely constant and very short and simple. Check them into CVS rather than generating them at build time in a complicated way. OK martijn@, also proofread by Christian Heckendorf <mbie at ulmus dot me>
10 years ago
keymacro.c
Saving errno in el_errno is only needed for one purpose: Restoring the original errno found in el_wgetc() after el_wgets() did some cleanup that may have changed errno.
10 years ago
keymacro.h
* Delete the unimplemented feature XK_EXE. * Delete the unused macro MIN(). No functional change. OK czarkoff@ martijn@
10 years ago
makelist
Replace the generated file "fcns.c" by a simpler header "func.h" included only in the one file needing it, "map.c". That allows to define el_action_t directly in "map.h", which in turn allows to stop including "fcns.h" from "el.h" and include it only in the modules needing it. Now we no longer autogenerate any C files.
10 years ago
map.c
Replace the generated file "fcns.c" by a simpler header "func.h" included only in the one file needing it, "map.c". That allows to define el_action_t directly in "map.h", which in turn allows to stop including "fcns.h" from "el.h" and include it only in the modules needing it. Now we no longer autogenerate any C files.
10 years ago
map.h
Replace the generated file "fcns.c" by a simpler header "func.h" included only in the one file needing it, "map.c". That allows to define el_action_t directly in "map.h", which in turn allows to stop including "fcns.h" from "el.h" and include it only in the modules needing it. Now we no longer autogenerate any C files.
10 years ago
parse.c
delete the "private" and "public" preprocessor macros, just use standard C; OK martijn@
10 years ago
parse.h
get rid of the non-standard data type "Char" in almost all files; ok martijn@
10 years ago
prompt.c
delete the "private" and "public" preprocessor macros, just use standard C; OK martijn@
10 years ago
prompt.h
get rid of the non-standard data type "Char" in almost all files; ok martijn@
10 years ago
read.c
Stop using a while loop for code that runs at most once, and garbage collect an automatic variable that is no longer needed and a comment that was probably contributed by Capt. Obvious. No functional change.
4 years ago
read.h
Improve modularization at the chared/read boundary, no functional change.
10 years ago
readline.c
read() returns -1 on failure
6 years ago
refresh.c
In re_fastputc(), set lastline to the new line, not the previous line so it gets initialized properly. Fixes a crash in bc with MALLOC_OPTIONS=UJ. OK deraadt@, committing on behalf of yasuoka@
7 years ago
refresh.h
Cleanup of private header inclusion:
10 years ago
search.c
Replace the generated file "fcns.c" by a simpler header "func.h" included only in the one file needing it, "map.c". That allows to define el_action_t directly in "map.h", which in turn allows to stop including "fcns.h" from "el.h" and include it only in the modules needing it. Now we no longer autogenerate any C files.
10 years ago
search.h
get rid of the non-standard data type "Char" in almost all files; ok martijn@
10 years ago
shlib_version
libedit claims compatibility with readline 4.2, so provide a stub for rl_set_keyboard_input_timeout() that was added in this version. Also crank the minor version.
11 years ago
sig.c
delete the "private" and "public" preprocessor macros, just use standard C; OK martijn@
10 years ago
sig.h
Cleanup of private header inclusion:
10 years ago
sys.h
Enable separate compilation while keeping internal interfaces hidden. Simplifies the build system and prevents modules from stomping on each other's static symbols.
10 years ago
terminal.c
Initialize the line buffer by zero when allocation. This fixes the problem a crash happens after the window size change. Worked and discussed with asou and schwarze.
6 years ago
terminal.h
get rid of the non-standard data type "Char" in almost all files; ok martijn@
10 years ago
tokenizer.c
delete the "private" and "public" preprocessor macros, just use standard C; OK martijn@
10 years ago
tokenizer.h
Update to NetBSD libedit (from Oct 1, 2003), adding some string cleaning and history bug fixes. The code includes GNU libreadline functionality, but the corresponding header files are not installed, since some libreadline functions are missing. There are some minor API changes, notably:
22 years ago
tokenizern.c
The files editline.c, historyn.c, and tokenizern.c are completely constant and very short and simple. Check them into CVS rather than generating them at build time in a complicated way. OK martijn@, also proofread by Christian Heckendorf <mbie at ulmus dot me>
10 years ago
tty.c
Replace the generated file "fcns.c" by a simpler header "func.h" included only in the one file needing it, "map.c". That allows to define el_action_t directly in "map.h", which in turn allows to stop including "fcns.h" from "el.h" and include it only in the modules needing it. Now we no longer autogenerate any C files.
10 years ago
tty.h
get rid of the non-standard data type "Char" in almost all files; ok martijn@
10 years ago
vi.c
Correct the length of read from file, wide character buffer, add NUL terminate to read buffer. This fix the bug that does not run input command entered by vi editor. This fix is come from NetBSD lib/libedit/vi.c 1.46 and 1.47.
6 years ago