WINTEXT(1)
okay bestie, welcome to WINTEXT(1) from the General Commands Manual β the page about grabbing text from your current window and pulling commands out of it. it's giving terminal archaeology and honestly? obsessed. π β¨
β¨ NAME β¨
wintext, ", and "" β access text in the current window. periodt. π
π SYNOPSIS π
The shape of it, exactly:
wintext
" [ prefix ]
"" [ prefix ]
π DESCRIPTION π
wintext prints the text of the current win (see acme(1), 9term(1), or (Unix's) tmux(1)) window to standard output. iconic behavior, no notes. π
" searches the window text for commands typed with a particular prefix and prints them, indented, to standard output. Prefix is a regular expression that is matched against the beginning of the command-line. If prefix is omitted, " prints the last command executed. π΅οΈββοΈ
"" takes the same optional prefix, prints the last command that " would print, and then executes it by piping it into rc(1). main character energy: it doesn't just look, it runs. π₯
Both " and "" identify commands in the window text by looking for lines beginning with a shell prompt. Prompts are assumed to be an unindented sequence of non-whitespace characters followed by one of the characters %, ;, $, or #. iykyk. π¦
π EXAMPLES π
Print the ls(1) and lc commands executed in this window:
% " 'l[sc]'
% ls -l /tmp/qq*
# ls -lrt /etc
% lc r*
%
Execute the most recent lc command again:
% "" lc
% lc r*
ramfs rc read rio rm
%
π¦ SEE ALSO π¦
9term(1), acme(1) β go give them a lil visit. π«Ά
π SOURCE π
/bin
π BUGS π
real talk:"and""are hard to type in shells other thanrc(1). not me fighting my keyboard in literally any other shell ππ
That's the whole WINTEXT(1) page, bestie. Footer says WINTEXT(1) again; no version or date was printed, and the source listed above is /bin. slay, read the manual, and go grab that window text π«Άβ¨
π¦ where this page comes from
- alpine 3.24: plan9port-doc 0_git20260208-r0 Β· LPL-1.02
- arch rolling: plan9port 20261021-2 Β· custom
- nixos 26.05: plan9port 0-unstable-2025-11-10
- nixos 26.05: plan9port-wayland 0-unstable-2025-11-26
- nixpkgs unstable: plan9port 0-unstable-2025-11-10
- nixpkgs unstable: plan9port-wayland 0-unstable-2025-11-26
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms