public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Question if I may
       [not found] ` <39D99725.46FFEDFC@cygnus.com>
@ 2000-10-03 10:22   ` Bret Jordan
  2000-10-03 11:06     ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Bret Jordan @ 2000-10-03 10:22 UTC (permalink / raw)
  To: cygwin

Corinna,

Thank you so much for your time.

Situation:
Win NT 4.0 Server running sshd (OpenSSH)
Win NT 4.0 Workstation running the GUI SSH client from ssh.com

Server Config:
cygwin version = 1.1.4 (the latest version as of a few days ago)
sshd version = latest (as of a few days ago)
I have generated the host keys and passwd file.

Nearly everything works fine.  I can connect from a workstation to the 
server and run the normal shell programs.  However when I try to run any 
command character programs, edit, pmon, emacs, vi, or anything that draws 
data to the command window it dies.  Usually the response is it just hangs 
the connection and sits there.  Then if I look at the actual process on the 
server it shows that the process xyz is running.   It is like it is trying 
to run but can not display the data correctly through the ssh terminal 
connection.  I would think that it must be something I am doing.  Some 
config option I have not set or some ENV variable that I have not set.  I 
have tried this situation with both the cmd.exe and bash.exe shells.

Another situation, if you start SSHD from a command prompt and not as a 
service when you try to run VI from the workstation the window on the 
server that you started SSHD with show the VI screen (but it is hung/locked 
up)  you have to open a new window and kill the process for it to regain 
control of the system.

Thank you again for all your help.

Bret






At 10:21 AM 10/3/00 +0200, you wrote:
>Bret Jordan wrote:
> >
> > Re:
> > Running sshd (openssh) on windows NT
> >
> > Preface:
> > I have successfully installed sshd on my NT box, and can attach to it via
> > an ssh client.
> >
> > Problem:
> > I am unable to run any command character program (vi, edit, emacs -nw,
> > etc.) through the ssh connection.  I have tried both the cmd.exe and
> > bash.exe shells.  By chance, would you be able to point me in the correct
> > direction (i.e. can this be done on NT?)?  If not, I am sorry to bother 
> you.
>
>You don't bother me but I would prefer to discuss this things on the
>cygwin mailing list as I asked for in the README. If you are not
>subscribed, simply send an empty email to
>
>         mailto:cygwin-subscribe@sources.redhat.com
>
>On the other hand, I can't help you without more information. The fact
>that you are unable to run vi/edit/emacs is not very helpful. What
>does that mean? Do they not start? Do they start but crash afterwards?
>Do they run but the screen is messed up? Which version of Cygwin are
>you using? Which OS? etc.
>
>I can assure you that it basically works. I'm using ssh connection to
>my W2K box every day so I assume your system is missing some setting
>($TERM?).
>
>Corinna
>
>--
>Corinna Vinschen                  Please, send mails regarding Cygwin to
>Cygwin Developer                        mailto:cygwin@sources.redhat.com
>Red Hat, Inc.
> mailto:vinschen@cygnus.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bret Jordan                       Dean's Office
LAN Manager              College of Engineering
801.585.3765                 University of Utah
              jordan@coe.utah.edu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Question if I may
  2000-10-03 10:22   ` Question if I may Bret Jordan
@ 2000-10-03 11:06     ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2000-10-03 11:06 UTC (permalink / raw)
  To: cygwin

Bret Jordan wrote:
> Nearly everything works fine.  I can connect from a workstation to the
> server and run the normal shell programs.  However when I try to run any
> command character programs, edit, pmon, emacs, vi, or anything that draws
> data to the command window it dies.  Usually the response is it just hangs
> the connection and sits there.  Then if I look at the actual process on the
> server it shows that the process xyz is running.   It is like it is trying
> [...]

You should use the Cygwin ports of that tools ("vim" from the base
distro for example) since most native Windows applications are not able
to deal with that socket oriented connection used by sshd. Windows
tools like `edit' are using the native Windows console commands most
of the time so they are only able to run in a standard console. While
you are connected to another machine, the communication is quite
different. And don't try to start GUI tools. This will not work, either.

Hope, that helps,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:cygwin@sources.redhat.com
Red Hat, Inc.
mailto:vinschen@cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-10-03 11:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4.3.0.20001002234133.00ae3c30@imap.coe.utah.edu>
     [not found] ` <39D99725.46FFEDFC@cygnus.com>
2000-10-03 10:22   ` Question if I may Bret Jordan
2000-10-03 11:06     ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).