From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2724 invoked from network); 23 Aug 2006 16:51:07 -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.4 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,UNPARSEABLE_RELAY 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 16:51:07 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 40231 invoked from network); 23 Aug 2006 16:50:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Aug 2006 16:50:55 -0000 Received: (qmail 26677 invoked by alias); 23 Aug 2006 16:50:48 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10642 Received: (qmail 26668 invoked from network); 23 Aug 2006 16:50:47 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 23 Aug 2006 16:50:47 -0000 Received: (qmail 39235 invoked from network); 23 Aug 2006 16:50:47 -0000 Received: from vms044pub.verizon.net (206.46.252.44) by a.mx.sunsite.dk with SMTP; 23 Aug 2006 16:50:46 -0000 Received: from torch.brasslantern.com ([71.121.0.226]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J4G005YVMSDK2C8@vms044.mailsrvcs.net> for zsh-users@sunsite.dk; Wed, 23 Aug 2006 11:50:39 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id k7NGobon005508 for ; Wed, 23 Aug 2006 09:50:37 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id k7NGoame005507 for zsh-users@sunsite.dk; Wed, 23 Aug 2006 09:50:36 -0700 Date: Wed, 23 Aug 2006 09:50:36 -0700 From: Bart Schaefer Subject: Re: laptop tty beeps - and /bin/dash? In-reply-to: <20060823124021.GA28864@let.rug.nl> To: Zsh User Message-id: <060823095036.ZM5506@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <20060821123853.GA21720@let.rug.nl> <060821093253.ZM5686@torch.brasslantern.com> <20060823124021.GA28864@let.rug.nl> Comments: In reply to Francisco Borges "Re: laptop tty beeps - and /bin/dash?" (Aug 23, 2:40pm) On Aug 23, 2:40pm, Francisco Borges wrote: } } 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?) No, that's not supposed to happen, unless you've rebound ^G to self-insert or something. } 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). That's also very odd. As I said before, the only thing nobeep does is control whether zsh outputs a ctrl-G character at certain times. The interpretation of that character is up to the terminal emulator and the tty settings. } 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? Unknown. Check whatever the equivalent of /etc/profile is. I haven't been able to get a system bell to ring on my newish PC since the day I got it. I don't know if the manufacturer failed to connect something, or if gdm/Gnome is turning it off somehow ... and it hasn't mattered enough to me to open the case to find out ... Zsh behaves properly, though, as is obvious from the blinking if I turn on the visible bell in the terminal emulator.