Re: screen terminal multiplexor and blinking cursor?
nospam_at_geniegate.com
Date: 03/02/05
- Next message: hendry: "Re: Syncing a file"
- Previous message: Chuck Dillon: "Re: Syncing a file"
- In reply to: Stephane CHAZELAS: "Re: screen terminal multiplexor and blinking cursor?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: hendry: "Re: Syncing a file"
- Previous message: Chuck Dillon: "Re: Syncing a file"
- In reply to: Stephane CHAZELAS: "Re: screen terminal multiplexor and blinking cursor?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|