Re: Cannot echo capital M

2000-07-11 Thread M.K.Pai
Thanks a million.
A faulty .inputrc was the problem.

PAI
On Mon, Jul 10, 2000 at 06:02:51PM +0100, David Wright wrote:
 Quoting M.K.Pai ([EMAIL PROTECTED]):
 
  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:  [EMAIL PROTECTED]   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.
 



Re: Cannot echo capital M

2000-07-11 Thread Will Trillich
On Mon, Jul 10, 2000 at 06:02:51PM +0100, David Wright wrote:
 Quoting M.K.Pai ([EMAIL PROTECTED]):
 
  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

i have a similar problem with the E -- it shows up eventually
after some time-out, or once i press another key.

and here's my ~/.inputrc (altho i use tcsh, not bash):

set show-all-if-ambiguous on
\e[15~:reverse-search-history
\e[17~:forward-search-history

what's the parallel config file for tcsh?



Cannot echo capital M

2000-07-10 Thread M.K.Pai
Guys,

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

Please help.

PAI



Re: Cannot echo capital M

2000-07-10 Thread Bolan Meek
M.K.Pai wrote:
 
 Guys,
 
 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
 
 Please help.

Do you have in .bash_profile, .bashrc, .profile, or any of
those other dotfiles, or in any script they call a `stty ...`
line that sets M to be a control character of some kind?
Maybe some editing mangled it.  Maybe a ^ was left out.

-- 
[EMAIL PROTECTED] 972-729-5387
[EMAIL PROTECTED] (home phone on request)
http://www.koyote.com/users/bolan
RE: xmailtool http://www.koyote.com/users/bolan/xmailtool/index.html
I am the ILOVEGNU signature virus. Just copy me to your signature.
This email was infected under the terms of the GNU General Public
License.



Re: Cannot echo capital M

2000-07-10 Thread David Wright
Quoting M.K.Pai ([EMAIL PROTECTED]):

 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:  [EMAIL PROTECTED]   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.