Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PTY integration #756

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from
Draft

PTY integration #756

wants to merge 18 commits into from

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    3802e71 View commit details
    Browse the repository at this point in the history
  2. dev: add twisp submodule

    KernelDeimos committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    b88aa87 View commit details
    Browse the repository at this point in the history
  3. dev: add emulator page

    KernelDeimos committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    dd8fe8f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cc6790c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    68a5b4e View commit details
    Browse the repository at this point in the history
  6. dev: resize handling

    KernelDeimos committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    258b3ca View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0acd904 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e0a79da View commit details
    Browse the repository at this point in the history
  9. dev: multi-instance many-to-many app-to-app comms

    I'll elaborate here because the commit name is confusing. Any time an
    app gets a connection to another app, either because it launched that
    app (or was launched by that app) or requested a connection to that app,
    the ID the app gets to represent the app it's communicating with is now
    a pseudo app id rather than the app instance ID. This accomplishes two
    things:
    
    1. It's more secure. There are multiple places where GUI assumes that
       knowing an app's instance ID means you can do things as that app.
    2. Between the same two apps, there may now be more than one connection.
       This is useful for situations like Phoenix shell talking to the
       emulator in multiple separate instances to pipe commands. (this is
       coming later)
    KernelDeimos committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    2e6315e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a16cfb6 View commit details
    Browse the repository at this point in the history
  11. dev: add terminal multiplexing

    This involves establishing the protocol through which phoenix instances
    run a command on the emulator. The pty is able to communicate with the
    terminal in both directions. This commit adds logs to be removed later.
    
    There are a few things left that this commit does not address:
    - handling close of delegate process
    - handling sigint from phoenix to delegate process
    - closing the connection to twisp
    KernelDeimos committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    d3e70eb View commit details
    Browse the repository at this point in the history
  12. dev: handle pty close

    Return to phoenix shell when a pty stream is closed by twisp.
    
    Pipes in phoenix with commands from the emulator do not appear to be
    working properly, but something in there is working.
    KernelDeimos committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    baeb79b View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    191977f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    86f2dc4 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9c897fd View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9816411 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    dfb2523 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    6ec3c8b View commit details
    Browse the repository at this point in the history