LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-19-2006, 04:49 PM   #1
debiant
Member
 
Registered: Jul 2006
Distribution: Source Mage 0.9.6
Posts: 196

Rep: Reputation: 30
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.

Last edited by debiant; 07-19-2006 at 04:54 PM. Reason: Found solution
 
Old 07-19-2006, 04:57 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script question: automatic \ of escape characters in string lagu2653 Programming 2 03-08-2006 07:58 AM
SuidPerl Mail Shell Escape Vulnerability jeremy Linux - Security 1 04-27-2005 03:01 AM
Escape character ? juanb Linux - Newbie 2 08-31-2004 10:03 AM
Escape character not working in shell script philipz Programming 1 04-29-2004 09:58 AM
How do I escape $# in shell scripting? KDE4me Programming 3 06-25-2003 10:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration