[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: [Fwd: Virus Alert]



On a similar note, if you have the modelines option set for vi (in
EXINIT or .exrc), the first and last 5 lines of the file can be executed
as vi or ex commands. Try the following for some fun:

	echo "vi: :!ls -lR ~ :" >tmp.file
	EXINIT="set ml" vi tmp.file

and wistfully watch all those files fly by. See ex(1) for details.

Casper Boden-Cummins.

>----------
>From: 	Daniel Lynes[SMTP:dbl@eznet.ca]
>Sent: 	19 August 1996 18:54
>To: 	Debian Users
>Cc: 	The recipient's address is unknown.
>Subject: 	Re: [Fwd: Virus Alert]
>
>On Sat, 17 Aug 1996 05:47:04 +0300, Lars Wirzenius wrote:
>
>>However, stupid people can also write mail user programs that automatically
>>run a program that comes in e-mail. Even more stupid people use such 
>
>UltiMail/2 Lite for OS/2 (comes with the Internet Access Kit) has such
>a feature.  However, the program is not automatically run.  You need to
>double click on it to run it.
>
>>GNU Emacs had a similar feature (certain magic lines in a file could
>>run any Emacs commands automatically when the file was loaded -- and
>>Emacs commands are powerful indeed).
>
>GNU Emacs for OS/2 still has this feature.  Very, very dangerous.
>
>



Reply to: