Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Cdt-launch-inbox] [Bug 248071] C/C++ Local Application launch does not properly initialize terminal session

https://bugs.eclipse.org/bugs/show_bug.cgi?id=248071 
Product/Component: CDT / cdt-debug-cdi



--- Comment #1 from Pawel Piech <pawel.piech@xxxxxxxxxxxxx> 2009-10-28 16:10:54 EDT ---
Created an attachment (id=150767)
Patch with proposed fix.

The main feature of this patch is a new "console" option to the PTY class.  It
tells it whether the PTY is to be used with the console view.  If
console==true, the current PTY behavior is preserved (i.e. the PTY is
configured for no echo), otherwise the PTY is configured for standard behavior.
 The PTY.isConsole() flag is also used by Spawner.exec2(), which if
console==true, redirects process's stderr to a pipe as is done now (otherwise
it redirects it to the PTY).
The second feature is PTY.setTerminalSize(), which allows PTY master owner to
update the terminal size.

The patch does not include binaries, which will need to be built and committed
for each platform.

-- 
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Back to the top