"Robert P. J. Day" | 63fc1a9 | 2006-07-02 19:47:05 +0000 | [diff] [blame] | 1 | /* vi: set sw=4 ts=4: */ |
Eric Andersen | 03f9c81 | 2000-07-07 20:37:12 +0000 | [diff] [blame] | 2 | #ifndef CMDEDIT_H |
3 | #define CMDEDIT_H | ||||
Erik Andersen | f0657d3 | 2000-04-12 17:49:52 +0000 | [diff] [blame] | 4 | |
Denis Vlasenko | 966ec7c | 2006-11-01 09:13:26 +0000 | [diff] [blame] | 5 | int cmdedit_read_input(char* promptStr, char* command); |
Erik Andersen | f0657d3 | 2000-04-12 17:49:52 +0000 | [diff] [blame] | 6 | |
Denis Vlasenko | 82b39e8 | 2007-01-21 19:18:19 +0000 | [diff] [blame^] | 7 | #if ENABLE_ASH |
Glenn L McGrath | 6728596 | 2004-01-14 09:34:51 +0000 | [diff] [blame] | 8 | extern const char *cmdedit_path_lookup; |
9 | #endif | ||||
10 | |||||
Denis Vlasenko | 82b39e8 | 2007-01-21 19:18:19 +0000 | [diff] [blame^] | 11 | #if ENABLE_FEATURE_COMMAND_SAVEHISTORY |
Denis Vlasenko | 966ec7c | 2006-11-01 09:13:26 +0000 | [diff] [blame] | 12 | void load_history(const char *fromfile); |
13 | void save_history(const char *tofile); | ||||
Glenn L McGrath | fdbbb04 | 2002-12-09 11:10:40 +0000 | [diff] [blame] | 14 | #endif |
Robert Griebl | 350d26b | 2002-12-03 22:45:46 +0000 | [diff] [blame] | 15 | |
Denis Vlasenko | 966ec7c | 2006-11-01 09:13:26 +0000 | [diff] [blame] | 16 | #if ENABLE_FEATURE_COMMAND_EDITING_VI |
17 | void setvimode(int viflag); | ||||
Paul Fox | 3f11b1b | 2005-08-04 19:04:46 +0000 | [diff] [blame] | 18 | #endif |
19 | |||||
Eric Andersen | 03f9c81 | 2000-07-07 20:37:12 +0000 | [diff] [blame] | 20 | #endif /* CMDEDIT_H */ |