Path: utzoo!mnetor!uunet!portal!cup.portal.com!Jinfu From: Jinfu@cup.portal.com Newsgroups: comp.sys.apollo Subject: Re: A pretty good sendmail.cf Message-ID: <5060@cup.portal.com> Date: 3 May 88 07:48:50 GMT References: <5016@bcsaic.UUCP> Organization: The Portal System (TM) Lines: 35 XPortal-User-Id: 1.1001.2934 I need some help in using the DM pad editor (ce) with /usr/ucb/Mail. What I am trying to do is to use an alternative editor for the Mail program instead of the UN*X ones (ed or vi), since most our users are AEGIS minded (including myself :-). I redefine the EDITOR in the Mail program with the DM pad editor by this command in my .mailrc file: set EDITOR=/user/chen/com/dmeditor where the file dmeditor is a simple /com/sh script as following: #! /com/sh # dmeditor, DM pad editor eon xdmc ce ^1 # EOF I was able to enter ~e in the Mail program to bring up a pad and to edit it. However, after I saved the file (control-Y), the Mail program didn't get the contents of the file. Closer examination shows that the temporary file created by the native ~e (ed) or ~v (vi) has the first character of the filename in uppercase. For example, /tmp/R00150, or /tmp/Ex00321, while the file created by the DM pad editor is in lower case (standard pre-SR10 Aegis filename?) like /tmp/r00150. I'm not sure if this is the problem. I would appreciate any help, expecially from UNIX gurus. Our site is running Domain/IX 9.5, Aegis 9.6. Jinfu Chen Motorola, Inc. Jinfu@cup.portal.com ...sun!portal!cup.portal.com