Re: screen terminal multiplexor and blinking cursor?

From: Stephane CHAZELAS (this.address_at_is.invalid)
Date: 03/01/05


Date: Tue, 1 Mar 2005 20:50:34 +0000

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'

-- 
Stéphane


Relevant Pages

  • Re: Terminal escape sequences
    ... Is there a good reference for these escape sequences anywhere? ... Each terminal kind has its own escape sequences. ... nowadays we don't use many physical terminals anymore. ... If you choose to use these standard escape sequences, ...
    (comp.lang.ruby)
  • Re: vt/ansi codes
    ... > dependencies upon termcap, ncurses, or anything else but libc. ... i started out preliminary designs of an ANSI based terminal I/O ... escape sequences are via simple echo/printf statements. ... needs to be developed to move UNIX terminals past circa 1977. ...
    (freebsd-questions)
  • Re: looking for a couple of files
    ... > These files were a series of bells driven by escape sequences. ... > terminals. ... * To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)
  • Re: bash command substitution, functions and quoting : need help
    ... you can use the PROMPT_COMMAND variable (man bash for the ... and then pick up the results in PS1. ... ANSI escape sequences, when it's written to the screen the escape sequences ... defined set of color escapes that worked across ALL terminals, ...
    (comp.unix.shell)
  • Re: Vb.net Telnet VT100
    ... These escape sequences could move ... command set for controlling the terminals. ... You don't actually make a connection on a modem using vt100. ...
    (microsoft.public.dotnet.general)