Arrow keys and others via ssh

J <[email protected]> Mon, 5 Aug 2024 11:31:23 -0400
Newsgroups gmane.editors.nano.general
Message-ID <CAM9TqJ4Bd_qjpY9S+-qPnh5RS2Y_e=nr29oPLc3wV4+Cou7T5A@mail.gmail.com>
--0000000000003e718a061ef15fde
Content-Type: text/plain; charset="UTF-8"

Hello!

I used the direct install - Downloaded the proper zip file, manually copied
the files to C:\Program Files\Nano, added the folder to the path, opened a
command-prompt and validated that nano can indeed edit files.

The problem is that I have the ssh-server  for Windows installed, and when
I log in via ssh and run nano, it sucessfully loads the file, but I can't
navigate inside the file.

Pressing any arrow key generates an
[ unbound key ]
message on nano's status-line.

Whether I use the arrow-keys or the arrow-keys on the num-pad, same result.

I can enter text, and use backspace, but not the delete key.

The page-up, page-down, home and end keys work, although they do not seem
to update the cursor position.

Using ctrl-X to quit also works.

I am using the ssh client from cygwin to connect.

Any help would be appreciated.
Thank you for reading.

--0000000000003e718a061ef15fde
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div dir=3D"auto"><br></div><div dir=3D"auto">Hello!</div=
><div dir=3D"auto"><br></div><div dir=3D"auto">I used the direct install - =
Downloaded the proper zip file, manually copied the files to C:\Program Fil=
es\Nano, added the folder to the path, opened a command-prompt and validate=
d that nano can indeed edit files.</div><div dir=3D"auto"><br></div><div di=
r=3D"auto">The problem is that I have the ssh-server=C2=A0 for Windows inst=
alled, and when I log in via ssh and run nano, it sucessfully loads the fil=
e, but I can&#39;t navigate inside the file.</div><div dir=3D"auto"><br></d=
iv><div dir=3D"auto">Pressing any arrow key generates an=C2=A0</div><div di=
r=3D"auto">[ unbound key ]</div><div dir=3D"auto">message on nano&#39;s sta=
tus-line.</div><div dir=3D"auto"><br></div><div dir=3D"auto">Whether I use =
the arrow-keys or the arrow-keys on the num-pad, same result.</div><div dir=
=3D"auto"><br></div><div dir=3D"auto">I can enter text, and use backspace, =
but not the delete key.</div><div dir=3D"auto"><br></div><div dir=3D"auto">=
The page-up, page-down, home and end keys work, although they do not seem t=
o update the cursor position.</div><div dir=3D"auto"><br></div><div dir=3D"=
auto">Using ctrl-X to quit also works.</div><div dir=3D"auto"><br></div><di=
v dir=3D"auto">I am using the ssh client from cygwin to connect.</div><div =
dir=3D"auto"><br></div><div dir=3D"auto">Any help would be appreciated.</di=
v><div dir=3D"auto">Thank you for reading.</div><div dir=3D"auto"><br></div=
></div>

--0000000000003e718a061ef15fde--