I'm using nmh as my standard mailer under RedHat Linux.  Vi is the
default editor, ie. mh mh_profile contains the line:
        Editor: vi

When I upgraded RedHad from version 7.0 to 7.1, vi started to complain 
about attemps to invoke a process on a part of the text, for example:
        !!fmt
Vi returns a message like this:
        "/tmp/v513709/4" Can't open file for writing
        Can't create file /tmp/v513709/4
        Hit ENTER or type command to continue

The directory /tmp/v513709 is created by vi as part of the process of
applying fmt to the text; it appears at the time that "!!fmt" is invoked
and not when vi is started.  

The directory is created with protections
        drw-------    2 jon      jon          4096 Jun  2 11:59 v513709/
If I change the protections to 
        drwx------    2 jon      jon          4096 Jun  2 11:59 v513709/
then "!!fmt" goes on without any problem.

This trouble only happens with repl and forw; comp works OK.  In
particular, if I run repl, and leave the draft in MH/drafts/1 (say) and
invoke
        vi MH/drafts/1
or
        comp -use 1
then fmt runs without a problem.

Any ideas?

                Jonathan Ryshpan <jonrysh$pacbell.net>

                "How do you know I'm mad?" said Alice.
                "If you weren't mad, you wouldn't have
                come here," said the Cat.

Reply via email to