Closed xxxserxxx closed 4 years ago
This occurs only when launched from the WM via a hotkey. There are a lot of moving parts, and I'm not yet sure which component is causing the issue, but the full chain is:
bindsym $mod+Shift+n exec /home/ser/go/bin/i3quake -p right -H 0.6 -- $shell abduco -A i3quake dvtm -m ^b
i3quake
executes the arguments with Go's os/exec
. The purpose of this tool is to spawn the tool and then mark the resulting window using i3 marks so it can be easily found and manipulated using i3's scratchpad, so the window can be hidden and exposed with a hotkey like any number of Quake-inspired terminals.$shell
is defined as st
, but the behavior (copymode not working) is the same regardless of the shell used; I've tried st
, kitty
, and termite
. The variable is poorly named; it should be $terminal
or $termemulator
. Whatever.$shell
runs abduco
abduco
runs dvtm
MOD-e
, using my preferred $EDITOR
(kakoune), but the buffer is empty. The behavior is the same regardless of the editor used; I've tried vi
and vis
.However: if I just launch st
and then run abduco -A xyz dvtm -m ^b
, then copymode works as expected. Because it works by itself, I'm closing this ticket.
I have the same issue. On OpenBSD with cwm, with either xterm or st, and a vis editor copymode buffer seems to remain empty. Or at least, I can't paste anything in.
Copymode seems to be working, but the buffer is always empty.
I was happy to see
dvtm-editor
show up in the repository and solve the fact thatkak
doesn't have a fifo mode (AFAICT). Indeed,MOD-e
does open an editor (vi
, although EDITOR, VISUAL, and DVTM_EDITOR are all set to kak), but the buffer is empty. A look atps
shows a process:and when I manually
cat
that file it is empty lines;wc -l
says 17 of them.Maybe I don't understand how this works. From the README and man page, I thought if I did an
ls
and thenMOD-e
I'd get an editor with some amount of thels
command opened in the editor, and this takes the place oftmux
's visual selection mode. Do I need to do something else?