Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-17-2005, 03:36 PM   #1
Registered: Jan 2004
Posts: 32

Rep: Reputation: 15
Angry Lowercase 'b' not working in bash shell

First of all, I'm not a bash user so keep your comments at bay my friends.

My buddy is a bash user and has been experiencing an interesting problem lately: the lowercase 'b' does not show up in a terminal window! All other letters, upper and lowercase do, and the lowercase b works everywhere else...even when editing in vi from a terminal! Go figure! He used to be able to copy/paste a 'b' onto the command line but even that doesn't work now. The only time we can get a 'b' to show up is when using forward (tab) completion of a file/directory/app which contains one...but never one that BEGINS with it.

So, since I'm always giving him a ration of crap for being a bash user I exclaimed, "Yeah, it's probably because you're a bash user!" On that note, he logged into a cshell and viola...the letter 'b' works just fine?! Are you kidding me?

It's definitely not a finicky hardware problem...that's been ruled out. It's not a system-wide problem because the keystroke works when using vi in a terminal window and in other apps as well.

Has anyone seen/heard of this before? The easy work around is to just have him switch to csh or tcsh, but an explanation or conjecture would be amusing. By the way, it's RedHat Enterprise Linux (2.4.21-27.0.2.EL).

So, evidently, there is no 'b' in bash.


Old 05-17-2005, 04:24 PM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681
I believe that both vi and bash use the readline library, so that would rule out a problem with the readline key definitions.

There is a bash builtin command called bind that might be the culprit. Perhaps there is something in one of the bash startup files to uses it. The only other thing I can think of is if he is using a font-encoding that is incompete. Such as a sample font, or one extracted from a pdf file.


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
Bash Shell Startup Files - Not working! Carl-Fredrik Linux From Scratch 1 10-20-2004 03:52 PM
What is Bash shell? xailer Linux - Newbie 4 11-23-2003 09:29 AM
Bash Shell triplem Linux - Software 4 04-17-2003 05:11 PM
Bash shell triplem Linux - Software 1 04-14-2003 08:01 AM
bash shell not working? magyartoth Linux - General 4 04-09-2002 08:56 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:37 AM.

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