Bug 5328

Summary: LatencyTop console has random characters and the arrow keys to display processes don't work right
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Tudor Florea <tudor.florea>
Component: eclipse-pluginAssignee: Jessica <jessica.zhang>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: dvhart, ioanax.grigoropol, yp.ep.watcher, yp.watcher
Version: unspecified   
Target Milestone: 1.6   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
snapshot containing non readable LatencyTop console
none
LatencyTop console Screenshot - Eclipse Juno none

Description Tudor Florea 2013-10-09 13:52:15 UTC
Created attachment 1556 [details]
snapshot containing non readable LatencyTop console

LatencyTop console has random characters and the arrow keys to display processes don't work right as per attachment.
Need to replace vt100 terminal emulator with xterm as per this thread:
https://lists.yoctoproject.org/pipermail/yocto/2013-September/018538.html
Patch sent for review:
https://lists.yoctoproject.org/pipermail/yocto/2013-October/018581.html
Comment 2 Tudor Florea 2013-10-15 08:38:26 UTC
Hi Jessica,
Thank you for your quick follow up on this. Indeed, your approach for the fix is more consistent.
Unfortunately, the commit for eclipse-poky-juno branch (http://git.yoctoproject.org/cgit/cgit.cgi/eclipse-poky-juno/commit/?id=f55ee82475d714ca4dbb4e52399fc3a55ef6f4d8) have one line missing:
In the file TerminalHandler.java around the line 100 we need to use "changeTerm()" instead of "changeTerm".
Thank you,
  Tudor.
Comment 3 Tudor Florea 2013-10-15 08:40:11 UTC
reopening to add the missing line
Comment 5 Ada Solcan 2014-01-07 11:24:34 UTC
Created attachment 1705 [details]
LatencyTop console Screenshot - Eclipse Juno

I've tested this and in Juno the LatencyTop console still has non-readable characters, as you can see in the attachment. In Kepler I can't reproduce this.
Tudor, can you manage to reproduce this issue in Juno?
Comment 6 Tudor Florea 2014-01-15 21:07:16 UTC
I have retested and it works fine now.
The commands executed in the terminal are:
export TERM=xterm;export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin; cd; 
sudo latencytop.
Ada, can you double ckeck you have the second commit from Jessica (http://git.yoctoproject.org/cgit.cgi/eclipse-poky-juno/commit/?id=0c70ec13640f5ff5674eef6125d66d9d5b97fa3e)?