** Date Started: Jan 2001
**
** This is part of the CTSim program
-** Copyright (C) 1983-2000 Kevin Rosenberg
-**
-** $Id$
+** Copyright (C) 1983-2009 Kevin Rosenberg
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
char* pszInputLine = new char [s_MaxLineLength+1];
std::cout << szPrompt;
std::cin.getline (pszInputLine, s_MaxLineLength);
+ if (std::cin.eof()) {
+ std::cout << "\n";
+ break;
+ }
#ifdef DEBUG
std::cout << "#" << pszInputLine << "#\n";