Re: [dwm] [ANNOUNCE] dvtm-0.3

From: Marc Andre Tanner <mat_AT_brain-dump.org>
Date: Wed, 23 Jan 2008 20:30:04 +0100

On Tue, Jan 22, 2008 at 06:23:02PM +0100, Fabio Scotoni wrote:
> 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.

Yeah, but i am a bit busy right now and i didn't investigate further for
the time being.

> 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"?

Not really, what would you like to do depending on that?

Regards,
Marc

-- 
 Marc Andre Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0
Received on Wed Jan 23 2008 - 20:28:44 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:17:00 UTC