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]

RE: no output from net.exe


Can't say I've seen the same, but my version of tfy is slightly different
than the one you're using.  I've verified that I can do what you're
requesting via tfy.  Of course, I should mention that I'm running cmd as my
far side shell.  Even without tfy I can do what you're trying to do.  

Make sure that your term is set to cygwin.  Make sure that your window
(buffer size) is set to 80x25.  Are you getting any errors?  Did you
remember to drop the dll on the far machine?  Are you sure your sshd server
is starting with CYGWIN=tty?

I can't speak as to the terminal issues you're experiencing using cygwin.
If you look through the archives you'll see that this is an issue that comes
around periodically.  I'd suggest checking out the previous conversations to
find out the issues involved.

Mark

> -----Original Message-----
> From: Alex BATKO [mailto:abatko@milquetoast.cs.mcgill.ca]
> Sent: Thursday, January 17, 2002 3:58 PM
> To: cygwin@cygwin.com
> Subject: Re: no output from net.exe
> 
> 
> 
> 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@milquetoast.cs.mcgill.ca]
> | > Sent: Thursday, January 17, 2002 1:04 PM
> | > To: cygwin@cygwin.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/
> 

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


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