}
}
+#ifndef CANT_FORK
/* ARGSUSED */
static void
shell_escape (arg, from_tty)
else
error ("Fork failed");
}
+#endif
+#ifndef CANT_FORK
static void
make_command (arg, from_tty)
char *arg;
shell_escape (p, from_tty);
}
+#endif
static void
show_user_1 (c, stream)
void
_initialize_command ()
{
+#ifndef CANT_FORK
add_com ("shell", class_support, shell_escape,
"Execute the rest of the line as a shell command. \n\
With no arguments, run an inferior shell.");
-
+#endif
+#ifndef CANT_FORK
add_com ("make", class_support, make_command,
"Run the ``make'' program using the rest of the line as arguments.");
-
+#endif
add_cmd ("user", no_class, show_user,
"Show definitions of user defined commands.\n\
Argument is the name of the user defined command.\n\
the IBM PC. FIXME. -- gnu@cygnus.com, Sep92 */
#include "defs.h"
+
+/* dummy */
+struct ttystate;
+
#include "serial.h"
#include <sys/dos.h>
void
-serial_raw ()
+serial_raw (fd, old)
+int fd;
+struct ttystate *old;
{
/* Always in raw mode */
}
dosasync_write(fd, str, len);
}
-int
+void
serial_close ()
{
}
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#ifdef __GO32__
+
+/* Then you use the asynctsr */
+
+#else
#ifdef HAVE_TERMIO
#include <termios.h>
};
#endif /* not HAVE_TERMIO */
+#endif
/* Return a sensible default name for a serial device, something which
can be used as an argument to serial_open. */