Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ZBEEP doesn't work



On Wed, 25 Mar 2015 14:47:23 +0800
Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx> wrote:
> I have tried to set ZBEEP to "\e[?5h\e[?5l" according to the manual, but
> it doesn't make the terminal flashing. Because it's too quick the
> reverse video on and off. If I run a command like this:
> 
> % print -b '\e[?5h';sleep 0.05;print -b '\e[?5l'
> 
> then there is a flashing on the screen. 
> 
> So what can I set in ZBEEP for a screen flashing?

That way of doing things is certainly a bit VT100-age.

If your terminal has a visual bell, you're better off using that. xterm
and rxvt do but I haven't checked the various GUI system terminal
emulators.  The option is -vb and the resource is visualBell.

pws



Messages sorted by: Reverse Date, Date, Thread, Author