[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot echo capital M



Quoting M.K.Pai (pai@vsnl.com):

> I am facing a rather strange problem.
> 
> I am unable to echo the character "M" on my bash prompt.
> 
> I am able to get M by 
> perl -e 'print chr(77);'
> 
> I am even able to put it in an email. Note the "M" right here.
> But at the bash prompt, I just don't get any M.
> 
> Most important, other users on this system, like root and all
> others, are having no problems at all

The last person who had this sort of problem couldn't type E.
The reason was that the file ~/.inputrc contained

"\e[E":beginning-of-line
"\e[H":beginning-of-line
"\eOH":beginning-of-line
"\eOF":end-of-line
"\EOF":end-of-line <------------------ the offending line
"\e[F":end-of-line
"\e[e":end-of-line

Cheers,

-- 
Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Reply to: