diff --git a/BESM6/besm6_printer.c b/BESM6/besm6_printer.c index 79cf647e..dbfe4ec3 100644 --- a/BESM6/besm6_printer.c +++ b/BESM6/besm6_printer.c @@ -52,8 +52,6 @@ struct acpu_t { unsigned char line[128][MAX_STRIKES]; } acpu[2]; -int acpu_isatty[2]; - #define PRN1_NOT_READY (1<<19) #define PRN2_NOT_READY (1<<18) @@ -116,12 +114,6 @@ t_stat printer_attach (UNIT *u, char *cptr) if (s != SCPE_OK) return s; - acpu_isatty[num] = !strcmp(cptr, "/dev/tty"); - if (!acpu_isatty[num]) { - /* Write UTF-8 tag: zero width no-break space. */ - fputs ("\xEF\xBB\xBF", u->fileref); - } - READY &= ~(PRN1_NOT_READY >> num); return SCPE_OK; } @@ -321,9 +313,6 @@ offset_gost_write (int num, FILE *fout) } } - if (acpu_isatty[num]) - fputc('\r', fout); - fputc ('\n', fout); memset(dev->line, 0, sizeof (dev->line)); dev->length = dev->strikes = 0;