zsh-users
 help / color / mirror / code / Atom feed
* Re: replace beep with a flash
  1999-07-26 15:22 replace beep with a flash Jens Linge
@ 1999-07-26 14:58 ` Peter Stephenson
  1999-07-26 16:11 ` Andrew Gallagher
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Stephenson @ 1999-07-26 14:58 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* replace beep with a flash
@ 1999-07-26 15:22 Jens Linge
  1999-07-26 14:58 ` Peter Stephenson
  1999-07-26 16:11 ` Andrew Gallagher
  0 siblings, 2 replies; 3+ messages in thread
From: Jens Linge @ 1999-07-26 15:22 UTC (permalink / raw)
  To: zsh-users

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?

Thank you in advance.

Jens


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: replace beep with a flash
  1999-07-26 15:22 replace beep with a flash Jens Linge
  1999-07-26 14:58 ` Peter Stephenson
@ 1999-07-26 16:11 ` Andrew Gallagher
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Gallagher @ 1999-07-26 16:11 UTC (permalink / raw)
  To: zsh-users

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?
>

This is more usually done in an X terminal emulator rather than the
shell... try starting your terminal with the "-vb" option or set X-resource
"visualBell: true" (this works for both xterm and rxvt)...


--
Andrew Gallagher
Dept. of Applied Maths
Queen's University of Belfast
http://members.tripod.com/~AndrewGallagher/id.html




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-07-26 16:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-26 15:22 replace beep with a flash Jens Linge
1999-07-26 14:58 ` Peter Stephenson
1999-07-26 16:11 ` Andrew Gallagher

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).