From: Andreas K. <and...@Ac...> - 2001-07-30 15:14:24
|
> -----Original Message----- > From: tcl...@li... > [mailto:tcl...@li...]On Behalf Of Steve > Cassidy > Sent: Sunday, July 22, 2001 6:05 AM > To: tcl...@li... > Subject: Re: [Tclish-devel] Installer modules > > > On Thursday 19 July 2001 19:05, Peter Farmer wrote: > > > - de/compression utils > > You mention a tcl only unzipper later, how feasable do you think this is? > The mkZipLib extension is C but should be very portable and is > quite small. Decoding the header of a .gz or .zip file file using tcl (binary scan) is feasible (I have some code for .gz somewhere), but the compressed data is another thing. I believe that you will need a C-level extension wrapping around zlib for this. > > - comprehensive filesystem abstraction layer ? > > - especially determing available filespace, > > Very good point, how doable is this. I imagine it would need a call to a > system routine on Mac and Win, of course on Unix you can df. Don't forget that the interface (= cmdline options) of df is consistent over all *nixes. There is a wiki page demonstrating usage of 'df'. -- Andreas Kupries <and...@Ac...> Developer @ http://www.ActiveState.com |