<html><head></head><body>Alcohol cures all flow control memories. I have no idea what you just said :-)<br><br>Had to calculate and test timings in early grad school. Signal propogation time in wire plus time in detection circuits plus time to trigger action on detection plus actual signal length, etc. Now add in the blasted data collection system was getting data from multiple sources with different timings, yeah. Fun stuff. <br><br><div class="gmail_quote">On October 25, 2018 6:26:55 PM EDT, Chris Fowler via Ale <ale@ale.org> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Scott Plante via Ale" <ale@ale.org><br><b>To: </b>"Alex Carver" <agcarver+ale@acarver.net>, "Atlanta Linux Enthusiasts" <ale@ale.org><br><b>Sent: </b>Wednesday, October 24, 2018 4:03:34 PM<br><b>Subject: </b>Re: [ale] Connecting to r-pi<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;"><span data-mce-style="font-family: arial, helvetica, sans-serif;" style="font-family: arial, helvetica, sans-serif;" face="arial, helvetica, sans-serif"><span style="font-size: 12pt;" data-mce-style="font-size: 12pt;">If you're inclined to believe Wikipedia, the early teletypes would actually perform a carriage return to the left and line feed the paper up one row on a LF, but the CR was necessary because of timing--it took longer than the gap between characters to physically return the print head so they added the CR to allow enough time. Apparently they sometimes had to add NULs as well. Even some CRT terminals took too long to scroll all the text up. Apparently they didn't have flow control back then.</span></span></div></blockquote>Very small buffers.  Very small.  I had a similar problem automating Nortel Merdian PBX over its console.  I wrapped up the expect send into a function that put a pause between each character.  I basically automated the PBX and had to also simulate a person typing in the commands.   If not, the PBX missed characters I had sent.  If a T1/PRI failed the program would try to bring up and check.  If it was still in alarm it would report the alarm and create the ticket.  <br><div><br></div><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;"><div><span data-mce-style="font-family: arial, helvetica, sans-serif;" style="font-family: arial, helvetica, sans-serif;" face="arial, helvetica, sans-serif"><br></span></div><div><span data-mce-style="font-family: arial, helvetica, sans-serif;" style="font-family: arial, helvetica, sans-serif;" face="arial, helvetica, sans-serif">I used to have a TRS-80 and a "Gorilla Banana" printer. I could never get the flow control to work with it, and had to write a program to print stuff. It would manually pause a fraction of a second after each line before sending the next one to the port. Those were the days! ha ha</span></div></div></blockquote>I was hoping I would never hear about flow control and serial printers ever again.  And here you are...<br><div><br></div><div>XON/XOFF flow control is software and does have a tendancy to not work well with small buffer serial printers. <br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Hardware could be either DTS/DSR or CTS/RTS flow on the printer.   Using that would have made it work better.  The problem is that you need to know what flow the printer supports or you need to set the DIP switches to the flow you want. <br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>My Okidata days are 20 years behind me. :)<br data-mce-bogus="1"></div></div><div data-marker="__QUOTED_TEXT__"><br data-mce-bogus="1"></div><div data-marker="__QUOTED_TEXT__"><br data-mce-bogus="1"></div></div></blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. All tyopes are thumb related and reflect authenticity.</body></html>