This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 174955 - [terminal-ssh] Terminal should go to "disconnected" state when typing "exit"
Summary: [terminal-ssh] Terminal should go to "disconnected" state when typing "exit"
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: Terminal (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 2.0   Edit
Assignee: Michael Scharf CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-21 08:13 EST by Martin Oberhuber CLA
Modified: 2008-08-13 13:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2007-02-21 08:13:56 EST
Connect terminal-ssh to build.eclipse.org.
Type "exit" on the remote side so the connection is apparently closed.

The terminal view, however, still shows "connected" state.
It should be notified about the dropped connection and change to "disconnected".

-----------Enter bugs above this line-----------
TM 2.0M5 Testing
installation : eclipse-SDK-3.3M5 (I20070209-1006), cdt-4.0M5, emf-2.3M5
RSE install  : RSE-SDK I20070219-1645 + discovery + efs
java.runtime : Sun 1.4.2_13
os.name:     : Windows XP 5.1, Service Pack 1
------------------------------------------------
systemtype   : Unix-ssh / Linux-dstore-processes
targetos     : Red Hat Enterprise Linux WS release 4 (Nahant Update 3)
targetuname  : Linux parser.takefive.co.at 2.6.9-34.EL #1 Fri Feb 24 16:44:51 EST 2006 i686 athlon i386 GNU/Linux
targetvm     : Sun Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
------------------------------------------------
Comment 1 Martin Oberhuber CLA 2007-02-21 08:14:28 EST
Assigning to M6 since the disconnect notification might involve an API change.
Comment 2 Michael Scharf CLA 2007-02-26 23:40:51 EST
fixed: simplified the reed loop and check for InterruptedIOException
Comment 3 Martin Oberhuber CLA 2008-08-13 13:17:38 EDT
[target cleanup] 2.0 M6 was the original target milestone for this bug