Path: utzoo!attcan!uunet!portal!cup.portal.com!Jinfu From: Jinfu@cup.portal.com Newsgroups: comp.sys.apollo Subject: Re: Using DM ce to edit mail, no go Message-ID: <5479@cup.portal.com> Date: 16 May 88 07:32:35 GMT References: <5016@bcsaic.UUCP> <5060@cup.portal.com> <4496@super.upenn.edu> <4509@super.upenn.edu> Organization: The Portal System (TM) Lines: 40 XPortal-User-Id: 1.1001.2934 This is a follow-up of my previous message about using DM ce in UNIX mail program. Several people sent me e-mails with some helpful information so I am posting them here as well. 1) The DM is not case sensitive under SR9.6/9.7. To defeat this, one can either use an undocumented environment variable, DOWNCASE. Put this line env DOWNCASE 'false' in your `node_data/startup.xxx file, or set it in a shell: $ DOWNCASE := 'false' $ export DOWNCASE will make the DM case sensitive(try this /com/sh to see real case-sensitive filename!) 2) Or quote the filename when passing it to the DM: ce 'Foobar'; 3) However, even with these helps, to use CE editor in UNIX mail still need to write a program to perform function similar to CE AND wait for the program to finish before returning to the shell. george@hyper.lap.upenn.edu posted a C program here to do this. In case anyone missing the posting, it is basically two pad calls: pad_$create_window /* open a DM pad for read mode or write mode */ pad_$edit_wait /* wait until the pad is close */ ----------------- Jinfu Chen jinfu@cup.portal.com ...sun!portal!cup.portal.com!jinfu