expreserve (was: I wish vi were more graceful)

Steve Summit scs at adam.pika.mit.edu
Sat Jan 21 17:00:49 AEST 1989


In article <5861 at medusa.cs.purdue.edu> spaf at cs.purdue.edu (Gene Spafford) writes:
>Most people don't seem to know about "preserve" so I just thought
>I'd mention it.

While you're playing with expreserve, check to see if it's still
setuid, and using something like popen("mail", "w") to inform the
user of its actions.  If so, make sure you don't accidentally
leave an executable shell script named "mail" in the current
directory, and then induce a vi crash :-) ...

This was fixed in 4.2bsd.

                                            Steve Summit
                                            scs at adam.pika.mit.edu



More information about the Comp.unix.wizards mailing list