Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vim 8.0.0918 make cursor blinks in urxvt #1986

Closed
fff7d1bc opened this issue Aug 17, 2017 · 9 comments
Closed

Vim 8.0.0918 make cursor blinks in urxvt #1986

fff7d1bc opened this issue Aug 17, 2017 · 9 comments

Comments

@fff7d1bc
Copy link

The changes in commit 3cd43cc broke the cursor. Once one opens vim in urxvt, the cursor starts blinking, and blinks even outside vim. No option in vim or urxvt seems to affect it. Downgrade to 8.0.0917 fixes the problem.

@fff7d1bc
Copy link
Author

cc @brammool

@brammool
Copy link
Contributor

What is the output of :set t_SH

@fff7d1bc
Copy link
Author

E846: Key code not set: t_SH in working version
t_SH=^[[%p1%d q in the 8.0.0918

@dandersson
Copy link

I am seeing the same issue in Debian Sid using

  • rxvt-unicode 9.22-1+b3 (TERM=rxvt-256color, but TERM does not seem to matter)
  • Vim 8.0.0946-1

An additional observation is that it does not seem to happen if I run Vim from within tmux (TERM=screen-256color, but it does not seem to matter here either). Within tmux, :set t_SH yields just t_SH=.

If I issue

:!printf '\033[?12l'

(from https://unix.stackexchange.com/a/3769) within Vim, then the blinking stops.


A curiosity: if I start Vim to make the cursor blink and then

  1. issue :term
  2. issue :!printf '\033[?12l' in a regular buffer

the blinking does not stop. If I however instead

  1. issue :term
  2. issue printf '\033[?12l' within the newly opened terminal (this step in itself does not stop the cursor blinking)
  3. issue :!printf '\033[?12l' in a regular buffer

the blinking does stop. This can be repeated within the same session: the cursor starts blinking again every time I issue :term.

@brammool
Copy link
Contributor

brammool commented Aug 19, 2017 via email

@vim-ml
Copy link

vim-ml commented Aug 21, 2017 via email

@nuko8
Copy link

nuko8 commented Aug 21, 2017

The fix has already been given with Patches 8.0.0967 and 8.0.0973 (93c92ef and ce1c327, respectively). Would you try 8.0.0973 or later to see if the issue is fixed for you?

Cursor is blinking even after its setting off with :set guicursor+=a:blinkon0 .

'guicursor' is used only when GUI is running, so it has no effect on the cursor of Vim on urxvt.

@fff7d1bc
Copy link
Author

I can confirm that v8.0.0973 works as it should.

@vim-ml
Copy link

vim-ml commented Aug 22, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants