christos
|
e125f8f194
|
chmod the history file to 600 so that only the owner can read it.
[inspired by the openbsd fix to readline]
|
2001-03-20 00:08:31 +00:00 |
lukem
|
d30d584a91
|
convert to new style guide, which includes:
- ansi prototypes & features (such as stdargs)
- 8 space indents
|
2000-09-04 22:06:28 +00:00 |
lukem
|
f5e2e0bfea
|
history_def_set has a `const int' as a third arg, not an `int'.
picked up by the ultrix compiler, reported by simonb@ ...
|
2000-08-29 07:04:32 +00:00 |
simonb
|
1528b77539
|
More trailing white space.
|
1999-07-02 15:14:07 +00:00 |
mycroft
|
b59b039954
|
Add missing , in he_errlist[] initializer. Yay lint.
|
1999-03-06 00:17:25 +00:00 |
christos
|
84ee55f13e
|
Encode the history lines using strvis() before saving it. Fixes gdb history
problem with missing newlines.
|
1999-02-05 20:52:23 +00:00 |
christos
|
61df62e6a8
|
- missing error message from array could cause core dump
- delint
|
1998-12-12 19:52:51 +00:00 |
cgd
|
244d803bb3
|
per e-mail with christos: history_next_event() should return -1, not NULL,
in case of error, just like history_prev_event() does.
|
1998-12-03 17:51:16 +00:00 |
christos
|
eac8b13603
|
Add H_APPEND to simplify the interface.
|
1998-05-20 01:37:54 +00:00 |
christos
|
ccac6ba81c
|
Add a function to be able to set the cursor to a given event number.
|
1998-05-20 01:02:38 +00:00 |
christos
|
a7db9a7942
|
PR/4257: Jaromir Dolecek: history() has no generic error handling and isn't
reentrant. This changes the interface of the history function, so we need
a major number bump.
|
1997-10-14 15:05:49 +00:00 |
christos
|
54fac6850e
|
Fix compiler warnings.
|
1997-07-06 18:25:21 +00:00 |
christos
|
eb54427340
|
Portability fixes:
__const -> const
BADSIG -> SIG_ERR
int flags -> u_int flags
#if __STDC__ -> #ifdef __STDC__
|
1997-04-11 17:52:44 +00:00 |
mrg
|
9cd5492c02
|
- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
|
1997-01-23 14:01:45 +00:00 |
lukem
|
2543e3e651
|
RCSid police
editline first appeared in 4.4BSD not NetBSD1.0
|
1997-01-11 06:47:47 +00:00 |
christos
|
95b0e87b48
|
Added history load and save to file functions.
|
1995-10-15 19:42:05 +00:00 |
cgd
|
6dc2f1db52
|
libedit!
|
1994-05-06 06:01:42 +00:00 |