sim_log           436 src/simh/scp.c FILE *sim_log                    = NULL;         /* log file */
sim_log          1986 src/simh/scp.c sim_log = NULL;
sim_log          2092 src/simh/scp.c     if (sim_log)                                        /* log cmd */
sim_log          2093 src/simh/scp.c         (void)fprintf (sim_log, "%s%s\n", sim_prompt, cptr);
sim_log          2094 src/simh/scp.c     if (sim_deb && (sim_deb != sim_log) && (sim_deb != stdout))
sim_log          2643 src/simh/scp.c         if (sim_log)
sim_log          2644 src/simh/scp.c             scp_help (sim_log, NULL, NULL, flag | SCP_HELP_FLAT, help_base ? help_base : simh_help, help+1);
sim_log          2648 src/simh/scp.c         if (sim_log)
sim_log          2649 src/simh/scp.c             fputs (help, sim_log);
sim_log          2677 src/simh/scp.c                     if (sim_log)
sim_log          2678 src/simh/scp.c                         help_dev_help (sim_log, dptr, uptr, flag | SCP_HELP_FLAT, (cmdp->action == &set_cmd) ? "SET" : "SHOW");
sim_log          2739 src/simh/scp.c                         if (sim_log)
sim_log          2740 src/simh/scp.c                             sim_dflt_dev->help (sim_log, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name);
sim_log          2770 src/simh/scp.c         if (sim_log)
sim_log          2771 src/simh/scp.c             help_dev_help (sim_log, dptr, uptr, flag | SCP_HELP_FLAT, cptr);
sim_log          2777 src/simh/scp.c     if (sim_log)
sim_log          2778 src/simh/scp.c         fprint_help (sim_log);
sim_log          2793 src/simh/scp.c if (sim_log)                                            /* flush log if enabled */
sim_log          2794 src/simh/scp.c     (void)fflush (sim_log);
sim_log          4280 src/simh/scp.c     if (sim_log && (sim_log != stdout))
sim_log          4281 src/simh/scp.c         show_cmd_fi (sim_log, flag, cptr);
sim_log          4282 src/simh/scp.c     if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log))
sim_log          6410 src/simh/scp.c if (sim_log)                                            /* flush log if enabled */
sim_log          6411 src/simh/scp.c     (void)fflush (sim_log);
sim_log          6467 src/simh/scp.c if (sim_log)                                            /* flush console log */
sim_log          6468 src/simh/scp.c     (void)fflush (sim_log);
sim_log          6504 src/simh/scp.c if (sim_log && (sim_log != stdout))                 /* log if enabled */
sim_log          6505 src/simh/scp.c     fprint_stopped (sim_log, r);
sim_log          6506 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log))/* debug if enabled */
sim_log          6750 src/simh/scp.c                     if (sim_log && (ofile == stdout))
sim_log          6751 src/simh/scp.c                         ex_reg (sim_log, val, flag, rptr, idx-1);
sim_log          6756 src/simh/scp.c                         if (sim_log && (ofile == stdout))
sim_log          6757 src/simh/scp.c                             (void)Fprintf (sim_log, "%s[%d]-%s[%d]: same as above\n", rptr->name, val_start+1, rptr->name, idx-1);
sim_log          6761 src/simh/scp.c                         if (sim_log && (ofile == stdout))
sim_log          6762 src/simh/scp.c                             (void)Fprintf (sim_log, "%s[%d]: same as above\n", rptr->name, val_start+1);
sim_log          6771 src/simh/scp.c             if (sim_log && (ofile == stdout))
sim_log          6772 src/simh/scp.c                 ex_reg (sim_log, val, flag, rptr, idx);
sim_log          6785 src/simh/scp.c             if (sim_log && (ofile == stdout))
sim_log          6786 src/simh/scp.c                 ex_reg (sim_log, val, flag, rptr, highs);
sim_log          6791 src/simh/scp.c                 if (sim_log && (ofile == stdout))
sim_log          6792 src/simh/scp.c                     (void)Fprintf (sim_log, "%s[%d]-%s[%d]: same as above\n", rptr->name, val_start+1, rptr->name, highs);
sim_log          6796 src/simh/scp.c                 if (sim_log && (ofile == stdout))
sim_log          6797 src/simh/scp.c                     (void)Fprintf (sim_log, "%s[%d]: same as above\n", rptr->name, val_start+1);
sim_log          6827 src/simh/scp.c             if (sim_log && (ofile == stdout))
sim_log          6828 src/simh/scp.c                 ex_addr (sim_log, flag, i, dptr, uptr);
sim_log          6955 src/simh/scp.c     if (sim_log)
sim_log          6956 src/simh/scp.c         (void)fprintf (sim_log, "%s\n", cptr? cptr: "");
sim_log          7175 src/simh/scp.c     if (sim_log)
sim_log          7176 src/simh/scp.c         (void)fprintf (sim_log, "%s\n", cptr? cptr: "");
sim_log          7255 src/simh/scp.c     if (sim_log) {
sim_log          7256 src/simh/scp.c         if ((r = fprint_sym (sim_log, a, &sim_eval[i], dptr->units, sim_switches)) > 0)
sim_log          7257 src/simh/scp.c             r = fprint_val (sim_log, sim_eval[i], rdx, dptr->dwidth, PV_RZRO);
sim_log          10292 src/simh/scp.c if (sim_log && (sim_log != stdout))
sim_log          10293 src/simh/scp.c     (void)fprintf (sim_log, "%s", buf);
sim_log          10294 src/simh/scp.c if (sim_deb && (sim_deb != stdout) && (sim_deb != sim_log))
sim_log          10356 src/simh/scp.c if (sim_log && (sim_log != stdout) && !inhibit_message)
sim_log          10357 src/simh/scp.c     (void)fprintf (sim_log, "%s", buf);
sim_log          10358 src/simh/scp.c if (sim_deb && (((sim_deb != stdout) && (sim_deb != sim_log)) || inhibit_message))/* Always display messages in debug output */
sim_log           239 src/simh/scp.h extern FILE *sim_log;                                   /* log file */
sim_log           598 src/simh/sim_console.c if (sim_log) {
sim_log           601 src/simh/sim_console.c     (void)fflush (sim_log);
sim_log           602 src/simh/sim_console.c     (void)sim_fseeko (sim_log, sim_rem_cmd_log_start, SEEK_SET);
sim_log           604 src/simh/sim_console.c     while (fgets (cbuf, sizeof(cbuf)-1, sim_log))
sim_log           903 src/simh/sim_console.c         if (!sim_log) {                                 /* Not currently logging? */
sim_log           912 src/simh/sim_console.c         sim_rem_cmd_log_start = sim_ftell (sim_log);
sim_log           990 src/simh/sim_console.c                 (void)fflush (sim_log);
sim_log           991 src/simh/sim_console.c                 sim_rem_cmd_log_start = sim_ftell (sim_log);
sim_log          1323 src/simh/sim_console.c                             &sim_log, &sim_log_ref);    /* open log */
sim_log          1328 src/simh/sim_console.c              sim_logfile_name (sim_log, sim_log_ref));
sim_log          1329 src/simh/sim_console.c fprintf (sim_log, "Logging to file \"%s\"\n",
sim_log          1330 src/simh/sim_console.c              sim_logfile_name (sim_log, sim_log_ref));  /* start of log */
sim_log          1332 src/simh/sim_console.c fprintf (sim_log, "Logging to file \"%s\" at %s", sim_logfile_name (sim_log, sim_log_ref), ctime(&now));
sim_log          1342 src/simh/sim_console.c if (sim_log == NULL)                                    /* no log? */
sim_log          1346 src/simh/sim_console.c fprintf (sim_log, "Log file closed\n");
sim_log          1348 src/simh/sim_console.c sim_log = NULL;
sim_log          1358 src/simh/sim_console.c if (sim_log)
sim_log          1360 src/simh/sim_console.c                  sim_logfile_name (sim_log, sim_log_ref));
sim_log          1422 src/simh/sim_console.c if (sim_deb == sim_log) {                               /* debug is log */
sim_log          1657 src/simh/sim_console.c     if (sim_log == NULL)                                /* any log? */
sim_log          1659 src/simh/sim_console.c     *pf = sim_log;
sim_log          1748 src/simh/sim_console.c             if (sim_log)                                /* log file? */
sim_log          1749 src/simh/sim_console.c                 (void)fflush (sim_log);
sim_log          1782 src/simh/sim_console.c             if (sim_log)                                /* log file? */
sim_log          1783 src/simh/sim_console.c                 (void)fflush (sim_log);
sim_log          1794 src/simh/sim_console.c             if (sim_log)                                /* log file? */
sim_log          1795 src/simh/sim_console.c                 (void)fflush (sim_log);
sim_log          1805 src/simh/sim_console.c         if (sim_log)                                    /* log file? */
sim_log          1806 src/simh/sim_console.c             (void)fflush (sim_log);
sim_log          1883 src/simh/sim_console.c     if (sim_log)                                        /* log file? */
sim_log          1884 src/simh/sim_console.c         fputc (c, sim_log);
sim_log          2009 src/simh/sim_console.c if (sim_log) {
sim_log          2010 src/simh/sim_console.c     (void)fflush (sim_log);
sim_log          2011 src/simh/sim_console.c     _setmode (_fileno (sim_log), _O_BINARY);
sim_log          2019 src/simh/sim_console.c if (sim_log) {
sim_log          2020 src/simh/sim_console.c     (void)fflush (sim_log);
sim_log          2021 src/simh/sim_console.c     _setmode (_fileno (sim_log), _O_TEXT);