kang%robax.DECnet@VENUS.YCC.YALE.EDU ("ROBAX::KANG") (02/24/88)
Greetings, I am trying to invoke MicroEmacs V3.9e (Daniel M. Lawrence) inside VMS Mail. For this purpose I wrote a command procedure MAILEMACS.COM as follows: $! MAILEMACS.COM $! DEFINE /USER SYS$INPUT 'F$TRNLNM("SYS$OUTPUT")' $ EMACS == "$$DISK1:[DCLTOOLS.EMACS]EMACS.EXE" $ IF P1 .EQS. "" THEN GOTO NOINPUT $ COPY 'P1' 'P2' $! SET PROTECTION=(S:RWED,G:RWED,O:RWED,W:RWED) 'P2' $NOINPUT: $ EMACS 'P2' $ EXIT When I call it by @mailemacs file1 fil2, I always get system error message: No previlege for the operation. Set protection before EMACS 'P2' does not help. I can execute all these command one by one without problem. It seems that the problem is with the COPY command. Could someone help me out? -- Kang Sun sun@venus.ycc.yale.edu sun@yalevms.bitnet ------