diff options
author | sandman <sandman@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-12-03 22:45:46 +0000 |
---|---|---|
committer | sandman <sandman@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-12-03 22:45:46 +0000 |
commit | 961ed6b9d60f143cda73d9ea03204c71d57e5636 (patch) | |
tree | 82f389342d1b840a6daf6a9b0e9ada9eba108693 /shell/cmdedit.h | |
parent | c86da7b308ac2bfe06944538bbd4ab78eafbfb81 (diff) | |
download | busybox-w32-961ed6b9d60f143cda73d9ea03204c71d57e5636.tar.gz busybox-w32-961ed6b9d60f143cda73d9ea03204c71d57e5636.tar.bz2 busybox-w32-961ed6b9d60f143cda73d9ea03204c71d57e5636.zip |
- the number of commands in the history list is now configureable via the
config system
- added a new config option to allow persistant history lists. This is
currently only used by ash, but the calls ({load,save}_history) could
be added to the other shells as well.
git-svn-id: svn://busybox.net/trunk/busybox@6089 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell/cmdedit.h')
-rw-r--r-- | shell/cmdedit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/cmdedit.h b/shell/cmdedit.h index 83893572a..045588dc1 100644 --- a/shell/cmdedit.h +++ b/shell/cmdedit.h | |||
@@ -3,4 +3,7 @@ | |||
3 | 3 | ||
4 | int cmdedit_read_input(char* promptStr, char* command); | 4 | int cmdedit_read_input(char* promptStr, char* command); |
5 | 5 | ||
6 | void load_history ( char *fromfile ); | ||
7 | void save_history ( char *tofile ); | ||
8 | |||
6 | #endif /* CMDEDIT_H */ | 9 | #endif /* CMDEDIT_H */ |