Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 17 Jan 2002 15:58:26 -0500 From: Alex BATKO To: cygwin AT cygwin DOT com Subject: Re: no output from net.exe Message-ID: <20020117155826.A19480@cs.mcgill.ca> References: <911C684A29ACD311921800508B7293BA037D2A57 AT cnmail> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <911C684A29ACD311921800508B7293BA037D2A57@cnmail>; from bradshaw@staff.crosswalk.com on Thu, Jan 17, 2002 at 01:11:24PM -0500 Hi Mark - thanks for replying. I compiled the software you mentioned. Running `tfy net group` still shows no output. Redirecting that command to a file (`tfy net group >> zzz`) does produce a non-empty file, but it contains one line of escape characters. I have set the CYGWIN environment variable to 'tty' as the tool's webpage suggests. Have you experienced this problem by any chance ? As a side issue, it's very suprising to me to think that such a problem hasn't been fully resolved in cygwin world. I image that administrators who automate user accounts must run into this deficiency all the time (because of how invaluble net.exe is (or maybe people have found an alternative to net.exe that i am not aware of)). Any word on this ? +------------------- | One option for programs like this is to use ttyfier, by Egor Duda. | | http://ns.logos-m.ru/~deo/ttyfier.html | | Ttyfier has a few outstanding issues. I think Egor's moved on to bigger and | better things, but in its standard form it does what you need (maybe). I | have a patched version that expands ttyfier past it's 80x25 version. Email | me if you want it. | | Mark | | > -----Original Message----- | > From: Alex BATKO [mailto:abatko AT milquetoast DOT cs DOT mcgill DOT ca] | > Sent: Thursday, January 17, 2002 1:04 PM | > To: cygwin AT cygwin DOT com | > Subject: no output from net.exe | > | > | > | > When I am logged into my windows machine via ssh, I cannot redirect | > the output of the command net.exe into a file, nor capture the output | > in an array (within a perl script). | > | > On the other hand, executing `net.exe group >> zzz` from the cygwin | > bash shell, and from windows' command.com, works just as expected. | > | > I have written to this list in the past (regarding this topic), but | > the response I was given is that this is a "feature" of the program | > net.exe (http://cygwin.com/ml/cygwin/2001-10/msg01490.html), and to | > overcome this problem, I should start my ssh session via inetd, after | > applying a particular patch: | > http://sources.redhat.com/ml/cygwin/2001-03/msg00764.html | > | > I have started ssh via inted, but it's incredibly slow to establish | > connections - so I have opted against it. | > | > I am wondering if anyone else has ran into this problem, and was able | > to overcome it in a way other then by starting ssh from inetd. | > | > Thank you for your time. | > | > -- | > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple | > Bug reporting: http://cygwin.com/bugs.html | > Documentation: http://cygwin.com/docs.html | > FAQ: http://cygwin.com/faq/ | > | | -- | Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple | Bug reporting: http://cygwin.com/bugs.html | Documentation: http://cygwin.com/docs.html | FAQ: http://cygwin.com/faq/ +------------------- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/