Bug 4835 - xterm-256color causes python version check to fail
Summary: xterm-256color causes python version check to fail
Status: RESOLVED FIXED
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.5 M3
Assignee: Hongxu Jia
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-07-10 02:36 UTC by Wenzong.Fan
Modified: 2013-07-30 02:13 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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