Bug 403588 - SSH Terminal glitch - current line partially disappears
Summary: SSH Terminal glitch - current line partially disappears
Status: CLOSED DUPLICATE of bug 404341
Alias: None
Product: Target Management
Classification: Tools
Component: Terminal (show other bugs)
Version: 3.4.1   Edit
Hardware: PC Mac OS X
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: dsdp.tm.core-inbox CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: ui, usability
Depends on:
Blocks:
 
Reported: 2013-03-17 18:55 EDT by Vadim Yusanenko CLA
Modified: 2013-04-10 17:00 EDT (History)
3 users (show)

See Also:


Attachments
Screenshot with aforementioned issue (28.48 KB, image/png)
2013-03-17 18:55 EDT, Vadim Yusanenko CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim Yusanenko CLA 2013-03-17 18:55:47 EDT
Created attachment 228549 [details]
Screenshot with aforementioned issue

Hi, Target Management Team!

Thanks for all your work, this project is really very important and makes Eclipse much more usable and productive tool for a developer.

But, issues are present as always =)

Severity is major - because this glitch triggers using the Remote Systems Tool SSH terminals completely unusable to developer.

========

Steps to reproduce:
* Become Mac OS X 10.7.5 user
* Connect to remote Linux machine
* Start SSH terminal
* Execute command, after that press up or down arrows a few times (sometimes backspace or tab triggers this glitch too)
! Half of the line becomes invisible.

Sometimes it is just shell identifier, sometimes with part of the entered command.

========

Thanks again for this project, it has quite a potential.
Comment 1 Martin Oberhuber CLA 2013-03-17 19:18:06 EDT
Hello Vadim,

What is the exact Eclipse Platform version your are using? And, is this the original genuine TM.Terminal or is it integrated somewhere else ?

We fixed some redraw problems recently through bug 401386 and bug 401480 . Please download an unmodified Eclipse Platform (I'd personally recommend Eclipse SDK 3.8.2), then install TM Terminal from the most recent TM Nightly Build and see if you can still reproduce the issue:

https://hudson.eclipse.org/hudson/job/tm-master-nightly/
http://download.eclipse.org/eclipse/downloads/drops/R-3.8.2-201301310800/

Thanks,
Martin
Comment 2 Vadim Yusanenko CLA 2013-03-17 20:06:39 EDT
Hi Martin,

Forgot to mention the most important thing - software version =)

I am using vanilla Eclipse Classic 4.2.2 + RSE End-User runtime 3.4.1.

Are you suggesting legacy stable branch of Eclipse because new one has some known issues with RSE or just because of old platform's maturity and stability?

4.2.0 was pretty buggy (especially on Mac OS), but 4.2.2 has quite some positive changes as for me.

Just wanted to clarify. Will check nightly tomorrow.

Thanks for your response.
Comment 3 Martin Oberhuber CLA 2013-03-17 20:32:26 EDT
I just want to eliminate any problems outside TM-Terminal. As far as I know, 4.2.2 and 3.8.2 use the same SWT version so there should not be any differences, but who knows...

Please also let me know whether you use the plain TM Terminal (Window > Show View > Other > Terminal : Terminal), or the RSE Terminals View. If possible, try out your use-case in both.

It would also help if you mkdir /tmp/eclipselogs as per bug 209665 , and attach the log of your session in case it still fails with latest.
Comment 4 Oliver Trosien CLA 2013-04-10 16:12:02 EDT
I have the same issue, and it's pretty annoying. It appears when the cursor is at the last position within the line, and I press the backspace key. Please fix this issue soonish.

My installation details:

eclipse.buildId=M20130204-1200 (Eclipse for Java Dev, Juno Service Release 2)
java.version=1.7.0_15
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
os.arch=amd64
os.name=Windows 7

RSE Core: 3.4.1.201302122026
Terminal SSH connector: 2.1.200.201301080822
Terminal View: 2.4.1.201301031142

Connected to RedHat Enterprise 6 Server.

$ echo $TERM
ansi

$ stty -a
speed 38400 baud; rows 21; columns 126; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S;
susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -cdtrdsr
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke

Hope that helps.
Comment 5 Martin Oberhuber CLA 2013-04-10 17:00:53 EDT
I think the "version" you entered is wrong - TM 3.4.1 was good, the regression came only in TM 3.4.2.

As a workaround you can update TM Terminal from a nightly or Kepler Milestone site, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=401386#c13 .

We are working on a TM 3.4.3 release on the main TM update site, such that "Help > Check for Updates" will pull in the fix. This is tracked in bug 404341 .

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