From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3208 invoked from network); 26 Jul 1999 15:29:22 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Jul 1999 15:29:22 -0000 Received: (qmail 15345 invoked by alias); 26 Jul 1999 15:29:05 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2470 Received: (qmail 15338 invoked from network); 26 Jul 1999 15:29:04 -0000 Message-Id: <9907261458.AA11624@ibmth.df.unipi.it> To: zsh-users@sunsite.auc.dk Subject: Re: replace beep with a flash In-Reply-To: "Jens Linge"'s message of "Mon, 26 Jul 1999 17:22:57 DFT." <379C7D51.7F707454@embl-heidelberg.de> Date: Mon, 26 Jul 1999 16:58:05 +0200 From: Peter Stephenson 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 Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy