abduco icon indicating copy to clipboard operation
abduco copied to clipboard

Configuration file

Open silverhook opened this issue 6 months ago • 5 comments

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_CMD to set which command to run automatically when creating a session instead of dvtm
  • -e detachkey, which has to be called when launching abduco

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.

silverhook avatar Jun 03 '25 17:06 silverhook

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

silverhook avatar Jun 06 '25 16:06 silverhook

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)

krobelus avatar Sep 21 '25 11:09 krobelus

@legionus has a recently-updated fork with a couple of nice additions: https://github.com/legionus/abduco

ItsHarper avatar Oct 18 '25 16:10 ItsHarper

a recently-updated fork with a couple of nice additions: https://github.com/legionus/abduco

it doesn't seem to have issues enabled

krobelus avatar Nov 11 '25 12:11 krobelus

@krobelus Oops. Fixed. I opened Issues and Discussions.

legionus avatar Nov 11 '25 12:11 legionus