LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] BASH confusion

[ILUG] BASH confusion

Gavin McCullagh gavin at fiachra.ucd.ie
Tue Oct 23 14:48:48 IST 2001


On Tue, 23 Oct 2001, John Gaughan wrote:

> Not quite all, since your supplying a command to run (i.e., it's not an
> interactive shell) the GNU readline library isn't used (readline
> provides the command-line interface in bash, it's also used by other
> programs such as ncftp and gdb).  The readline startup files appear to
> be read after bash's startup files, so they could be overriding the "set 
> -o emacs" in your bash startup files.
> 
> Readline is controlled by the files /etc/inputrc and ~/.inputrc.  The
> default key bindings are controlled by the "editing-mode" variable
> (there's also a "keymap" variable, but as far as I can tell this
> doesn't do anything).  To set the key bindings to vi you'd add the line
> "set editing-mode vi" to your .inputrc (or "set editing-mode emacs" for
> emacs key bindings).  You can see what your readline variables are set
> to with "bind -V".

Brilliant John, it was indeed the .inputrc.  Both keymap and editing-mode
were set to vi so they're both changed back to emacs and all is well with
my shell again,

Thanks

Gavin





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell