LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   forward slash being treated as escape character in shell? (https://www.linuxquestions.org/questions/linux-general-1/forward-slash-being-treated-as-escape-character-in-shell-465662/)

debiant 07-19-2006 04:49 PM

forward slash being treated as escape character in shell?
 
I just got my LFS 6.1.1 system up and running but have a
slight, well not so slight problem. Bash is not allowing me
to type the / (forward slash) When I do use forward slash at
the shell, and I try to follow it with any other keystroke
it doesn't display the next keystroke, which is why I'm
wondering if the forward slash is being treated as an escape
character. Now during login I can type a forward slash, and
in lynx and nano, no problem, but bash is jacked up.

Any suggestions as to why this might be happening.








EDITED: I found the problem in inputrc I had a couple of
forward slashes where I should have had backslashes.

MensaWater 07-19-2006 04:57 PM

Type "stty -a" and see if the forward slash is defined for anything.

It may be your bashrc or profile (or .bashrc or .profile) have a stty defined for the foward slash though obviously they shouldn't.

Try typing "csh" or "ksh" or "zsh" if you have one of those shells and see if the problem still occurs in those other shells. If so it may help rule it out as being an issue with your bash shell and something a little more global.


All times are GMT -5. The time now is 03:25 PM.