Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-597

Allow fine-grained control of terminal output redirection via pipe streams

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Terminal
    • Labels:
      None

      Description

      While Guacamole's terminal emulator allows output to be redirected to a pipe stream for the benefit of client-side JavaScript (see GUACAMOLE-17), doing so currently has caveats:

      • Redirecting output to a pipe stream results in all output going solely to that stream. No output is displayed on the terminal while the pipe stream remains open. This is not always desirable.
      • Data sent to the pipe stream is buffered. This works well for non-interactive bulk transfers of data, but any client-side JavaScript expecting to monitor output in real-time will be disappointed, particularly code which must deal with the output of interactive commands.

      There should be some option to allow output to go to both the pipe stream and the terminal, and some option to allow the output to be automatically flushed, whether that be through a new OSC code or through backward-compatible modifications to the existing code.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mjumper Mike Jumper
                Reporter:
                mjumper Mike Jumper
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: