diff -Nru busybox-orig/shell/cmdedit.c busybox/shell/cmdedit.c --- busybox-orig/shell/cmdedit.c Wed Mar 19 10:12:52 2003 +++ busybox/shell/cmdedit.c Fri Apr 4 19:50:48 2003 @@ -1244,7 +1244,7 @@ new_settings.c_lflag &= ~ICANON; /* unbuffered input */ /* Turn off echoing and CTRL-C, so we can trap it */ new_settings.c_lflag &= ~(ECHO | ECHONL | ISIG); -#ifndef linux +#if (defined(__sparc__) && defined(linux)) || ! defined(linux) /* Hmm, in linux c_cc[] not parsed if set ~ICANON */ new_settings.c_cc[VMIN] = 1; new_settings.c_cc[VTIME] = 0;