delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/03/13:32:12

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Alan Bowler <atbowler AT thinkage DOT ca>
Subject: Re: Commands just hang
Date: Fri, 03 Feb 2006 13:30:32 -0500
Lines: 64
Message-ID: <ds07g9$q2h$1@sea.gmane.org>
References: <drtsgf$i0m$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
In-Reply-To: <drtsgf$i0m$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Alan Bowler wrote:

> 
> If I am in kermit and at the command prompt and I try
> to run some regular Cygwin command with an "!" like
> "date", all works fine.  However, if I then telnet to
> a remote system, escape back to Kermit's command mode
> and type "!date" it just hangs.  This used to work.

Well I did some more testing, and our private version of
kermit has nothing to do with the problem.  The same thing
occurs with telnet and echo

-------------------------Bash Window 2 ---------------------------
oliver[500]$ telnet
+ telnet
telnet> !/bin/echo this will work fine
this will work fine
telnet> open mailhost.thinkage.ca
Trying 192.102.11.46...
Connected to mailhost.thinkage.ca.
Escape character is '^]'.

Red Hat Linux release 7.3 (Valhalla)
Kernel 2.4.18-5-2003-05-15 on an i686
login: atbowler
Password:
Last login: Fri Feb  3 13:22:20 from oliver.thoughts.thinkage.ca
You have mail.
(wd:  /u/atbowler)
atbowler AT mailhost[1]% echo about to ^] to telnet command level
about to ^] to telnet command level
(wd:  /u/atbowler)
atbowler AT mailhost[2]%
telnet> !/bin/echo this will hang

(wd:  /u/atbowler)
atbowler AT mailhost[2]% echo after kill from other window
after kill from other window
(wd:  /u/atbowler)
atbowler AT mailhost[3]% exit
logout
Connection closed by foreign host.
oliver[501]$

-------------------------Bash  Window 2 -----------------------------
oliver[503]$ ps
+ ps
       PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
       996       1     996        996  con 11012 12:33:12 /bin/bash
I    2104     996    2104       3584  con 11012 12:49:00 /bin-oliver/rkermit
I    1760    2104    2104       1760  con 11012 12:49:03 /bin-oliver/rkermit
      3936       1    3936       3936  con 11012 13:16:27 /bin/bash
      1856       1    1856       1856  con 11012 13:18:58 /bin/bash
      2564    3936    2564        712  con 11012 13:23:34 /bin/telnet
       728    2564    2564       4084  con 11012 13:25:11 /bin/echo
      3284    1856    3284        396  con 11012 13:25:18 /bin/ps
oliver[504]$ /bin/kill 728
+ /bin/kill 728
kill: 728: Resource temporarily unavailable
oliver[505]$ /bin/kill --force 728
+ /bin/kill --force 728
oliver[506]$



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019