zsh-users
 help / color / mirror / code / Atom feed
From: Francisco Borges <f.borges@rug.nl>
To: Zsh User <zsh-users@sunsite.dk>
Subject: Re: laptop tty beeps - and /bin/dash?
Date: Wed, 23 Aug 2006 14:40:21 +0200	[thread overview]
Message-ID: <20060823124021.GA28864@let.rug.nl> (raw)
In-Reply-To: <060821093253.ZM5686@torch.brasslantern.com>

» 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 when
> 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,
-- 
Francisco Borges

BTW... Yesterday I was dealing with the newfound fact that Ubuntu
corrupts the BIOS of Dell laptops. How sweet.


  reply	other threads:[~2006-08-23 12:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-21 12:38 laptop tty beeps regardless of no_beep Francisco Borges
2006-08-21 16:32 ` Bart Schaefer
2006-08-23 12:40   ` Francisco Borges [this message]
2006-08-23 16:50     ` laptop tty beeps - and /bin/dash? Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060823124021.GA28864@let.rug.nl \
    --to=f.borges@rug.nl \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).