Re: [PATCH] RFC: hooks for clipboard manager integration

2020-07-05 Thread Allan Odgaard
On 6 Jul 2020, at 1:03, Dov Feldstern wrote: I'm not sure exactly what you mean by a "callback" here: a specific implementation of how exactly to do the copy and paste (which the current code seems to *almost* support, in the form of "copy_cmd" and "paste_cmd", all that's missing is a means for

Re: Bug Report

2020-07-05 Thread Kjetil Torgrim Homme
On 05/07/2020 20.53, Vasile Martiniuc wrote: > you must be doing something different.  have you turned on SIGPIPE > delivering signals? > I have not turned on SIGPIPE, this is turned on by default in the pass script: set -o pipefail my bad, I forgot pass(1) did this. you are correct, the

Re: Bug Report

2020-07-05 Thread Kjetil Torgrim Homme
On 04/07/2020 01.09, Vasile Martiniuc wrote: Good afternoon, This line is wrong: pass="$($GPG -d "${GPG_OPTS[@]}" "$passfile" | tail -n +${selected_line} | head -n 1)" || exit $? "head -n 1" (or "head -1") exits immediately after reading the first line. And the "tail" is still writing to the

Re: [PATCH] RFC: hooks for clipboard manager integration

2020-07-05 Thread Dov Feldstern
Thanks for the feedback! I'm not sure exactly what you mean by a "callback" here: a specific implementation of how exactly to do the copy and paste (which the current code seems to *almost* support, in the form of "copy_cmd" and "paste_cmd", all that's missing is a means for changing them less