At 08:57 AM 11/14/02 -0500, Paul Kraus wrote:
I am running Windows XP Pro, SSH Secure Shell (TM) Version 3 Build 267.
It works great except the arrow keys as well as the way backspace and
del work. The arrow key generate characters and del and backspace don't
work right either (this is consistent with telnet). Is there a way I can
fix this? I realize this may be more a windows question then a Linux
question but I don't think I am going to find any help there :)
As you surmise, this is, at least somewhat, more a Windows than a Linux question. That said ... all keys "generate characters" (ASCII strings) when used with terminal (telnet, ssh, and so on) apps. What matters is that the two ends of the communication stream agree on what strings the special keys generate, and how to interpret them.

So ... look in the SSH app and see what its options are for specifying terminal type. Then check your login to the remote system (with "env" if you are connecting to a Linux system; for other OSs, I wouldn't know how) and see what terminal type the remote system thinks you are connected as. Get the two to match, and the character strings generated by the arrow keys should start to work the way you want them to. OR at least it will insofar as the remote OS can interpret them; bash shells, for example, do not knwo how to interpret arrow keys, so will treat them as gobbeldygook no matter what you do with terminal settings (you need ncurses-based apps to interpret arrow keys meaningfully in a non-GUI setting).

As to Backspace and Delete, there is, alas, no standard for "work right" with these keys ... there are two, opposite standards, as to which key generates an ASCII backspace (CTRL-H, ASCII 8), which an ascii DEL (CRTL-?, ASCII 127). Usually, good terminal apps have the ability to set the correspondences either way.

On my Windows systems (yes, I *use* Windows 98 for mundane tasks, though I'm no expert on WinXX configuration issues), I use the freeware app Putty for SSH connections to my Linux servers. It provides a choice for what the BS key sends and about a half-dozen terminal type choices. So if you can't find a way to customize the SSH client you are using, you might try switching to Putty to see if it provides you with better performance.


--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [EMAIL PROTECTED]
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs


Reply via email to