Bug 878656

Summary: tab formatting is off for subscription-manager lists against other languages
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED DUPLICATE QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.0CC: bkearney, mreid
Target Milestone: rc   
Target Release: 7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-25 19:43:35 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:
Bug Depends On:    
Bug Blocks: 863175    

Description John Sefler 2012-11-20 21:27:56 UTC
Description of problem:
This cosmetic issue has been an issue since the beginning of subscription-manager. It would be nice to programmatically implement a fix that works for all languages.

After the implementation of bug 864177 fix, I believe a fix for this bug is possible too.

Because \t (tab characters) are used in the formatting of the labels in the subscription-manager lists, the right column of data may end up out of alignment.  This is especially true for a foreign language.  See the example below.

Version-Release number of selected component (if applicable):
[root@jsefler-6 ~]# rpm -q subscription-manager
subscription-manager-1.1.10-1.el6.x86_64




Steps to Reproduce:
[root@jsefler-6 ~]# LANG=ja_JP.UTF-8 subscription-manager list --consumed
+-------------------------------------------+
   割り当て済みのサブスクリプション
+-------------------------------------------+

サブスクリプション名:    	Awesome OS Workstation Basic
提供:             	Awesome OS Workstation Bits
SKU:                  	awesomeos-workstation-basic
コントラクト:             	24
アカウント:              	12331131231
シリアル番号:        	4037660070686611862
アクティブ:               	True
使用数量:        	1
サービスレベル:        	Standard
サービスタイプ:         	L1-L3
開始日:               	2012年11月16日
終了日:                 	2013年11月16日

サブスクリプション名:    	Awesome OS Server Bundled
提供:             	Clustering Bits
                      	Awesome OS Server Bits
                      	Load Balancing Bits
                      	Large File Support Bits
                      	Shared Storage Bits
                      	Management Bits
SKU:                  	awesomeos-server
コントラクト:             	6
アカウント:              	12331131231
シリアル番号:        	6089209638063166046
アクティブ:               	True
使用数量:        	1
サービスレベル:        	Premium
サービスタイプ:         	Level 3
開始日:               	2012年11月16日
終了日:                 	2013年11月16日

サブスクリプション名:    	Stackable with Awesome OS for x86_64
提供:             	Stackable with Awesome OS for x86_64 Bits
SKU:                  	stackable-with-awesomeos-x86_64
コントラクト:             	72
アカウント:              	12331131231
シリアル番号:        	6126908507015907610
アクティブ:               	True
使用数量:        	1
サービスレベル:        	
サービスタイプ:         	
開始日:               	2012年11月16日
終了日:                 	2013年11月16日

サブスクリプション名:    	Stackable with Awesome OS for x86_64
提供:             	Stackable with Awesome OS for x86_64 Bits
SKU:                  	stackable-with-awesomeos-x86_64
コントラクト:             	73
アカウント:              	12331131231
シリアル番号:        	9158878800597217578
アクティブ:               	True
使用数量:        	1
サービスレベル:        	
サービスタイプ:         	
開始日:               	2012年11月16日
終了日:                 	2013年11月16日


Expected results:
                        ^
                        ^
                        ^
                        ^
                        ^ IT WOULD BE IDEAL IF ALL THE VALUES IN THE
                          RIGHT COLUMN COULD BE UNIFORMLY LINED UP.

Additional Info:
Also see:
root@jsefler-6 ~]# LANG=ja_JP.UTF-8 subscription-manager list --available --all
Note: THIS BUGZILLA MAY NOT DEMONSTRATE THE MIS-ALIGNMENT AS WELL AS A gnome-terminal WITH Edit>Profile Preferences>General>"Use the system fixed width font".

Comment 2 Bryan Kearney 2013-01-25 19:43:35 UTC

*** This bug has been marked as a duplicate of bug 888853 ***