# HG changeset patch # User Michael Spacefalcon # Date 1383203732 0 # Node ID 17c1e2a38418509876d85f1bdf45d0f6063bd0a9 # Parent dfd3110d84e35fab8cadca3fbc47d32abd7e3b90 target-utils command input: don't emit BEL on error conditions with the new binary-safe fc-iram these BELs get printed as ^G diff -r dfd3110d84e3 -r 17c1e2a38418 target-utils/libcommon/cmdentry.c --- a/target-utils/libcommon/cmdentry.c Thu Oct 31 06:56:31 2013 +0000 +++ b/target-utils/libcommon/cmdentry.c Thu Oct 31 07:15:32 2013 +0000 @@ -36,7 +36,7 @@ command[inlen++] = ch; putchar(ch); } else - putchar(7); + /* putchar(7) */; continue; } switch (ch) { @@ -53,7 +53,7 @@ putchar('\b'); inlen--; } else - putchar(7); + /* putchar(7) */; continue; case 0x03: /* ^C */ putchar('^'); @@ -66,7 +66,7 @@ putchar('\n'); return(0); default: - putchar(7); + /* putchar(7) */; } } }