You are not logged in.

#1 2015-07-27 21:37:04

incertia
Member
Registered: 2014-10-25
Posts: 49

[SOLVED] sudo vim broken on urxvt

When running the command sudo vim, I am automatically taken into insert mode with the following text:

:dddd/0000/0000/0000[>85;95;0c

I cannot reproduce this on any other terminal emulator.

Last edited by incertia (2015-07-27 22:01:20)

Offline

#2 2015-07-27 21:43:59

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] sudo vim broken on urxvt

Post your .vimrc & .Xresources/.Xdefaults

Does this also happen if you `su` to root and then run vim from rxvt-unicode?


Jin, Jîyan, Azadî

Offline

#3 2015-07-27 21:44:23

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,721

Re: [SOLVED] sudo vim broken on urxvt

I bet this might be relevant.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2015-07-27 22:01:02

incertia
Member
Registered: 2014-10-25
Posts: 49

Re: [SOLVED] sudo vim broken on urxvt

ewaller wrote:

I bet this might be relevant.

Yep. Disabling the background color in ~/.Xresources and then re-enabling it fixes the problem.

Offline

Board footer

Powered by FluxBB