Hello Marc

But it's giving the arrow keys as ^[[A to ^[[D to vim. Good, that's not a
big problem, at least, as i can use hjkl, but it would be more
comfortable with the arrow keys.

I never noticed this, it seems like the following workaround works in
the shortterm (colors may be a bit different though).

TERM=linux vim [some file]

vim checks $TERM and does some things differently if it thinks it's run
from within an xterm or derivate like rxvt which is what madtty/dvtm
emulates.
DOH! TERM=linux did the trick. Some built-in workaround wouldn't be wrong.
For sure, i'm using it with my dwm as replacement for four urxvt's, but for the console it's a good idea.

Is there ANY way to check, if dwm/madtty is "hosting"?

And dvtm is leaving an empty screen behind, not a really nice thing.

What do you mean by this? A blank screen after you have quit dvtm?
My fault. Forgot to do PREFIX-q.

Thanks
CuleX

Reply via email to