On Mon, 8 Jan 2024 22:45:54 -0500 Bill Ricker <bill.n1...@gmail.com> wrote:
> This depends upon what Window Manager and perhaps Desktop Manager > you're running ? This, and as noted the X11 vs. Wayland consideration. And the fact that this all assumes the pty is associated with an xterm (or whatever) and not something else like a console or SSH session. Also, it wouldn't be the PID of the vi process. It needs to trace up the chain of parent PIDs to get to the xterm. -- \m/ (--) \m/ _______________________________________________ Discuss mailing list Discuss@lists.blu.org http://lists.blu.org/mailman/listinfo/discuss