RE: Implementation of GetCompressedFileSize[AW]

2003-10-03 Thread PETREOLLE Sylvain
Pavel, I already tried to have some results with the keyboard implementation. A simple DOS program that calls int16 to do a 'Press any key' doesnt work today and needs wineconsole to operate (and only with user backend !) > > Yes, it works. Thank you! But I think that interactive programs > usi

Re: Implementation of GetCompressedFileSize[AW]

2003-10-03 Thread Pavel Roskin
On Fri, 3 Oct 2003, [iso-8859-1] Sylvain Petreolle wrote: > To get rid of the COM1 problem, just run wcmd under wineconsole. > wineconsole -- --backend=user wcmd Yes, it works. Thank you! But I think that interactive programs using stdin and stdout should be useful without wineconsole. stdin s

Re: Implementation of GetCompressedFileSize[AW]

2003-10-02 Thread Sylvain Petreolle
To get rid of the COM1 problem, just run wcmd under wineconsole. wineconsole -- --backend=user wcmd > It seems that all Cygwin programs think that they are using COM1 as > terminal (try "wine tty"). That's most likely the reason why bash > exits > silently. It even displays the prompt if I give

Re: Implementation of GetCompressedFileSize[AW]

2003-10-01 Thread Pavel Roskin
On Thu, 2 Oct 2003, [iso-8859-1] Sylvain Petreolle wrote: > Works cool, but you could return INVALID_FILE_SIZE when the function > fails. Maybe. If the patch is not applied, I'll recheck error codes. > OT : Too bad that we dont have GetProcessMemoryInfo, this is what keeps > cygwin programs una

Re: Implementation of GetCompressedFileSize[AW]

2003-10-01 Thread Sylvain Petreolle
> FIXME about GetCompressedFileSizeA was too annoying when running Cygwin > programs, so I implemented it. The code uses st_blocks when possible to > account for sparse files and falls back to st_size if st_blocks is missing > in struct stat. The code uses shift operations so that both systems wi