GitHub user mike-jumper opened a pull request:

    https://github.com/apache/guacamole-server/pull/177

    GUACAMOLE-597: Add optional flags to OSC for controlling redirected 
terminal output.

    As described on 
[GUACAMOLE-597](https://issues.apache.org/jira/browse/GUACAMOLE-597), these 
changes add an optional "flags" parameter to the existing OSC that redirects 
terminal output to a pipe stream. In addition to the old sequence, the 
following sequence may now be used:
    
    `ESC` `]` `482202` `;` `FLAGS` `;` `NAME` `ST`
    
    where `FLAGS` is the bitwise OR of any or all of the following flags:
    
    Value | Description
    ----- | -----------
    1     | Send output to both the pipe stream *and* the user's display. By 
default, output will be sent to only the pipe stream for as long as the pipe 
stream is open.
    2     | Automatically flush the pipe stream when a frame would be rendered, 
only buffering data between frames. By default, data sent to the pipe stream is 
buffered until the buffer is full (roughly 6KB) or until the pipe stream is 
closed.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mike-jumper/guacamole-server pipe-flags

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/guacamole-server/pull/177.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #177
    
----
commit e02df8d5504214acf3b01cc55e124754ce0b4bcf
Author: Michael Jumper <mjumper@...>
Date:   2018-07-02T05:25:09Z

    GUACAMOLE-597: Additionally parse integer flags which may affect pipe 
stream contents.

commit 99b17b0ac46ab073fe78bc0fc335aa2d3fd15039
Author: Michael Jumper <mjumper@...>
Date:   2018-07-02T05:28:04Z

    GUACAMOLE-597: Add flag which sends terminal output to both the user's 
display and the open pipe stream.

commit e66178ff9abee8e38f11f4241068015cba6073f0
Author: Michael Jumper <mjumper@...>
Date:   2018-07-02T05:45:01Z

    GUACAMOLE-597: Add flag for forcing automatic flushing of pipe stream.

----


---

Reply via email to