Skip to content

Subsidiary changes necessary for forking processes and handling connections.#99

Draft
squell wants to merge 9 commits intodjc:mainfrom
trifectatechfoundation:terminal-session-base
Draft

Subsidiary changes necessary for forking processes and handling connections.#99
squell wants to merge 9 commits intodjc:mainfrom
trifectatechfoundation:terminal-session-base

Conversation

@squell
Copy link

@squell squell commented Jan 22, 2026

Builds on the merger #87 and #90.

The interesting parts for session forking (without command handling: see followup PR #100 for that) are in src/main.rs and src/monitor.rs and src/fd.rs.

There are also a lot of other changes squashed in 49fc00e; together with #100 this would essentially bring main identical to the main of trifectatechfoundation/oxish-addons. For a more complete commit history consult that repository. I've spun the changes out into two seperate PR's to isolate the general changes (this PR) and the particular code necessary for running commands and opening a PTY (#100)

Generally this PR shows the work needed for bring the repo (after merging #87 and #90) to a point where terminal handling could be added.

davidv1992 and others added 9 commits January 20, 2026 16:17
This does not yet implement proper handling of sequence numbers. That is
a fairly significant refactor which should be done as part of the
patches for the encryption/decryption channels.
This makes the packet type available on all messages, simplifying error
handling downstream as it no longer needs to deal with the anomalous
case of a completely empty packet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants