Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 433838 - [terminal] Wrapped lines create extra line feed
Summary: [terminal] Wrapped lines create extra line feed
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Target (show other bugs)
Version: 1.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 1.2   Edit
Assignee: Anton Leherbauer CLA
QA Contact: Uwe Stieber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-30 07:37 EDT by Anton Leherbauer CLA
Modified: 2014-05-27 22:59 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 Anton Leherbauer CLA 2014-04-30 07:37:01 EDT
When connecting the terminal to a process on Windows (with winpty), wrapped lines create an extra line feed in the terminal.
The reason is that winpty inserts CRLF between each line it sends to the terminal.
This works well with a VT100 compatible terminal which implements the 'eat_newline_glitch' capability, but not with the TM terminal widget which implements non-VT100 line wrapping.

Based on bug 433751 which adds an option to enable VT100 style line wrapping in the terminal widget, this bug can be fixed by enabling this option in case of a winpty connection.
Comment 1 Anton Leherbauer CLA 2014-04-30 07:52:15 EDT
Gerrit review: https://git.eclipse.org/r/25792