st 75 src/dps8/dps8_absi.c static t_stat absi_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 94 src/dps8/dps8_absi.c static t_stat absi_show_device_name (UNUSED FILE * st, UNIT * uptr, st 81 src/dps8/dps8_console.c static t_stat opc_show_nunits (FILE *st, UNIT *uptr, int val, st 87 src/dps8/dps8_console.c static t_stat opc_autoinput_show (FILE *st, UNIT *uptr, int val, st 91 src/dps8/dps8_console.c static t_stat opc_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 95 src/dps8/dps8_console.c static t_stat opc_show_console_port (UNUSED FILE * st, UNIT * uptr, st 99 src/dps8/dps8_console.c static t_stat opc_show_console_address (UNUSED FILE * st, UNIT * uptr, st 103 src/dps8/dps8_console.c static t_stat opc_show_console_pw (UNUSED FILE * st, UNIT * uptr, st 107 src/dps8/dps8_console.c static t_stat opc_show_device_name (UNUSED FILE * st, UNIT * uptr, st 558 src/dps8/dps8_console.c static int opc_autoinput_show (UNUSED FILE * st, UNIT * uptr, st 1662 src/dps8/dps8_console.c static t_stat opc_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 1763 src/dps8/dps8_console.c static t_stat opc_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 1775 src/dps8/dps8_console.c static t_stat opc_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1822 src/dps8/dps8_console.c static t_stat opc_show_console_port (UNUSED FILE * st, UNIT * uptr, st 1870 src/dps8/dps8_console.c static t_stat opc_show_console_address (UNUSED FILE * st, UNIT * uptr, st 1909 src/dps8/dps8_console.c static t_stat opc_show_console_pw (UNUSED FILE * st, UNIT * uptr, st 127 src/dps8/dps8_cpu.c static t_stat cpu_show_config (UNUSED FILE * st, UNIT * uptr, st 725 src/dps8/dps8_cpu.c static t_stat cpu_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 744 src/dps8/dps8_cpu.c static t_stat cpu_show_kips (UNUSED FILE * st, UNUSED UNIT * uptr, st 768 src/dps8/dps8_cpu.c static t_stat cpu_show_stall (UNUSED FILE * st, UNUSED UNIT * uptr, st 67 src/dps8/dps8_crdpun.c static t_stat pun_show_nunits (FILE *st, UNIT *uptr, int val, const void *desc); st 69 src/dps8/dps8_crdpun.c static t_stat pun_show_device_name (FILE *st, UNIT *uptr, int val, const void *desc); st 71 src/dps8/dps8_crdpun.c static t_stat pun_show_path (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 77 src/dps8/dps8_crdpun.c static t_stat pun_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, st 1254 src/dps8/dps8_crdpun.c static t_stat pun_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, st 1273 src/dps8/dps8_crdpun.c static t_stat pun_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1324 src/dps8/dps8_crdpun.c static t_stat pun_show_path (UNUSED FILE * st, UNUSED UNIT * uptr, st 1374 src/dps8/dps8_crdpun.c static t_stat pun_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 66 src/dps8/dps8_crdrdr.c static t_stat rdr_show_nunits (FILE *st, UNIT *uptr, int val, const void *desc); st 68 src/dps8/dps8_crdrdr.c static t_stat rdr_show_device_name (FILE *st, UNIT *uptr, int val, const void *desc); st 70 src/dps8/dps8_crdrdr.c static t_stat rdr_show_path (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 1039 src/dps8/dps8_crdrdr.c static t_stat rdr_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, st 1058 src/dps8/dps8_crdrdr.c static t_stat rdr_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1112 src/dps8/dps8_crdrdr.c static t_stat rdr_show_path (UNUSED FILE * st, UNUSED UNIT * uptr, st 126 src/dps8/dps8_dia.c static t_stat show_config (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 146 src/dps8/dps8_dia.c static t_stat show_status (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 165 src/dps8/dps8_dia.c static t_stat show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 342 src/dps8/dps8_disk.c static t_stat disk_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, UNUSED const void * desc) st 359 src/dps8/dps8_disk.c static t_stat disk_show_type (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, UNUSED const void * desc) st 409 src/dps8/dps8_disk.c static t_stat dsk_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1662 src/dps8/dps8_disk.c static t_stat ipc_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 1681 src/dps8/dps8_disk.c static t_stat ipc_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1804 src/dps8/dps8_disk.c static t_stat msp_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 1823 src/dps8/dps8_disk.c static t_stat msp_show_device_name (UNUSED FILE * st, UNIT * uptr, st 121 src/dps8/dps8_fnp2.c static t_stat fnpShowConfig (FILE *st, UNIT *uptr, int val, const void *desc); st 123 src/dps8/dps8_fnp2.c static t_stat fnpShowStatus (FILE *st, UNIT *uptr, int val, const void *desc); st 124 src/dps8/dps8_fnp2.c static t_stat fnpShowNUnits (FILE *st, UNIT *uptr, int val, const void *desc); st 126 src/dps8/dps8_fnp2.c static t_stat fnpShowIPCname (FILE *st, UNIT *uptr, int val, const void *desc); st 128 src/dps8/dps8_fnp2.c static t_stat fnpShowService (FILE *st, UNIT *uptr, int val, const void *desc); st 130 src/dps8/dps8_fnp2.c static t_stat fnpShowFW (FILE *st, UNIT *uptr, int val, const void *desc); st 132 src/dps8/dps8_fnp2.c static t_stat fnp_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1796 src/dps8/dps8_fnp2.c static t_stat fnpShowNUnits (UNUSED FILE * st, UNUSED UNIT * uptr, st 1816 src/dps8/dps8_fnp2.c static t_stat fnpShowIPCname (UNUSED FILE * st, UNIT * uptr, st 1842 src/dps8/dps8_fnp2.c static t_stat fnpShowService (UNUSED FILE * st, UNIT * uptr, st 1854 src/dps8/dps8_fnp2.c enum service_types st = fnpData.fnpUnitData[devnum].MState.line[linenum].service; st 1855 src/dps8/dps8_fnp2.c switch (st) st 1870 src/dps8/dps8_fnp2.c sim_printf("%d.%03d: ERR (%u)", (char)('a' + (int) devnum), linenum, st); st 1924 src/dps8/dps8_fnp2.c static t_stat fnpShowConfig (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 2161 src/dps8/dps8_fnp2.c static t_stat fnpShowFW (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 2187 src/dps8/dps8_fnp2.c static t_stat fnpShowStatus (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 2277 src/dps8/dps8_fnp2.c static t_stat fnp_show_device_name (UNUSED FILE * st, UNIT * uptr, st 921 src/dps8/dps8_iom.c static t_stat iom_show_mbx (UNUSED FILE * st, st 928 src/dps8/dps8_iom.c static t_stat iom_show_units (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, UNUSED const void * desc) st 948 src/dps8/dps8_iom.c static t_stat iom_show_config (UNUSED FILE * st, UNIT * uptr, UNUSED int val, st 151 src/dps8/dps8_mgp.c mgp_show_nunits(UNUSED FILE *st, UNUSED UNIT *uptr, UNUSED int val, st 180 src/dps8/dps8_mgp.c mgp_show_device_name(UNUSED FILE *st, UNIT *uptr, UNUSED int val, st 155 src/dps8/dps8_mt.c static t_stat mtp_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 175 src/dps8/dps8_mt.c static t_stat mtp_show_boot_drive (UNUSED FILE * st, UNIT * uptr, st 232 src/dps8/dps8_mt.c static t_stat mtp_show_device_name (UNUSED FILE * st, UNIT * uptr, st 406 src/dps8/dps8_mt.c static t_stat mt_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 425 src/dps8/dps8_mt.c static t_stat mt_show_device_name (UNUSED FILE * st, UNIT * uptr, st 454 src/dps8/dps8_mt.c static t_stat mt_show_tape_path (UNUSED FILE * st, UNUSED UNIT * uptr, st 635 src/dps8/dps8_mt.c static t_stat mt_show_tape_search_paths(UNUSED FILE * st, UNUSED UNIT * uptr, st 83 src/dps8/dps8_prt.c static t_stat prt_show_nunits (FILE *st, UNIT *uptr, int val, const void *desc); st 85 src/dps8/dps8_prt.c static t_stat prt_show_device_name (FILE *st, UNIT *uptr, int val, const void *desc); st 89 src/dps8/dps8_prt.c static t_stat prt_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 91 src/dps8/dps8_prt.c static t_stat prt_show_path (UNUSED FILE * st, UNIT * uptr, st 99 src/dps8/dps8_prt.c static t_stat prt_show_device_model (FILE *st, UNIT *uptr, int val, const void *desc); st 1769 src/dps8/dps8_prt.c static t_stat prt_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, st 1788 src/dps8/dps8_prt.c static t_stat prt_show_device_name (UNUSED FILE * st, UNIT * uptr, st 1821 src/dps8/dps8_prt.c static t_stat prt_show_device_model (UNUSED FILE * st, UNIT * uptr, st 1849 src/dps8/dps8_prt.c static t_stat prt_show_path (UNUSED FILE * st, UNUSED UNUSED UNIT * uptr, st 2039 src/dps8/dps8_prt.c static t_stat prt_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 605 src/dps8/dps8_scu.c static t_stat scu_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 624 src/dps8/dps8_scu.c static t_stat scu_show_state (UNUSED FILE * st, UNIT *uptr, UNUSED int val, st 688 src/dps8/dps8_scu.c static t_stat scu_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 87 src/dps8/dps8_socket_dev.c static t_stat sk_show_nunits (UNUSED FILE * st, UNUSED UNIT * uptr, st 106 src/dps8/dps8_socket_dev.c static t_stat skc_show_device_name (UNUSED FILE * st, UNIT * uptr, st 4798 src/dps8/dps8_sys.c static t_stat sys_show_config (UNUSED FILE * st, UNUSED UNIT * uptr, st 4821 src/dps8/dps8_sys.c static t_stat sys_show_break (UNUSED FILE * st, UNUSED UNIT * uptr, st 91 src/dps8/dps8_urp.c static t_stat urpShowUnits (UNUSED FILE * st, UNUSED UNIT * uptr, UNUSED int val, UNUSED const void * desc) st 108 src/dps8/dps8_urp.c static t_stat urpShowDeviceName (UNUSED FILE * st, UNIT * uptr, UNUSED int val, UNUSED const void * desc) st 57 src/libsir/include/sir/filesystem.h bool _sir_pathgetstat(const char* restrict path, struct stat* restrict st, sir_rel_to rel_to); st 181 src/libsir/src/sirfilecache.c struct stat st = {0}; st 182 src/libsir/src/sirfilecache.c int getstat = fstat(fileno(sf->f), &st); st 185 src/libsir/src/sirfilecache.c getstat = stat(sf->path, &st); st 190 src/libsir/src/sirfilecache.c retval = st.st_size + BUFSIZ >= SIR_FROLLSIZE || st 191 src/libsir/src/sirfilecache.c SIR_FROLLSIZE - (st.st_size + BUFSIZ) <= BUFSIZ; st 44 src/libsir/src/sirfilesystem.c bool _sir_pathgetstat(const char* restrict path, struct stat* restrict st, sir_rel_to rel_to) { st 45 src/libsir/src/sirfilesystem.c if (!_sir_validstr(path) || !_sir_validptr(st)) st 48 src/libsir/src/sirfilesystem.c (void)memset(st, 0, sizeof(struct stat)); st 86 src/libsir/src/sirfilesystem.c stat_ret = fstatat(fd, path, st, AT_SYMLINK_NOFOLLOW); st 93 src/libsir/src/sirfilesystem.c stat_ret = fstatat(fd, path, st, AT_SYMLINK_NOFOLLOW); st 97 src/libsir/src/sirfilesystem.c stat_ret = stat(abs_path, st); st 103 src/libsir/src/sirfilesystem.c stat_ret = stat(path, st); st 122 src/libsir/src/sirfilesystem.c stat_ret = stat(abs_path, st); st 125 src/libsir/src/sirfilesystem.c stat_ret = stat(path, st); st 129 src/libsir/src/sirfilesystem.c st->st_size = SIR_STAT_NONEXISTENT; st 140 src/libsir/src/sirfilesystem.c struct stat st = {0}; st 141 src/libsir/src/sirfilesystem.c bool stat_ret = _sir_pathgetstat(path, &st, rel_to); st 145 src/libsir/src/sirfilesystem.c *exists = (st.st_size != SIR_STAT_NONEXISTENT); st 233 src/libsir/src/sirfilesystem.c struct stat st; st 234 src/libsir/src/sirfilesystem.c if (-1 == lstat(PROC_SELF, &st)) { st 239 src/libsir/src/sirfilesystem.c size_t size = (st.st_size > 0) ? st.st_size + 2 : SIR_MAXPATH; st 75 src/libsir/src/sirhelpers.c struct _stat st; st 76 src/libsir/src/sirhelpers.c int ret = _fstat(fd, &st); st 1219 src/libsir/src/sirinternal.c SYSTEMTIME st = {0}; st 1220 src/libsir/src/sirinternal.c if (FileTimeToSystemTime(&ftutc, &st)) { st 1222 src/libsir/src/sirinternal.c *msecbuf = (long)st.wMilliseconds; st 278 src/simh/scp.c void (*sim_vm_fprint_addr) (FILE *st, DEVICE *dptr, t_addr addr) = NULL; st 282 src/simh/scp.c t_bool (*sim_vm_fprint_stopped) (FILE *st, t_stat reason) = NULL; st 293 src/simh/scp.c t_stat ssh_break (FILE *st, const char *cptr, int32 flg); st 295 src/simh/scp.c t_stat show_config (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 296 src/simh/scp.c t_stat show_queue (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 297 src/simh/scp.c t_stat show_time (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 298 src/simh/scp.c t_stat show_mod_names (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 299 src/simh/scp.c t_stat show_show_commands (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 300 src/simh/scp.c t_stat show_log_names (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 301 src/simh/scp.c t_stat show_dev_radix (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 302 src/simh/scp.c t_stat show_dev_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 303 src/simh/scp.c t_stat show_dev_logicals (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 304 src/simh/scp.c t_stat show_dev_modifiers (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 305 src/simh/scp.c t_stat show_dev_show_commands (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 306 src/simh/scp.c t_stat show_version (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 307 src/simh/scp.c t_stat show_buildinfo (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cprr); st 308 src/simh/scp.c t_stat show_prom (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 309 src/simh/scp.c t_stat show_default_base_system_script (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 310 src/simh/scp.c t_stat show_default (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 311 src/simh/scp.c t_stat show_break (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 312 src/simh/scp.c t_stat show_on (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 313 src/simh/scp.c t_stat sim_show_send (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 314 src/simh/scp.c t_stat sim_show_expect (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 315 src/simh/scp.c t_stat show_device (FILE *st, DEVICE *dptr, int32 flag); st 316 src/simh/scp.c t_stat show_unit (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag); st 317 src/simh/scp.c t_stat show_all_mods (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flg, int32 *toks); st 318 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr, CONST char *cptr, int32 flag); st 328 src/simh/scp.c t_stat sim_brk_show (FILE *st, t_addr loc, int32 sw); st 329 src/simh/scp.c t_stat sim_brk_showall (FILE *st, uint32 sw); st 347 src/simh/scp.c void fprint_help (FILE *st); st 348 src/simh/scp.c void fprint_stopped (FILE *st, t_stat r); st 349 src/simh/scp.c void fprint_capac (FILE *st, DEVICE *dptr, UNIT *uptr); st 350 src/simh/scp.c void fprint_sep (FILE *st, int32 *tokens); st 365 src/simh/scp.c t_stat ssh_break_one (FILE *st, int32 flg, t_addr lo, int32 cnt, CONST char *aptr); st 384 src/simh/scp.c t_stat sim_show_asynch (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 2248 src/simh/scp.c void fprint_help (FILE *st) st 2305 src/simh/scp.c (void)fprintf (st, "HELP is available for the following commands:\n\n "); st 2310 src/simh/scp.c fputs (hlp_cmdp[i]->name, st); st 2314 src/simh/scp.c (void)fprintf (st, "\n "); st 2317 src/simh/scp.c (void)fprintf (st, "%*s", (int)(max_cmdname_size + 5 - strlen (hlp_cmdp[i]->name)), ""); st 2320 src/simh/scp.c (void)fprintf (st, "\n"); st 2324 src/simh/scp.c static void fprint_header (FILE *st, t_bool *pdone, char *context) st 2327 src/simh/scp.c (void)fprintf (st, "%s", context); st 2331 src/simh/scp.c void fprint_reg_help_ex (FILE *st, DEVICE *dptr, t_bool silent) st 2359 src/simh/scp.c (void)fprintf (st, "No register HELP available for the %s device\n", st 2376 src/simh/scp.c (void)fprintf (st, "\nThe %s device implements these registers:\n\n", st 2395 src/simh/scp.c (void)fprintf (st, " %s %4d %s\n", st 2403 src/simh/scp.c (void)fprintf (st, " %s %s %4d %s\n", st 2409 src/simh/scp.c (void)fprintf (st, " %*s %s %4d %s\n", st 2419 src/simh/scp.c void fprint_reg_help (FILE *st, DEVICE *dptr) st 2421 src/simh/scp.c fprint_reg_help_ex (st, dptr, TRUE); st 2424 src/simh/scp.c void fprint_attach_help_ex (FILE *st, DEVICE *dptr, t_bool silent) st 2427 src/simh/scp.c (void)fprintf (st, "\n%s device ATTACH commands:\n\n", dptr->name); st 2428 src/simh/scp.c dptr->attach_help (st, dptr, NULL, 0, NULL); st 2432 src/simh/scp.c (void)fprintf (st, "\n%s device ATTACH commands:\n\n", dptr->name); st 2433 src/simh/scp.c sim_disk_attach_help (st, dptr, NULL, 0, NULL); st 2437 src/simh/scp.c (void)fprintf (st, "\n%s device ATTACH commands:\n\n", dptr->name); st 2438 src/simh/scp.c sim_tape_attach_help (st, dptr, NULL, 0, NULL); st 2442 src/simh/scp.c (void)fprintf (st, "No ATTACH help is available for the %s device\n", dptr->name); st 2444 src/simh/scp.c dptr->help (st, dptr, NULL, 0, NULL); st 2448 src/simh/scp.c void fprint_set_help_ex (FILE *st, DEVICE *dptr, t_bool silent) st 2468 src/simh/scp.c fprint_header (st, &found, header); st 2476 src/simh/scp.c (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); st 2478 src/simh/scp.c (void)fprintf (st, "%s\n%-30s\t%s\n", buf, "", mptr->help); st 2483 src/simh/scp.c fprint_header (st, &found, header); st 2485 src/simh/scp.c (void)fprintf (st, "%-30s\tEnables device %s\n", buf, sim_dname (dptr)); st 2487 src/simh/scp.c (void)fprintf (st, "%-30s\tDisables device %s\n", buf, sim_dname (dptr)); st 2490 src/simh/scp.c fprint_header (st, &found, header); st 2492 src/simh/scp.c (void)fprintf (st, "%-30s\tEnables debugging for device %s\n", buf, sim_dname (dptr)); st 2494 src/simh/scp.c (void)fprintf (st, "%-30s\tDisables debugging for device %s\n", buf, sim_dname (dptr)); st 2498 src/simh/scp.c (void)fprintf (st, "SET %s DEBUG=", sim_dname (dptr)); st 2500 src/simh/scp.c (void)fprintf (st, "%s%s", ((dep == dptr->debflags) ? "" : ";"), dep->name); st 2503 src/simh/scp.c (void)fprintf (st, "\n"); st 2504 src/simh/scp.c (void)fprintf (st, "%-30s\tEnables specific debugging for device %s\n", buf, sim_dname (dptr)); st 2505 src/simh/scp.c (void)fprintf (st, "SET %s NODEBUG=", sim_dname (dptr)); st 2507 src/simh/scp.c (void)fprintf (st, "%s%s", ((dep == dptr->debflags) ? "" : ";"), dep->name); st 2508 src/simh/scp.c (void)fprintf (st, "\n"); st 2509 src/simh/scp.c (void)fprintf (st, "%-30s\tDisables specific debugging for device %s\n", buf, sim_dname (dptr)); st 2511 src/simh/scp.c (void)fprintf (st, "\n*%s device DEBUG settings:\n", sim_dname (dptr)); st 2513 src/simh/scp.c (void)fprintf (st, "%4s%-12s%s\n", "", dep->name, dep->desc ? dep->desc : ""); st 2519 src/simh/scp.c fprint_header (st, &found, header); st 2521 src/simh/scp.c (void)fprintf (st, "%-30s\tEnables unit %sn\n", buf, sim_dname (dptr)); st 2523 src/simh/scp.c (void)fprintf (st, "%-30s\tDisables unit %sn\n", buf, sim_dname (dptr)); st 2531 src/simh/scp.c fprint_header (st, &found, header); st 2538 src/simh/scp.c (void)fprintf (st, "%-30s\t%s\n", buf, st 2545 src/simh/scp.c (void)fprintf (st, "No SET help is available for the %s device\n", dptr->name); st 2548 src/simh/scp.c void fprint_set_help (FILE *st, DEVICE *dptr) st 2550 src/simh/scp.c fprint_set_help_ex (st, dptr, TRUE); st 2553 src/simh/scp.c void fprint_show_help_ex (FILE *st, DEVICE *dptr, t_bool silent) st 2573 src/simh/scp.c fprint_header (st, &found, header); st 2576 src/simh/scp.c (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); st 2580 src/simh/scp.c fprint_header (st, &found, header); st 2582 src/simh/scp.c (void)fprintf (st, "%-30s\tDisplays debugging status for device %s\n", buf, sim_dname (dptr)); st 2590 src/simh/scp.c fprint_header (st, &found, header); st 2594 src/simh/scp.c (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); st 2598 src/simh/scp.c (void)fprintf (st, "No SHOW help is available for the %s device\n", dptr->name); st 2601 src/simh/scp.c void fprint_show_help (FILE *st, DEVICE *dptr) st 2603 src/simh/scp.c fprint_show_help_ex (st, dptr, TRUE); st 2606 src/simh/scp.c void fprint_brk_help_ex (FILE *st, DEVICE *dptr, t_bool silent) st 2613 src/simh/scp.c (void)fprintf (st, "Breakpoints are not supported in the %s simulator\n", sim_name); st 2615 src/simh/scp.c dptr->help (st, dptr, NULL, 0, NULL); st 2624 src/simh/scp.c (void)fprintf (st, "%s supports the following breakpoint types:\n", sim_dname (dptr)); st 2627 src/simh/scp.c (void)fprintf (st, " -%c\n", 'A'+i); st 2630 src/simh/scp.c (void)fprintf (st, "The default breakpoint type is: %s\n", put_switches (gbuf, sizeof(gbuf), sim_brk_dflt)); st 2634 src/simh/scp.c (void)fprintf (st, "%s supports the following breakpoint types:\n", sim_dname (dptr)); st 2636 src/simh/scp.c (void)fprintf (st, " %s %s\n", put_switches (gbuf, sizeof(gbuf), brkt->btyp), brkt->desc); st 2639 src/simh/scp.c (void)fprintf (st, "The default breakpoint type is: %s\n", put_switches (gbuf, sizeof(gbuf), sim_brk_dflt)); st 2642 src/simh/scp.c t_stat help_dev_help (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr) st 2652 src/simh/scp.c return dptr->help (st, dptr, uptr, flag, cptr); st 2654 src/simh/scp.c (void)fprintf (st, "No HELP available for the %s %s command\n", cmdp->name, sim_dname(dptr)); st 2658 src/simh/scp.c fprint_set_help_ex (st, dptr, FALSE); st 2662 src/simh/scp.c fprint_show_help_ex (st, dptr, FALSE); st 2666 src/simh/scp.c fprint_attach_help_ex (st, dptr, FALSE); st 2670 src/simh/scp.c fprint_brk_help_ex (st, dptr, FALSE); st 2674 src/simh/scp.c return dptr->help (st, dptr, uptr, flag, cptr); st 2675 src/simh/scp.c (void)fprintf (st, "No %s HELP is available for the %s device\n", cmdp->name, dptr->name); st 2679 src/simh/scp.c fprint_reg_help_ex (st, dptr, FALSE); st 2683 src/simh/scp.c return dptr->help (st, dptr, uptr, flag, cptr); st 2684 src/simh/scp.c (void)fprintf (st, "No %s HELP is available for the %s device\n", gbuf, dptr->name); st 2688 src/simh/scp.c return dptr->help (st, dptr, uptr, flag, cptr); st 2691 src/simh/scp.c (void)fprintf (st, "%s %s HELP\n", dptr->description (dptr), dptr->name); st 2693 src/simh/scp.c (void)fprintf (st, "%s HELP\n", dptr->name); st 2694 src/simh/scp.c fprint_set_help_ex (st, dptr, TRUE); st 2695 src/simh/scp.c fprint_show_help_ex (st, dptr, TRUE); st 2696 src/simh/scp.c fprint_attach_help_ex (st, dptr, TRUE); st 2697 src/simh/scp.c fprint_reg_help_ex (st, dptr, TRUE); st 2698 src/simh/scp.c fprint_brk_help_ex (st, dptr, TRUE); st 3786 src/simh/scp.c t_stat sim_show_send (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 3804 src/simh/scp.c return sim_show_send_input (st, snd); st 3831 src/simh/scp.c t_stat sim_show_expect (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 3854 src/simh/scp.c return sim_exp_show (st, exp, gbuf); st 4467 src/simh/scp.c t_stat show_device (FILE *st, DEVICE *dptr, int32 flag) st 4474 src/simh/scp.c (void)fprintf (st, "%s", sim_dname (dptr)); /* print dev name */ st 4476 src/simh/scp.c (void)fprintf (st, "\t%s\n", dptr->description(dptr)); st 4480 src/simh/scp.c (void)fprintf (st, "\t%s\n", dptr->description(dptr)); st 4483 src/simh/scp.c (void)fprintf (st, "\tdisabled\n"); st 4501 src/simh/scp.c fprint_sep (st, &toks); st 4502 src/simh/scp.c (void)fprintf (st, "all units disabled\n"); st 4505 src/simh/scp.c fprint_sep (st, &toks); st 4506 src/simh/scp.c (void)fprintf (st, " 1 unit\n"); st 4509 src/simh/scp.c fprint_sep (st, &toks); st 4510 src/simh/scp.c (void)fprintf (st, "%2.d units\n", ucnt + udbl); st 4514 src/simh/scp.c (void)fprintf (st, "\n"); st 4522 src/simh/scp.c show_unit (st, dptr, uptr, ucnt + udbl); st 4528 src/simh/scp.c void fprint_sep (FILE *st, int32 *tokens) st 4530 src/simh/scp.c (void)fprintf (st, "%s", (*tokens > 0) ? "" : "\t"); st 4534 src/simh/scp.c t_stat show_unit (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag) st 4540 src/simh/scp.c (void)fprintf (st, " %s%d \n", sim_dname (dptr), u); st 4542 src/simh/scp.c (void)fprintf (st, " %s%d ", sim_dname (dptr), u); st 4544 src/simh/scp.c fprint_sep (st, &toks); st 4545 src/simh/scp.c (void)fprintf (st, "status : attached to %s", uptr->filename); st 4547 src/simh/scp.c (void)fprintf (st, ", read only"); st 4551 src/simh/scp.c fprint_sep (st, &toks); st 4552 src/simh/scp.c (void)fprintf (st, "status : not attached"); st 4556 src/simh/scp.c fprint_sep (st, &toks); st 4557 src/simh/scp.c fprint_capac (st, dptr, uptr); st 4559 src/simh/scp.c show_all_mods (st, dptr, uptr, MTAB_VUN, &toks); /* show unit mods */ st 4561 src/simh/scp.c (void)fprintf (st, "\n"); st 4602 src/simh/scp.c void fprint_capac (FILE *st, DEVICE *dptr, UNIT *uptr) st 4604 src/simh/scp.c (void)fprintf (st, " %s", sprint_capac (dptr, uptr)); st 4610 src/simh/scp.c t_stat show_default_base_system_script (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 4656 src/simh/scp.c static void printpq (unsigned char * PROM, FILE * st, int offset, int length) { st 4674 src/simh/scp.c (void)fprintf (st, "%s", sx); st 4677 src/simh/scp.c t_stat show_prom (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 4713 src/simh/scp.c t_stat show_buildinfo (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 4715 src/simh/scp.c (void)fprintf (st, "\r Build Information:\n"); st 4717 src/simh/scp.c (void)fprintf (st, "\r\n Compilation info: %s\n", BUILDINFO_scp ); st 4719 src/simh/scp.c (void)fprintf (st, "\r\n Compilation info: Not available\n" ); st 4732 src/simh/scp.c (void)fprintf (st, "\n"); st 4750 src/simh/scp.c (void)fprintf (st, "\r\n Event loop library: Built with libuv v%d", UV_VERSION_MAJOR); st 4754 src/simh/scp.c (void)fprintf (st, "\r\n Event loop library: Built with libuv %d.%d", UV_VERSION_MAJOR, st 4759 src/simh/scp.c (void)fprintf (st, "\r\n Event loop library: Built with libuv %d.%d.%d", UV_VERSION_MAJOR, st 4763 src/simh/scp.c (void)fprintf (st, "\r\n Event loop library: Built with libuv %d.%d.%d", UV_VERSION_MAJOR, st 4776 src/simh/scp.c (void)fprintf (st, "%s", UV_RELEASE_TYPE); st 4785 src/simh/scp.c (void)fprintf (st, "; %s in use", uv_version_string()); st 4788 src/simh/scp.c (void)fprintf (st, "\r\n Event loop library: Using libuv (or compatible) library, unknown version"); st 4793 src/simh/scp.c (void)fprintf (st, "\r\n Log support library: Built with libsir %d.%d.%d%s%s; %s%s in use", st 4800 src/simh/scp.c (void)fprintf (st, "\r\n Math library: %s-%s", DECVERSION, DECVERSEXT); st 4803 src/simh/scp.c (void)fprintf (st, "\r\n Math library: %s (%s and contributors)", DECVERSION, DECNLAUTHOR); st 4805 src/simh/scp.c (void)fprintf (st, "\r\n Math library: %s", DECVERSION); st 4809 src/simh/scp.c (void)fprintf (st, "\r\n Math library: decNumber, unknown version"); st 4813 src/simh/scp.c (void)fprintf (st, "\r\n Atomic operations: "); st 4815 src/simh/scp.c (void)fprintf (st, "C11 and IBM AIX-style"); st 4817 src/simh/scp.c (void)fprintf (st, "C11 and FreeBSD-style"); st 4819 src/simh/scp.c (void)fprintf (st, "C11 and GNU-style"); st 4821 src/simh/scp.c (void)fprintf (st, "C11 and GNU sync-style"); st 4823 src/simh/scp.c (void)fprintf (st, "ISO/IEC 9899:2011 (C11) standard"); st 4825 src/simh/scp.c (void)fprintf (st, "C11 and Windows NT interlocked operations"); st 4828 src/simh/scp.c (void)fprintf (st, "\r\n File locking: "); st 4830 src/simh/scp.c (void)fprintf (st, "POSIX-style fcntl() and BSD-style flock() locking"); st 4833 src/simh/scp.c (void)fprintf (st, "POSIX-style fcntl() locking"); st 4836 src/simh/scp.c (void)fprintf (st, "BSD-style flock() locking"); st 4839 src/simh/scp.c (void)fprintf (st, "No file locking available"); st 4841 src/simh/scp.c (void)fprintf (st, "\r\n Backtrace support: "); st 4843 src/simh/scp.c (void)fprintf (st, "Enabled (libbacktrace)"); st 4845 src/simh/scp.c (void)fprintf (st, "Disabled"); st 4847 src/simh/scp.c (void)fprintf (st, "\r\n Windows support: "); st 4850 src/simh/scp.c (void)fprintf (st, "Built with MinGW-w64 %s", __MINGW64_VERSION_STR); st 4852 src/simh/scp.c (void)fprintf (st, "Built with MinGW %d.%d", __MINGW32_MAJOR_VERSION, __MINGW32_MINOR_VERSION); st 4854 src/simh/scp.c (void)fprintf (st, "Built with MinGW"); st 4858 src/simh/scp.c (void)fprintf (st, "; %s", MINGW_CRT); st 4862 src/simh/scp.c (void)fprintf (st, " %d.%d", (__MSVCRT_VERSION__ >> CHAR_BIT) & UCHAR_MAX, __MSVCRT_VERSION__ & UCHAR_MAX); st 4871 src/simh/scp.c (void)fprintf (st, " %u.%u.%u.%u", st 4875 src/simh/scp.c (void)fprintf (st, " in use"); st 4879 src/simh/scp.c (void)fprintf (st, "Built with Cygwin %d.%d.%d", st 4884 src/simh/scp.c fprintf (st, "; %s in use", utsname.release); st 4886 src/simh/scp.c (void)fprintf (st, "Disabled"); st 4889 src/simh/scp.c (void)fprintf (st, "\r\n"); st 4893 src/simh/scp.c t_stat show_version (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 4902 src/simh/scp.c (void)fprintf (st, " %s Simulator:", sim_name); st 4964 src/simh/scp.c (void)fprintf (st, "\n Version: %s (%ld-bit)\n Commit: %s", st 4970 src/simh/scp.c (void)fprintf (st, "\n Version: %s+%s (%ld-bit)\n Commit: %s", st 4977 src/simh/scp.c (void)fprintf (st, "\n Version: %s (%ld-bit)", st 4982 src/simh/scp.c (void)fprintf (st, "\n Version: %s+%s (%ld-bit)", st 4989 src/simh/scp.c (void)fprintf (st, "\n Version: %s (%ld-bit)\n Commit: %s", st 4994 src/simh/scp.c (void)fprintf (st, "\n Version: %s (%ld-bit)", st 5004 src/simh/scp.c (void)fprintf (st, "\n Options: "); st 5008 src/simh/scp.c (void)fprintf (st, "TESTING"); st 5014 src/simh/scp.c (void)fprintf (st, ", "); st 5016 src/simh/scp.c (void)fprintf (st, "\n Options: "); st 5021 src/simh/scp.c (void)fprintf (st, "ISOLTS"); st 5027 src/simh/scp.c (void)fprintf (st, ", "); st 5029 src/simh/scp.c (void)fprintf (st, "\n Options: "); st 5034 src/simh/scp.c (void)fprintf (st, "NO_UCACHE"); st 5040 src/simh/scp.c (void)fprintf (st, ", "); st 5042 src/simh/scp.c (void)fprintf (st, "\n Options: "); st 5047 src/simh/scp.c (void)fprintf (st, "NEED_128"); st 5053 src/simh/scp.c (void)fprintf (st, ", "); st 5055 src/simh/scp.c (void)fprintf (st, "\n Options: "); st 5060 src/simh/scp.c (void)fprintf (st, "WAM"); st 5066 src/simh/scp.c (void)fprintf (st, ", "); st 5068 src/simh/scp.c (void)fprintf (st, "\n Options: "); st 5073 src/simh/scp.c (void)fprintf (st, "ROUND_ROBIN"); st 5079 src/simh/scp.c (void)fprintf (st, ", "); st 5081 src/simh/scp.c (void)fprintf (st, "\n Options: "); st 5086 src/simh/scp.c (void)fprintf (st, "NO_LOCKLESS"); st 5092 src/simh/scp.c (void)fprintf (st, ", "); st 5094 src/simh/scp.c (void)fprintf (st, "\n Options: "); st 5099 src/simh/scp.c (void)fprintf (st, "ABSI"); st 5105 src/simh/scp.c (void)fprintf (st, ", "); st 5107 src/simh/scp.c (void)fprintf (st, "\n Options: "); st 5112 src/simh/scp.c (void)fprintf (st, "SOCKET"); st 5118 src/simh/scp.c (void)fprintf (st, ", "); st 5120 src/simh/scp.c (void)fprintf (st, "\n Options: "); st 5125 src/simh/scp.c (void)fprintf (st, "CHAOSNET"); st 5127 src/simh/scp.c (void)fprintf (st, "-S"); st 5134 src/simh/scp.c (void)fprintf (st, ", "); st 5136 src/simh/scp.c (void)fprintf (st, "\n Options: "); st 5141 src/simh/scp.c (void)fprintf (st, "DUMA"); st 5146 src/simh/scp.c (void)fprintf (st, "\n Modified: %s", VER_H_GIT_DATE); st 5148 src/simh/scp.c (void)fprintf (st, "\n Released: %s", VER_H_GIT_DATE); st 5152 src/simh/scp.c (void)fprintf (st, " - Kit Prepared: %s", VER_H_PREP_DATE); st 5155 src/simh/scp.c (void)fprintf (st, "\n Compiled: %s", VER_CURRENT_TIME); st 5159 src/simh/scp.c (void)fprintf (st, "\r\n\r\n ****** THIS%sBUILD IS NOT SUPPORTED BY THE DPS8M DEVELOPMENT TEAM ******", whydirty); st 5161 src/simh/scp.c (void)fprintf (st, "\r\n\r\n Build Information:"); st 5195 src/simh/scp.c (void)fprintf (st, "\n Target: "); st 5196 src/simh/scp.c printpq (SPROM, st, 190, 20); st 5201 src/simh/scp.c (void)fprintf (st, " on "); st 5202 src/simh/scp.c printpq (SPROM, st, 170, 20); st 5207 src/simh/scp.c (void)fprintf (st, "\n Build OS: %s %s", build_os_version, build_os_arch); st 5243 src/simh/scp.c (void)fprintf (st, "\n Compiler: GCC %s", postver); st 5245 src/simh/scp.c (void)fprintf (st, "\n Compiler: %s", postver); st 5249 src/simh/scp.c (void)fprintf (st, "\n Compiler: Clang C/C++ Static Analyzer"); st 5262 src/simh/scp.c (void)fprintf (st, "\n Compiler: Clang %s", clangllvmver); st 5264 src/simh/scp.c (void)fprintf (st, "\n Compiler: %s", postver); st 5267 src/simh/scp.c (void)fprintf (st, "\n Compiler: %s", postver); st 5270 src/simh/scp.c (void)fprintf (st, "\n Compiler: Portland Group, Inc. (PGI) C Compiler "); st 5272 src/simh/scp.c (void)fprintf (st, "%d", __PGIC__); st 5274 src/simh/scp.c (void)fprintf (st, ".%d", __PGIC_MINOR__); st 5276 src/simh/scp.c (void)fprintf (st, ".%d", __PGIC_PATCHLEVEL__); st 5281 src/simh/scp.c (void)fprintf (st, "\n Compiler: NVIDIA HPC SDK C Compiler "); st 5283 src/simh/scp.c (void)fprintf (st, "%d", __NVCOMPILER_MAJOR__); st 5285 src/simh/scp.c (void)fprintf (st, ".%d", __NVCOMPILER_MINOR__); st 5287 src/simh/scp.c (void)fprintf (st, ".%d", __NVCOMPILER_PATCHLEVEL__); st 5292 src/simh/scp.c (void)fprintf (st, "\n Compiler: Microsoft C %d.%02d.%05d.%02d", st 5299 src/simh/scp.c (void)fprintf (st, "\n Compiler: IBM XL C/C++ V%s (PASE for IBM i)", __xlc__); st 5302 src/simh/scp.c (void)fprintf (st, "\n Compiler: IBM XL C/C++ for AIX V%s", __xlc__); st 5305 src/simh/scp.c (void)fprintf (st, "\n Compiler: IBM XL C/C++ for Linux V%s", __xlc__); st 5309 src/simh/scp.c (void)fprintf (st, "\n Compiler: IBM XL C/C++ V%s for Mac OS X", __xlc__); st 5311 src/simh/scp.c (void)fprintf (st, "\n Compiler: IBM XL C/C++ V%s", __xlc__); st 5347 src/simh/scp.c (void)fprintf (st, "\n Compiler: Oracle Developer Studio C/C++ %d.%d.%d", st 5352 src/simh/scp.c (void)fprintf (st, "\n Compiler: Digital Mars C/C++"); st 5354 src/simh/scp.c (void)fprintf (st, "\n Compiler: Portable C Compiler"); st 5356 src/simh/scp.c (void)fprintf (st, "\n Compiler: Plan 9 Compiler Suite"); st 5358 src/simh/scp.c (void)fprintf (st, "\n Compiler: Amsterdam Compiler Kit"); st 5360 src/simh/scp.c (void)fprintf (st, "\n Compiler: Comeau C++"); st 5362 src/simh/scp.c (void)fprintf (st, "\n Compiler: CompCert C"); st 5364 src/simh/scp.c (void)fprintf (st, "\n Compiler: Coverity C/C++ Static Analyzer"); st 5366 src/simh/scp.c (void)fprintf (st, "\n Compiler: Local C Compiler (lcc)"); st 5368 src/simh/scp.c (void)fprintf (st, "\n Compiler: SGI MIPSpro"); st 5370 src/simh/scp.c (void)fprintf (st, "\n Compiler: Open64 %s", __OPEN64__); st 5372 src/simh/scp.c (void)fprintf (st, "\n Compiler: Portland Group/PGI C/C++"); st 5374 src/simh/scp.c (void)fprintf (st, "\n Compiler: Volker Barthelmann C Compiler (vbcc)"); st 5376 src/simh/scp.c (void)fprintf (st, "\n Compiler: Watcom C/C++ %d.%d", st 5380 src/simh/scp.c (void)fprintf (st, "\n Compiler: IBM XL C/C++"); st 5384 src/simh/scp.c (void)fprintf (st, "\n Compiler: Intel C++ Compiler %d.%d (%d)", st 5388 src/simh/scp.c (void)fprintf (st, "\n Compiler: Intel C++ Compiler %d.%d", st 5392 src/simh/scp.c (void)fprintf (st, "\n Compiler: Intel C++ Compiler %d", st 5398 src/simh/scp.c (void)fprintf (st, "\n Compiler: %s", S_xstr(SIM_COMPILER)); st 5402 src/simh/scp.c (void)fprintf (st, "\n Compiler: Unknown"); st 5480 src/simh/scp.c (void)fprintf (st, "%s", arch); st 5482 src/simh/scp.c (void)fprintf (st, "\n Built by: %s", BUILD_BY_USER); st 5485 src/simh/scp.c (void)fprintf (st, "\n Built by: %s", VER_H_PREP_USER); st 5488 src/simh/scp.c (void)fprintf (st, "\n\n Host System Information:"); st 5505 src/simh/scp.c (void)fprintf (st, "\n Host OS: %s", osversion); st 5506 src/simh/scp.c (void)fprintf (st, " %s%s%s", arch, proc_arch3264 ? " on " : "", proc_arch3264 ? proc_arch3264 : ""); st 5539 src/simh/scp.c (void)fprintf (st, "\n Host OS: %s", osversion); st 5543 src/simh/scp.c (void)fprintf (st, "\n Host OS: IBM AIX %s", osversion); st 5545 src/simh/scp.c (void)fprintf (st, "\n Host OS: IBM OS/400 (PASE) %s", osversion); st 5550 src/simh/scp.c (void)fprintf (st, "\n Host OS: Unknown"); st 5553 src/simh/scp.c (void)fprintf (st, "\n Host OS: IBM AIX"); st 5555 src/simh/scp.c (void)fprintf (st, "\n Host OS: IBM OS/400 (PASE)"); st 5572 src/simh/scp.c (void)fprintf (st, "\n"); st 5573 src/simh/scp.c (void)fprintf (st, "\n This software is made available under the terms of the ICU License."); st 5574 src/simh/scp.c (void)fprintf (st, "\n For complete license details, see the LICENSE file included with the"); st 5575 src/simh/scp.c (void)fprintf (st, "\n software or https://gitlab.com/dps8m/dps8m/-/blob/master/LICENSE.md"); st 5577 src/simh/scp.c (void)fprintf (st, "\n"); st 5582 src/simh/scp.c t_stat show_config (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr) st 5590 src/simh/scp.c (void)fprintf (st, "%s simulator configuration%s\n\n", sim_name, only_enabled ? " (enabled devices)" : ""); st 5593 src/simh/scp.c show_device (st, dptr, flag); st 5597 src/simh/scp.c t_stat show_log_names (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr) st 5605 src/simh/scp.c show_dev_logicals (st, dptr, NULL, 1, cptr); st 5609 src/simh/scp.c t_stat show_dev_logicals (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5612 src/simh/scp.c (void)fprintf (st, "%s -> %s\n", dptr->lname, dptr->name); st 5614 src/simh/scp.c fputs ("no logical name assigned\n", st); st 5618 src/simh/scp.c t_stat show_queue (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr) st 5627 src/simh/scp.c (void)fprintf (st, "%s event queue empty, time = %.0f, executing %.0f instructions/sec\n", st 5632 src/simh/scp.c (void)fprintf (st, "%s event queue status, time = %.0f, executing %.0f instructions/sec\n", st 5637 src/simh/scp.c (void)fprintf (st, " Step timer"); st 5640 src/simh/scp.c (void)fprintf (st, " Expect fired"); st 5643 src/simh/scp.c (void)fprintf (st, " %s", sim_dname (dptr)); st 5645 src/simh/scp.c (void)fprintf (st, " unit %d", (int32) (uptr - dptr->units)); st 5648 src/simh/scp.c (void)fprintf (st, " Unknown"); st 5650 src/simh/scp.c (void)fprintf (st, " at %d%s%s%s%s\n", accum + uptr->time, st 5656 src/simh/scp.c sim_show_clock_queues (st, dnotused, unotused, flag, cptr); st 5660 src/simh/scp.c t_stat show_time (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5664 src/simh/scp.c (void)fprintf (st, "Time:\t%.0f\n", sim_gtime()); st 5668 src/simh/scp.c t_stat show_break (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5673 src/simh/scp.c r = ssh_break (st, cptr, 1); /* more? */ st 5675 src/simh/scp.c r = sim_brk_showall (st, (uint32)sim_switches); st 5679 src/simh/scp.c t_stat show_dev_radix (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5681 src/simh/scp.c (void)fprintf (st, "Radix=%d\n", dptr->dradix); st 5685 src/simh/scp.c t_stat show_dev_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5692 src/simh/scp.c fputs ("Debugging disabled", st); st 5694 src/simh/scp.c fputs ("Debugging enabled", st); st 5698 src/simh/scp.c fputs ("Debug=", st); st 5703 src/simh/scp.c fputc (';', st); st 5704 src/simh/scp.c fputs (dep->name, st); st 5709 src/simh/scp.c fputc ('\n', st); st 5717 src/simh/scp.c t_stat show_on (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5724 src/simh/scp.c (void)fprintf(st, "On Processing at Do Nest Level: %d", lvl); st 5726 src/simh/scp.c (void)fprintf(st, "On Processing for input commands"); st 5727 src/simh/scp.c (void)fprintf(st, " is %s\n", (sim_on_check[lvl]) ? "enabled" : "disabled"); st 5730 src/simh/scp.c (void)fprintf(st, " on %5d %s\n", i, sim_on_actions[lvl][i]); } st 5733 src/simh/scp.c (void)fprintf(st, " on %-5s %s\n", scp_errors[i-SCPE_BASE].code, sim_on_actions[lvl][i]); } st 5735 src/simh/scp.c (void)fprintf(st, " on ERROR %s\n", sim_on_actions[lvl][0]); st 5736 src/simh/scp.c (void)fprintf(st, "\n"); st 5739 src/simh/scp.c (void)fprintf(st, "on state and actions are inherited by nested do commands and subroutines\n"); st 5745 src/simh/scp.c t_stat show_mod_names (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr) st 5753 src/simh/scp.c show_dev_modifiers (st, dptr, NULL, flag, cptr); st 5755 src/simh/scp.c show_dev_modifiers (st, dptr, NULL, flag, cptr); st 5759 src/simh/scp.c t_stat show_dev_modifiers (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5761 src/simh/scp.c fprint_set_help (st, dptr); st 5765 src/simh/scp.c t_stat show_all_mods (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, int32 *toks) st 5778 src/simh/scp.c (void)fprintf (st, "\n"); st 5782 src/simh/scp.c fprint_sep (st, toks); st 5783 src/simh/scp.c r = show_one_mod (st, dptr, uptr, mptr, NULL, 0); st 5789 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr, st 5795 src/simh/scp.c r = mptr->disp (st, uptr, mptr->match, (CONST void *)(cptr? cptr: mptr->desc)); st 5797 src/simh/scp.c fputs (mptr->pstring, st); st 5799 src/simh/scp.c fputc ('\n', st); st 5805 src/simh/scp.c t_stat show_show_commands (FILE *st, DEVICE *dnotused, UNIT *unotused, int32 flag, CONST char *cptr) st 5813 src/simh/scp.c show_dev_show_commands (st, dptr, NULL, flag, cptr); st 5815 src/simh/scp.c show_dev_show_commands (st, dptr, NULL, flag, cptr); st 5819 src/simh/scp.c t_stat show_dev_show_commands (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 5821 src/simh/scp.c fprint_show_help (st, dptr); st 5833 src/simh/scp.c t_stat ssh_break (FILE *st, const char *cptr, int32 flg) st 5861 src/simh/scp.c return ssh_break_one (st, flg, lo, 0, aptr); st 5882 src/simh/scp.c sim_brk_showall (st, (uint32)sim_switches); st 5888 src/simh/scp.c r = ssh_break_one (st, flg, lo, cnt, aptr); st 5897 src/simh/scp.c t_stat ssh_break_one (FILE *st, int32 flg, t_addr lo, int32 cnt, CONST char *aptr) st 5913 src/simh/scp.c return sim_brk_show (st, lo, sim_switches); st 6612 src/simh/scp.c void fprint_stopped_gen (FILE *st, t_stat v, REG *pc, DEVICE *dptr) st 6619 src/simh/scp.c fputc ('\n', st); /* start on a new line */ st 6622 src/simh/scp.c fputs (sim_error_text (v), st); /* print it from the SCP list */ st 6624 src/simh/scp.c fputs (sim_stop_messages [v], st); /* print the VM-specific message */ st 6627 src/simh/scp.c (!sim_vm_fprint_stopped (st, v))) /* call it; if it returned FALSE, */ st 6631 src/simh/scp.c (void)fprintf (st, ", %s: ", pc->name); /* print the name of the PC register */ st 6635 src/simh/scp.c sim_vm_fprint_addr (st, dptr, (t_addr) pcval); /* call it to print the PC address */ st 6636 src/simh/scp.c else fprint_val (st, pcval, pc->radix, pc->width, /* otherwise, print as a numeric value */ st 6646 src/simh/scp.c (void)fprintf (st, " ("); st 6647 src/simh/scp.c if (fprint_sym (st, (t_addr) pcval, sim_eval, NULL, SWMASK('M')|SIM_SW_STOP) > 0) st 6648 src/simh/scp.c fprint_val (st, sim_eval[0], dptr->dradix, dptr->dwidth, PV_RZRO); st 6649 src/simh/scp.c (void)fprintf (st, ")"); st 6652 src/simh/scp.c (void)fprintf (st, "\n"); st 6656 src/simh/scp.c void fprint_stopped (FILE *st, t_stat v) st 6662 src/simh/scp.c fprint_stopped_gen (st, v, sim_PC, sim_dflt_dev); st 7831 src/simh/scp.c void fprint_buffer_string (FILE *st, const uint8 *buf, size_t size) st 7836 src/simh/scp.c (void)fprintf (st, "%s", string); st 8127 src/simh/scp.c CONST char *get_sim_opt (int32 opt, CONST char *cptr, t_stat *st) st 8204 src/simh/scp.c *st = SCPE_OK; st 8210 src/simh/scp.c *st = SCPE_ARG; st 8216 src/simh/scp.c *st = SCPE_OPENERR; st 8225 src/simh/scp.c *st = SCPE_INVSW; st 9292 src/simh/scp.c t_stat sim_brk_show (FILE *st, t_addr loc, int32 sw) st 9306 src/simh/scp.c if (st != NULL) { st 9307 src/simh/scp.c (void)fprintf (st, "SET BREAK "); } st 9311 src/simh/scp.c (st, dptr, loc); st 9314 src/simh/scp.c (st, loc, dptr->aradix, dptr->awidth, PV_LEFT); } st 9315 src/simh/scp.c if (st != NULL) { st 9316 src/simh/scp.c (void)fprintf (st, ":\t"); } st 9322 src/simh/scp.c if (st != NULL) { st 9323 src/simh/scp.c (void)fprintf (st, ", "); } } st 9324 src/simh/scp.c if (st != NULL) { st 9325 src/simh/scp.c fputc (i + 'A', st); } st 9328 src/simh/scp.c if (st != NULL) { st 9329 src/simh/scp.c (void)fprintf (st, "-%c", i + 'A'); } st 9334 src/simh/scp.c if (st != NULL) { st 9335 src/simh/scp.c (void)fprintf (st, " "); } st 9337 src/simh/scp.c if (st != NULL) { st 9338 src/simh/scp.c sim_vm_fprint_addr (st, dptr, loc); } st 9341 src/simh/scp.c (st, loc, dptr->aradix, dptr->awidth, PV_LEFT); } st 9344 src/simh/scp.c if (st != NULL) { st 9345 src/simh/scp.c (void)fprintf (st, "[%d]", bp->cnt); } } st 9347 src/simh/scp.c if (st != NULL) { st 9348 src/simh/scp.c (void)fprintf (st, "; %s", bp->act); } } st 9349 src/simh/scp.c (void)fprintf (st, "\n"); st 9355 src/simh/scp.c t_stat sim_brk_showall (FILE *st, uint32 sw) st 9366 src/simh/scp.c (void)fprintf (st, "Supported Breakpoint Types:"); st 9369 src/simh/scp.c (void)fprintf (st, " -%c", 'A' + bit); st 9370 src/simh/scp.c (void)fprintf (st, "\n"); st 9374 src/simh/scp.c (void)fprintf (st, "Displaying Breakpoint Types:"); st 9377 src/simh/scp.c (void)fprintf (st, " -%c", 'A' + bit); st 9378 src/simh/scp.c (void)fprintf (st, "\n"); st 9397 src/simh/scp.c sim_brk_show (st, cur->addr, cur->typ | ((sw & SWMASK ('C')) ? SWMASK ('C') : 0)); st 9840 src/simh/scp.c t_stat sim_exp_show_tab (FILE *st, const EXPECT *exp, const EXPTAB *ep) st 9844 src/simh/scp.c (void)fprintf (st, "EXPECT"); st 9846 src/simh/scp.c (void)fprintf (st, " -p"); st 9848 src/simh/scp.c (void)fprintf (st, " -c"); st 9850 src/simh/scp.c (void)fprintf (st, " -r"); st 9852 src/simh/scp.c (void)fprintf (st, " -i"); st 9853 src/simh/scp.c (void)fprintf (st, " %s", ep->match_pattern); st 9855 src/simh/scp.c (void)fprintf (st, " [%d]", ep->cnt); st 9857 src/simh/scp.c (void)fprintf (st, " %s", ep->act); st 9858 src/simh/scp.c (void)fprintf (st, "\n"); st 9862 src/simh/scp.c t_stat sim_exp_show (FILE *st, CONST EXPECT *exp, const char *match) st 9869 src/simh/scp.c (void)fprintf (st, "Match Buffer Size: %lld\n", st 9871 src/simh/scp.c (void)fprintf (st, "Buffer Insert Offset: %lld\n", st 9873 src/simh/scp.c (void)fprintf (st, "Buffer Contents: %s\n", st 9878 src/simh/scp.c (void)fprintf (st, "Halt After: %lld instructions\n", st 9881 src/simh/scp.c (void)fprintf (st, "Debugging via: SET %s DEBUG%s%s\n", st 9884 src/simh/scp.c (void)fprintf (st, "Match Rules:\n"); st 9886 src/simh/scp.c return sim_exp_showall (st, exp); st 9888 src/simh/scp.c (void)fprintf (st, "No Rules match '%s'\n", match); st 9892 src/simh/scp.c sim_exp_show_tab (st, exp, ep); st 9900 src/simh/scp.c t_stat sim_exp_showall (FILE *st, const EXPECT *exp) st 9905 src/simh/scp.c sim_exp_show_tab (st, exp, &exp->rules[i]); st 10073 src/simh/scp.c t_stat sim_show_send_input (FILE *st, const SEND *snd) st 10076 src/simh/scp.c (void)fprintf (st, "%lld bytes of pending input Data:\n ", st 10078 src/simh/scp.c fprint_buffer_string (st, snd->buffer+snd->extoff, snd->insoff-snd->extoff); st 10079 src/simh/scp.c (void)fprintf (st, "\n"); st 10082 src/simh/scp.c (void)fprintf (st, "No Pending Input Data\n"); st 10085 src/simh/scp.c (void)fprintf (st, "Minimum of %d instructions (%d microseconds) before sending first character\n", st 10089 src/simh/scp.c (void)fprintf (st, "Minimum of %d instructions before sending first character\n", st 10093 src/simh/scp.c (void)fprintf (st, "Minimum of %d instructions (%d microseconds) between characters\n", st 10096 src/simh/scp.c (void)fprintf (st, "Minimum of %d instructions between characters\n", st 10099 src/simh/scp.c (void)fprintf (st, "Debugging via: SET %s DEBUG%s%s\n", st 11042 src/simh/scp.c static void displayMagicTopic (FILE *st, DEVICE *dptr, TOPIC *topic) st 11064 src/simh/scp.c (void)fprintf (st, "Unable to create temporary file: %s (Error %d)\n", st 11070 src/simh/scp.c (void)fprintf (st, "%s\n", topic->title+1); st 11091 src/simh/scp.c (void)fprintf (st, "rewind: error %d\r\n", errno); st 11101 src/simh/scp.c fputs (" ", st); st 11102 src/simh/scp.c fputs (tbuf, st); st 11113 src/simh/scp.c static t_stat displayFlatHelp (FILE *st, DEVICE *dptr, st 11120 src/simh/scp.c (void)fprintf (st, "\n%s ", topic->label); st 11121 src/simh/scp.c displayMagicTopic (st, dptr, topic); st 11124 src/simh/scp.c (void)fprintf (st, "\n%s %s\n", topic->label, topic->title); st 11132 src/simh/scp.c fputs (topic->text, st); st 11135 src/simh/scp.c displayFlatHelp (st, dptr, uptr, flag, topic->children[i], ap); st 11178 src/simh/scp.c t_stat scp_vhelp (FILE *st, DEVICE *dptr, st 11265 src/simh/scp.c (void)fprintf (st, "%s help.\nThis help is also available in hierarchical form.\n", top.title); st 11267 src/simh/scp.c (void)fprintf (st, "%s help.\n", top.title); st 11270 src/simh/scp.c (void)fprintf (st, ((flag & SCP_HELP_ONECMD)? onecmd_help: brief_help), top.title); st 11283 src/simh/scp.c (void)fprintf (st, "\n"); st 11284 src/simh/scp.c fputs (help_help, st); st 11290 src/simh/scp.c displayFlatHelp (st, dptr, uptr, flag, topic, ap); st 11295 src/simh/scp.c (void)fprintf (st, "\n%s is ambiguous in %s\n", gbuf, topic->title); st 11299 src/simh/scp.c (void)fprintf (st, "\n%s is not available in %s\n", gbuf, topic->title); st 11307 src/simh/scp.c displayFlatHelp (st, dptr, uptr, flag, topic, ap); st 11321 src/simh/scp.c fputc ('\n', st); st 11322 src/simh/scp.c displayMagicTopic (st, dptr, topic); st 11325 src/simh/scp.c (void)fprintf (st, "\n%s\n", topic->title); st 11332 src/simh/scp.c fputs (topic->text, st); st 11339 src/simh/scp.c (void)fprintf (st, "\n Additional information available:\n\n"); st 11350 src/simh/scp.c fputc ('\n', st); st 11352 src/simh/scp.c (void)fprintf (st, " %-*s", (int32_t)topic->kidwid, tbuf); st 11354 src/simh/scp.c (void)fprintf (st, "\n\n"); st 11357 src/simh/scp.c (void)fprintf (st, "To view additional topics, type HELP %s topicname\n", pstring+1); st 11385 src/simh/scp.c displayFlatHelp (st, dptr, uptr, flag, topic, ap); st 11397 src/simh/scp.c fputs (help_help, st); st 11406 src/simh/scp.c (void)fprintf (st, "No additional help at this level.\n"); st 11412 src/simh/scp.c (void)fprintf (st, "%s is ambiguous, please type more of the topic name\n", gbuf); st 11418 src/simh/scp.c (void)fprintf (st, "Help for %s is not available\n", gbuf); st 11436 src/simh/scp.c t_stat scp_help (FILE *st, DEVICE *dptr, st 11444 src/simh/scp.c r = scp_vhelp (st, dptr, uptr, flag, help, cptr, ap); st 142 src/simh/scp.h CONST char *get_sim_opt (int32 opt, CONST char *cptr, t_stat *st); st 153 src/simh/scp.h void fprint_buffer_string (FILE *st, const uint8 *buf, size_t size); st 161 src/simh/scp.h void fprint_reg_help (FILE *st, DEVICE *dptr); st 162 src/simh/scp.h void fprint_set_help (FILE *st, DEVICE *dptr); st 163 src/simh/scp.h void fprint_show_help (FILE *st, DEVICE *dptr); st 182 src/simh/scp.h t_stat sim_show_send_input (FILE *st, const SEND *snd); st 190 src/simh/scp.h t_stat sim_exp_show (FILE *st, CONST EXPECT *exp, const char *match); st 191 src/simh/scp.h t_stat sim_exp_showall (FILE *st, const EXPECT *exp); st 193 src/simh/scp.h t_stat show_version (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 195 src/simh/scp.h t_stat show_dev_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 212 src/simh/scp.h void fprint_stopped_gen (FILE *st, t_stat v, REG *pc, DEVICE *dptr); st 216 src/simh/scp.h t_stat scp_help (FILE *st, DEVICE *dptr, st 218 src/simh/scp.h t_stat scp_vhelp (FILE *st, DEVICE *dptr, st 220 src/simh/scp.h t_stat scp_helpFromFile (FILE *st, DEVICE *dptr, st 222 src/simh/scp.h t_stat scp_vhelpFromFile (FILE *st, DEVICE *dptr, st 285 src/simh/scp.h extern void (*sim_vm_fprint_addr) (FILE *st, DEVICE *dptr, t_addr addr); st 287 src/simh/scp.h extern t_bool (*sim_vm_fprint_stopped) (FILE *st, t_stat reason); st 308 src/simh/sim_console.c t_stat sim_show_console (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 316 src/simh/sim_console.c show_con_tab[i].action (st, dptr, uptr, show_con_tab[i].arg, cptr); st 322 src/simh/sim_console.c shptr->action (st, dptr, uptr, shptr->arg, NULL); st 397 src/simh/sim_console.c t_stat sim_show_remote_console (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 406 src/simh/sim_console.c fprintf (st, "Running from Master Mode Remote Console Connection\n"); st 408 src/simh/sim_console.c fprintf (st, "Running from Remote Console Connection %lu\n", st 412 src/simh/sim_console.c fprintf (st, "Remote Console Input Connections from %lu sources are supported concurrently\n", st 415 src/simh/sim_console.c fprintf (st, "Remote Console Input automatically continues after %lu seconds\n", st 418 src/simh/sim_console.c fprintf (st, "Remote Console Command input is disabled\n"); st 420 src/simh/sim_console.c fprintf (st, "Remote Console Command Input listening on TCP port: %s\n", st 428 src/simh/sim_console.c fprintf (st, "Remote Console Connections:\n"); st 429 src/simh/sim_console.c tmxr_fconns (st, lp, i); st 432 src/simh/sim_console.c fprintf (st, "Remote Console Input on connection %lu automatically continues after %lu seconds\n", st 435 src/simh/sim_console.c fprintf (st, "Remote Console Input on connection %lu does not continue automatically\n", st 1262 src/simh/sim_console.c t_stat sim_show_kmap (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 1265 src/simh/sim_console.c fprintf (st, "%s = %X\n", show_con_tab[flag].name, *(cons_kmap[flag & KMAP_MASK])); st 1266 src/simh/sim_console.c else fprintf (st, "%s = %o\n", show_con_tab[flag].name, *(cons_kmap[flag & KMAP_MASK])); st 1297 src/simh/sim_console.c t_stat sim_show_cons_speed (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 1300 src/simh/sim_console.c fprintf (st, "Speed = %ld", (long)sim_con_ldsc.rxbps); st 1302 src/simh/sim_console.c fprintf (st, "*%.0f", sim_con_ldsc.rxbpsfactor/TMXR_RX_BPS_UNIT_SCALE); st 1303 src/simh/sim_console.c fprintf (st, " bps\n"); st 1354 src/simh/sim_console.c t_stat sim_show_log (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 1359 src/simh/sim_console.c fprintf (st, "Logging enabled to \"%s\"\n", st 1361 src/simh/sim_console.c else fprintf (st, "Logging disabled\n"); st 1457 src/simh/sim_console.c t_stat sim_show_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 1464 src/simh/sim_console.c fprintf (st, "Debug output enabled to \"%s\"\n", st 1467 src/simh/sim_console.c fprintf (st, " Debug messages contain current PC value\n"); st 1469 src/simh/sim_console.c fprintf (st, " Debug messages display time of day as hh:mm:ss.msec%s\n", st 1472 src/simh/sim_console.c fprintf (st, " Debug messages display time of day as seconds.msec%s\n", st 1478 src/simh/sim_console.c fprintf (st, "Device: %-6s ", dptr->name); st 1479 src/simh/sim_console.c show_dev_debug (st, dptr, NULL, 0, NULL); st 1486 src/simh/sim_console.c fprintf (st, "Device: %-6s ", dptr->name); st 1487 src/simh/sim_console.c show_dev_debug (st, dptr, NULL, 0, NULL); st 1491 src/simh/sim_console.c else fprintf (st, "Debug output disabled\n"); st 1543 src/simh/sim_console.c t_stat sim_show_telnet (FILE *st, DEVICE *dunused, UNIT *uunused, int32 flag, CONST char *cptr) st 1549 src/simh/sim_console.c fprintf (st, "Connected to console window\n"); st 1552 src/simh/sim_console.c fprintf (st, "Connected to "); st 1553 src/simh/sim_console.c tmxr_fconns (st, &sim_con_ldsc, -1); st 1557 src/simh/sim_console.c fprintf (st, "Listening on port %s\n", sim_con_tmxr.port); st 1559 src/simh/sim_console.c fprintf (st, "Listening on port %s, connection from %s\n", st 1561 src/simh/sim_console.c tmxr_fconns (st, &sim_con_ldsc, -1); st 1563 src/simh/sim_console.c tmxr_fstats (st, &sim_con_ldsc, -1); st 1608 src/simh/sim_console.c t_stat sim_show_cons_log (FILE *st, DEVICE *dunused, UNIT *uunused, int32 flag, CONST char *cptr) st 1613 src/simh/sim_console.c fprintf (st, "Log File being written to %s\n", sim_con_tmxr.ldsc->txlogname); st 1615 src/simh/sim_console.c fprintf (st, "No Logging\n"); st 1619 src/simh/sim_console.c t_stat sim_show_cons_buff (FILE *st, DEVICE *dunused, UNIT *uunused, int32 flag, CONST char *cptr) st 1624 src/simh/sim_console.c fprintf (st, "Unbuffered\n"); st 1626 src/simh/sim_console.c fprintf (st, "Buffer Size = %lld\n", st 1635 src/simh/sim_console.c t_stat sim_show_cons_expect (FILE *st, DEVICE *dunused, UNIT *uunused, int32 flag, CONST char *cptr) st 1637 src/simh/sim_console.c return sim_exp_show (st, &sim_con_expect, cptr); st 1721 src/simh/sim_console.c const char *sim_logfile_name (const FILE *st, FILEREF *ref) st 1723 src/simh/sim_console.c if (!st) st 1725 src/simh/sim_console.c if (st == stdout) st 1727 src/simh/sim_console.c if (st == stderr) st 1830 src/simh/sim_console.c t_stat sim_show_cons_send_input (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 1832 src/simh/sim_console.c return sim_show_send_input (st, &sim_con_send); st 95 src/simh/sim_console.h t_stat sim_show_console (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 96 src/simh/sim_console.h t_stat sim_show_remote_console (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 97 src/simh/sim_console.h t_stat sim_show_kmap (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 98 src/simh/sim_console.h t_stat sim_show_telnet (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 99 src/simh/sim_console.h t_stat sim_show_log (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 100 src/simh/sim_console.h t_stat sim_show_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 101 src/simh/sim_console.h t_stat sim_show_pchar (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 102 src/simh/sim_console.h t_stat sim_show_cons_speed (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 103 src/simh/sim_console.h t_stat sim_show_cons_buff (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 104 src/simh/sim_console.h t_stat sim_show_cons_log (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 105 src/simh/sim_console.h t_stat sim_show_cons_expect (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 109 src/simh/sim_console.h const char *sim_logfile_name (const FILE *st, FILEREF *ref); st 112 src/simh/sim_console.h t_stat sim_show_cons_send_input (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 364 src/simh/sim_defs.h t_stat (*help)(FILE *st, DEVICE *dptr, st 367 src/simh/sim_defs.h t_stat (*attach_help)(FILE *st, DEVICE *dptr, st 552 src/simh/sim_defs.h t_stat (*action)(FILE *st, DEVICE *dptr, st 567 src/simh/sim_defs.h t_stat (*disp)(FILE *st, UNIT *up, int32 v, CONST void *dp); st 138 src/simh/sim_disk.c t_stat sim_disk_show_fmt (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 145 src/simh/sim_disk.c fprintf (st, "%s format", fmts[i].name); st 148 src/simh/sim_disk.c fprintf (st, "invalid format"); st 173 src/simh/sim_disk.c t_stat sim_disk_show_capac (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 183 src/simh/sim_disk.c fprintf (st, "capacity=%luM%s", (unsigned long) (capac / ((t_offset) 1000000)), cap_units); st 185 src/simh/sim_disk.c fprintf (st, "capacity=%luK%s", (unsigned long) (capac / ((t_offset) 1000)), cap_units); st 186 src/simh/sim_disk.c else fprintf (st, "capacity=%lu%s", (unsigned long) capac, cap_units); st 188 src/simh/sim_disk.c else fprintf (st, "undefined capacity"); st 1093 src/simh/sim_disk.c t_stat sim_disk_attach_help(FILE *st, DEVICE *dptr, const UNIT *uptr, int32 flag, const char *cptr) st 1095 src/simh/sim_disk.c fprintf (st, "%s Disk Attach Help\n\n", dptr->name); st 1096 src/simh/sim_disk.c fprintf (st, "Disk files are stored in the following format:\n\n"); st 1097 src/simh/sim_disk.c fprintf (st, " SIMH An unstructured binary file of the size appropriate\n"); st 1098 src/simh/sim_disk.c fprintf (st, " for the disk drive being simulated.\n\n"); st 1106 src/simh/sim_disk.c fprintf (st, " sim> ATTACH {switches} %s%lu diskfile\n", dptr->name, (unsigned long)i); st 1109 src/simh/sim_disk.c fprintf (st, " sim> ATTACH {switches} %s diskfile\n", dptr->name); st 1112 src/simh/sim_disk.c fprintf (st, " sim> ATTACH {switches} %s diskfile\n\n", dptr->name); st 1113 src/simh/sim_disk.c fprintf (st, "\n%s attach command switches\n", dptr->name); st 1114 src/simh/sim_disk.c fprintf (st, " -R Attach Read Only.\n"); st 1115 src/simh/sim_disk.c fprintf (st, " -E Must Exist (if not specified an attempt to create the indicated\n"); st 1116 src/simh/sim_disk.c fprintf (st, " disk container will be attempted).\n"); st 1117 src/simh/sim_disk.c fprintf (st, " -F Open the indicated disk container in a specific format\n"); st 1118 src/simh/sim_disk.c fprintf (st, " -I Initialize newly created disk so that each sector contains its\n"); st 1119 src/simh/sim_disk.c fprintf (st, " sector address\n"); st 1120 src/simh/sim_disk.c fprintf (st, " -K Verify that the disk contents contain the sector address in each\n"); st 1121 src/simh/sim_disk.c fprintf (st, " sector. Whole disk checked at attach time and each sector is\n"); st 1122 src/simh/sim_disk.c fprintf (st, " checked when written.\n"); st 1123 src/simh/sim_disk.c fprintf (st, " -V Perform a verification pass to confirm successful data copy\n"); st 1124 src/simh/sim_disk.c fprintf (st, " operation.\n"); st 1125 src/simh/sim_disk.c fprintf (st, " -U Fix inconsistencies which are overridden by the -O switch\n"); st 1126 src/simh/sim_disk.c fprintf (st, " -Y Answer Yes to prompt to overwrite last track (on disk create)\n"); st 1127 src/simh/sim_disk.c fprintf (st, " -N Answer No to prompt to overwrite last track (on disk create)\n"); st 73 src/simh/sim_disk.h t_stat sim_disk_attach_help(FILE *st, DEVICE *dptr, const UNIT *uptr, int32 flag, const char *cptr); st 80 src/simh/sim_disk.h t_stat sim_disk_show_fmt (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 82 src/simh/sim_disk.h t_stat sim_disk_show_capac (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 197 src/simh/sim_fio.c t_offset sim_ftell (FILE *st); st 299 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset offset, int whence) st 310 src/simh/sim_fio.c if (_fstati64 (_fileno (st), &statb)) st 315 src/simh/sim_fio.c if (fgetpos (st, &fileaddr)) st 325 src/simh/sim_fio.c return fsetpos (st, &fileaddr); st 328 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) st 331 src/simh/sim_fio.c if (fgetpos (st, &fileaddr)) st 338 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset xpos, int origin) st 340 src/simh/sim_fio.c return fseeko (st, (off_t)xpos, origin); st 343 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) st 345 src/simh/sim_fio.c return (t_offset)(ftello (st)); st 350 src/simh/sim_fio.c int sim_fseek (FILE *st, t_addr offset, int whence) st 352 src/simh/sim_fio.c return sim_fseeko (st, (t_offset)offset, whence); st 49 src/simh/sim_fio.h int sim_fseek (FILE *st, t_addr offset, int whence); st 50 src/simh/sim_fio.h int sim_fseeko (FILE *st, t_offset offset, int whence); st 57 src/simh/sim_fio.h t_offset sim_ftell (FILE *st); st 276 src/simh/sim_tape.c t_stat sim_tape_attach_help(FILE *st, DEVICE *dptr, const UNIT *uptr, int32 flag, const char *cptr) st 278 src/simh/sim_tape.c fprintf (st, "%s Tape Attach Help\n\n", dptr->name); st 285 src/simh/sim_tape.c fprintf (st, " sim> ATTACH {switches} %s%lu tapefile\n\n", dptr->name, (unsigned long)i); st 288 src/simh/sim_tape.c fprintf (st, " sim> ATTACH {switches} %s tapefile\n\n", dptr->name); st 291 src/simh/sim_tape.c fprintf (st, " sim> ATTACH {switches} %s tapefile\n\n", dptr->name); st 292 src/simh/sim_tape.c fprintf (st, "Attach command switches\n"); st 293 src/simh/sim_tape.c fprintf (st, " -R Attach Read Only.\n"); st 294 src/simh/sim_tape.c fprintf (st, " -E Must Exist (if not specified an attempt to create the indicated\n"); st 295 src/simh/sim_tape.c fprintf (st, " virtual tape will be attempted).\n"); st 296 src/simh/sim_tape.c fprintf (st, " -F Open the indicated tape container in a specific format (default\n"); st 297 src/simh/sim_tape.c fprintf (st, " is SIMH, alternatives are E11, TPC and P7B)\n"); st 793 src/simh/sim_tape.c t_stat st; st 801 src/simh/sim_tape.c if (MTSE_OK != (st = sim_tape_rdlntf (uptr, &tbc))) /* read rec lnt */ st 802 src/simh/sim_tape.c return st; st 857 src/simh/sim_tape.c t_stat st; st 864 src/simh/sim_tape.c if (MTSE_OK != (st = sim_tape_rdlntr (uptr, &tbc))) /* read rec lnt */ st 865 src/simh/sim_tape.c return st; st 1167 src/simh/sim_tape.c t_stat st; st 1266 src/simh/sim_tape.c st = sim_tape_wrdata (uptr, new_len); /* write new rec len */ st 1268 src/simh/sim_tape.c if (st != MTSE_OK) { /* write OK? */ st 1270 src/simh/sim_tape.c return st; /* PNU was set by wrdata */ st 1274 src/simh/sim_tape.c st = sim_tape_wrdata (uptr, new_len); /* write new rec len */ st 1276 src/simh/sim_tape.c if (st != MTSE_OK) { /* write OK? */ st 1278 src/simh/sim_tape.c return st; /* PNU was set by wrdata */ st 1291 src/simh/sim_tape.c st = sim_tape_wrdata (uptr, MTR_FHGAP); /* write half gap marker */ st 1292 src/simh/sim_tape.c if (st != MTSE_OK) { /* write OK? */ st 1294 src/simh/sim_tape.c return st; /* PNU was set by wrdata */ st 1303 src/simh/sim_tape.c st = sim_tape_wrdata (uptr, MTR_GAP); /* write gap markers */ st 1304 src/simh/sim_tape.c if (st != MTSE_OK) { /* write OK? */ st 1306 src/simh/sim_tape.c return st; /* PNU was set by wrdata */ st 1341 src/simh/sim_tape.c t_stat st; st 1348 src/simh/sim_tape.c st = sim_tape_rdlntf (uptr, bc); /* get record length */ st 1350 src/simh/sim_tape.c return st; st 1382 src/simh/sim_tape.c t_stat st; st 1392 src/simh/sim_tape.c st = sim_tape_sprecf (uptr, &tbc); /* spc rec */ st 1393 src/simh/sim_tape.c if (st != MTSE_OK) st 1394 src/simh/sim_tape.c return st; st 1429 src/simh/sim_tape.c t_stat st; st 1440 src/simh/sim_tape.c st = sim_tape_rdlntr (uptr, bc); /* get record length */ st 1442 src/simh/sim_tape.c return st; st 1475 src/simh/sim_tape.c t_stat st; st 1485 src/simh/sim_tape.c st = sim_tape_sprecr (uptr, &tbc); /* spc rec rev */ st 1486 src/simh/sim_tape.c if (st != MTSE_OK) st 1487 src/simh/sim_tape.c return st; st 1524 src/simh/sim_tape.c t_stat st; st 1536 src/simh/sim_tape.c st = sim_tape_rdlntr (uptr, &rbc); st 1537 src/simh/sim_tape.c last_tapemark = (MTSE_TMK == st); st 1538 src/simh/sim_tape.c if ((st == MTSE_OK) || (st == MTSE_TMK)) st 1545 src/simh/sim_tape.c st = sim_tape_sprecsf (uptr, 0x1ffffff, &filerecsskipped);/* spc recs */ st 1547 src/simh/sim_tape.c if (st != MTSE_OK) st 1550 src/simh/sim_tape.c if (st == MTSE_TMK) { st 1561 src/simh/sim_tape.c return st; st 1638 src/simh/sim_tape.c t_stat st; st 1650 src/simh/sim_tape.c st = sim_tape_sprecsr (uptr, 0x1ffffff, &filerecsskipped);/* spc recs rev */ st 1652 src/simh/sim_tape.c if (st != MTSE_OK) st 1655 src/simh/sim_tape.c if (st == MTSE_TMK) st 1658 src/simh/sim_tape.c return st; st 1872 src/simh/sim_tape.c t_stat sim_tape_show_fmt (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 1877 src/simh/sim_tape.c fprintf (st, "%s format", fmts[f].name); st 1878 src/simh/sim_tape.c else fprintf (st, "invalid format"); st 2058 src/simh/sim_tape.c t_stat sim_tape_show_capac (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 2062 src/simh/sim_tape.c fprintf (st, "capacity : %luMB", (unsigned long)(uptr->capac / ((t_addr) 1000000))); st 2065 src/simh/sim_tape.c fprintf (st, "capacity : %luKB", (unsigned long)(uptr->capac / ((t_addr) 1000))); st 2067 src/simh/sim_tape.c fprintf (st, "capacity : %luB", (unsigned long)uptr->capac); st 2071 src/simh/sim_tape.c fprintf (st, "capacity : unlimited"); st 2134 src/simh/sim_tape.c t_stat sim_tape_show_dens (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 2145 src/simh/sim_tape.c fprintf (st, "density=%lu bpi", st 2148 src/simh/sim_tape.c fprintf (st, "density not set"); /* it was never set by the caller */ st 159 src/simh/sim_tape.h t_stat sim_tape_attach_help(FILE *st, DEVICE *dptr, const UNIT *uptr, int32 flag, const char *cptr); st 205 src/simh/sim_tape.h t_stat sim_tape_show_fmt (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 207 src/simh/sim_tape.h t_stat sim_tape_show_capac (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 209 src/simh/sim_tape.h t_stat sim_tape_show_dens (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 478 src/simh/sim_timer.c t_stat sim_show_timers (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* desc) st 491 src/simh/sim_timer.c fprintf (st, "%s clock device is %s%s%s\n", st 498 src/simh/sim_timer.c fprintf (st, "%s%sTimer %d:\n", "", st 502 src/simh/sim_timer.c fprintf (st, " Running at: %lu Hz\n", st 504 src/simh/sim_timer.c fprintf (st, " Tick Size: %s\n", st 506 src/simh/sim_timer.c fprintf (st, " Ticks in current second: %lu\n", st 509 src/simh/sim_timer.c fprintf (st, " Seconds Running: %lu (%s)\n", st 513 src/simh/sim_timer.c fprintf (st, " Calibration Opportunities: %lu\n", st 516 src/simh/sim_timer.c fprintf (st, " Calib Skip Idle Thresh %%: %lu\n", st 519 src/simh/sim_timer.c fprintf (st, " Calibs Skip While Idle: %lu\n", st 522 src/simh/sim_timer.c fprintf (st, " Calibs Skip Backwards: %lu\n", st 525 src/simh/sim_timer.c fprintf (st, " Calibs Skip Gap Too Big: %lu\n", st 529 src/simh/sim_timer.c fprintf (st, " Instruction Time: %.0f\n", st 531 src/simh/sim_timer.c fprintf (st, " Current Insts Per Tick: %lu\n", st 533 src/simh/sim_timer.c fprintf (st, " Initializations: %lu\n", st 535 src/simh/sim_timer.c fprintf (st, " Total Ticks: %lu\n", st 538 src/simh/sim_timer.c fprintf (st, " Peak Clock Skew: %s%s\n", st 542 src/simh/sim_timer.c fprintf (st, " Ticks Acked: %lu\n", st 545 src/simh/sim_timer.c fprintf (st, " Total Ticks Acked: %lu\n", st 548 src/simh/sim_timer.c fprintf (st, " Tick Time: %s\n", st 551 src/simh/sim_timer.c fprintf (st, " Total Tick Time: %s\n", st 554 src/simh/sim_timer.c fprintf (st, " Catchup Ticks Sched: %lu\n", st 557 src/simh/sim_timer.c fprintf (st, " Total Catchup Ticks Sched: %lu\n", st 561 src/simh/sim_timer.c fprintf (st, " Wall Clock Time Now: %8.8s.%03d\n", 11+ctime(&time_t_now), (int)(now.tv_nsec/1000000)); st 565 src/simh/sim_timer.c fprintf (st, " Catchup Tick Time: %8.8s.%03d\n", 11+ctime(&time_t_now), (int)(now.tv_nsec/1000000)); st 568 src/simh/sim_timer.c fprintf (st, " Catchup Base Time: %8.8s.%03d\n", 11+ctime(&time_t_now), (int)(now.tv_nsec/1000000)); st 571 src/simh/sim_timer.c fprintf (st, " Total Time Idled: %s\n", sim_fmt_secs (rtc_clock_time_idled[tmr]/1000.0)); st 574 src/simh/sim_timer.c fprintf (st, "%s clock device is not specified, co-scheduling is unavailable\n", sim_name); st 578 src/simh/sim_timer.c t_stat sim_show_clock_queues (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr) st 588 src/simh/sim_timer.c fprintf (st, "%s clock (%s) co-schedule event queue status\n", st 593 src/simh/sim_timer.c fprintf (st, " %s", sim_dname (dptr)); st 595 src/simh/sim_timer.c fprintf (st, " unit %d", (int32) (uptr - dptr->units)); st 598 src/simh/sim_timer.c fprintf (st, " Unknown"); st 600 src/simh/sim_timer.c fprintf (st, " after %d ticks", accum); st 601 src/simh/sim_timer.c fprintf (st, "\n"); st 629 src/simh/sim_timer.c t_stat sim_timer_show_catchup (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 631 src/simh/sim_timer.c fprintf (st, "Calibrated Ticks%s", sim_catchup_ticks ? " with Catchup Ticks" : ""); st 67 src/simh/sim_timer.h t_stat sim_show_timers (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* desc); st 68 src/simh/sim_timer.h t_stat sim_show_clock_queues (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr); st 3042 src/simh/sim_tmxr.c t_stat tmxr_show_open_devices (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* desc) st 3047 src/simh/sim_tmxr.c fprintf(st, "No Attached Multiplexer Devices\n"); st 3054 src/simh/sim_tmxr.c fprintf(st, "Multiplexer device: %s", (mp->dptr ? sim_dname (mp->dptr) : "")); st 3056 src/simh/sim_tmxr.c fprintf(st, ", "); st 3057 src/simh/sim_tmxr.c tmxr_show_lines(st, NULL, 0, mp); st 3060 src/simh/sim_tmxr.c fprintf(st, ", Packet"); st 3062 src/simh/sim_tmxr.c fprintf(st, ", UDP"); st 3064 src/simh/sim_tmxr.c fprintf(st, ", Telnet=disabled"); st 3066 src/simh/sim_tmxr.c fprintf(st, ", ModemControl=enabled"); st 3068 src/simh/sim_tmxr.c fprintf(st, ", Buffered=%d", mp->buffered); st 3071 src/simh/sim_tmxr.c fprintf(st, ",\n attached to %s, ", attach); st 3073 src/simh/sim_tmxr.c tmxr_show_summ(st, NULL, 0, mp); st 3074 src/simh/sim_tmxr.c fprintf(st, ", sessions=%d", mp->sessions); st 3077 src/simh/sim_tmxr.c fprintf(st, ", Speed=%lu", (unsigned long)mp->ldsc->rxbps); st 3079 src/simh/sim_tmxr.c fprintf(st, "*%.0f", mp->ldsc->rxbpsfactor/TMXR_RX_BPS_UNIT_SCALE); st 3080 src/simh/sim_tmxr.c fprintf(st, " bps"); st 3083 src/simh/sim_tmxr.c fprintf(st, "\n"); st 3085 src/simh/sim_tmxr.c fprintf (st, " incoming Connection from: %s ringing for %lu milliseconds\n", st 3092 src/simh/sim_tmxr.c fprintf (st, "Device: %s ", sim_dname(lp->dptr)); st 3093 src/simh/sim_tmxr.c fprintf (st, "Line: %d", j); st 3095 src/simh/sim_tmxr.c fprintf (st, " - %stelnet", lp->notelnet ? "no" : ""); st 3097 src/simh/sim_tmxr.c fprintf (st, " - Unit: %s", sim_uname (lp->uptr)); st 3099 src/simh/sim_tmxr.c fprintf(st, ", ModemControl=%s", lp->modem_control ? "enabled" : "disabled"); st 3101 src/simh/sim_tmxr.c fprintf(st, ", Loopback"); st 3103 src/simh/sim_tmxr.c fprintf(st, ", Speed=%lu", (unsigned long)lp->rxbps); st 3105 src/simh/sim_tmxr.c fprintf(st, "*%.0f", lp->rxbpsfactor/TMXR_RX_BPS_UNIT_SCALE); st 3106 src/simh/sim_tmxr.c fprintf(st, " bps"); st 3108 src/simh/sim_tmxr.c fprintf (st, "\n"); st 3113 src/simh/sim_tmxr.c tmxr_fconns (st, lp, -1); st 3116 src/simh/sim_tmxr.c tmxr_fconns (st, lp, -1); st 3117 src/simh/sim_tmxr.c tmxr_fstats (st, lp, -1); st 3231 src/simh/sim_tmxr.c t_stat tmxr_attach_help(FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr) st 3240 src/simh/sim_tmxr.c fprintf (st, "%s Multiplexer Attach Help\n\n", dptr->name); st 3242 src/simh/sim_tmxr.c fprintf (st, "The %s multiplexer may be connected to terminal emulators supporting the\n", dptr->name); st 3243 src/simh/sim_tmxr.c fprintf (st, "Telnet protocol via sockets.\n\n"); st 3245 src/simh/sim_tmxr.c fprintf (st, "The %s device is a full modem control device and therefore is capable of\n", dptr->name); st 3246 src/simh/sim_tmxr.c fprintf (st, "passing port configuration information and modem signals.\n"); st 3248 src/simh/sim_tmxr.c fprintf (st, "A Telnet listening port can be configured with:\n\n"); st 3249 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s {interface:}port\n\n", dptr->name); st 3250 src/simh/sim_tmxr.c fprintf (st, "Line buffering can be enabled for the %s device with:\n\n", dptr->name); st 3251 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Buffer{=bufsize}\n\n", dptr->name); st 3252 src/simh/sim_tmxr.c fprintf (st, "Line buffering can be disabled for the %s device with:\n\n", dptr->name); st 3253 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s NoBuffer\n\n", dptr->name); st 3254 src/simh/sim_tmxr.c fprintf (st, "The default buffer size is 32k bytes, the max buffer size is 1024k bytes\n\n"); st 3255 src/simh/sim_tmxr.c fprintf (st, "The outbound traffic the %s device can be logged to a file with:\n", dptr->name); st 3256 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Log=LogFileName\n\n", dptr->name); st 3257 src/simh/sim_tmxr.c fprintf (st, "File logging can be disabled for the %s device with:\n\n", dptr->name); st 3258 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s NoLog\n\n", dptr->name); st 3259 src/simh/sim_tmxr.c fprintf (st, "The %s device may be connected to a serial port on the host system.\n", dptr->name); st 3262 src/simh/sim_tmxr.c fprintf (st, "%s multiplexer lines may be connected to terminal emulators supporting the\n", dptr->name); st 3263 src/simh/sim_tmxr.c fprintf (st, "Telnet protocol via sockets, or to hardware terminals via host serial\n"); st 3264 src/simh/sim_tmxr.c fprintf (st, "ports. Concurrent Telnet and serial connections may be mixed on a given\n"); st 3265 src/simh/sim_tmxr.c fprintf (st, "multiplexer.\n\n"); st 3267 src/simh/sim_tmxr.c fprintf (st, "The %s device is a full modem control device and therefore is capable of\n", dptr->name); st 3268 src/simh/sim_tmxr.c fprintf (st, "passing port configuration information and modem signals on all lines.\n"); st 3270 src/simh/sim_tmxr.c fprintf (st, "Modem Control signalling behaviors can be enabled/disabled on a specific\n"); st 3271 src/simh/sim_tmxr.c fprintf (st, "multiplexer line with:\n\n"); st 3272 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,Modem\n", dptr->name); st 3273 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,NoModem\n\n", dptr->name); st 3274 src/simh/sim_tmxr.c fprintf (st, "A Telnet listening port can be configured with:\n\n"); st 3275 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s {interface:}port\n\n", dptr->name); st 3277 src/simh/sim_tmxr.c fprintf (st, "Line buffering for all %d lines on the %s device can be configured with:\n\n", mux->lines, dptr->name); st 3279 src/simh/sim_tmxr.c fprintf (st, "Line buffering for all lines on the %s device can be configured with:\n\n", dptr->name); st 3280 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Buffer{=bufsize}\n\n", dptr->name); st 3282 src/simh/sim_tmxr.c fprintf (st, "Line buffering for all %d lines on the %s device can be disabled with:\n\n", mux->lines, dptr->name); st 3284 src/simh/sim_tmxr.c fprintf (st, "Line buffering for all lines on the %s device can be disabled with:\n\n", dptr->name); st 3285 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s NoBuffer\n\n", dptr->name); st 3286 src/simh/sim_tmxr.c fprintf (st, "The default buffer size is 32k bytes, the max buffer size is 1024k bytes\n\n"); st 3287 src/simh/sim_tmxr.c fprintf (st, "The outbound traffic for the lines of the %s device can be logged to files\n", dptr->name); st 3288 src/simh/sim_tmxr.c fprintf (st, "with:\n\n"); st 3289 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Log=LogFileName\n\n", dptr->name); st 3290 src/simh/sim_tmxr.c fprintf (st, "The log file name for each line uses the above LogFileName as a template\n"); st 3291 src/simh/sim_tmxr.c fprintf (st, "for the actual file name which will be LogFileName_n where n is the line\n"); st 3292 src/simh/sim_tmxr.c fprintf (st, "number.\n\n"); st 3293 src/simh/sim_tmxr.c fprintf (st, "Multiplexer lines may be connected to serial ports on the host system.\n"); st 3295 src/simh/sim_tmxr.c fprintf (st, "Serial ports may be specified as an operating system specific device names\n"); st 3296 src/simh/sim_tmxr.c fprintf (st, "or using simh generic serial names. simh generic names are of the form\n"); st 3297 src/simh/sim_tmxr.c fprintf (st, "serN, where N is from 0 thru one less than the maximum number of serial\n"); st 3298 src/simh/sim_tmxr.c fprintf (st, "ports on the local system. The mapping of simh generic port names to OS \n"); st 3299 src/simh/sim_tmxr.c fprintf (st, "specific names can be displayed using the following command:\n\n"); st 3300 src/simh/sim_tmxr.c fprintf (st, " sim> SHOW SERIAL\n"); st 3301 src/simh/sim_tmxr.c fprintf (st, " Serial devices:\n"); st 3302 src/simh/sim_tmxr.c fprintf (st, " ser0 COM1 (\\Device\\Serial0)\n"); st 3303 src/simh/sim_tmxr.c fprintf (st, " ser1 COM3 (Winachcf0)\n\n"); st 3305 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Connect=ser0\n\n", dptr->name); st 3306 src/simh/sim_tmxr.c fprintf (st, "or equivalently:\n\n"); st 3307 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Connect=COM1\n\n", dptr->name); st 3310 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,Connect=ser0\n\n", dptr->name); st 3311 src/simh/sim_tmxr.c fprintf (st, "or equivalently:\n\n"); st 3312 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,Connect=COM1\n\n", dptr->name); st 3314 src/simh/sim_tmxr.c fprintf (st, "Valid line numbers are from 0 thru %d\n\n", mux->lines-1); st 3317 src/simh/sim_tmxr.c fprintf (st, "The input data rate for the %s device can be controlled by\n", dptr->name); st 3318 src/simh/sim_tmxr.c fprintf (st, "specifying SPEED=nnn{*fac} on the ATTACH command.\n"); st 3321 src/simh/sim_tmxr.c fprintf (st, "The input data rate for all lines or a particular line of a the %s\n", dptr->name); st 3322 src/simh/sim_tmxr.c fprintf (st, "device can be controlled by specifying SPEED=nnn{*fac} on the ATTACH command.\n"); st 3324 src/simh/sim_tmxr.c fprintf (st, "SPEED values can be any one of:\n\n"); st 3325 src/simh/sim_tmxr.c fprintf (st, " 0 50 75 110 134 150 300 600 1200 1800 2000 2400\n"); st 3326 src/simh/sim_tmxr.c fprintf (st, " 3600 4800 7200 9600 19200 38400 57600 76800 115200\n\n"); st 3327 src/simh/sim_tmxr.c fprintf (st, "A SPEED value of 0 causes input data to be delivered to the simulated\n"); st 3328 src/simh/sim_tmxr.c fprintf (st, "port as fast as it arrives.\n\n"); st 3329 src/simh/sim_tmxr.c fprintf (st, "If a simulated multiplexor devices can programmatically set a serial\n"); st 3330 src/simh/sim_tmxr.c fprintf (st, "port line speed, the programmatically specified speed will take precedence\n"); st 3331 src/simh/sim_tmxr.c fprintf (st, "over any input speed specified on an attach command.\n"); st 3332 src/simh/sim_tmxr.c fprintf (st, "Some simulated systems run very much faster than the original system\n"); st 3333 src/simh/sim_tmxr.c fprintf (st, "which is being simulated. To accommodate this, the speed specified may\n"); st 3334 src/simh/sim_tmxr.c fprintf (st, "include a factor which will increase the input data delivery rate by\n"); st 3335 src/simh/sim_tmxr.c fprintf (st, "the specified factor. A factor is specified with a speed value of the\n"); st 3336 src/simh/sim_tmxr.c fprintf (st, "form \"speed*factor\". Factor values can range from 1 thru 32.\n"); st 3337 src/simh/sim_tmxr.c fprintf (st, "Example:\n\n"); st 3338 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s 1234,SPEED=2400\n", dptr->name); st 3339 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s 1234,SPEED=9600*8\n", dptr->name); st 3341 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=2,SPEED=2400\n", dptr->name); st 3342 src/simh/sim_tmxr.c fprintf (st, "\n"); st 3343 src/simh/sim_tmxr.c fprintf (st, "The SPEED parameter only influences the rate at which data is delivered\n"); st 3344 src/simh/sim_tmxr.c fprintf (st, "into the simulated multiplexor port. Output data rates are unaffected\n"); st 3345 src/simh/sim_tmxr.c fprintf (st, "If an attach command specifies a speed multiply factor, that value will\n"); st 3346 src/simh/sim_tmxr.c fprintf (st, "persist independent of any programmatic action by the simulated system to\n"); st 3347 src/simh/sim_tmxr.c fprintf (st, "change the port speed.\n\n"); st 3348 src/simh/sim_tmxr.c fprintf (st, "An optional serial port configuration string may be present after the port\n"); st 3349 src/simh/sim_tmxr.c fprintf (st, "name. If present, it must be separated from the port name with a semicolon\n"); st 3350 src/simh/sim_tmxr.c fprintf (st, "and has this form:\n\n"); st 3351 src/simh/sim_tmxr.c fprintf (st, " <rate>-<charsize><parity><stopbits>\n\n"); st 3352 src/simh/sim_tmxr.c fprintf (st, "where:\n"); st 3353 src/simh/sim_tmxr.c fprintf (st, " rate = communication rate in bits per second\n"); st 3354 src/simh/sim_tmxr.c fprintf (st, " charsize = character size in bits (5-8, including optional parity)\n"); st 3355 src/simh/sim_tmxr.c fprintf (st, " parity = parity designator (N/E/O/M/S for no/even/odd/mark/space parity)\n"); st 3356 src/simh/sim_tmxr.c fprintf (st, " stopbits = number of stop bits (1, 1.5, or 2)\n\n"); st 3357 src/simh/sim_tmxr.c fprintf (st, "As an example:\n\n"); st 3358 src/simh/sim_tmxr.c fprintf (st, " 9600-8n1\n\n"); st 3359 src/simh/sim_tmxr.c fprintf (st, "The supported rates, sizes, and parity options are host-specific. If\n"); st 3360 src/simh/sim_tmxr.c fprintf (st, "a configuration string is not supplied, then the default of 9600-8N1\n"); st 3361 src/simh/sim_tmxr.c fprintf (st, "is used.\n"); st 3362 src/simh/sim_tmxr.c fprintf (st, "Note: The serial port configuration option is only available on multiplexer\n"); st 3363 src/simh/sim_tmxr.c fprintf (st, " lines which are not operating with full modem control behaviors enabled.\n"); st 3364 src/simh/sim_tmxr.c fprintf (st, " Lines with full modem control behaviors enabled have all of their\n"); st 3365 src/simh/sim_tmxr.c fprintf (st, " configuration managed by the Operating System running within the\n"); st 3366 src/simh/sim_tmxr.c fprintf (st, " simulator.\n\n"); st 3367 src/simh/sim_tmxr.c fprintf (st, "An attachment to a serial port with the '-V' switch will cause a\n"); st 3368 src/simh/sim_tmxr.c fprintf (st, "connection message to be output to the connected serial port.\n"); st 3369 src/simh/sim_tmxr.c fprintf (st, "This will help to confirm the correct port has been connected and\n"); st 3370 src/simh/sim_tmxr.c fprintf (st, "that the port settings are reasonable for the connected device.\n"); st 3371 src/simh/sim_tmxr.c fprintf (st, "This would be done as:\n\n"); st 3373 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH -V %s Connect=SerN\n", dptr->name); st 3375 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH -V %s Line=n,Connect=SerN\n\n", dptr->name); st 3376 src/simh/sim_tmxr.c fprintf (st, "Line specific tcp listening ports are supported. These are configured\n"); st 3377 src/simh/sim_tmxr.c fprintf (st, "using commands of the form:\n\n"); st 3378 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,{interface:}port{;notelnet}\n\n", dptr->name); st 3380 src/simh/sim_tmxr.c fprintf (st, "Direct computer to computer connections (Virtual Null Modem cables) may\n"); st 3381 src/simh/sim_tmxr.c fprintf (st, "be established using the telnet protocol or via raw tcp sockets.\n\n"); st 3382 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,Connect=host:port{;notelnet}\n\n", dptr->name); st 3383 src/simh/sim_tmxr.c fprintf (st, "Computer to computer virtual connections can be one way (as illustrated\n"); st 3384 src/simh/sim_tmxr.c fprintf (st, "above) or symmetric. A symmetric connection is configured by combining\n"); st 3386 src/simh/sim_tmxr.c fprintf (st, "a one way connection with a tcp listening port on the same line:\n\n"); st 3387 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s listenport,Connect=host:port\n\n", dptr->name); st 3390 src/simh/sim_tmxr.c fprintf (st, "a one way connection with a tcp listening port on the same line:\n\n"); st 3391 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,listenport,Connect=host:port\n\n", dptr->name); st 3393 src/simh/sim_tmxr.c fprintf (st, "When symmetric virtual connections are configured, incoming connections\n"); st 3394 src/simh/sim_tmxr.c fprintf (st, "on the specified listening port are checked to assure that they actually\n"); st 3395 src/simh/sim_tmxr.c fprintf (st, "come from the specified connection destination host system.\n\n"); st 3397 src/simh/sim_tmxr.c fprintf (st, "The %s device can be attached in LOOPBACK mode:\n\n", dptr->name); st 3398 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Loopback\n\n", dptr->name); st 3401 src/simh/sim_tmxr.c fprintf (st, "A line on the %s device can be attached in LOOPBACK mode:\n\n", dptr->name); st 3402 src/simh/sim_tmxr.c fprintf (st, " sim> ATTACH %s Line=n,Loopback\n\n", dptr->name); st 3404 src/simh/sim_tmxr.c fprintf (st, "When operating in LOOPBACK mode, all outgoing data arrives as input and\n"); st 3405 src/simh/sim_tmxr.c fprintf (st, "outgoing modem signals (if enabled) (DTR and RTS) are reflected in the\n"); st 3406 src/simh/sim_tmxr.c fprintf (st, "incoming modem signals (DTR->(DCD and DSR), RTS->CTS)\n\n"); st 3408 src/simh/sim_tmxr.c fprintf (st, "The connection configured for the %s device is unconfigured by:\n\n", dptr->name); st 3410 src/simh/sim_tmxr.c fprintf (st, "All connections configured for the %s device are unconfigured by:\n\n", dptr->name); st 3411 src/simh/sim_tmxr.c fprintf (st, " sim> DETACH %s\n\n", dptr->name); st 3417 src/simh/sim_tmxr.c fprintf (st, "A specific line on the %s device can be disconnected with:\n\n", dptr->name); st 3418 src/simh/sim_tmxr.c fprintf (st, " sim> SET %s %s=n\n\n", dptr->name, mptr->mstring); st 3419 src/simh/sim_tmxr.c fprintf (st, "This will cause a telnet connection to be closed, but a serial port will\n"); st 3420 src/simh/sim_tmxr.c fprintf (st, "normally have DTR dropped for 500ms and raised again (thus hanging up a\n"); st 3421 src/simh/sim_tmxr.c fprintf (st, "modem on that serial port).\n\n"); st 3422 src/simh/sim_tmxr.c fprintf (st, "A line which is connected to a serial port can be manually closed by\n"); st 3423 src/simh/sim_tmxr.c fprintf (st, "adding the -C switch to a %s command.\n\n", mptr->mstring); st 3424 src/simh/sim_tmxr.c fprintf (st, " sim> SET -C %s %s=n\n\n", dptr->name, mptr->mstring); st 3534 src/simh/sim_tmxr.c void tmxr_fconns (FILE *st, const TMLN *lp, int32 ln) st 3540 src/simh/sim_tmxr.c fprintf (st, "line %d: ", ln); st 3545 src/simh/sim_tmxr.c fprintf (st, "Datagram Connection from %s to remote port %s\n", lp->port, lp->destination);/* print port name */ st 3547 src/simh/sim_tmxr.c fprintf (st, "Connection to remote port %s\n", lp->destination);/* print port name */ st 3549 src/simh/sim_tmxr.c fprintf (st, "Connection from IP address %s\n", lp->ipad); st 3553 src/simh/sim_tmxr.c fprintf (st, "Connecting to remote port %s\n", lp->destination);/* print port name */ st 3558 src/simh/sim_tmxr.c fprintf (st, "Connection %s->%s\n", sockname, peername); st 3564 src/simh/sim_tmxr.c fprintf (st, "Listening on port %s\n", lp->port); /* print port name */ st 3571 src/simh/sim_tmxr.c fprintf (st, " %s %02d:%02d:%02d\n", lp->connecting ? "Connecting for" : "Connected", hr, mn, sc); st 3574 src/simh/sim_tmxr.c fprintf (st, " Line disconnected\n"); st 3577 src/simh/sim_tmxr.c fprintf (st, " Modem Bits: %s%s%s%s%s%s\n", (lp->modembits & TMXR_MDM_DTR) ? "DTR " : "", st 3587 src/simh/sim_tmxr.c fprintf (st, " %s\n", (lp->notelnet) ? "Telnet disabled (RAW data)" : "Telnet protocol"); st 3589 src/simh/sim_tmxr.c sim_show_send_input (st, &lp->send); st 3591 src/simh/sim_tmxr.c sim_exp_showall (st, &lp->expect); st 3593 src/simh/sim_tmxr.c fprintf (st, " Logging to %s\n", lp->txlogname); st 3599 src/simh/sim_tmxr.c void tmxr_fstats (FILE *st, const TMLN *lp, int32 ln) st 3605 src/simh/sim_tmxr.c fprintf (st, "Line %d:", ln); st 3608 src/simh/sim_tmxr.c fprintf (st, " not connected\n"); st 3611 src/simh/sim_tmxr.c fprintf (st, "\n"); st 3612 src/simh/sim_tmxr.c fprintf (st, " input (%s)", (lp->rcve? enab: dsab)); st 3614 src/simh/sim_tmxr.c fprintf (st, " queued/total = %d/%d", tmxr_rqln (lp), lp->rxcnt); st 3616 src/simh/sim_tmxr.c fprintf (st, " packets = %d", lp->rxpcnt); st 3617 src/simh/sim_tmxr.c fprintf (st, "\n output (%s)", (lp->xmte? enab: dsab)); st 3619 src/simh/sim_tmxr.c fprintf (st, " queued/total = %d/%d", tmxr_tqln (lp), lp->txcnt); st 3621 src/simh/sim_tmxr.c fprintf (st, " packet data queued/packets sent = %d/%d", st 3623 src/simh/sim_tmxr.c fprintf (st, "\n"); st 3626 src/simh/sim_tmxr.c fprintf (st, " output buffer size = %d\n", lp->txbsz); st 3628 src/simh/sim_tmxr.c fprintf (st, " bytes in buffer = %d\n", st 3631 src/simh/sim_tmxr.c fprintf (st, " dropped = %d\n", lp->txdrp); st 3743 src/simh/sim_tmxr.c t_stat tmxr_show_log (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 3752 src/simh/sim_tmxr.c fprintf (st, "logging to %s", lp->txlogname); st 3753 src/simh/sim_tmxr.c else fprintf (st, "no logging"); st 3886 src/simh/sim_tmxr.c t_stat tmxr_show_lnorder (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 3897 src/simh/sim_tmxr.c fprintf (st, "Order=0-%d\n", mp->lines - 1); /* print full line range */ st 3910 src/simh/sim_tmxr.c fputs ("Order=", st); /* print header */ st 3915 src/simh/sim_tmxr.c fputc (';', st); /* print separator */ st 3918 src/simh/sim_tmxr.c fprintf (st, "%d", last); /* print single line value */ st 3921 src/simh/sim_tmxr.c fprintf (st, "%d-%d", low, last); /* print start and end line */ st 3931 src/simh/sim_tmxr.c fputc ('\n', st); st 3938 src/simh/sim_tmxr.c t_stat tmxr_show_summ (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 3950 src/simh/sim_tmxr.c fprintf (st, "%d current connection%s", t, (t != 1) ? "s" : ""); st 3952 src/simh/sim_tmxr.c fprintf (st, "%s", (t == 1) ? "connected" : "disconnected"); st 3958 src/simh/sim_tmxr.c t_stat tmxr_show_cstat (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 3972 src/simh/sim_tmxr.c tmxr_fconns (st, &mp->ldsc[i], i); st 3976 src/simh/sim_tmxr.c tmxr_fstats (st, &mp->ldsc[i], i); st 3980 src/simh/sim_tmxr.c fprintf (st, (mp->lines == 1? "disconnected\n": "all disconnected\n")); st 3986 src/simh/sim_tmxr.c t_stat tmxr_show_lines (FILE *st, UNIT *uptr, int32 val, CONST void *desc) st 3992 src/simh/sim_tmxr.c fprintf (st, "lines=%d", mp->lines); st 234 src/simh/sim_tmxr.h t_stat tmxr_attach_help(FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, const char *cptr); st 250 src/simh/sim_tmxr.h void tmxr_fconns (FILE *st, const TMLN *lp, int32 ln); st 251 src/simh/sim_tmxr.h void tmxr_fstats (FILE *st, const TMLN *lp, int32 ln); st 254 src/simh/sim_tmxr.h t_stat tmxr_show_log (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 261 src/simh/sim_tmxr.h t_stat tmxr_show_lnorder (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 262 src/simh/sim_tmxr.h t_stat tmxr_show_summ (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 263 src/simh/sim_tmxr.h t_stat tmxr_show_cstat (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 264 src/simh/sim_tmxr.h t_stat tmxr_show_lines (FILE *st, UNIT *uptr, int32 val, CONST void *desc); st 265 src/simh/sim_tmxr.h t_stat tmxr_show_open_devices (FILE* st, DEVICE *dptr, UNIT* uptr, int32 val, CONST char* desc);