From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10073 invoked from network); 23 Aug 2006 12:40:42 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Aug 2006 12:40:42 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 21029 invoked from network); 23 Aug 2006 12:40:30 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Aug 2006 12:40:30 -0000 Received: (qmail 13427 invoked by alias); 23 Aug 2006 12:40:22 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10641 Received: (qmail 13417 invoked from network); 23 Aug 2006 12:40:21 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 23 Aug 2006 12:40:21 -0000 Received: (qmail 19749 invoked from network); 23 Aug 2006 12:40:21 -0000 Received: from dep.let.rug.nl (129.125.8.60) by a.mx.sunsite.dk with SMTP; 23 Aug 2006 12:40:19 -0000 Received: from dep.let.rug.nl ([129.125.8.60]) by dep.let.rug.nl (SMSSMTP 4.1.11.41) with SMTP id M2006082314401704128 for ; Wed, 23 Aug 2006 14:40:18 +0200 Received: from loki (postfix@loki.let.rug.nl [129.125.8.86]) by dep.let.rug.nl (8.12.11.20060308/8.12.10) with ESMTP id k7NCeEEK018615 for ; Wed, 23 Aug 2006 14:40:14 +0200 (MEST) Received: by loki (Postfix, from userid 7006) id E2574F091; Wed, 23 Aug 2006 14:40:23 +0200 (CEST) Date: Wed, 23 Aug 2006 14:40:21 +0200 From: Francisco Borges To: Zsh User Subject: Re: laptop tty beeps - and /bin/dash? Message-ID: <20060823124021.GA28864@let.rug.nl> Mail-Followup-To: Zsh User References: <20060821123853.GA21720@let.rug.nl> <060821093253.ZM5686@torch.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <060821093253.ZM5686@torch.brasslantern.com> X-Operating-System: Linux/2.6.13.4 (i686) X-Editor: GNU Emacs 22.0.50.1 Organization: Alfa Informatica - Rijksuniversiteit Groningen User-Agent: Mutt/1.5.9i X-Whitelist: OK X-Scanned-By: milter-spamc/0.25.321 (dep.let.rug.nl [129.125.8.60]); Wed, 23 Aug 2006 14:40:17 +0200 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by dep.let.rug.nl id k7NCeEEK018615 =BB On Mon, Aug 21, 2006 at 09:32AM -0700, Bart Schaefer wrote: > On Aug 21, 2:38pm, Francisco Borges wrote: > } > } I have a dell laptop, running Kubuntu and the zsh4.3.2, if I log on a > } tty (getty BTW), zsh will ignore the no_beep option and... beep away. > > no_beep only stops zsh itself from emitting a BEL (ctrl-g) character at > certain times such as on failed completion. It doesn't really turn off > the terminal bell. > > Are you saying that failed completions etc. are beeping at you even whe= n > you setopt nobeep? Hello, (Sorry for the delayed reply.) The beep in my computer *IS* behaving strangely, but it might not be zsh's fault. What I know for sure is that, the tty beep behavior was completely different from the tty behavior I get at the desktop I use at work (same zsh version, same zshenv|zshrc files). Two observations: 1. I *used* to get a beep, when hitting ^G with zsh with "setopt no_beep" (but without using setterm). (Is that supposed to happen?) 2. if I start the shell with setopt no_beep, I sometimes can't get it to beep again by changing the option (again, without ever touching setterm). Just now I remembered that I changed /bin/sh from /bin/bash to /bin/dash ("Debian Almquist Shell"). Could this influence how the beep works? That was a difference between my work machine and my own laptop. Tonight I'll test it. BTW, does anyone has remarks about using /bin/dash as the /bin/sh clone? I use it because it does make booting faster. One thing I discovered is that, ksh-like, dash does set or increment SHLVL. Cheers, --=20 Francisco Borges BTW... Yesterday I was dealing with the newfound fact that Ubuntu corrupts the BIOS of Dell laptops. How sweet.