Work

Sessions, tabs and panes

A session is a program running in hupd: an agent, a shell, a build. A pane shows one, a tab holds a few panes, and none of them depend on the window staying open.

Accurate for hup Mac 0.1.483iPad and iPhone 1.1.3

Tabs and panes

New tab
New tab on another machine
Split right, split down
Next pane, previous pane
The pane in a direction
Move a divider
Make the panes equal
Zoom the pane
Close the pane, the tab

A new tab or split opens on the same machine as the pane you’re in, and in its directory. Each pane’s header shows the program, its title and the host it runs on.

Switch to any session

lists every pane in every window with what it’s doing: working, done, or waiting for you. Type a few letters and press Return to go there.

hup on an iPad: the list of sessions open over two panes, four rows with each program’s mark, its title, the host devbox and the directory.
Switching to a session on an iPad. Each row has the program, its title, the host and the directory.

Below them, Running on lists the sessions that no window is showing, on this Mac and on each host. Choose one to open it in a new tab. A session you started from your iPad shows up here on your Mac, and the other way round.

If hup can’t reach a host, the list shows Can’t reach with the host’s name. Choose that line to open a tab there, which shows the reason.

What keeps running

Sessions run in hupd, so they keep running through all of these:

Closing a pane is what ends its program. When something other than an idle shell is running there, hup asks first. On iPad and iPhone a pane’s menu also has Detach, which takes the pane off your screen and leaves its session running on the host.

One session on several devices

The same session can be open on your Mac, your iPad and your iPhone at once, and what you type on one shows on the others. A terminal has one size, though. When another device is holding it, the pane’s header shows Sized elsewhere · Fit. Choose Fit, or just start typing, and the session takes this window’s size.

Any command by name

opens the command palette. Type part of a command’s name, such as “split” or “notepad”, and press Return.

hup in the menu bar

Mac Turn on hup ▸ Show in Menu Bar and hup stays there after its last window closes. Its menu shows this Mac’s hupd and your hosts, with the agents that are working or need you, and the icon counts the ones waiting for you.