Termfold for Mac
Termfold for Mac is the center of the system. It runs the server, holds the list of phones and records what happens.
The window
The window lists Your iPhones. The QR button in the top right starts pairing. Each phone has a row:
- Name and model. The name you gave the phone and its model, for example iPhone Duo. A phone with a generic name shows its model.
- Connected in green while a session is open.
- Paired with a handshake, and a status line with a colored dot:
- green: a session is open now;
- gray: last seen, with the time and the address;
- orange: not connected yet, paused, access ending soon or ended.
Buttons on a row
- Disconnect closes the open sessions of that phone. It can connect again at once.
- More (circle with dots):
- Rename changes the name shown here.
- Access sets Always, For 8 hours or For 24 hours. When time ends the sessions close and the phone is refused until you set access again.
- Pause refuses the phone and closes its sessions. Resume allows it again.
- Ask before each connection makes the Mac ask you every time that phone connects. See below.
- Remove (trash) deletes the phone and closes its sessions. It must be paired again to return.
Ask before each connection
When a phone with this setting connects, the Mac shows a notification and a window with Allow and Deny. The menu bar icon also changes and offers the same two buttons. If nobody answers within 40 seconds the connection is refused. Use this for phones you trust less.
The footer
From left to right:
- Allow connections. Turns the server on and off. When off, nothing listens on the network, the Mac is not announced, and every session closes.
- Documentation (book). Opens this manual.
- Activity (list). The journal, see below.
- Settings (gear). See below.
- Details (info). The address, the port and the fingerprint of this Mac.
- Quit everywhere (red bolt). Disconnects every phone, removes all of them from the list and turns connections off. It asks for confirmation.
Activity
Activity is the journal of the Mac. It keeps the last 500 entries:
- every connection and disconnection, with the address, how long it lasted and why it ended (for example closed after idle time, paused, removed);
- refused attempts: unknown key, a paused or expired phone, a denied approval, wrong pairing codes, and an address blocked after repeated failures;
- pairings, removals, approvals, Quit everywhere and switching connections off.
Clear empties the journal.
Settings
- Notify when a phone connects. A notification each time a phone connects. On by default.
- Close idle sessions. A session closes when nothing is typed on the phone for the chosen time: never, 15 minutes, 30 minutes, 1 hour (default) or 2 hours. Programs running in the session stop with it.
The menu bar
The icon shows the status. The menu has:
- the pending approval requests, if any, with Allow and Deny;
- the Allow connections switch;
- Open Termfold, Documentation, Quit everywhere and Quit Termfold.
Closing the window does not stop the server. Choose Quit Termfold to stop it.
About and Help
Termfold, then About Termfold shows the version, the developer and links. Help, then Termfold Documentation opens this manual.
Pairing from the Mac
Click the QR button. The sheet shows a QR code, a PIN, and a countdown. It refreshes by itself every 90 seconds. Cancel closes it. See Quick start for the steps.
Where data is stored
- The list of phones:
~/Library/Application Support/Termfold/devices.json, readable only by you. - The journal:
activity.jsonin the same folder. - The key of this Mac: your login Keychain, only on this Mac.
- Settings: the app preferences.
Network
Termfold listens on port 22022 and accepts connections only from local network addresses. The Mac is announced on the network by its name so that phones can find it again if its address changes.