]> Sergey Matveev's repositories - public-inbox.git/commit
script/lei: background ourselves on MUA/pager exec
authorEric Wong <e@80x24.org>
Wed, 31 Mar 2021 23:29:36 +0000 (23:29 +0000)
committerEric Wong <e@80x24.org>
Thu, 1 Apr 2021 01:52:17 +0000 (01:52 +0000)
commitc790a75439f3a1dbbaa2162feca2593de5997bd3
tree75572895a1b494b49c86ca2050937f08e15a0854
parent8fa51e510fbe629a05c2da82482053f77ece7de5
script/lei: background ourselves on MUA/pager exec

This ought to give the MUA or pager exclusive access to the
controlling terminal.  The downside is we can only exec the
pager or MUA once per invocation, but I can't imagine a valid
case for running those things multiple times, either.

Note: I'm no expert when it comes to terminal control matters,
but this allows Ctrl-Z-ed mutt instance to come back and is
a nice code reduction, as well.
script/lei