From: home@morla.crec.mipt.ru (Home user)
Subject: Re: compiling and running ssh-1.2.20 with b18
18 May 1997 07:56:20 -0700
Sender: mail@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199705181309.RAA00304.cygnus.gnu-win32@morla.crec.mipt.ru>
Original-To: ogre@aa.net
Original-Cc: gnu-win32@cygnus.com
In-Reply-To: <337D4051.C9B04DB@aa.net> from "Joe Rumsey" at May 16, 97 10:21:21 pm
Content-Type: text
Original-Sender: owner-gnu-win32@cygnus.com

Joe Rumsey wrote:
> I've actually got ssh working, albeit with some warnings from cygwin.dll
> about various things, but I did have to work around a few things in the
> ssh code:
[xxx]
> 4) It tries to read the password upon connecting from /dev/tty, but
> never reads anything.  Luckily it includes code to read from stdin
> instead, which works just fine.

  Same problem. But I managed to trick it to work.
  The changes are in tio.c_lflag settings : one need to add

  tio.c_lflag |= ICANON | ISIG;

  before calling tcsetattr() for non-echoed input, otherwise it would
  hang. Works for me (for 3 days).
  Any ideas why it is not needed for Linux-based compilations, anyone?

> There are probably some other quirks, I've barely tested it, but the 4
> above are what I had to fix to get a basic connection up and running.
> 
> The version of ssh used is 1.2.20.  The ssh home page is
> http://www.cs.hut.fi/ssh
> 
>     Joe
--
Igor V. Kovalenko   mailto:iko@crec.mipt.ru
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
