1
From 1cb75049490ad83076a6f02a63a1563fcf3401f3 Mon Sep 17 00:00:00 2001
2
From: Gerrit Pape <pape@smarden.org>
3
Date: Wed, 11 Feb 2009 01:38:49 +0000
4
Subject: [PATCH 2/2] [SHELL] print \n upon EOF (CTRL-D) when run interactively
6
Suggested by jidanni through
7
http://bugs.debian.org/476422
9
Signed-off-by: Gerrit Pape <pape@smarden.org>
11
src/main.c | 9 ++++++++-
12
1 files changed, 8 insertions(+), 1 deletions(-)
14
diff --git a/src/main.c b/src/main.c
15
index 7d07e2d..5f1ff0e 100644
18
@@ -228,8 +228,15 @@ cmdloop(int top)
19
if (!top || numeof >= 50)
32
out2str("\nUse \"exit\" to leave shell.\n");