[Bug 259765] x11/kitty: fix pass_selection_to_program action

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 10 Nov 2021 21:54:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259765

            Bug ID: 259765
           Summary: x11/kitty: fix pass_selection_to_program action
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jjuanino@gmail.com
                CC: alexis.praga@free.fr
                CC: alexis.praga@free.fr
             Flags: maintainer-feedback?(alexis.praga@free.fr)

Created attachment 229418
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229418&action=edit
patch to fix pass_selection_to_program action

See https://sw.kovidgoyal.net/kitty/actions/#pass-selection-to-program

Currently, the action pass_selection_to_program does not work in
FreeBSD. The cause is that /proc filesystem in FreeBSD do not implement
cwd file (current working directory).

As workaround, I propose to substitute the action of read
/proc/<pid>/cwd file by running pwdx command (see man procstat).

-- 
You are receiving this mail because:
You are the assignee for the bug.