On Fri, 2002-12-20 at 20:19, Andre Poenitz wrote: > On Fri, Dec 20, 2002 at 07:30:46PM +1030, Darren Freeman wrote: > > I'm not sure how it works, but on my Mandrake 9.0 system I can just do > > something like less x.gz and it will transparently unpack it. I guess > > there's some kind of shell extension. Maybe bash does it automatically? > > Nah. 'man less'. ($LESSOPEN I think)
Well it's not just less that does it. I've noticed a few command-line tools doing it. I just tried less and vi, they both do it. Maybe it's just them. > > But calling it .lyx.gz makes it easy for people to gunzip, edit, gzip. > > > > And making it on by default but deselectable, makes it easy for people > > preserving compatibility to switch it off. > > Too many switches are confusing. gzipping is almost uniformly better than > not, so I see not much reason to bloat the UI. Fair enough, I would prefer only gzipping so if nobody yells about wanting non-gzip then go for gzip-only. > > For example, some retarded > > OSes like Windows don't know anything about gzip, so what would the Win > > client do? Disable the feature? > > zlib would be linked to the LyX executable. It just gets better and better =) I noticed that PDF uses some kind of compression, LZW I think. In fact, a group of my friends coined the term "Microsoft Compression" to refer to the amazing phenomenon of saving the same Powerpoint document over and over again until the file size is as small as possible. We have observed that it incrementally grows with each save, until about 3 times the smallest size, then jumping back to the smallest size. So if your file won't fit on floppy, do that until it does =) What shits me about MC is that when you exceed your disc quota at uni, Powerpoint silently fux up your document with no hints. So you could lose your work (happened to me just before a presentation once). Why does the file format need to change size when saving the same thing??? To stop competitors reversing the format? > Andre' Darren