Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

putty plink.exe disabled history

1,201 views
Skip to first unread message

Tom Smith

unread,
Jul 18, 2011, 10:31:37 AM7/18/11
to
Hello,
If I login into a remote linux machine using plink.exe, the up and
down arrow key for command history won't work any more though I my
login shell in linux is bash. However, there is no such a problem if
using putty.
is there a way to do it?
Tom

Jacob Nevins

unread,
Jul 21, 2011, 7:58:41 AM7/21/11
to
Tom Smith <tsmou...@gmail.com> writes:
>If I login into a remote linux machine using plink.exe, the up and
>down arrow key for command history won't work any more though I my
>login shell in linux is bash. However, there is no such a problem if
>using putty.

This is expected behaviour. As the Plink documentation says, "Plink is
probably not what you want if you want to run an interactive session in
a console window." Plink is designed as a simple transport for SSH and
other protocols, for automated use.

Unlike PuTTY, Plink does not include a terminal emulator, which is what
would interpret your arrow keypresses and turn them into the escape
codes the server would understand. If nothing else in your environment
provides terminal emulation (as is the case if you're running plink.exe
in a Windows console), then things like command history and full-screen
applications on the server aren't going to work as you expect.

>is there a way to do it?

Why not use PuTTY?

0 new messages