[dev] st: no need for scrollback patch or program by using -o option

From: Greg Reagle <list_AT_speedpost.net>
Date: Sun, 08 Jan 2023 04:32:20 -0500

I wrote this little wrapper script I call ost:

export ST_LOG_FILE=$(mktemp) || { printf '%s\n' "$0: cannot create temp file" >&2 ; exit 1; }
st -o "$ST_LOG_FILE" "$_AT_"

If some output scrolls past that I want to go back and see, I look at its "$ST_LOG_FILE" in another terminal. This seems to obviate my need for a scrollback patch or program.
Received on Sun Jan 08 2023 - 10:32:20 CET

This archive was generated by hypermail 2.3.0 : Sun Jan 08 2023 - 11:12:08 CET