💾 Archived View for sdf.org › thac0 › posts › 2023 › 07-08_tui-part-02.gmi captured on 2023-12-28 at 16:22:37. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

TUI, Part 2

My first order of business was: optimizing visual real estate. When you log into the console or a terminal session, you get a command prompt. And that's it. But what if you want to, say, have a man page open in one part of the screen, your text editor in another, and so on?

Fortunately I am familiar with tmux-- short for "terminal multiplexer"-- though my keyboard shortcut muscle memory atrophied. (There's also GNU screen, which is of particular interest to folks who wish to connect over serial connections).

tmux source code and documentation

Take a few moments to review what you can do, and then appreciate that windows and panes can be added, removed, or changed from the command line-- and, therefore, in scripts. At work, I have a "poor man's" sysadmin shell script which logs into several systems simultaneously-- each in its own pane. And then I'm able to synchronize keystrokes across all sessions. Super helpful if you need to perform the same bit of maintenance to each machine at the same time.

At home, though, the ability to have multiple windows with multiple panes is an essential capability.

In future posts, I'll begin exploring how I interact with my regular SDF services.

Top-level

Attribution

Copyright (C) 2023 Joseph B. Konno <thac0@tx0.org>

This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.

CC-BY-4.0 (my copy of official plaintext)

CC-BY-4.0 (official)