LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 12-11-2007, 09:16 AM   #1
jonfa
Member
 
Registered: Mar 2001
Location: FL
Posts: 257

Rep: Reputation: 30
turning off terminal bell


Hi all,

How can I disable the terminal bell on my Solaris 10 machine? I am not running X so xset won't work. Any ideas? Thanks.
 
Old 12-11-2007, 04:30 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
stty should work.
 
Old 12-12-2007, 07:54 AM   #3
jonfa
Member
 
Registered: Mar 2001
Location: FL
Posts: 257

Original Poster
Rep: Reputation: 30
I tried

$stty -imaxbel

but that doesn't work. Any other options I could try? Thanks.
 
Old 12-12-2007, 10:22 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Under what contexts do you want the bell not to ring ?
What is your H/W ?
 
Old 12-12-2007, 01:21 PM   #5
jonfa
Member
 
Registered: Mar 2001
Location: FL
Posts: 257

Original Poster
Rep: Reputation: 30
I am using vi and vi will complain a lot since I am trying to understand all the commands. I did manage to turn it off for vi by doing the following:

$echo $TERM
-this reports sun-color
$infocmp
-this dispalys bel=^G
$infocmp > terminfo-sun
- remove bel=^G from terminfo-sun
$tic terminfo-sun

Link
 
Old 12-12-2007, 02:26 PM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Yes, that the way to avoid it for most applications.
 
Old 12-14-2007, 08:05 AM   #7
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
in X windows

xset -b
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No gnome terminal bell bluethumb Linux - General 6 07-24-2008 04:05 AM
centos 4.2: terminal bell works remotely, but not locally hawarden Linux - General 2 10-28-2005 02:39 PM
Linux Terminal Bell noeffred Linux - General 1 10-25-2005 02:29 PM
terminal configuration: font, cursor, bell, screensvr;dhcpcd introuble Linux - General 3 09-09-2005 03:39 AM
Terminal Bell K3yMaster Linux - General 0 10-01-2003 12:02 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 02:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration