zsh-users
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: zsh-users@sunsite.auc.dk
Subject: Re: replace beep with a flash
Date: Mon, 26 Jul 1999 16:58:05 +0200	[thread overview]
Message-ID: <9907261458.AA11624@ibmth.df.unipi.it> (raw)
In-Reply-To: "Jens Linge"'s message of "Mon, 26 Jul 1999 17:22:57 DFT." <379C7D51.7F707454@embl-heidelberg.de>

Jens Linge wrote:
> Dear all,
> 
> is it possible to replace the BEEP with a visual signal (like a flashing
> background of the shell)?
> I once saw somebody working with a z-shell having this kind of option,
> but I didn't find anything in the manual or in the mail archive.
> There must be an option which I don't know. Any ideas?

You can do this from 3.1.6 (i.e., from next week, if you're waiting for the
released version).  You have to set the ZBEEP parameter.  By the way, the
strings in the documentation below were deduced from the fact that I use
xterm with inverse video turned on --- if I've got it wrong for the other
sort, please let me know.

          ZBEEP
          If set, this gives a string of characters, which can use all
          the same codes as the bindkey command as described in the
          zle module entry in zshmodules(1), that will be output to
          the terminal instead of beeping.  This may have a visible
          instead of an audible effect; for example, the string
          `\e[?5h\e[?5l' on a vt100 or xterm will have the effect of
          flashing reverse video on and off (if you usually use
          reverse video, you should use the string `\e[?5l\e[?5h'
          instead).  This takes precedence over the NOBEEP option.

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


  reply	other threads:[~1999-07-26 15:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-26 15:22 Jens Linge
1999-07-26 14:58 ` Peter Stephenson [this message]
1999-07-26 16:11 ` Andrew Gallagher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9907261458.AA11624@ibmth.df.unipi.it \
    --to=pws@ibmth.df.unipi.it \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).