You are not logged in.

#1 2014-02-17 17:04:24

whatshisname
Member
Registered: 2010-04-24
Posts: 162

urxvt cursor shape to blinking bar/pipe?

Is there anyway to do this?  I know how to change the color of the cursor and/or change it to an underscore.  But is there a way to change the cursor to a blinking "|"?

Offline

#2 2014-02-17 17:23:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: urxvt cursor shape to blinking bar/pipe?

You can have blinking.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-02-17 17:25:07

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: urxvt cursor shape to blinking bar/pipe?

jasonwryan wrote:

You can have blinking.

Be nice Jason. Tell him how. ;-)


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2014-02-17 17:28:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: urxvt cursor shape to blinking bar/pipe?

Inxsible wrote:
jasonwryan wrote:

You can have blinking.

Be nice Jason. Tell him how. ;-)

man urxvt | less -p cursorBlink

smile


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-02-17 17:37:50

whatshisname
Member
Registered: 2010-04-24
Posts: 162

Re: urxvt cursor shape to blinking bar/pipe?

Thanks.

Yeah.  I got the blinking part.  It's the "|" part that I'm trying to figure out.

Offline

#6 2014-02-17 17:47:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: urxvt cursor shape to blinking bar/pipe?

I'm not sure if the I-beam is possible in urxvt.

Offline

#7 2014-02-17 17:50:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: urxvt cursor shape to blinking bar/pipe?

It can be done in xterm with either of the following:

 echo -e "\033[5 q"
 echo -e "\033[6 q"

The first gives a blinking verticle bar cursor, the second gives a non-blinking bar.  But these are xterm specific extensions to the DEC 1-4 cursors.  Cursors 5 and 6 are not (yet) implemented in rxvt.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2014-02-18 06:59:31

dodo3773
Member
Registered: 2011-03-17
Posts: 801

Re: urxvt cursor shape to blinking bar/pipe?

Been down this road already. rxvt-unicode does not support the i-beam or "|" cursor. Followed every link I could find on google, tried some options in Xdefaults, asked on irc, stared at the source code trying to figure it out (I'm not great with c or programming in general). In the end I went back to a terminal that already supported it (terminator). Not sure why I care so much about this ibeam thing but it drives me nuts not having it. Hopefully that saves you a little time though.

@Trilby
When you say "(yet)" do you know if it is something being looked at at all or just wishful thinking / the future is unknown?

Offline

#9 2014-02-18 08:12:42

Kartious
Member
From: UK
Registered: 2013-03-23
Posts: 311

Re: urxvt cursor shape to blinking bar/pipe?

dodo3773 wrote:

@Trilby
When you say "(yet)" do you know if it is something being looked at at all or just wishful thinking / the future is unknown?

More often than enough It will just come when its done or ready and that is all there is to it

Offline

#10 2014-02-18 11:47:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: urxvt cursor shape to blinking bar/pipe?

As far as I know (which isn't very far) this request has been sent to the rxvt devs, but they have not acted on it - so I wouldn't get my hopes up.

If I wanted it, I'd look at the xterm code to see what as added to give the extra two cursors, then I'd try to add that in to the urxvt code.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#11 2014-02-18 12:31:24

Kartious
Member
From: UK
Registered: 2013-03-23
Posts: 311

Re: urxvt cursor shape to blinking bar/pipe?

Trilby wrote:

If I wanted it, I'd look at the xterm code to see what as added to give the extra two cursors, then I'd try to add that in to the urxvt code.

Then he would have to do this every time URxvt is updated unless he tells pacman to ignore it. Suppose it depends on how much he wants this feature.

Offline

#12 2014-02-18 12:45:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: urxvt cursor shape to blinking bar/pipe?

I didn't say it'd be a great solution, but it is what I'd do.  And it wouldn't be that hard for two reasons: first, one could make a patch, then simply apply that patch to every rebuild of the package, or better 2) submit the patch to the upstream devs.  They've received this request before, so I'd bet that a good working patch would have a good chance of being accepted.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#13 2014-02-18 13:20:51

Kartious
Member
From: UK
Registered: 2013-03-23
Posts: 311

Re: urxvt cursor shape to blinking bar/pipe?

Creating a patch would definitely be the best way forward in that case

Offline

#14 2014-02-18 21:00:59

dodo3773
Member
Registered: 2011-03-17
Posts: 801

Re: urxvt cursor shape to blinking bar/pipe?

Kartious wrote:
dodo3773 wrote:

@Trilby
When you say "(yet)" do you know if it is something being looked at at all or just wishful thinking / the future is unknown?

More often than enough It will just come when its done or ready and that is all there is to it

I meant is it something that is actually being worked on or talked about recently. I wasn't asking if there was a known date for completion (I am unsure of how what I said was interpreted that way). Curious if Trilby saw a recent mailing list entry or something.

Offline

Board footer

Powered by FluxBB