LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-17-2003, 07:36 AM   #1
petercool
Member
 
Registered: May 2002
Distribution: Mandrake 10.0
Posts: 78

Rep: Reputation: 15
Cygwin:How do you turn the bash shell bell off?


Before I install linux I am trying to get used to the bash shell in cygwin. How do I turn off the bell (without disconnecting the speaker on my motherboard)?

 
Old 05-17-2003, 09:37 AM   #2
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Try in your bios...if I understand your question that bell sound is probably OS indy and will only be able to be deactivated in you bios settings.
 
Old 05-17-2003, 02:15 PM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
you can leave the speaker plugged in, if you cut the wires.
there's a bash configuration command for turning it off
too.
16 Dec 98 - Turning off bash's console beeping is accomplished by putting the line set bell-style none in your ~/.inputrc
 
Old 05-18-2003, 06:44 AM   #4
petercool
Member
 
Registered: May 2002
Distribution: Mandrake 10.0
Posts: 78

Original Poster
Rep: Reputation: 15
Thanks

Thanks very much I will try it.
 
Old 05-19-2003, 05:31 PM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
i've never actually tried that command. i just pull off the
speaker from the motherboard connecter, but you're
welcome.
 
Old 05-22-2003, 02:46 PM   #6
petercool
Member
 
Registered: May 2002
Distribution: Mandrake 10.0
Posts: 78

Original Poster
Rep: Reputation: 15
How do I open that file?

How do I open files in bash or do I need to use some kind of editor? Could I open and modify files using Cygwin?

Sorry for asking such a silly question!
 
Old 05-22-2003, 04:41 PM   #7
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
i bet cygwin has vi, which is really hard to use. i can't remember
if cygwin uses unix type text files(line feed only) or dos ones
(carriage return and line feed).
i would use some dos editor like edit or q or notepad, and edit
a pre existing line, so the editor doesn't have to add a line feed,
and it will not matter.
 
Old 05-22-2003, 09:16 PM   #8
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Depends on how you installed as to what editors you have - which you do need to edit files. You *can* use NT apps (or whatever) to edit Cygwin files (which do use Linux eol's but are pretty flexible) but it's a better idea to use Cygwin apps. Can't remember if vi/m was a default choice or not. Run setup.exe and you can pull down mc with mcedit or nano or any of several simple editors if they're not already on there. 'Locate' will answer if you've got those. If you just want to *look* at files, you have 'less', etc., of course.
 
Old 05-23-2003, 11:48 AM   #9
petercool
Member
 
Registered: May 2002
Distribution: Mandrake 10.0
Posts: 78

Original Poster
Rep: Reputation: 15
Thumbs up Editors

I've found that the dos editor works and I will update my Cygwin installation and try what you have suggested.

Fortunately though in about six weeks time I should have built a pc and installed RedHat.

Last edited by petercool; 05-24-2003 at 05:57 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Is there a way in Linux/Unix bash to turn off output or redirect to a file jimwelc Linux - Newbie 6 01-06-2005 04:56 AM
How do you turn an executable into a shell script? Thaidog Linux - Newbie 1 09-20-2004 08:20 PM
Cygwin and Bash???? Beppe83 Linux - Software 5 07-12-2004 12:01 PM
aterm: display bell and audio bell hallamigo Linux - Software 4 05-02-2004 01:00 AM
how do i turn off read only in knoppix bash ChopSueyX Linux - Newbie 7 11-20-2003 09:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration