Index: uspace/lib/c/generic/str.c
===================================================================
--- uspace/lib/c/generic/str.c	(revision 0d2bc9d2025f178333a69f6f13a4d3ca746e4365)
+++ uspace/lib/c/generic/str.c	(revision 15837931a1836a7dc044d546547b0f1120ed3ce2)
@@ -1726,6 +1726,8 @@
 		*result = unsigned_result;
 
-	/* Check whether we are at the end of
-	   the string in strict mode */
+	/*
+	 * Check whether we are at the end of
+	 * the string in strict mode
+	 */
 	if ((strict) && (*lendptr != 0))
 		return EINVAL;
Index: uspace/lib/gui/terminal.c
===================================================================
--- uspace/lib/gui/terminal.c	(revision 0d2bc9d2025f178333a69f6f13a4d3ca746e4365)
+++ uspace/lib/gui/terminal.c	(revision 15837931a1836a7dc044d546547b0f1120ed3ce2)
@@ -417,13 +417,7 @@
 			cons_event_t *event = list_get_instance(link, cons_event_t, link);
 
-			/* Ctrl-D inputs end-of-file. */
-			if ((event->ev.key.mods & KM_LCTRL) != 0 &&
-			     event->ev.key.key == KC_D && event->ev.key.type == KEY_PRESS) {
-				term->char_remains[term->char_remains_len] = EOF;
-				term->char_remains_len = str_size(term->char_remains);
-
 			/* Accept key presses of printable chars only. */
-			} else if (event->type == CEV_KEY && event->ev.key.type == KEY_PRESS &&
-				   event->ev.key.c != 0) {
+			if (event->type == CEV_KEY && event->ev.key.type == KEY_PRESS &&
+			    event->ev.key.c != 0) {
 				wchar_t tmp[2] = {
 					event->ev.key.c,
