linep 427 src/dps8/dps8_fnp2.c struct t_line * linep = & fudp->MState.line[lineno]; linep 428 src/dps8/dps8_fnp2.c linep->waitForMbxDone = true; linep 506 src/dps8/dps8_fnp2.c struct t_line * linep = & fudp->MState.line[lineno]; linep 513 src/dps8/dps8_fnp2.c uint n_chars = min(linep->nPos, 100); linep 528 src/dps8/dps8_fnp2.c linep 530 src/dps8/dps8_fnp2.c linep 531 src/dps8/dps8_fnp2.c linep 533 src/dps8/dps8_fnp2.c linep 543 src/dps8/dps8_fnp2.c linep 544 src/dps8/dps8_fnp2.c linep 546 src/dps8/dps8_fnp2.c linep 555 src/dps8/dps8_fnp2.c if (i < linep->nPos) linep 556 src/dps8/dps8_fnp2.c l_putbits36_9 (& v, 0, linep->buffer [i]); linep 557 src/dps8/dps8_fnp2.c if (i + 1 < linep->nPos) linep 558 src/dps8/dps8_fnp2.c l_putbits36_9 (& v, 9, linep->buffer [i + 1]); linep 559 src/dps8/dps8_fnp2.c if (i + 2 < linep->nPos) linep 560 src/dps8/dps8_fnp2.c l_putbits36_9 (& v, 18, linep->buffer [i + 2]); linep 561 src/dps8/dps8_fnp2.c if (i + 3 < linep->nPos) linep 562 src/dps8/dps8_fnp2.c l_putbits36_9 (& v, 27, linep->buffer [i + 3]); linep 573 src/dps8/dps8_fnp2.c l_putbits36_1 (& data, 17, linep->input_break ? 1 : 0); linep 590 src/dps8/dps8_fnp2.c struct t_line * linep = & fudp->MState.line[lineno]; linep 603 src/dps8/dps8_fnp2.c iom_direct_data_service (iom_unit_idx, chan_num, fsmbx+MYSTERY+0, & linep->lineStatus0, direct_store); linep 604 src/dps8/dps8_fnp2.c iom_direct_data_service (iom_unit_idx, chan_num, fsmbx+MYSTERY+1, & linep->lineStatus1, direct_store); linep 616 src/dps8/dps8_fnp2.c struct t_line * linep = & fudp->MState.line[lineno]; linep 626 src/dps8/dps8_fnp2.c l_putbits36_18 (& data, 0, (word18) linep->nPos); // cmd_data_len XXX linep 638 src/dps8/dps8_fnp2.c l_putbits36_12 (& data, 24, (word12) linep->nPos); linep 648 src/dps8/dps8_fnp2.c l_putbits36_1 (& data, 17, linep->input_break ? 1 : 0); linep 730 src/dps8/dps8_fnp2.c struct t_line * linep = & fudp->MState.line[lineno]; linep 782 src/dps8/dps8_fnp2.c l_putbits36_9 (& data, 27, linep->lineType); // ??? 0 instead of 27 ? linep 816 src/dps8/dps8_fnp2.c static inline bool processInputCharacter (struct t_line * linep, unsigned char kar, linep 819 src/dps8/dps8_fnp2.c if (! linep->line_client) linep 826 src/dps8/dps8_fnp2.c if (! linep->is_tun) linep 830 src/dps8/dps8_fnp2.c uvClientData * p = linep->line_client->data; linep 834 src/dps8/dps8_fnp2.c if (p && p->telnetp && linep->was_CR && kar == 0) linep 837 src/dps8/dps8_fnp2.c linep->was_CR = false; linep 840 src/dps8/dps8_fnp2.c linep->was_CR = kar == 015; linep 845 src/dps8/dps8_fnp2.c if (linep->service == service_login) linep 847 src/dps8/dps8_fnp2.c if (linep->echoPlex) linep 852 src/dps8/dps8_fnp2.c if (linep->crecho && kar == '\n') linep 854 src/dps8/dps8_fnp2.c fnpuv_start_writestr (linep->line_client, (unsigned char *) "\r\n"); linep 858 src/dps8/dps8_fnp2.c else if (linep->lfecho && kar == '\r') linep 860 src/dps8/dps8_fnp2.c fnpuv_start_writestr (linep->line_client, (unsigned char *) "\r\n"); linep 864 src/dps8/dps8_fnp2.c else if (linep->tabecho && kar == '\t') linep 867 src/dps8/dps8_fnp2.c uint nCol = linep->nPos; linep 872 src/dps8/dps8_fnp2.c fnpuv_start_writestr (linep->line_client, (unsigned char *) " "); linep 888 src/dps8/dps8_fnp2.c fnpuv_start_writestr (linep->line_client, str); linep 893 src/dps8/dps8_fnp2.c if (linep->breakAll) linep 895 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos ++] = kar; linep 896 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos] = 0; linep 921 src/dps8/dps8_fnp2.c if (linep->echnego_on) linep 923 src/dps8/dps8_fnp2.c if (linep->echnego_break_table[kar]) linep 936 src/dps8/dps8_fnp2.c linep->echnego_on = false; linep 957 src/dps8/dps8_fnp2.c linep->input_break = false; linep 967 src/dps8/dps8_fnp2.c linep->echnego_unechoed_cnt ++; linep 970 src/dps8/dps8_fnp2.c linep->nPos, linep->echnego_unechoed_cnt); linep 972 src/dps8/dps8_fnp2.c linep->accept_input = 1; linep 981 src/dps8/dps8_fnp2.c fnpuv_start_writestr (linep->line_client, str); linep 990 src/dps8/dps8_fnp2.c linep->echnego_unechoed_cnt = 0; linep 992 src/dps8/dps8_fnp2.c if (linep->echnego_screen_left) linep 993 src/dps8/dps8_fnp2.c linep->echnego_screen_left --; linep 995 src/dps8/dps8_fnp2.c sim_printf ("echnego_screen_left %u\n", linep->echnego_screen_left); linep 998 src/dps8/dps8_fnp2.c if (linep->echnego_screen_left == 0) linep 1011 src/dps8/dps8_fnp2.c linep->echnego_on = false; linep 1027 src/dps8/dps8_fnp2.c linep->input_break = false; linep 1040 src/dps8/dps8_fnp2.c linep->nPos, linep->echnego_unechoed_cnt); linep 1042 src/dps8/dps8_fnp2.c linep->accept_input = 1; linep 1057 src/dps8/dps8_fnp2.c linep->echnego_unechoed_cnt += linep->nPos; linep 1059 src/dps8/dps8_fnp2.c linep->input_break = true; linep 1060 src/dps8/dps8_fnp2.c linep->accept_input = 1; linep 1063 src/dps8/dps8_fnp2.c linep->nPos, linep->echnego_unechoed_cnt); linep 1068 src/dps8/dps8_fnp2.c if ((linep-> frame_begin != 0 && linep 1069 src/dps8/dps8_fnp2.c linep-> frame_begin == kar) || linep 1070 src/dps8/dps8_fnp2.c (linep-> frame_end != 0 && linep 1071 src/dps8/dps8_fnp2.c linep-> frame_end == kar)) linep 1075 src/dps8/dps8_fnp2.c linep 1077 src/dps8/dps8_fnp2.c linep 1078 src/dps8/dps8_fnp2.c linep 1085 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos++] = kar; linep 1087 src/dps8/dps8_fnp2.c uint frsz = linep->block_xfer_in_frame_sz; linep 1088 src/dps8/dps8_fnp2.c while ((size_t) linep->nPos < sizeof (linep->buffer) && linep->nPos < frsz) linep 1089 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos++] = 0; linep 1090 src/dps8/dps8_fnp2.c linep->accept_input = 1; linep 1091 src/dps8/dps8_fnp2.c linep->input_break = true; linep 1107 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos++] = kar; linep 1108 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos] = 0; linep 1109 src/dps8/dps8_fnp2.c linep->accept_input = 1; linep 1110 src/dps8/dps8_fnp2.c linep->input_break = true; linep 1117 src/dps8/dps8_fnp2.c if (linep->handleQuit) linep 1119 src/dps8/dps8_fnp2.c linep->line_break=true; linep 1131 src/dps8/dps8_fnp2.c if (linep->nPos > 0) linep 1133 src/dps8/dps8_fnp2.c fnpuv_start_writestr (linep->line_client, (unsigned char *) "\b \b"); linep 1135 src/dps8/dps8_fnp2.c linep->nPos -= 1; // back up buffer pointer linep 1136 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos] = 0; // remove char from buffer linep 1141 src/dps8/dps8_fnp2.c fnpuv_start_writestr (linep->line_client, (unsigned char *) "\a"); linep 1148 src/dps8/dps8_fnp2.c linep->nPos = 0; linep 1149 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos] = 0; linep 1150 src/dps8/dps8_fnp2.c fnpuv_start_writestr (linep->line_client, (unsigned char *) "^U\r\n"); linep 1156 src/dps8/dps8_fnp2.c fnpuv_start_writestr (linep->line_client, (unsigned char *) "^R\r\n"); // echo ^R linep 1157 src/dps8/dps8_fnp2.c fnpuv_start_writestr (linep->line_client, linep->buffer); linep 1168 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos++] = kar; linep 1169 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos] = 0; linep 1175 src/dps8/dps8_fnp2.c ((linep->service == service_autocall || linep 1176 src/dps8/dps8_fnp2.c linep->service == service_slave) && linep 1177 src/dps8/dps8_fnp2.c linep->inUsed >= linep->inSize) || linep 1179 src/dps8/dps8_fnp2.c (size_t) linep->nPos >= sizeof (linep->buffer) || linep 1182 src/dps8/dps8_fnp2.c linep 1185 src/dps8/dps8_fnp2.c linep 1187 src/dps8/dps8_fnp2.c ((linep->block_xfer_out_frame_sz != 0) linep 1190 src/dps8/dps8_fnp2.c (linep->nPos >= linep->block_xfer_out_frame_sz) linep 1193 src/dps8/dps8_fnp2.c (linep->inputBufferSize != 0 && linep->nPos >= linep->inputBufferSize)) linep 1196 src/dps8/dps8_fnp2.c linep->accept_input = 1; linep 1197 src/dps8/dps8_fnp2.c linep->input_break = false; linep 1199 src/dps8/dps8_fnp2.c if (linep->service == service_slave || linep->service == service_autocall) linep 1202 src/dps8/dps8_fnp2.c if (linep->is_tun) linep 1203 src/dps8/dps8_fnp2.c linep->input_break = endOfBuffer; linep 1206 src/dps8/dps8_fnp2.c linep->input_break = true; linep 1228 src/dps8/dps8_fnp2.c static void fnpProcessBuffer (struct t_line * linep) linep 1232 src/dps8/dps8_fnp2.c if ((! linep->is_tun) && ! linep->line_client) linep 1234 src/dps8/dps8_fnp2.c if (! linep->line_client) linep 1237 src/dps8/dps8_fnp2.c if (linep->inBuffer) linep 1238 src/dps8/dps8_fnp2.c FREE (linep->inBuffer); linep 1239 src/dps8/dps8_fnp2.c linep->inBuffer = NULL; linep 1240 src/dps8/dps8_fnp2.c linep->inSize = 0; linep 1241 src/dps8/dps8_fnp2.c linep->inUsed = 0; linep 1245 src/dps8/dps8_fnp2.c while (linep->inBuffer && linep->inUsed < linep->inSize) linep 1247 src/dps8/dps8_fnp2.c unsigned char c = linep->inBuffer [linep->inUsed ++]; linep 1249 src/dps8/dps8_fnp2.c bool eob = linep->inUsed >= linep->inSize; linep 1252 src/dps8/dps8_fnp2.c FREE (linep->inBuffer); linep 1253 src/dps8/dps8_fnp2.c linep->inBuffer = NULL; linep 1254 src/dps8/dps8_fnp2.c linep->inSize = 0; linep 1255 src/dps8/dps8_fnp2.c linep->inUsed = 0; linep 1257 src/dps8/dps8_fnp2.c if (linep->line_client) linep 1258 src/dps8/dps8_fnp2.c fnpuv_read_start (linep->line_client); linep 1260 src/dps8/dps8_fnp2.c if (linep->service == service_3270) linep 1262 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos++] = c; linep 1263 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos] = 0; linep 1266 src/dps8/dps8_fnp2.c if (processInputCharacter (linep, c, eob)) linep 1280 src/dps8/dps8_fnp2.c struct t_line * linep = & fnpData.fnpUnitData[fnp_unit_idx].MState.line[lineno]; linep 1283 src/dps8/dps8_fnp2.c if (linep->accept_input) linep 1287 src/dps8/dps8_fnp2.c if (linep->input_reply_pending) linep 1291 src/dps8/dps8_fnp2.c if (!linep->inBuffer) linep 1294 src/dps8/dps8_fnp2.c fnpProcessBuffer (linep); linep 1347 src/dps8/dps8_fnp2.c struct t_line * linep = & fnpData.fnpUnitData[fnpno].MState.line[lineno]; linep 1348 src/dps8/dps8_fnp2.c if ((unsigned long) linep->nPos + len > sizeof (linep->buffer)) linep 1352 src/dps8/dps8_fnp2.c memcpy (linep->buffer + linep->nPos, msg, len); linep 1353 src/dps8/dps8_fnp2.c linep->nPos += len; linep 1357 src/dps8/dps8_fnp2.c linep 1359 src/dps8/dps8_fnp2.c linep 1362 src/dps8/dps8_fnp2.c linep->force_accept_input = true; linep 1363 src/dps8/dps8_fnp2.c linep->accept_input = 1; linep 1364 src/dps8/dps8_fnp2.c linep->input_break = brk ? 1 : 0; linep 1398 src/dps8/dps8_fnp2.c struct t_line * linep = & fnpData.fnpUnitData[fnpno].MState.line[lineno]; linep 1401 src/dps8/dps8_fnp2.c if (linep->accept_input) linep 1403 src/dps8/dps8_fnp2.c if (linep->input_reply_pending) linep 1409 src/dps8/dps8_fnp2.c uint left = linep->sync_msg_size; linep 1411 src/dps8/dps8_fnp2.c unsigned char * bufp = linep->buffer; linep 1449 src/dps8/dps8_fnp2.c linep->input_break = 1; linep 1454 src/dps8/dps8_fnp2.c uint sz = (uint) (bufp - linep->buffer); linep 1457 src/dps8/dps8_fnp2.c linep->force_accept_input = true; linep 1458 src/dps8/dps8_fnp2.c linep->accept_input = 1; linep 1459 src/dps8/dps8_fnp2.c linep->nPos = sz; linep 1476 src/dps8/dps8_fnp2.c struct t_line * linep = & fnpData.fnpUnitData[fnpno].MState.line[lineno]; linep 1489 src/dps8/dps8_fnp2.c linep->lineStatus0 = 6llu << 18; // IBM3270_WRITE_COMPLETE linep 1490 src/dps8/dps8_fnp2.c linep->lineStatus1 = 0; linep 1491 src/dps8/dps8_fnp2.c linep->sendLineStatus = true; linep 1572 src/dps8/dps8_fnp2.c struct t_line * linep = & fnpData.fnpUnitData[fnp_unit_idx].MState.line[lineno]; linep 1576 src/dps8/dps8_fnp2.c if (linep -> line_disconnected > 1) linep 1579 src/dps8/dps8_fnp2.c if (linep->inBuffer && linep->inUsed < linep->inSize) linep 1582 src/dps8/dps8_fnp2.c linep -> line_disconnected = DISC_DELAY; linep 1587 src/dps8/dps8_fnp2.c -- linep -> line_disconnected; linep 1593 src/dps8/dps8_fnp2.c if (linep->waitForMbxDone) linep 1598 src/dps8/dps8_fnp2.c bool do_send_output = linep->send_output == 1; linep 1600 src/dps8/dps8_fnp2.c if (linep -> send_output > 0) linep 1601 src/dps8/dps8_fnp2.c linep->send_output --; linep 1611 src/dps8/dps8_fnp2.c else if (linep->acu_dial_failure) linep 1614 src/dps8/dps8_fnp2.c linep->acu_dial_failure = false; linep 1626 src/dps8/dps8_fnp2.c else if (linep->listen && linep->accept_new_terminal) linep 1629 src/dps8/dps8_fnp2.c linep->accept_new_terminal = false; linep 1635 src/dps8/dps8_fnp2.c else if (linep -> ack_echnego_init) linep 1638 src/dps8/dps8_fnp2.c linep -> ack_echnego_init = false; linep 1639 src/dps8/dps8_fnp2.c linep -> send_output = SEND_OUTPUT_DELAY; linep 1645 src/dps8/dps8_fnp2.c else if (linep -> ack_echnego_stop) linep 1648 src/dps8/dps8_fnp2.c linep -> ack_echnego_stop = false; linep 1649 src/dps8/dps8_fnp2.c linep -> send_output = SEND_OUTPUT_DELAY; linep 1656 src/dps8/dps8_fnp2.c else if (linep -> line_disconnected == 1) linep 1659 src/dps8/dps8_fnp2.c linep -> line_disconnected = 0; linep 1660 src/dps8/dps8_fnp2.c linep -> listen = false; linep 1664 src/dps8/dps8_fnp2.c else if (linep -> line_disconnected) linep 1667 src/dps8/dps8_fnp2.c linep -> line_disconnected = false; linep 1668 src/dps8/dps8_fnp2.c linep -> listen = false; linep 1675 src/dps8/dps8_fnp2.c else if (linep -> wru_timeout) linep 1678 src/dps8/dps8_fnp2.c linep -> wru_timeout = false; linep 1684 src/dps8/dps8_fnp2.c else if (linep->accept_input && ! linep->waitForMbxDone) //-V560 linep 1686 src/dps8/dps8_fnp2.c if (linep->accept_input == 1) linep 1692 src/dps8/dps8_fnp2.c if (0 && linep->nPos == 0) linep 1701 src/dps8/dps8_fnp2.c linep 1702 src/dps8/dps8_fnp2.c linep 1703 src/dps8/dps8_fnp2.c linep 1704 src/dps8/dps8_fnp2.c linep 1706 src/dps8/dps8_fnp2.c linep 1723 src/dps8/dps8_fnp2.c linep 1726 src/dps8/dps8_fnp2.c if (linep->force_accept_input || linep->nPos > 100) linep 1730 src/dps8/dps8_fnp2.c linep->input_reply_pending = true; linep 1738 src/dps8/dps8_fnp2.c linep->nPos = 0; linep 1745 src/dps8/dps8_fnp2.c linep->accept_input --; linep 1752 src/dps8/dps8_fnp2.c else if (linep->line_break) linep 1755 src/dps8/dps8_fnp2.c linep -> line_break = false; linep 1757 src/dps8/dps8_fnp2.c linep -> send_output = SEND_OUTPUT_DELAY; linep 1760 src/dps8/dps8_fnp2.c else if (linep->sendLineStatus) linep 1762 src/dps8/dps8_fnp2.c linep->sendLineStatus = false; linep 2555 src/dps8/dps8_fnp2.c struct t_line * linep = & fnpData.fnpUnitData[fnp_unit_idx].MState.line[lineno]; linep 2556 src/dps8/dps8_fnp2.c if (! linep->listen) linep 2558 src/dps8/dps8_fnp2.c if (linep->service == service_login && linep 2559 src/dps8/dps8_fnp2.c ! linep->line_disconnected && linep 2560 src/dps8/dps8_fnp2.c ! linep->line_client && linep 2700 src/dps8/dps8_fnp2.c struct t_line * linep = & fnpData.fnpUnitData[fnpno].MState.line[lineno]; linep 2708 src/dps8/dps8_fnp2.c if (linep->inBuffer) linep 2711 src/dps8/dps8_fnp2.c unsigned char * new = realloc (linep->inBuffer, (unsigned long) (linep->inSize + nread)); linep 2717 src/dps8/dps8_fnp2.c memcpy (new + linep->inSize, buf, (unsigned long) nread); linep 2718 src/dps8/dps8_fnp2.c linep->inSize += nread; linep 2719 src/dps8/dps8_fnp2.c linep->inBuffer = new; linep 2723 src/dps8/dps8_fnp2.c linep->inBuffer = malloc ((unsigned long) nread); linep 2724 src/dps8/dps8_fnp2.c if (! linep->inBuffer) linep 2729 src/dps8/dps8_fnp2.c memcpy (linep->inBuffer, buf, (unsigned long) nread); linep 2730 src/dps8/dps8_fnp2.c linep->inSize = (uint) nread; linep 2731 src/dps8/dps8_fnp2.c linep->inUsed = 0; linep 2767 src/dps8/dps8_fnp2.c struct t_line * linep = & fnpData.fnpUnitData[fnpno].MState.line[lineno]; linep 2770 src/dps8/dps8_fnp2.c if (! linep->inBuffer) linep 2774 src/dps8/dps8_fnp2.c if (! linep->listen) linep 2776 src/dps8/dps8_fnp2.c if (! linep->inBuffer) linep 2824 src/dps8/dps8_fnp2.c void reset_line (struct t_line * linep) linep 2826 src/dps8/dps8_fnp2.c linep->was_CR = false; linep 2827 src/dps8/dps8_fnp2.c linep->inputBufferSize = 0; linep 2828 src/dps8/dps8_fnp2.c linep->ctrlStrIdx = 0; linep 2829 src/dps8/dps8_fnp2.c linep->breakAll = false; linep 2830 src/dps8/dps8_fnp2.c linep->handleQuit = false; linep 2831 src/dps8/dps8_fnp2.c linep->echoPlex = false; linep 2832 src/dps8/dps8_fnp2.c linep->crecho = false; linep 2833 src/dps8/dps8_fnp2.c linep->lfecho = false; linep 2834 src/dps8/dps8_fnp2.c linep->tabecho = false; linep 2835 src/dps8/dps8_fnp2.c linep->replay = false; linep 2836 src/dps8/dps8_fnp2.c linep->polite = false; linep 2837 src/dps8/dps8_fnp2.c linep->prefixnl = false; linep 2838 src/dps8/dps8_fnp2.c linep->eight_bit_out = false; linep 2839 src/dps8/dps8_fnp2.c linep->eight_bit_in = false; linep 2840 src/dps8/dps8_fnp2.c linep->odd_parity = false; linep 2841 src/dps8/dps8_fnp2.c linep->output_flow_control = false; linep 2842 src/dps8/dps8_fnp2.c linep->input_flow_control = false; linep 2843 src/dps8/dps8_fnp2.c linep->block_xfer_in_frame_sz = 0; linep 2844 src/dps8/dps8_fnp2.c linep->block_xfer_out_frame_sz = 0; linep 2845 src/dps8/dps8_fnp2.c (void)memset (linep->delay_table, 0, sizeof (linep->delay_table)); linep 2846 src/dps8/dps8_fnp2.c linep->inputSuspendLen = 0; linep 2847 src/dps8/dps8_fnp2.c (void)memset (linep->inputSuspendStr, 0, sizeof (linep->inputSuspendStr)); linep 2848 src/dps8/dps8_fnp2.c linep->inputResumeLen = 0; linep 2849 src/dps8/dps8_fnp2.c (void)memset (linep->inputResumeStr, 0, sizeof (linep->inputResumeStr)); linep 2850 src/dps8/dps8_fnp2.c linep->outputSuspendLen = 0; linep 2851 src/dps8/dps8_fnp2.c (void)memset (linep->outputSuspendStr, 0, sizeof (linep->outputSuspendStr)); linep 2852 src/dps8/dps8_fnp2.c linep->outputResumeLen = 0; linep 2853 src/dps8/dps8_fnp2.c (void)memset (linep->outputResumeStr, 0, sizeof (linep->outputResumeStr)); linep 2854 src/dps8/dps8_fnp2.c linep->frame_begin = 0; linep 2855 src/dps8/dps8_fnp2.c linep->frame_end = 0; linep 2856 src/dps8/dps8_fnp2.c (void)memset (linep->echnego_break_table, 0, sizeof (linep->echnego_break_table)); linep 2857 src/dps8/dps8_fnp2.c linep->echnego_sync_ctr = 0; linep 2858 src/dps8/dps8_fnp2.c linep->echnego_screen_left = 0; linep 2859 src/dps8/dps8_fnp2.c linep->echnego_unechoed_cnt = 0; linep 2860 src/dps8/dps8_fnp2.c linep->echnego_on = false; linep 2861 src/dps8/dps8_fnp2.c linep->echnego_synced = false; linep 2862 src/dps8/dps8_fnp2.c linep->line_break = false; linep 166 src/dps8/dps8_fnp2_iomcmd.c struct t_line * linep = & decoded_p->fudp->MState.line[decoded_p->slot_no]; linep 180 src/dps8/dps8_fnp2_iomcmd.c if (linep->line_client && linep->service == service_login) linep 181 src/dps8/dps8_fnp2_iomcmd.c fnpuv_start_writestr (linep->line_client, (unsigned char *) "Multics has disconnected you\r\n"); linep 183 src/dps8/dps8_fnp2_iomcmd.c linep -> line_disconnected = DISC_DELAY; linep 185 src/dps8/dps8_fnp2_iomcmd.c linep -> line_disconnected = true; linep 187 src/dps8/dps8_fnp2_iomcmd.c linep -> listen = false; linep 188 src/dps8/dps8_fnp2_iomcmd.c if (linep->line_client) linep 190 src/dps8/dps8_fnp2_iomcmd.c close_connection ((uv_stream_t *) linep->line_client); linep 212 src/dps8/dps8_fnp2_iomcmd.c linep->lineType = (word9) getbits36_18 (command_data[0], 0); linep 222 src/dps8/dps8_fnp2_iomcmd.c linep->frame_begin = d1; linep 223 src/dps8/dps8_fnp2_iomcmd.c linep->frame_end = d2; linep 413 src/dps8/dps8_fnp2_iomcmd.c linep->sync_msg_size = (uint) getbits36_18 (command_data[0], 0); linep 486 src/dps8/dps8_fnp2_iomcmd.c (void)memset (linep->echnego_break_table, 0, linep 487 src/dps8/dps8_fnp2_iomcmd.c sizeof (linep->echnego_break_table)); linep 491 src/dps8/dps8_fnp2_iomcmd.c (void)memset (linep->echnego_break_table, 1, linep 492 src/dps8/dps8_fnp2_iomcmd.c sizeof (linep->echnego_break_table)); linep 510 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_break_table[offset++] = linep 513 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_break_table[offset++] = linep 524 src/dps8/dps8_fnp2_iomcmd.c linep 549 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_sync_ctr = linep 551 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_screen_left = getbits36_18 (command_data[0], 18); linep 555 src/dps8/dps8_fnp2_iomcmd.c "unechoed cnt %d\n", linep->echnego_sync_ctr, linep 556 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_screen_left,linep->echnego_unechoed_cnt); linep 563 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_on = linep 564 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_sync_ctr == linep->echnego_unechoed_cnt; linep 568 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_on ? "on" : "off"); linep 582 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_on = false; linep 584 src/dps8/dps8_fnp2_iomcmd.c linep->ack_echnego_stop = true; linep 603 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_unechoed_cnt = 0; linep 606 src/dps8/dps8_fnp2_iomcmd.c linep->ack_echnego_init = true; linep 624 src/dps8/dps8_fnp2_iomcmd.c linep->inputSuspendStr[0] = getbits36_8 (suspendStr, 10); linep 625 src/dps8/dps8_fnp2_iomcmd.c linep->inputSuspendStr[1] = getbits36_8 (suspendStr, 19); linep 626 src/dps8/dps8_fnp2_iomcmd.c linep->inputSuspendStr[2] = getbits36_8 (suspendStr, 28); linep 634 src/dps8/dps8_fnp2_iomcmd.c linep->inputSuspendLen = suspendLen; linep 637 src/dps8/dps8_fnp2_iomcmd.c linep->inputResumeStr[0] = getbits36_8 (resumeStr, 10); linep 638 src/dps8/dps8_fnp2_iomcmd.c linep->inputResumeStr[1] = getbits36_8 (resumeStr, 19); linep 639 src/dps8/dps8_fnp2_iomcmd.c linep->inputResumeStr[2] = getbits36_8 (resumeStr, 28); linep 647 src/dps8/dps8_fnp2_iomcmd.c linep->inputResumeLen = resumeLen; linep 660 src/dps8/dps8_fnp2_iomcmd.c linep->outputSuspendStr[0] = getbits36_8 (suspendStr, 10); linep 661 src/dps8/dps8_fnp2_iomcmd.c linep->outputSuspendStr[1] = getbits36_8 (suspendStr, 19); linep 662 src/dps8/dps8_fnp2_iomcmd.c linep->outputSuspendStr[2] = getbits36_8 (suspendStr, 28); linep 670 src/dps8/dps8_fnp2_iomcmd.c linep->outputSuspendLen = suspendLen; linep 673 src/dps8/dps8_fnp2_iomcmd.c linep->outputResumeStr[0] = getbits36_8 (resumeStr, 10); linep 674 src/dps8/dps8_fnp2_iomcmd.c linep->outputResumeStr[1] = getbits36_8 (resumeStr, 19); linep 675 src/dps8/dps8_fnp2_iomcmd.c linep->outputResumeStr[2] = getbits36_8 (resumeStr, 28); linep 683 src/dps8/dps8_fnp2_iomcmd.c linep->outputResumeLen = resumeLen; linep 704 src/dps8/dps8_fnp2_iomcmd.c linep->fullDuplex = !! flag; linep 713 src/dps8/dps8_fnp2_iomcmd.c linep->crecho = !! flag; linep 722 src/dps8/dps8_fnp2_iomcmd.c linep->lfecho = !! flag; linep 733 src/dps8/dps8_fnp2_iomcmd.c linep -> send_output = SEND_OUTPUT_DELAY; linep 742 src/dps8/dps8_fnp2_iomcmd.c linep->tabecho = !! flag; linep 753 src/dps8/dps8_fnp2_iomcmd.c linep->listen = !! flag; linep 754 src/dps8/dps8_fnp2_iomcmd.c linep->inputBufferSize = bufsz; linep 756 src/dps8/dps8_fnp2_iomcmd.c if (linep->service == service_undefined) linep 757 src/dps8/dps8_fnp2_iomcmd.c linep->service = service_login; linep 759 src/dps8/dps8_fnp2_iomcmd.c if (linep->service == service_login && linep -> line_client) linep 761 src/dps8/dps8_fnp2_iomcmd.c fnpuv_start_writestr (linep->line_client, linep 762 src/dps8/dps8_fnp2_iomcmd.c linep->listen ? linep 766 src/dps8/dps8_fnp2_iomcmd.c if (linep->service == service_slave && ! linep -> line_client) linep 776 src/dps8/dps8_fnp2_iomcmd.c linep->handleQuit = !! flag; linep 786 src/dps8/dps8_fnp2_iomcmd.c linep->ctrlStrIdx = idx; linep 794 src/dps8/dps8_fnp2_iomcmd.c linep -> wru_timeout = true; linep 803 src/dps8/dps8_fnp2_iomcmd.c linep->echoPlex = !! flag; linep 827 src/dps8/dps8_fnp2_iomcmd.c linep->replay = !! flag; linep 836 src/dps8/dps8_fnp2_iomcmd.c linep->polite = !! flag; linep 846 src/dps8/dps8_fnp2_iomcmd.c linep->block_xfer_out_frame_sz = bufsiz1; linep 847 src/dps8/dps8_fnp2_iomcmd.c linep->block_xfer_in_frame_sz = bufsiz2; linep 863 src/dps8/dps8_fnp2_iomcmd.c linep->inputBufferSize = sz; linep 873 src/dps8/dps8_fnp2_iomcmd.c linep->breakAll = !! flag; linep 882 src/dps8/dps8_fnp2_iomcmd.c linep->prefixnl = !! flag; linep 891 src/dps8/dps8_fnp2_iomcmd.c linep->input_flow_control = !! flag; linep 900 src/dps8/dps8_fnp2_iomcmd.c linep->output_flow_control = !! flag; linep 909 src/dps8/dps8_fnp2_iomcmd.c linep->odd_parity = !! flag; linep 918 src/dps8/dps8_fnp2_iomcmd.c linep->eight_bit_in = !! flag; linep 927 src/dps8/dps8_fnp2_iomcmd.c linep->eight_bit_out = !! flag; linep 975 src/dps8/dps8_fnp2_iomcmd.c linep->delay_table[0] = d1; linep 976 src/dps8/dps8_fnp2_iomcmd.c linep->delay_table[1] = d2; linep 977 src/dps8/dps8_fnp2_iomcmd.c linep->delay_table[2] = d3; linep 978 src/dps8/dps8_fnp2_iomcmd.c linep->delay_table[3] = d4; linep 979 src/dps8/dps8_fnp2_iomcmd.c linep->delay_table[4] = d5; linep 980 src/dps8/dps8_fnp2_iomcmd.c linep->delay_table[5] = d6; linep 1118 src/dps8/dps8_fnp2_iomcmd.c static void tun_write (struct t_line * linep, uint16_t * data, uint tally) linep 1133 src/dps8/dps8_fnp2_iomcmd.c linep->in_frame = true; linep 1134 src/dps8/dps8_fnp2_iomcmd.c linep->frameLen = 0; linep 1138 src/dps8/dps8_fnp2_iomcmd.c if (! linep->in_frame) linep 1141 src/dps8/dps8_fnp2_iomcmd.c if (linep->frameLen >= 2+1500) linep 1146 src/dps8/dps8_fnp2_iomcmd.c linep->frame[linep->frameLen ++] = (uint8_t) (data [i] & 0xff); linep 1151 src/dps8/dps8_fnp2_iomcmd.c if (linep->frameLen >= 2) linep 1153 src/dps8/dps8_fnp2_iomcmd.c uint16_t target = (uint16_t) ((linep->frame[0] & 0xff) << 8) | (linep->frame[1]); linep 1154 src/dps8/dps8_fnp2_iomcmd.c if (target + 2 >= linep->frameLen) linep 1157 src/dps8/dps8_fnp2_iomcmd.c fnpuv_tun_write (linep); linep 1158 src/dps8/dps8_fnp2_iomcmd.c linep->in_frame = false; linep 1170 src/dps8/dps8_fnp2_iomcmd.c struct t_line * linep = & decoded_p->fudp->MState.line[decoded_p->slot_no]; linep 1215 src/dps8/dps8_fnp2_iomcmd.c if (linep->is_tun && tally > 0) linep 1217 src/dps8/dps8_fnp2_iomcmd.c tun_write (linep, data9, tally); linep 1221 src/dps8/dps8_fnp2_iomcmd.c if (tally > 0 && linep->line_client) linep 1223 src/dps8/dps8_fnp2_iomcmd.c if (! linep->line_client || ! linep->line_client->data) //-V560 linep 1228 src/dps8/dps8_fnp2_iomcmd.c uvClientData * p = linep->line_client->data; linep 1229 src/dps8/dps8_fnp2_iomcmd.c (* p->write_cb) (linep->line_client, data, tally); linep 1327 src/dps8/dps8_fnp2_iomcmd.c struct t_line * linep = & decoded_p->fudp->MState.line[decoded_p->slot_no]; linep 1328 src/dps8/dps8_fnp2_iomcmd.c unsigned char * data_p = linep -> buffer; linep 1330 src/dps8/dps8_fnp2_iomcmd.c n_chars = min(n_chars, linep -> nPos); linep 1341 src/dps8/dps8_fnp2_iomcmd.c { sim_printf ("[%u][FNP emulator: nPos %d long IN: '", decoded_p->slot_no, linep->nPos); linep 1342 src/dps8/dps8_fnp2_iomcmd.c for (uint i = 0; i < linep->nPos; i ++) linep 1344 src/dps8/dps8_fnp2_iomcmd.c if (isgraph (linep->buffer [i])) linep 1345 src/dps8/dps8_fnp2_iomcmd.c sim_printf ("%c", linep->buffer [i]); linep 1347 src/dps8/dps8_fnp2_iomcmd.c sim_printf ("\\%03o", linep->buffer [i]); linep 1380 src/dps8/dps8_fnp2_iomcmd.c l_putbits36_1 (& v, 17, linep->input_break ? 1 : 0); linep 1384 src/dps8/dps8_fnp2_iomcmd.c linep->input_reply_pending = false; linep 1385 src/dps8/dps8_fnp2_iomcmd.c linep->input_break = false; linep 1386 src/dps8/dps8_fnp2_iomcmd.c linep->nPos = 0; linep 1671 src/dps8/dps8_fnp2_iomcmd.c struct t_line * linep = & decoded_p->fudp->MState.line[decoded_p->fudp->fnpMBXlineno[mbx]]; linep 1672 src/dps8/dps8_fnp2_iomcmd.c sim_debug (DBG_TRACE, & fnp_dev, "clearing wait; was %d\n", linep->waitForMbxDone); linep 1673 src/dps8/dps8_fnp2_iomcmd.c linep->waitForMbxDone = false; linep 2371 src/dps8/dps8_fnp2_iomcmd.c struct t_line * linep = & fudp->MState.line[lineno]; linep 2380 src/dps8/dps8_fnp2_iomcmd.c linep->lineType = line_type; linep 281 src/dps8/fnpuv.c struct t_line * linep = & fnpData.fnpUnitData[fnpno].MState.line[lineno]; linep 285 src/dps8/fnpuv.c linep->accept_input = 1; linep 286 src/dps8/fnpuv.c linep->line_break=true; linep 342 src/dps8/fnpuv.c struct t_line * linep = & fnpData.fnpUnitData[p->fnpno].MState.line[p->lineno]; linep 343 src/dps8/fnpuv.c if (linep->service == service_3270) linep 352 src/dps8/fnpuv.c linep -> line_disconnected = DISC_DELAY; linep 354 src/dps8/fnpuv.c linep -> line_disconnected = true; linep 356 src/dps8/fnpuv.c linep -> listen = false; linep 357 src/dps8/fnpuv.c if (linep->inBuffer) linep 358 src/dps8/fnpuv.c FREE (linep->inBuffer); linep 359 src/dps8/fnpuv.c linep->inBuffer = NULL; linep 360 src/dps8/fnpuv.c linep->inSize = 0; linep 361 src/dps8/fnpuv.c linep->inUsed = 0; linep 362 src/dps8/fnpuv.c linep->nPos = 0; linep 364 src/dps8/fnpuv.c if (linep->line_client) linep 368 src/dps8/fnpuv.c linep->line_client = NULL; linep 770 src/dps8/fnpuv.c struct t_line * linep = & fnpData.fnpUnitData[p->fnpno].MState.line[p->lineno]; linep 773 src/dps8/fnpuv.c if (linep->line_client) linep 782 src/dps8/fnpuv.c linep->line_client = client; linep 846 src/dps8/fnpuv.c struct t_line * linep = & fnpData.fnpUnitData[p->fnpno].MState.line[p->lineno]; linep 847 src/dps8/fnpuv.c if (linep->lineType == 0) /* LINE_NONE */ linep 848 src/dps8/fnpuv.c linep->lineType = 1; /* LINE_ASCII */ linep 849 src/dps8/fnpuv.c linep->accept_new_terminal = true; linep 850 src/dps8/fnpuv.c reset_line (linep); linep 929 src/dps8/fnpuv.c struct t_line * linep = & fnpData.fnpUnitData[p->fnpno].MState.line[p->lineno]; linep 935 src/dps8/fnpuv.c linep->acu_dial_failure = true; linep 939 src/dps8/fnpuv.c uv_read_start ((uv_stream_t *) linep->line_client, alloc_buffer, fuv_read_cb); linep 940 src/dps8/fnpuv.c linep->listen = true; linep 941 src/dps8/fnpuv.c if (linep->lineType == 0) /* LINE_NONE */ linep 942 src/dps8/fnpuv.c linep->lineType = 1; /* LINE_ASCII */ linep 943 src/dps8/fnpuv.c linep->accept_new_terminal = true; linep 944 src/dps8/fnpuv.c linep->was_CR = false; linep 945 src/dps8/fnpuv.c linep->line_client->data = p; linep 962 src/dps8/fnpuv.c struct t_line * linep = & fnpData.fnpUnitData[fnpno].MState.line[lineno]; linep 995 src/dps8/fnpuv.c linep->is_tun = false; linep 998 src/dps8/fnpuv.c if (linep->tun_fd <= 0) linep 1001 src/dps8/fnpuv.c linep->tun_fd = tun_alloc (a_name); linep 1002 src/dps8/fnpuv.c if (linep->tun_fd < 0) linep 1004 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: dialout TUN tun_alloc returned %d errno %d]\r\n", linep->tun_fd, errno); linep 1007 src/dps8/fnpuv.c int flags = fcntl (linep->tun_fd, F_GETFL, 0); linep 1014 src/dps8/fnpuv.c int ret = fcntl (linep->tun_fd, F_SETFL, flags); linep 1021 src/dps8/fnpuv.c linep->is_tun = true; linep 1046 src/dps8/fnpuv.c linep->acu_dial_failure = true; linep 1057 src/dps8/fnpuv.c linep->line_client = (uv_tcp_t *) malloc (sizeof (uv_tcp_t)); linep 1058 src/dps8/fnpuv.c if (!linep->line_client) linep 1070 src/dps8/fnpuv.c uv_tcp_init (fnpData.loop, linep->line_client); linep 1091 src/dps8/fnpuv.c linep->line_client->data = p; linep 1097 src/dps8/fnpuv.c p->telnetp = ltnConnect (linep->line_client); linep 1110 src/dps8/fnpuv.c uv_tcp_connect (& linep->doConnect, linep->line_client, (const struct sockaddr *) & dest, on_dialout_connect); linep 1118 src/dps8/fnpuv.c linep 1126 src/dps8/fnpuv.c linep 1127 src/dps8/fnpuv.c linep 1140 src/dps8/fnpuv.c struct t_line * linep = & fnpData.fnpUnitData[fnpno].MState.line[lineno]; linep 1143 src/dps8/fnpuv.c if (linep->server.data) linep 1146 src/dps8/fnpuv.c uv_tcp_init (fnpData.loop, & linep->server); linep 1174 src/dps8/fnpuv.c linep->server.data = p; linep 1175 src/dps8/fnpuv.c linep->line_client = NULL; linep 1178 src/dps8/fnpuv.c uv_ip4_addr (fnpData.telnet_address, linep->port, & addr); linep 1179 src/dps8/fnpuv.c uv_tcp_bind (& linep->server, (const struct sockaddr *) & addr, 0); linep 1180 src/dps8/fnpuv.c int r = uv_listen ((uv_stream_t *) & linep->server, DEFAULT_BACKLOG, linep 1184 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: listen error: %s:%ld: %s]\r\n", fnpData.telnet_address, (long) linep->port, uv_strerror(r)); linep 1186 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: listening on %s:%ld]\r\n", fnpData.telnet_address, (long) linep->port); linep 1205 src/dps8/fnpuv.c struct t_line * linep = & fnpData.fnpUnitData[fnpno].MState.line[lineno]; linep 1206 src/dps8/fnpuv.c if (linep->inBuffer) linep 1208 src/dps8/fnpuv.c unsigned char * new = realloc (linep->inBuffer, (unsigned long) (linep->inSize + nread)); linep 1221 src/dps8/fnpuv.c memcpy (new + linep->inSize, buf, (unsigned long) nread); linep 1222 src/dps8/fnpuv.c linep->inSize += nread; linep 1223 src/dps8/fnpuv.c linep->inBuffer = new; linep 1227 src/dps8/fnpuv.c linep->inBuffer = malloc ((unsigned long) nread); linep 1228 src/dps8/fnpuv.c if (! linep->inBuffer) linep 1240 src/dps8/fnpuv.c memcpy (linep->inBuffer, buf, (unsigned long) nread); linep 1241 src/dps8/fnpuv.c linep->inSize = (uint) nread; linep 1242 src/dps8/fnpuv.c linep->inUsed = 0; linep 1247 src/dps8/fnpuv.c static void fnoTUNProcessLine (int fnpno, int lineno, struct t_line * linep) linep 1251 src/dps8/fnpuv.c ssize_t nread = read (linep->tun_fd, buffer, sizeof (buffer)); linep 1346 src/dps8/fnpuv.c struct t_line * linep = & fnpData.fnpUnitData[fnpno].MState.line[lineno]; linep 1347 src/dps8/fnpuv.c if (linep->is_tun) linep 1348 src/dps8/fnpuv.c fnoTUNProcessLine (fnpno, lineno, linep); linep 62 src/dps8/fnpuv.h void reset_line (struct t_line * linep);