#include <string>
#include <cstring>
namespace cursor {
#include <sstream>
#include <iomanip>
#include <cstdlib>
#include <memory>
using std::auto_ptr;
#endif
// HAVE_SYS_MMAN_H
#include <iostream>
using std::cerr;
using std::endl;
#include <cctype>
using std::string;
// For debugging.
#include "trace.h"
#include "socket.h"
//------------------------------------------------
// Changed this: now do not use winsock in Cygwin.
#include <stdexcept>
#ifdef __BORLANDC__
#pragma warn -8027