#include "realtime+dflags.h"
static int debug_simulate_exactly;
+static int nononblock_stdin;
static void debug_user_set(const DebugSelectorAreaInfo *dsai,
int op, unsigned long bits) {
case 'v': picio_send_noise= atoi(arg); arg=0; break;
case 'm': sta_state= Sta_Manual; break;
case 'V': simlog_full=1; break;
+ case 'B': nononblock_stdin=1; break;
case 'L': logcopy_fn= arg; arg=0; break;
case 'S': simulate= arg; arg=0; break;
case 'D': debug_arg_spec(arg); arg=0; break;
simlog_open(logcopy_fn);
cmdin_new(&cmdi, 0);
+ if (nononblock_stdin) oop_fd_nonblock(0,0);
serial_open(device);
r= oop_fd_nonblock(serial_fd, 1); if (r) diee("nonblock(serial_fd,1)");