Bug 838796

Summary: redundant chars in the output of 'rhc server' for windows
Product: OKD Reporter: Meng Bo <bmeng>
Component: ocAssignee: Fabiano Franz <ffranz>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: johnp, rmillner
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fork_ami_US2597_US2599_US2813_US2817_US2872_US2816_US2814_207 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-06 18:47:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
linux_terminal
none
windows_cmd none

Description Meng Bo 2012-07-10 07:49:56 UTC
Description of problem:
Using rhc server in windows prompt, there are some redundant characters in the output.

Version-Release number of selected component (if applicable):
rhc-0.95.11

How reproducible:
always

Steps to Reproduce:
1.rhc server
2.
3.
  
Actual results:
    C:\Users\Administrator\openshifttest>rhc server
    ←[1m#26 issue1←[0m
        Opened       3:31 AM
        aaaaaaaaaaa  3:31 AM
     
    ←[33m1 open issue←[0m
     
    C:\Users\Administrator\openshifttest>rhc server
    ←[32mAll systems running fine←[0m


Expected results:
The output should be more beautiful.

Additional info:
The output under linux 
[bmeng@localhost openshift_testdir]$ rhc server
#26 issue1                                     <---- This line is bold
    Opened       3:31 AM
    aaaaaaaaaaa  3:31 AM

1 open issue                                   <---- This line is yellow
[bmeng@localhost openshift_testdir]$ rhc server
All systems running fine                       <---- This line is green

Comment 1 Meng Bo 2012-07-10 10:23:19 UTC
Created attachment 597289 [details]
linux_terminal

Comment 2 Meng Bo 2012-07-10 10:23:45 UTC
Created attachment 597290 [details]
windows_cmd

Comment 3 Meng Bo 2012-07-10 10:24:21 UTC
Add snapshots for the two platforms.

Comment 4 Clayton Coleman 2012-07-12 19:02:19 UTC
This is colors and TTY on windows... surprised that these aren't automatically excluded, cause they should be.

Comment 5 Fabiano Franz 2012-10-04 19:11:47 UTC
Fixed in the rhc refactorings.

Comment 6 Meng Bo 2012-10-08 11:07:57 UTC
Checked with rhc_fork_ami_209,

rhc server output on windows does not have the redundant strings now.

    C:\Users\Administrator\openshifttest>rhc server
    All systems running fine