Re: Console requested reports – Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.5.0-0.6

Thomas Wolff towo@towo.net
Wed Mar 16 22:08:00 GMT 2016


Am 16.03.2016 um 10:28 schrieb Corinna Vinschen:
> On Mar 15 22:40, Thomas Wolff wrote:
>> Hi Corinna,
>> here is my updated patch.
>>> Changelog (old format):
>>> Just drop this line from the comment, please.  If you send the mail
>>> via git format-patch/git send-email I can simply apply it with git am
>>> including the entire text in the git log.
>> I hope the comment format is OK now, I cannot currently use git format-patch
>> due to missing setup.
>>
>> Make requested console reports work, cf https://cygwin.com/ml/cygwin-patches/2012-q3/msg00019.html
>>
>> This enables the following ESC sequences:
>> ESC[c sends primary device attributes
>> ESC[>c sends secondary device attributes
>> ESC[6n sends cursor position report
>>
>>      * fhandler.h (class dev_console): Add console read-ahead buffer.
>>      (class fhandler_console): Add peek function for it (for select).
>>      * fhandler_console.cc (fhandler_console::setup): Init buffer.
>>      (fhandler_console::read): Check console read-aheader buffer.
>>      (fhandler_console::char_command): Put responses to terminal
>>      requests (device status and cursor position reports) into
>>      common console buffer (shared between CONOUT/CONIN)
>>      instead of fhandler buffer (separated).
>>      * select.cc (peek_console): Check console read-ahead buffer.
> Patch applied.  Do you have a short text for the release message?
- Enabled console reports requested by escape sequences:
   Requesting primary and secondary device attributes,
   requesting cursor position report;
   see https://cygwin.com/ml/cygwin-patches/2012-q3/msg00019.html

Thanks
Thomas



More information about the Cygwin-patches mailing list