<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'>Actually, lack of good flow control was what inspired me to really learn vi really well. I used to program all the time on a dumb terminal connected to a Unix box, and if you just held down an arrow key to get midway across the screen, the whole session would become jumbled and you'd have to refresh. So I learned all the obscure vi keys to move around the screen and file instead of arrow/page keys. Once internalized, it made me much more efficient even after I had a reliable terminal connection or full desktop.<div><br></div><div>Scott<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Jim Kinney" <jim.kinney@gmail.com><br><b>To: </b>"Chris Fowler" <cfowler@outpostsentinel.com>, "Atlanta Linux Enthusiasts" <ale@ale.org>, "Chris Fowler via Ale" <ale@ale.org>, "Scott Plante" <splante@insightsys.com><br><b>Sent: </b>Thursday, October 25, 2018 8:12:39 PM<br><b>Subject: </b>Re: [ale] Connecting to r-pi<br><br>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"><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;"><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><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;"><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;"><span style="font-family: arial, helvetica, sans-serif;"><span 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;"><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000;"><div><span style="font-family: arial, helvetica, sans-serif;"><br></span></div><div><span style="font-family: 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></div><div><br></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></div><div><br></div><div>My Okidata days are 20 years behind me. :)<br></div></div><div><br></div><div><br></div></div></blockquote></div></div><br></div></div></body></html>