Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!uw-beaver!milton!ogicse!intelhf!ichips!iwarp.intel.com!intelisc!lou From: lou@isc.intel.com (Lou Poehlitz) Newsgroups: comp.mail.elm Subject: Re: Compressed folders Message-ID: <1210@intelisc.isc.intel.com> Date: 25 Mar 91 23:33:34 GMT References: <9103210518.aa00528@maria.wustl.edu> <1202@intelisc.isc.intel.com> <1991Mar23.224618.1206@mtdiablo.Concord.CA.US> Organization: Intel Scientific Computers, Beaverton, OR Lines: 28 rob@mtdiablo.Concord.CA.US (Rob Bernardo) writes: >lou@isc.intel.com (Lou Poehlitz) wrote: >>What I suggest is an elmrc option that allows per folder configuration. >> >> text deleted >>folderconfig = "bigfolder, rev_received, uncompress, compress" >One major complication lies with the 'c' command to change folders. >Before it leaves the current folder, it checks for the existence >of the folder to specified. Since some read/save program pairs deal >with suffixed file names (e.g. uncompress/compress deal with .Z), >elm would have to have the name of the folder before the read_program >is applied as well as the name of the folder after the read_program is >applied in order to deal with it. Yes, a good detail point. It could be dealt with by having the folder name substituted in for %s. folderconf = "bigfolder,rev_received,cat %s | uncompress -c,cat %s | compress" With the proper handling to fd's, I think this could work for having encrypted folders also. folderconf = "secret,mailbox_order, crypt < %s , crypt < %s" The key would be to get the fd that the key is prompted for on mapped to the terminal in elm.