Re: ttyfier (was: Re: Looking for the 'stdout' of a Windows application)

2009-12-14 Thread Marc Girod
Andy Koppe wrote: > > Thanks, I had't heard of ttyfier. Interesting stuff! More > comprehensive than my 'conin' attempt because it tranlates output as > well as input. > I downloaded the sources and built it. My first try at using it wasn't very convincing: it didn't display anything and I had

Re: ttyfier (was: Re: Looking for the 'stdout' of a Windows application)

2009-12-14 Thread Dave Korn
Andy Koppe wrote: > But the DLL injection makes me wonder: is it possible to override > existing functions such as WriteConsole or ReadConsole? You'd need to inject a DLL that hotpatched the IAT live in memory, which is certainly possible, but a bit hacky. (I don't know whether the LD_PRELOAD

ttyfier (was: Re: Looking for the 'stdout' of a Windows application)

2009-12-13 Thread Andy Koppe
2009/12/13 René Berber: > And there's the old 'ttyfier' which almost worked: > > http://sources.redhat.com/ml/cygwin/2006-03/msg00164.html > > I say almost because it assumes a fixed terminal size and it fails if > the output exceeds that size, and there where other problems but the OP > might find