I implemented this by checking the magic bytes at the beginning of the stream, and then decompressing a copy of the file. So it works without any new options (though I did add some environment-variable configurability).
-- Thomas E. Dickey <dic...@invisible-island.net> http://invisible-island.net ftp://invisible-island.net
signature.asc
Description: Digital signature