Re: 3.0.0 bug in puts
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Oct 20, 2006
- 547 views
Robert Craig wrote: > > Pete Lomax wrote: > > There seems to be something wrong with puts to console in 3.0.0 > > }}} <eucode> > > puts(1,"\tWS_EX_NOINHERITLAYOUT = #00100000, -- Disable inheritence of > > mirroring by children\n") > > </eucode> {{{ > > (all one line) under 2.4 I get a single line split at "by" (ie col 80) > > whereas under 3.0.0 I get line splits at "rr", "by", and "re". Add and > > remove leading tabs for more weird effects, it seems to be auto-lining > > up/splitting text with the end of the initial tabs (ie column 8). > > Thanks. I see something similar with exw, but not with ex or exu. > exw looks fine if I remove the leading \t. > I'll look into it tomorrow. It might be an accidental > change related to removing ncurses in the Linux/FreeBSD code. > Maybe I changed the Windows console code somehow. > When I remove the tab, it loses the last letter of "children". However, when I redirect to a file (even without removing the tab) it looks fine. I've also noticed that the trace screen with exw, the code cuts off at about 48 screen characters if the line has a tab. If lines are indented with spaces, everything looks fine. Matt Lewis