LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-13-2015, 10:41 AM   #1
rdx
Member
 
Registered: Apr 2007
Location: Dallas
Distribution: Slackware64 14.2
Posts: 283

Rep: Reputation: 25
can I make the cursor blink in console "vi"?


I have a terminal window (Xfce) and I use vi to do editing in it. It is hard to see the cursor so I would like it to blink. Others have asked this question but I haven't seen an answer. Can anyone point me to an answer? Thanks.

Slack64 14.1 on HP desktop and i5-3330 CPU
 
Old 01-13-2015, 12:41 PM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,290

Rep: Reputation: 7426Reputation: 7426Reputation: 7426Reputation: 7426Reputation: 7426Reputation: 7426Reputation: 7426Reputation: 7426Reputation: 7426Reputation: 7426Reputation: 7426
probably this helps: http://vim.wikia.com/wiki/Configuring_the_cursor
 
Old 01-13-2015, 01:18 PM   #3
rdx
Member
 
Registered: Apr 2007
Location: Dallas
Distribution: Slackware64 14.2
Posts: 283

Original Poster
Rep: Reputation: 25
how do I saw it? console window, CLI and NOT GUI

Interesting site bu it seems to refer to the GUI version which blinks already. I am connecting to another box via SSH and using vi (vim I suppose) in a CLI style window.
 
Old 01-13-2015, 01:50 PM   #4
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 441

Rep: Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574
Quote:
Originally Posted by rdx
Interesting site bu it seems to refer to the GUI version which blinks already. I am connecting to another box via SSH and using vi (vim I suppose) in a CLI style window.
This seems not to be related to vi itself, but to the X terminal emulator. For instance, on xterm the blinking cursor can be enabled with:

Code:
$ xterm -bc
Then you will see it blinking in elvis (in insert mode) and vim as well. I don't know how (and if) you can enable that in xfce4-terminal.
 
Old 01-13-2015, 02:11 PM   #5
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 441

Rep: Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574
For the Xfce terminal add this to the config file:

Code:
MiscCursorBlinks=TRUE
Here (user):
Code:
~/.config/xfce4/terminal/terminalrc
Or here (system-wide):
Code:
/etc/xdg/xfce4/terminal/terminalrc
This is on Xfce 4.10

Last edited by Philip Lacroix; 01-13-2015 at 02:12 PM.
 
1 members found this post helpful.
Old 01-13-2015, 02:45 PM   #6
rdx
Member
 
Registered: Apr 2007
Location: Dallas
Distribution: Slackware64 14.2
Posts: 283

Original Poster
Rep: Reputation: 25
That's got it! Thanks Phillip.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: End of an era as Firefox bins "blink" tag LXer Syndicated Linux News 0 08-07-2013 09:50 AM
What do I do to make my cursor blink? grimesvickie General 4 03-28-2011 10:29 AM
a newbie, how do I make my cursor blink? honet *BSD 3 06-25-2004 07:59 PM
Post-install: machine won't boot w/ Vector ...blink blink blink goes the cursor nethbar VectorLinux 3 03-17-2004 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration