Bugs item #3309505, was opened at 2011-05-30 21:34 Message generated for change (Comment added) made by seb_kuzminsky You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3309505&group_id=6744
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Chyn2000 (chyn2000) Assigned to: Sebastian Kuzminsky (seb_kuzminsky) Summary: emcrsh : strings ending with just \n, and not \r\n ignored Initial Comment: Hello, I would like to ask for either more robustness added to the parser handling incoming strings, or documentation stating that the incoming strings should be terminated with \r\n. I spent a lot of time trying to figure out why emcrsh wouldn't respond to my home brew telnet program (the start of a C based remote interface for EMC2). I figured it was my code until I finally dissected the emcrsh server code. Thanks a lot for all the amazing work done to make EMC2 so flexible and still very usable! ---------------------------------------------------------------------- >Comment By: Sebastian Kuzminsky (seb_kuzminsky) Date: 2011-06-01 01:38 Message: The '\r\n' line ending behavior has been documented in the new emcrsh.1 manpage. I also changed emcrsh (and its manpage) in the 2.5 branch to accept any sequence of '\r' and '\n' characters as a line ending. ---------------------------------------------------------------------- Comment By: Chyn2000 (chyn2000) Date: 2011-05-31 20:48 Message: Seb, Thanks for adding the documentation. I have seen the page you refer to. It has been my primary source. I used it with the telnet client to verify emcrsh would work for me. And it did very well. Since emcrsh worked with telnet and wouldn't respond to my program, I figured I had programmed something wrong. I have been off in Perl land for a while and was rusty coming back. Let me tell you, this is probably the biggest draw back to knowing many programming languages: trying to keep them all straight... Again, Thanks a ton, Reg ---------------------------------------------------------------------- Comment By: Sebastian Kuzminsky (seb_kuzminsky) Date: 2011-05-31 10:13 Message: I've been using emcrsh some lately, i'll add a manpage. In the meanwhile, have you seen the documentation on the wiki? It doesn't mention the line endings issue you ran in to, but it's got lots of other good info: http://wiki.linuxcnc.org/emcinfo.pl?Emcrsh ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=106744&aid=3309505&group_id=6744 ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
