On Mon, Feb 24, 2020 at 8:54 AM Evan Gates <evan.ga...@gmail.com> wrote: > > On Thu, Feb 20, 2020 at 7:02 PM Greg Reagle <greg.rea...@umbc.edu> wrote: > > > > I have figured out how to use pcw with multiple st windows running > > lchat. I understand the general idea now. I have this in pcw_win.sh: > > > > exec st -t "$CPATH" -e lchat -n30 -p "$(basename "$CPATH")> " -t > > "$(basename "$CPATH")>" "$CPATH" > > > > I had no idea anyone actually used pcw. I feel like I should warn you > that I wrote that code a long time ago and it is most likely complete > shit. Awesome that it seems to work for you though!
Indeed, as I take a look at the code for the first time in... $ git log fatal: not a git repository (or any of the parent directories): .git oof, it's so old it's in mercurial.. As I take a look at the code for the first time in about 9 years, I immediately notice that it doesn't _exit() after a failed execvp() and it uses the contents of a buffer after read() fails. So again, a word of caution.