Index: uspace/app/bdsh/input.c
===================================================================
--- uspace/app/bdsh/input.c	(revision 7a288124069e88863a27894918028ae06c414d31)
+++ uspace/app/bdsh/input.c	(revision bf25efb0b361ed9f7b43f5db17457fa376e1bd25)
@@ -95,5 +95,4 @@
 }
 
-/* Borrowed from Jiri Svoboda's 'cli' uspace app */
 static void read_line(char *buffer, int n)
 {
@@ -115,6 +114,8 @@
 			continue;
 		}
-		putchar(c);
-		buffer[chars++] = c;
+		if (c >= ' ') {
+			putchar(c);
+			buffer[chars++] = c;
+		}
 	}
 	putchar('\n');
