Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Unable to Use Backslash Under Remote Bash shell

From: Greg Wooledge <wooledg(at)eeg.ccf.org>
Date: Tue Aug 05 2003 - 10:50:54 EDT

On Tue, Aug 05, 2003 at 10:16:08AM -0400, Jeff Hill wrote:
> I tried your suggestiong about a bad dot file, but couldn't find anything
> strange. I tried removing everything from my .bashrc and .bash_profile
> files except a basic path statement; no luck there.

Yeah, if it wasn't stty, then I can't think what it could have been inside of a dotfile, unless someone went out of his way to make the dotfile act badly. (stty could easily be screwed up by accident.)

The second thing that came to mind for me was that you might have something very wicked happening in your terminfo/termcap setup. Check your $TERM variable, and also the output of "infocmp". (But if you're not already familiar with terminfo, then it could be a bit overwhelming.) Anyway, if you have some key's escape sequence mapped to "\", then perhaps the remote copy of bash is interpreting "\" as "F2" or whatever, therefore doing nothing.

(Hint: "\E" in infocmp's output is "Esc", and the fields that begin with "k" (e.g. kdch1) are escape sequences for keys. Debian doesn't use termcap at all, so we don't need to worry about that one, I hope.)

To rule out any client-side remapping issues, you can press "Ctrl-V" and then "\" to see the literal bytes being sent by your backslash key. If you just see "\" on the screen, then you know the client side is sending it through unmolested.

I'm inclined to think that this issue is not ssh-specific, but I must admit I don't know exactly what's causing it, so I can't rule anything out at this point (except stty, which we already checked). Received on Tue Aug 5 12:54:27 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:03:01 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library