This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Commands just hang


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@mailhost[1]% echo about to ^] to telnet command level
about to ^] to telnet command level
(wd:  /u/atbowler)
atbowler@mailhost[2]%
telnet> !/bin/echo this will hang

(wd:  /u/atbowler)
atbowler@mailhost[2]% echo after kill from other window
after kill from other window
(wd:  /u/atbowler)
atbowler@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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]