ANSICON 在 Windows 7 Enterprise 64 位上运行的问题 [英] Issue getting ANSICON working on Windows 7 Enterprise 64-bit

查看:23
本文介绍了ANSICON 在 Windows 7 Enterprise 64 位上运行的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使 1.50 或 1.40 ANSICON (https://github.com/adoxa/ansicon) 正常工作,并且查看了很多关于如何安装它的页面:http://blog.mmediasys.com/2010/11/24/we-all-love-colors/http://carol-nichols.com/2011/03/the-system-cannot-find-the-path-specified/

I have been trying to get 1.50 or 1.40 ANSICON (https://github.com/adoxa/ansicon) working and have looked at sooooo many pages telling about how to install this: http://blog.mmediasys.com/2010/11/24/we-all-love-colors/ http://carol-nichols.com/2011/03/the-system-cannot-find-the-path-specified/

等等....

所以,我将 AutoRun 设置为 "C:usrinansi140x64ansicon.exe" -p,我也测试了 150,但变化为零.

So, I have my AutoRun set to "C:usrinansi140x64ansicon.exe" -p and I also testing 150 but there was zero change.

我的整个团队都没有问题,但我无法让它工作..我仍然在命令提示符下看到乱码:

My entire team has this working with no issues but I cannot get this to work.. I still get the garbled junk on the command prompt:

  Scenario: Residential caller chooses to hear payment locations closest to home and there are 3 locations available which are in a 25 miles radius.?[90m #
 featurespayment_locations.feature:5?[0m
    ?[32mGiven the call flow is '?[32m?[1mDivisional?[0m?[0m?[32m'?[90m
                          # features/step_definitions/common_steps.rb:5?[0m?[0m
    ?[32mAnd the ani is '?[32m?[1m6101234572?[0m?[0m?[32m'?[90m
                          # features/step_definitions/common_steps.rb:9?[0m?[0m
    ?[32mAnd the dnis is '?[32m?[1m9?[0m?[0m?[32m'?[90m
                          # features/step_definitions/common_steps.rb:13?[0m?[0m
    ?[31mWhen the call is started?[90m
    # features/step_definitions/common_steps.rb:17?[0m?[0m
?[31m      Connection refused - Connection refused (Errno::ECONNREFUSED)?[0m
?[31m      org/jruby/ext/socket/RubyTCPSocket.java:121:in `initialize'?[0m
?[31m      org/jruby/RubyIO.java:864:in `new'?[0m
?[31m      org/jruby/ext/socket/RubyTCPSocket.java:147:in `open'?[0m
?[31m      c:/usr/bin/jruby-1.6.4/lib/ruby/1.8/net/http.rb:560:in `connect'?[0m
?[31m      org/jruby/ext/Timeout.java:79:in `timeout'?[0m
?[31m      c:/usr/bin/jruby-1.6.4/lib/ruby/1.8/net/http.rb:560:in `connect'?[0m
?[31m      c:/usr/bin/jruby-1.6.4/lib/ruby/1.8/net/http.rb:553:in `do_start'?[0m
?[31m      c:/usr/bin/jruby-1.6.4/lib/ruby/1.8/net/http.rb:548:in `start'?[0m
?[31m      org/jruby/RubyKernel.java:2100:in `send'?[0m
?[31m      ./features/support/request_helper.rb:12:in `request'?[0m
?[31m      ./features/support/request_helper.rb:4:in `get'?[0m
?[31m      ./features/step_definitions/common_steps.rb:22:in `(root)':in `/^the call is started$/'?[0m
?[31m      featurespayment_locations.feature:9:in `When the call is started'?[0m

当我使用相同笔记本电脑的其他团队没有遇到此问题时,任何人都可以帮助我尝试理解为什么我会遇到此问题吗?

Can anyone PLEASE help me try to understand why I am having this issue when the rest of my team with the same laptops are not having this issue?

从第一条评论

我尝试了您的要求并最终使用此选项卡设置:

I tried what you asked and ende dup with this tab setting:

    <tab title="ANSICON" icon="linux.ico" use_default_icon="0">
        <console shell="C:usrinansi150x64ansicon.exe" init_dir="C:usrgit_workspacesd2" run_as_user="0" user=""/>
        <cursor style="0" r="255" g="255" b="255"/>
        <background type="0" r="0" g="0" b="0">
            <image file="" relative="0" extend="0" position="0">
                <tint opacity="0" r="0" g="0" b="0"/>
            </image>
        </background>
    </tab>

问题依旧存在

    ?[0m  ?[36m    <catch event="error">
    ?[0m  ?[36m        <submit next="/d2/exception/handleVoiceBrowserError.vxml" namelist="_event _message" />
    ?[0m  ?[36m    </catch>
    ?[0m  ?[36m
          ?[36m</vxml>?[0m
        ?[32mThen play the payment locations?[90m
                                                          # features/step_definitions/billing_steps.rb:360?[0m?[0m
        ?[32mThen caller hangs up the phone?[90m
                                                          # features/step_definitions/goodbye_steps.rb:1?[0m?[0m

    1 scenario (?[32m1 passed?[0m)
    32 steps (?[32m32 passed?[0m)
    0m10.302s

我似乎也有术语-ansicolor gem,所以这应该有效

I also seem to have the term-ansicolor gem so this should be working

*** LOCAL GEMS ***

atoulme-Antwrap (0.7.1 java)
bouncy-castle-java (1.5.0146.1)
builder (2.1.2)
buildr (1.4.6 java)
buildr-xivr (0.0.6, 0.0.4)
bundler (1.0.20)
crack (0.1.8)
cucumber (1.0.0, 0.10.2)
diff-lcs (1.1.2)
gherkin (2.4.21 java, 2.4.16 java, 2.3.8 java)
highline (1.5.1)
hoe (2.3.3)
hpricot (0.8.3 java)
httparty (0.7.8, 0.7.7)
jruby-openssl (0.7.5, 0.7.4)
jruby-win32ole (0.8.5)
json (1.6.5 java, 1.5.4 java, 1.5.1 java)
json_pure (1.4.3)
mechanize (1.0.0)
minitar (0.5.3)
net-scp (1.0.4)
net-sftp (2.0.4)
net-ssh (2.0.23)
nokogiri (1.5.0 java, 1.5.0.beta.4 java)
rake (0.8.7)
rspec (2.1.0, 1.3.2)
rspec-core (2.1.0)
rspec-expectations (2.1.0)
rspec-mocks (2.1.0)
rubyforge (2.0.3)
rubygems-update (1.8.10)
rubyzip (0.9.4)
sources (0.0.1)
term-ansicolor (1.0.7, 1.0.6, 1.0.5)
xml-simple (1.0.12)

但事实并非如此.无论是在 Cygwin 还是 CMD 上.情节加厚

but it is not. Neither on Cygwin nor CMD. The plot thickens

推荐答案

使用 ansicon 有效.此外,您可能想查看 Console2 以获得出色的多选项卡控制台.

Using ansicon worked. Additionally, you may want to check out Console2 for an excellent multi-tabbed console.

  1. 将ansi152/x64解压到,比如C:AppsConsole
  2. 配置控制台以使用不同的 shell 运行,即.PowerShell、cmd、gitbash
  3. 在控制台中从 运行 ansicon -i.
  1. Extract ansi152/x64 into <console-install-dir>, say C:AppsConsole
  2. Configure console to run with different shells, ie. powershell, cmd, gitbash
  3. Run ansicon -i from <console-install-dir>, in console.

附注.您可能需要将 console-install-dir 添加到您的 $env:path 中.

PS. You may need to add console-install-dir into your $env:path.

这篇关于ANSICON 在 Windows 7 Enterprise 64 位上运行的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆