Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!shelby!eos!data.nas.nasa.gov!amelia!roelofs From: roelofs@nas.nasa.gov (Cave Newt) Newsgroups: comp.sys.ibm.pc.misc Subject: Re: an lharc problem Keywords: lharc Message-ID: <1991Feb24.200906.8923@nas.nasa.gov> Date: 24 Feb 91 20:09:06 GMT References: <2108@cluster.cs.su.oz.au> <3280@sixhub.UUCP> Sender: news@nas.nasa.gov Reply-To: roelofs@amelia.nas.nasa.gov (Cave Newt) Organization: University of Chicago Lines: 24 lim@cluster.cs.su.oz.au (Hong Lip Lim) writes: >| One way of course is to ensure that the UNIX files do not contain >| multiple dots in their names. But if that is not possible, >| is there an improved version of the lharc program on the PC >| that does not have this problem? In article <3280@sixhub.UUCP> davidsen@sixhub.UUCP (bill davidsen) writes: > There is no problem with lharc, the problem is that DOS can't accept >reasonable filenames. The solution is to extract to stdout and redirect >to a file with a restricted DOS name. Insofar as this is an extremely well-documented limitation of MS-DOS, the problem IS lharc's. A multi-platform file utility should detect this and take appropriate action. > No version of lharc can solve this, because information must be lost, >and it's up to you to decide on a name mapping. On the contrary, Kai Uwe Rommel's extended version of lharc handles this with reasonable facility. All dots but the last get mapped to underscores, and either DOS or lharc truncates any "overhang." Unfortunately, there are one or two other bugs which don't appear in the just-DOS version...