At a CMD prompt, this PHP
echo "abc\rxyz";
shows
xyz
In Tool Output it shows
abc
xyz
i.e. ignores the \r.
This is messing up my /-\| activity monitor.
Anyone know a workaround?
8.0.2 Workaround for Tool Output failure to act on \r?
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
TextPad is not ignoring the carriage return, it's interpreting it as an old-style Mac line terminator.
The job of an editor is to display the characters currently in a (physical or logical) file and, possibly, to enable you to edit them. It is not a dynamic display device that displays the result of executing a sequence of display instructions.
If a carriage return were interpreted as an instruction to return to the beginning of the line you would not be able to see the characters that preceded the carriage return and TextPad would not be doing its job as an editor.
The job of an editor is to display the characters currently in a (physical or logical) file and, possibly, to enable you to edit them. It is not a dynamic display device that displays the result of executing a sequence of display instructions.
If a carriage return were interpreted as an instruction to return to the beginning of the line you would not be able to see the characters that preceded the carriage return and TextPad would not be doing its job as an editor.