I think I've fixed this! A big thanks to Rony...his method for reproducing this was 100% effective once Mark gave me the key to getting it to work. The problem only seemed to occur if our buffering is turned off for stdin. When buffering was turned off, I would consistently see the bogus character when _read() was called for the first line. With buffering turned on, the _read() call would generally retrieve up to the next complete line in one call and all of the characters look good. Now comes the concrete test...seeing if this works for Mike!
Rick On Mon, Apr 27, 2009 at 11:28 AM, Rick McGuire <object.r...@gmail.com> wrote: > This is useful. I now have a consistent means of reproducing this, > I'm able to gather a little more debug info. Unfortunately, what I've > gotten so far just confirms what I already new...that the bogus > character is coming from the C runtime routine. > > RIck > > On Mon, Apr 27, 2009 at 11:17 AM, Mark Miesfeld <miesf...@gmail.com> wrote: >> On Mon, Apr 27, 2009 at 8:09 AM, Rick McGuire <object.r...@gmail.com> wrote: >> >>> Ok, I've got the magic incantation correct now too. The key was not >>> picking up the EOL for the exit command but physically hitting enter. >>> I seem able to reproduce this reliably now too. >> >> That's good. I tried commenting out _setMode(fileHandle, _O_BINARY); >> in setStdIn and it didn't seem to help. >> >> -- >> Mark Miesfeld >> >> ------------------------------------------------------------------------------ >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensign option that enables unlimited >> royalty-free distribution of the report engine for externally facing >> server and web deployment. >> http://p.sf.net/sfu/businessobjects >> _______________________________________________ >> Oorexx-devel mailing list >> Oorexx-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/oorexx-devel >> > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel