Skrevet av Emne: bash user can't type the letter 'e'  (Lest 2545 ganger)

ATC

  • Gjest
bash user can't type the letter 'e'
« på: 27. ſeptember 2008, 18:24 pm »
  • [applaud]0
  • [smite]0
  • User can't type the letter 'e' under bash, everything else seems to work OK. If he changes to csh then the terminal works normally.

    The problem can be reproduced using su:

    [root@*** root]# echo abcdefghijklmnopqrstuvwxyz                
    abcdefghijklmnopqrstuvwxyz
    [root@*** root]# su - ***
    [***@*** ***]$ cho abcdfghijklmnopqrstuvwxyz
    bash: cho: command not found



    ATC

    • Gjest
    [Solved] bash user can't type the letter 'e'
    « Svar #1 på: 27. ſeptember 2008, 18:24 pm »
  • [applaud]0
  • [smite]0
  • Check the user's .inputrc file.

    In this particular case, the file contained a simple spelling error:

    [root@*** ***]# cat .inputrc            
    et meta-flag on  
    set input-meta on
    set convert-meta off  
    set output-meta on