This is the mail archive of the cygwin@cygwin.com 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]

No output from DOS commands via telnet using xinetd


I've noticed that running most DOS commands via telnet using *xinetd*
produced no output. Runing DOS commands via telnet using *inetd* works as
expected and DOES produce the expected output. For instance, in telnet via
inetd, typing:

      net help

produces the following output:

-------------------------------------------------------------------------------------------------------------

bmk1n0@STP**********FTP2 ~
 - net help
The syntax of this command is:


NET HELP command
      -or-
NET command /HELP

   Commands available are:

   NET ACCOUNTS             NET HELP              NET SHARE
   NET COMPUTER             NET HELPMSG           NET START
   NET CONFIG               NET LOCALGROUP        NET STATISTICS
   NET CONFIG SERVER        NET NAME              NET STOP
   NET CONFIG WORKSTATION   NET PAUSE             NET TIME
   NET CONTINUE             NET PRINT             NET USE
   NET FILE                 NET SEND              NET USER
   NET GROUP                NET SESSION           NET VIEW

   NET HELP SERVICES lists the network services you can start.
   NET HELP SYNTAX explains how to read NET HELP syntax lines.
   NET HELP command | MORE displays Help one screen at a time.
bmk1n0@STP**********FTP2 ~
 -
---------------------------------------------------------------------------------------------------------------

In telnet via xinetd, their is NO output from the same command:

-------------------------------------------------------

bmk1n0@STP**********FTP2 ~
 - net help
bmk1n0@STP**********FTP2 ~
 -
-------------------------------------------------------

Also, if you run a DOS shell via telnet through inetd, you can see the output
of unix/cygwin commands:

____________________________________________________________________________________

bmk1n0@STP**********FTP2 ~
 - cmd
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

e:\temp>pwd
pwd
/cygdrive/e/temp

e:\temp>exit
exit
bmk1n0@STP**********FTP2 ~

____________________________________________________________________________________

Output of same pwd command when run via telnet through xinetd:
____________________________________

bmk1n0@STP**********FTP2 ~
 - cmd
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

e:\temp>pwd
pwd

e:\temp>exit
exit
bmk1n0@STP**********FTP2 ~
 -
_____________________________________


Is this a known issue? Is this a bug? or is there some configuration thing I
have to do??

Brian Kelly





"WellChoice, Inc." made the following
 annotations on 08/18/2003 03:08:03 PM
------------------------------------------------------------------------------
Attention!  This electronic message contains information that may be legally
confidential and/or privileged.  The information is intended solely for the
individual or entity named above and access by anyone else is unauthorized.
If you are not the intended recipient, any disclosure, copying, distribution,
or use of the contents of this information is prohibited and may be unlawful.
If you have received this electronic transmission in error, please reply
immediately to the sender that you have received the message in error, and
delete it. Release/Disclosure Statement


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