Configuration file
I know that abduco is a delightfully simple command, but there are (at least) two pieces that can be set up, and it might be nice to have that set up somewhere.
So far I can see the following:
$ABDUCO_CMDto set which command to run automatically when creating a session instead ofdvtm-e detachkey, which has to be called when launchingabduco
For me the default detachkey does not seem to work on my keyboard layout (Neo2), which is why I would like to make ^q the default on my system.
A workaround on Fish shell that I started using is to save the following allias:
function abduco --description 'Sane defaults for Abduco (Ctrl+q to detach)'
set --export ABDUCO_CMD fish; command abduco -e ^q $argv
end
FWIW I want to remove a workaround for dvtm/abduco from fish, in order to make things simpler and more predictable.
The workaround is that fish doesn't try to do query for primary device attribute if TERM=dvtm-256color (but TERM is unreliable, that's partly why I want to get rid of it).
We could easily removed the need for the workaround by patching dvtm/abduco. But I'm not sure if anyone maintains either; I sent a patch in February, see https://lists.suckless.org/hackers/2502/19264.html If someone starts a fork, I'd be happy to contribute these and other fixes for VT100-compatibility that will be required in a future version of fish.
I personally have migrated to shpool which doesn't have these problems (it forwards everything to/from the parent terminal)
@legionus has a recently-updated fork with a couple of nice additions: https://github.com/legionus/abduco
a recently-updated fork with a couple of nice additions: https://github.com/legionus/abduco
it doesn't seem to have issues enabled
@krobelus Oops. Fixed. I opened Issues and Discussions.