NST-MSG(1)
π NST-MSG(1) β ok so this is nst-msg, bestie
Hi hi hi πΈ so this is the manual page for nst-msg, and yes this is the NST-MSG(1) page you're looking at, welcome, come in, sit down, we're gonna learn a thing.
β¨ NAME β¨
nst-msg β literally just sends a message to the nst terminal emulator π«Ά
π SYNOPSIS π
nst-msg [-S] [-s] [-d] [-D] [-t] [--cwds]
That's it, that's the whole vibe check π
π¦ DESCRIPTION π¦
okay so nst-msg is a tool that lets you interact with running nst(1) terminal emulator instances. Very demure, very mind-your-own-business, very talking to your terminal.
Here's the important part, so like, pay attention: most commands target the currently running terminal, and that terminal gets identified by the NST_IPC_ADDR environment variable β which nst sets automatically for you, no cap, you don't have to do a single thing π
But some commands are global β those ones target all terminal instances that are accessible by the calling user. Main character energy, honestly.
π OPTIONS π
-S,--snapshotβ saves a snapshot of the current terminal history. You can grab that snapshot back later with-s. It's giving screenshot but for your scrollback πΈ-s,--get-snapshotβ prints the data that got stored during the last snapshot operation (-S) to stdout. And if there's no snapshot available? Then nothing gets printed. Empty. Void. Silence. π-d,--get-historyβ prints (dumps) the current terminal history buffer to stdout. All the receipts, right there π-D,--get-global-historyβ same as-dbestie, but it prints the concatenated history of all accessiblenstinstances to stdout. Use this when you're searching for data that got lost in one of your many, many terminal instances π iconic for a reason-t,--testβ does a connection test to the associatednstterminal emulator instance. Connection succeeds β exit status of zero. Succeeds it does not β non-zero, soz π You can use this to figure out whether annstterminal is associated at all. Very "are you there? it's me" of it.--cwdsβ this one retrieves the current working directories of the child processes of all reachablenstinstances. One CWD gets printed per line, and only the unique entries are printed β no duplicates allowed, we're not doing that here π
Heads up though: this does not currently support the exotic case where the CWD may contain a newline character. Like, that's a whole thing, and we're not handling it. Just so you know π§
--versionβ prints thenst-msgversion number and then it exits. Byeee βοΈ-h,--helpβ prints a usage text. The classic. The icon. The legend π
π AUTHORS π
See the LICENSE file for the authors. They're in there, go look π«Ά
π LICENSE π
See the LICENSE file for the terms of redistribution. Go read it, fr fr, it's important and also it's right there π
okay that's the whole page!! mwah π and for the record this little beauty is dated 09/10/2025 β yes, that's the date on the NST-MSG(1) footer, I would never leave you hanging like that. slay, bye πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: nst 1.1-bp160.1.12 Β· MIT
- opensuse-leap 16.0: nst 1.1-bp160.1.12 Β· MIT
- opensuse-leap 16.0: nst 1.1-bp160.1.12 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms