TD_REPORT
DIAG((TD_REPORT | TD_NETDATA),
diagnostic |= TD_REPORT|TD_OPTIONS;
DIAG(TD_REPORT, output_data("td: Entering processing loop\r\n"));
DIAG(TD_REPORT | TD_PTYDATA,
DIAG(TD_REPORT, {
DIAG(TD_REPORT, output_data("td: ttloop\r\n"));
DIAG(TD_REPORT, output_data("td: ttloop read %d chars\r\n", ncc));