martanne / abduco

abduco provides session management i.e. it allows programs to be run independently from its controlling terminal. That is programs can be detached - run in the background - and then later reattached. Together with dvtm it provides a simpler and cleaner alternative to tmux or screen.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Various keys behaving funky (KEY_HOME, KEY_IC, etc.)

wart-github opened this issue · comments

I had originally thought this was a dvtm problem, but I've now narrowed it to some code that is common between dtach and abduco. See this issue report.

Basically, if you set MOD to KEY_HOME in dvtm, and then launch one st and execute 'abduco -c test' and then launch a second st and execute 'abduco -a test', KEY_HOME, KEY_IC, KEY_DC, KEY_RIGHT, etc. won't get passed along (or get passed along as distinct key codes) in the second st.

You can reproduce this without dvtm, e.g., abduco -c test yash.

The same behavior occurs in dtach; hence I think it is some code common to dtach and abduco.

Thanks for the analysis. The root cause of this is discussed in #32 which references all related issues.