1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-01 13:25:45 +02:00
Find a file
Ryan Prichard 44f0083f72 Reply to a DSR(5) request for ready status.
When TM Terminal sees this:

   ESC [ 5 n

It replies indicating that the terminal is OK:

   ESC [ 0 n

This escape sequence is documented here:

   8.3.35 DSR - DEVICE STATUS REPORT.  Page 40.
   http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-048.pdf

Motivation: I'd like to switch winpty from using DSR(6) to DSR(5) as its
ESC flushing command.  When winpty sees a bare ESC, it can either
synthesize a VK_ESCAPE keypress or wait to see if the ESC was part of some
other escape sequence.  It tries to deal with this by generating a DSR(6),
which should flush out the remaining bytes of the sequence, if there are
any.  DSR(6) is suboptimal, though, because the reply collides with the
sequence some terminals use for F3 with a modifier:

    ESC [ nn ; nn R

DSR(5) generates a DSR(0) reply, which does not have the same problem.

DSR(5) is supported by all the terminal emulators I tested, including
xterm, rxvt, rxvt-unicode, gnome-terminal, konsole, putty, mintty,
OS X's Terminal.app, and IntelliJ/jediterm.

Signed-off-by: Ryan Prichard <ryan.prichard@gmail.com>
2015-11-30 20:31:00 -06:00
admin Update Eclipse Neon target definition 2015-10-23 18:08:41 +02:00
features Releng: Fix pom files 2015-06-11 15:19:00 +02:00
plugins Reply to a DSR(5) request for ready status. 2015-11-30 20:31:00 -06:00
repos/org.eclipse.tm.terminal.repo Releng: Adjust maven version for Terminal 4.1 release 2015-06-11 15:01:44 +02:00
.gitignore Terminal: Change name space of Terminals View plug-ins and features from TCF to TM 2015-04-16 09:11:41 +02:00
CONTRIBUTING Releng: Added CONTRIBUTING and updated team project set 2015-04-21 09:53:01 +02:00
pom.xml Releng: Fix maven version references 2015-06-11 15:05:05 +02:00
readme.txt Terminal: Change name space of Terminals View plug-ins and features from TCF to TM 2015-04-16 09:11:41 +02:00
terminals.psf Releng: Added CONTRIBUTING and updated team project set 2015-04-21 09:53:01 +02:00

This repository holds the TM Terminal Component.
Its core depends on Eclipse RCP only.
All these Git modules should be named "org.eclipse.tm.terminal.*".
See http://www.eclipse.org/tm/