Xref: utzoo comp.emacs:8959 gnu.emacs:3659 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!quanta.eng.ohio-state.edu!icarus!kaul From: kaul@icarus.eng.ohio-state.edu (Rich Kaul) Newsgroups: comp.emacs,gnu.emacs Subject: Re: vm Message-ID: Date: 27 Aug 90 19:27:50 GMT References: Sender: news@quanta.eng.ohio-state.edu Followup-To: comp.emacs Organization: Ohio State University Electrical Engineering Lines: 45 Nntp-Posting-Host: icarus In-reply-to: kpc00@JUTS.ccc.amdahl.com's message of 27 Aug 90 11:25:32 GMT Originator: kaul@icarus.eng.ohio-state.edu In article kpc00@JUTS.ccc.amdahl.com (kpc) writes: I have a copy of vm and have tried it. [...] It does not convert rmail files. You can easily convert those files yourself. Here is a little shell script that someone posted a while ago to do this: #!/bin/sh # # usage: rmail-to-mail file1 file2 ... # # result: file1~ is the original Babyl file # file1 is an empty Babyl file # file1.mail is a UNIX mail file with the messages from file1 cat > /tmp/$$.el << EOF ;;; ;;; Author: Nathan Hess (woodstock@hobbes.intel.com) ;;; ;; (let ((file-to-be-converted (buffer-file-name)) (message-count 0) (rmail-delete-after-output t) (unix-style-file-name (concat (buffer-file-name) ".mail"))) (kill-buffer (current-buffer)) (rmail file-to-be-converted) (rmail-show-message 1) (while (not (rmail-output unix-style-file-name)) (setq message-count (1+ message-count))) (rmail-quit)) EOF for f in "$@" ; do echo ">>> Doing $f" emacs -batch $f -l /tmp/$$.el -kill echo ">>> Done" done rm -f /tmp/$$.el exit 0 -- Rich Kaul | It wouldn't be research if we kaul@icarus.eng.ohio-state.edu | knew what we were doing.