You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Ittay Dror (JIRA)" <ji...@apache.org> on 2008/11/09 17:06:44 UTC
[jira] Created: (BUILDR-208) ansi control characters are printed in
windows
ansi control characters are printed in windows
----------------------------------------------
Key: BUILDR-208
URL: https://issues.apache.org/jira/browse/BUILDR-208
Project: Buildr
Issue Type: Bug
Components: Core features
Affects Versions: 1.3.4
Reporter: Ittay Dror
Fix For: 1.3.4
if there are errors when running buildr in a windows cmd session they are printed with the ansi control characters that cmd doesn't interpret, resulting in something like:
←[31mundefined method...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (BUILDR-208) ansi control characters are printed in
windows
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Boisvert updated BUILDR-208:
---------------------------------
Fix Version/s: 1.4
> ansi control characters are printed in windows
> ----------------------------------------------
>
> Key: BUILDR-208
> URL: https://issues.apache.org/jira/browse/BUILDR-208
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.3.4
> Reporter: Ittay Dror
> Fix For: 1.4
>
> Attachments: highline.patch
>
>
> if there are errors when running buildr in a windows cmd session they are printed with the ansi control characters that cmd doesn't interpret, resulting in something like:
> ←[31mundefined method...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (BUILDR-208) ansi control characters are printed
in windows
Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Toulme resolved BUILDR-208.
-----------------------------------
Resolution: Fixed
Assignee: Antoine Toulme
Marked as fixed as per previous comment.
> ansi control characters are printed in windows
> ----------------------------------------------
>
> Key: BUILDR-208
> URL: https://issues.apache.org/jira/browse/BUILDR-208
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.3.4
> Reporter: Ittay Dror
> Assignee: Antoine Toulme
> Fix For: 1.4
>
> Attachments: highline.patch
>
>
> if there are errors when running buildr in a windows cmd session they are printed with the ansi control characters that cmd doesn't interpret, resulting in something like:
> ←[31mundefined method...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BUILDR-208) ansi control characters are printed
in windows
Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845970#action_12845970 ]
Antoine Toulme commented on BUILDR-208:
---------------------------------------
I committed your patch, thank you very much !
~/w/buildr>svn ci CHANGELOG lib/buildr/core/application.rb -m "fix for BUILDR-208 ansi control characters are printed in windows (Pepijn Van Eeckhoudt)"
Sending CHANGELOG
Sending lib/buildr/core/application.rb
Transmitting file data ..
Committed revision 923837.
> ansi control characters are printed in windows
> ----------------------------------------------
>
> Key: BUILDR-208
> URL: https://issues.apache.org/jira/browse/BUILDR-208
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.3.4
> Reporter: Ittay Dror
> Attachments: highline.patch
>
>
> if there are errors when running buildr in a windows cmd session they are printed with the ansi control characters that cmd doesn't interpret, resulting in something like:
> ←[31mundefined method...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BUILDR-208) ansi control characters are printed
in windows
Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853086#action_12853086 ]
Antoine Toulme commented on BUILDR-208:
---------------------------------------
Will, I lack a Windows machine to help with this.
Can I ask you to do something for me ?
Run:
irb
and in the irb shell type:
Config::CONFIG['host_os']
And paste here what it returns. Thanks!
> ansi control characters are printed in windows
> ----------------------------------------------
>
> Key: BUILDR-208
> URL: https://issues.apache.org/jira/browse/BUILDR-208
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.3.4
> Reporter: Ittay Dror
> Assignee: Antoine Toulme
> Fix For: 1.4
>
> Attachments: highline.patch
>
>
> if there are errors when running buildr in a windows cmd session they are printed with the ansi control characters that cmd doesn't interpret, resulting in something like:
> ←[31mundefined method...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (BUILDR-208) ansi control characters are printed
in windows
Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Toulme resolved BUILDR-208.
-----------------------------------
Resolution: Fixed
Allright, here is a new attempt:
13:42:28~/w/buildr>svn ci lib/buildr/core/application.rb -m "fix for BUILDR-208 ansi control characters are printed in windows"
Sending lib/buildr/core/application.rb
Transmitting file data .
Committed revision 930576.
I am making the regular expression more resilient, reusing the expression found here:
http://github.com/markryall/splat/blob/master/lib/splat.rb
Please update and test.
> ansi control characters are printed in windows
> ----------------------------------------------
>
> Key: BUILDR-208
> URL: https://issues.apache.org/jira/browse/BUILDR-208
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.3.4
> Reporter: Ittay Dror
> Assignee: Antoine Toulme
> Fix For: 1.4
>
> Attachments: highline.patch
>
>
> if there are errors when running buildr in a windows cmd session they are printed with the ansi control characters that cmd doesn't interpret, resulting in something like:
> ←[31mundefined method...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BUILDR-208) ansi control characters are printed
in windows
Posted by "Will Rogers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847501#action_12847501 ]
Will Rogers commented on BUILDR-208:
------------------------------------
I am running buildr r924899 (post-patch) and I have win32console installed and I still get ANSI escape sequences printed to my console. Completion message for example says "←[32mCompleted in 19.879s←[0m".
ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]
win32console (1.3.0)
OS Name: Microsoft Windows 7 Professional
OS Version: 6.1.7600 N/A Build 7600
> ansi control characters are printed in windows
> ----------------------------------------------
>
> Key: BUILDR-208
> URL: https://issues.apache.org/jira/browse/BUILDR-208
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.3.4
> Reporter: Ittay Dror
> Assignee: Antoine Toulme
> Fix For: 1.4
>
> Attachments: highline.patch
>
>
> if there are errors when running buildr in a windows cmd session they are printed with the ansi control characters that cmd doesn't interpret, resulting in something like:
> ←[31mundefined method...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (BUILDR-208) ansi control characters are printed in
windows
Posted by "Pepijn Van Eeckhoudt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pepijn Van Eeckhoudt updated BUILDR-208:
----------------------------------------
Attachment: highline.patch
This is caused by the init code for highline. The win32console gem is needed to handle ansi escape sequences on windows, but this gem is not explicitly required in the gem spec. The require of Win32/Console/ANSI is attempted in a begin/rescue block however if the load fails, the default use_color value from highline is used which is 'true'. This patch correctly sets use_color in all cases.
> ansi control characters are printed in windows
> ----------------------------------------------
>
> Key: BUILDR-208
> URL: https://issues.apache.org/jira/browse/BUILDR-208
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.3.4
> Reporter: Ittay Dror
> Attachments: highline.patch
>
>
> if there are errors when running buildr in a windows cmd session they are printed with the ansi control characters that cmd doesn't interpret, resulting in something like:
> ←[31mundefined method...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BUILDR-208) ansi control characters are printed
in windows
Posted by "Will Rogers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853383#action_12853383 ]
Will Rogers commented on BUILDR-208:
------------------------------------
Works. Thanks.
> ansi control characters are printed in windows
> ----------------------------------------------
>
> Key: BUILDR-208
> URL: https://issues.apache.org/jira/browse/BUILDR-208
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.3.4
> Reporter: Ittay Dror
> Assignee: Antoine Toulme
> Fix For: 1.4
>
> Attachments: highline.patch
>
>
> if there are errors when running buildr in a windows cmd session they are printed with the ansi control characters that cmd doesn't interpret, resulting in something like:
> ←[31mundefined method...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BUILDR-208) ansi control characters are printed
in windows
Posted by "Will Rogers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853153#action_12853153 ]
Will Rogers commented on BUILDR-208:
------------------------------------
mingw32
> ansi control characters are printed in windows
> ----------------------------------------------
>
> Key: BUILDR-208
> URL: https://issues.apache.org/jira/browse/BUILDR-208
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.3.4
> Reporter: Ittay Dror
> Assignee: Antoine Toulme
> Fix For: 1.4
>
> Attachments: highline.patch
>
>
> if there are errors when running buildr in a windows cmd session they are printed with the ansi control characters that cmd doesn't interpret, resulting in something like:
> ←[31mundefined method...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (BUILDR-208) ansi control characters are printed
in windows
Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antoine Toulme reopened BUILDR-208:
-----------------------------------
Reopening then.
> ansi control characters are printed in windows
> ----------------------------------------------
>
> Key: BUILDR-208
> URL: https://issues.apache.org/jira/browse/BUILDR-208
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.3.4
> Reporter: Ittay Dror
> Assignee: Antoine Toulme
> Fix For: 1.4
>
> Attachments: highline.patch
>
>
> if there are errors when running buildr in a windows cmd session they are printed with the ansi control characters that cmd doesn't interpret, resulting in something like:
> ←[31mundefined method...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.