Bug 4835

Summary: xterm-256color causes python version check to fail
Product: [Yocto Project Subprojects] ADT Reporter: Wenzong.Fan <wenzong.fan>
Component: adtAssignee: Hongxu Jia <hongxu.jia>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: hongxu.jia, poky.adt.watcher, poky.watcher
Version: 1.5   
Target Milestone: 1.5 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Wenzong.Fan 2013-07-10 02:36:46 UTC
This is something similar with the bug:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=4732

That bug has been marked as RESOLVED, but the TERM=xterm-color still causes python version check to fail on Fedora/OpenSuse. Open a specific one to track this issue.
Comment 1 Wenzong.Fan 2013-07-12 07:55:03 UTC
To reproduce this bug with a simple ways:

1) build python sdk
2) export XTERM=xterm-256color; ./prebuilt-sdk-python -c "print 'hello'" |hexdump -c

Look for '1034h' from output, we expect output 'hello' but not '1034hhello'.
Comment 2 Wenzong.Fan 2013-07-12 07:55:51 UTC
(In reply to comment #1)
> To reproduce this bug with a simple ways:
> 
> 1) build python sdk
> 2) export XTERM=xterm-256color; ./prebuilt-sdk-python -c "print 'hello'"
> |hexdump -c
> 
> Look for '1034h' from output, we expect output 'hello' but not '1034hhello'.

should be:

export TERM=xterm-256color;
Comment 4 Hongxu Jia 2013-07-18 06:55:51 UTC
The issue is still there, see the following site for detail:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4732