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

From: Dave Blanchard <dave_AT_killthe.net>
Date: Fri, 13 Jan 2023 19:53:41 -0600

On Sun, 08 Jan 2023 04:32:20 -0500
"Greg Reagle" <list_AT_speedpost.net> wrote:

> I wrote this little wrapper script I call ost:
>
> <<<
> #!/bin/sh
> export ST_LOG_FILE=$(mktemp) || { printf '%s\n' "$0: cannot create temp file" >&2 ; exit 1; }
> st -o "$ST_LOG_FILE" "$_AT_"
> rm "$ST_LOG_FILE"
> >>>
>
> 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.
>

I experimented with st for a week or so, before finally realizing that it's poorly-written trash. It has no advantages over XTerm at all.

-- 
Dave Blanchard <dave_AT_killthe.net>
Received on Sat Jan 14 2023 - 02:53:41 CET

This archive was generated by hypermail 2.3.0 : Sat Jan 14 2023 - 03:00:09 CET