🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #9350

Re: want a vm-folder-type for separator "\nFrom", not just "\n\nFrom"

#9350
From: Janne Himanka
Date: Mon, 21 Oct 1991 19:53
33 lines
1690 bytes
As we have several machines here using the same NFS-mounted disks, I
devised a hack that forwards mail to all these machines so that it
gets to my home directory instead of the spool. This worked fine until
I stumbled to the same missing-\n -difficulty. So now my .forward
looks like

"| /home7/okiin/shem/bin/putkiposti"

and putkiposti is a perl script:

#!/usr/local/bin/perl

$NL  = "\n";
open(MAILBOX,">>/home7/okiin/shem/Mail/MAILBOX");

print MAILBOX $NL;
while (<>) {
    print MAILBOX $_;
}
print MAILBOX $NL;
close(MAILBOX);

This works well, but I wouldn't object to a cleaner solution. And
having observed Dan Jacobson's postings, I suspect he won't be very
happy with this kind of kluge.

Janne

--
      Verba iactas           + shem@phoenix.oulu.fi
      ut imber aquas         + TKOP-HJH@FINOU.BITNET
      at cave! vacca volat.  + Dept. of Library & Information Science
                             + Oulu University, Finland +358 81 352861
Technical Details
Message-ID: <SHEM.91Oct21205352@phoenix.oulu.fi>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!news.funet.fi!ousrvr.oulu.fi!woo!shem
References: <1991Oct19Sa2012020z.Dan_Jacobson@ATT.COM>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,5243ad6c6f95c0fb
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 1991-10-21 10:46:40 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!news.funet.fi!ousrvr.oulu.fi!woo!shem
From: shem@phoenix.oulu.fi (Janne Himanka)
Newsgroups: gnu.emacs.vm.bug
Subject: Re: want a vm-folder-type for separator "\nFrom", not just "\n\nFrom"
Message-ID: <SHEM.91Oct21205352@phoenix.oulu.fi>
Date: 21 Oct 91 19:53:52 GMT
References: <1991Oct19Sa2012020z.Dan_Jacobson@ATT.COM>
Sender: news@ousrvr.oulu.fi
Reply-To: shem@phoenix.oulu.fi
Organization: Tilde's home bakery
Lines: 28
In-reply-to: Dan_Jacobson@ATT.COM's message of 20 Oct 91 01:17:08 GMT