Bastien Dejean | 2 Jan 2012 18:57
Picon
Gravatar

Always Hide the Cursor?

Hi,

I'd like to hide the cursor (why isn't it hidden by default?).

I can configure my terminal to have a keybinding to hide the cursor,
e.g.:

    URxvt.keysym.C-0:           command:\033[?25l

But the cursor often reappear without being asked.

I thought of using s-lang macros and hooks but doing:

    message("\033[?25l");

only outputs the sequence without having the expected side effect.

Greetings,
--

-- 
 b.d
(| |)
 ^ ^

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox

(Continue reading)

Bastien Dejean | 2 Jan 2012 19:29
Picon
Gravatar

Re: Always Hide the Cursor?

Bastien Dejean:

> I thought of using s-lang macros and hooks but doing:
> 
>     message("\033[?25l");
> 
> only outputs the sequence without having the expected side effect.

This works:

    tt_send ("\e[?25l");

Cheers,
--

-- 
 b.d
(| |)
 ^ ^

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox


Gmane