This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin as SSH Client Problem
- From: René Berber <r dot berber at computer dot org>
- To: cygwin at cygwin dot com
- Date: Tue, 19 Sep 2006 01:44:18 -0500
- Subject: Re: Cygwin as SSH Client Problem
- Openpgp: url=hkp://random.sks.keyserver.penguin.de
- References: <450F755F.9010803@protocol.gr>
Panos Katergiathis wrote:
> I am using cygwin as ssh client in order to administrate a linux
> machine. All is ok, except when running (on the remote machine) programs
> like Midnight Commander, whereas the lines (ncurses?) appear as garbage.
That's not a ssh problem, it's the terminal type and/or font you are using.
> When running Midnight Commander locally (via cygwin) such lines appear
> properly.
>
> So i figure that it has to do something with the way cygwin emulates the
> terminal of the remote machine.
>
> Unfortunately, this is as far as i can go. Any further help will be
> greatly appreciated.
Do "echo $TERM" and if the result is somethig like "cygwin" then I think that is the problem because there is a good chance that the remote system doesn't know that type of terminal.
Solution: set (in the remote computer) TERM to ansi or xterm if you are using rxvt.
--
René Berber
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/