Re: screen terminal multiplexor and blinking cursor?

nospam_at_geniegate.com
Date: 03/02/05


Date: Wed, 02 Mar 2005 20:22:48 GMT

In: <slrnd29lcq.6fq.stephane.chazelas@spam.is.invalid>, Stephane CHAZELAS <this.address@is.invalid> wrote:
>2005-02-28, 18:31(+00), nospam@geniegate.com:
>> Sorry if this is a FAQ, I tried googling for it, but 'screen' is
>> such a common word it was difficult to locate anything. (hence the
>> "terminal multiplexor" in the subject, for future users)
>>
>> Is there a way, using the 'screen' utility to make a cursor blink
>> with terminals that don't support blinking?
>[...]
>
>No need for screen, if your terminal supports the cnorm and
>civis escape sequences:
>
>zsh -c 'zmodload -i zsh/terminfo zsh/zselect; while ((1)) {
> echoti civis; zselect -t20; echoti cnorm; zselect -t20}' &
>
>Note that some terminfo databases are broken, you may want to
>try to hardcode the escape sequences. For xterm/rxvt for
>instance, replace echoti civis with print -n '\e[?25l' amd
>echoti cnorm with print -n '\e[?25h'

Something like that almost works, in fact, vim has a c program
that does something like that, to compile & run in the background.

The reason I wanted 'screen' to do it is that screen is already
running, I didn't want to create a whole process just for blinking
the silly cursor. (It's not worth a whole process)

I looked at the screen source for the event loop, trying to
figure out where a person would insert a couple printf statements,
but to no avail (with it's socket handling etc.. probably best
to leave well enough alone, I couldn't very well install the patch
on every screen utility on every host for a blinking cursor anyway.
:-) )

Jamie

-- 
http://www.geniegate.com                    Custom web programming
guhzo_42@lnubb.pbz (rot13)                User Management Solutions


Relevant Pages

  • Re: [Linux-fbdev-devel] cursor bug
    ... There kernel seems not to keep track of the cursor state ... > correctly when switching virtual terminals. ... The cursor goes into blinking ... > Switch back to the first terminal. ...
    (Linux-Kernel)
  • Re: How to enhance caret for visually impaired users
    ... Intellipoint 5.5 will enable control of the blinking cursor with the non ... "Uncle John" ... "The term caret is used in graphical user interface terminology ...
    (microsoft.public.word.docmanagement)
  • Re: How to enhance caret for visually impaired users
    ... will enable control of the blinking cursor with the non Microsoft "big ... Having found the control for setting the blink rate and width of the ... "The term caret is used in graphical user interface terminology where it ...
    (microsoft.public.word.docmanagement)
  • Re: Do not want data to auto sort
    ... > I'm still going to refer to the cursor as that blinking line on the screen. ... the 'fetching data' meaning is more common. ... relating to the 'blinking character' meaning. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: How to enhance caret for visually impaired users
    ... "blinking cursor" on my own machine I looked for it in the customer's ... It was there in Control Panel,etc. ... "The term caret is used in graphical user interface terminology where it ...
    (microsoft.public.word.docmanagement)