projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Scrub pwd.h and grp.h handling so we don't have to play any
[oweals/busybox.git]
/
shell
/
cmdedit.c
diff --git
a/shell/cmdedit.c
b/shell/cmdedit.c
index b0309fef1596f3233799eca9371f21fceff85301..c5f2e9da2e7e66d322cfad57169807eccd0c8db0 100644
(file)
--- a/
shell/cmdedit.c
+++ b/
shell/cmdedit.c
@@
-82,7
+82,7
@@
#ifdef CONFIG_FEATURE_GETUSERNAME_AND_HOMEDIR
# ifndef TEST
#ifdef CONFIG_FEATURE_GETUSERNAME_AND_HOMEDIR
# ifndef TEST
-# include "pwd.h"
+# include "pwd
_
.h"
# else
# include <pwd.h>
# endif /* TEST */
# else
# include <pwd.h>
# endif /* TEST */
@@
-207,7
+207,8
@@
static void cmdedit_reset_term(void)
handlers_sets &= ~SET_WCHG_HANDLERS;
}
fflush(stdout);
handlers_sets &= ~SET_WCHG_HANDLERS;
}
fflush(stdout);
-#ifdef CONFIG_FEATURE_CLEAN_UP
+#if 0
+//#ifdef CONFIG_FEATURE_CLEAN_UP
if (his_front) {
struct history *n;
if (his_front) {
struct history *n;
@@
-1267,7
+1268,7
@@
prepare_to_die:
/* Control-k -- clear to end of line */
*(command + cursor) = 0;
len = cursor;
/* Control-k -- clear to end of line */
*(command + cursor) = 0;
len = cursor;
-
redraw(cmdedit_y, 0
);
+
printf("\033[J"
);
break;
case 12:
{
break;
case 12:
{