Thread View: comp.unix.programmer
5 messages
5 total messages
Started by Johnny Szeto
Mon, 24 Sep 1990 22:47
how to put a program into .plan file
Author: Johnny Szeto
Date: Mon, 24 Sep 1990 22:47
Date: Mon, 24 Sep 1990 22:47
8 lines
646 bytes
646 bytes
Hi everyone: is there any way to put a shell script or a c-prog. into .plan so that when someone fingers me it will be activated? Truly szeto
Re: how to put a program into .plan file
Author: Gregg Townsend
Date: Tue, 25 Sep 1990 00:47
Date: Tue, 25 Sep 1990 00:47
13 lines
1140 bytes
1140 bytes
In article <12175@chaph.usc.edu> szeto@aludra.usc.edu (Johnny Szeto) writes:
> Is there any way to put a shell script or a c-prog. into .plan
> so that when someone fingers me it will be activated?
I did this by making my .plan file a named pipe and driving it from a shell
script. The script repeatedly executed a simple program and directed its
output to the .plan file. Whenever finger (or cat or anything else) opened
the file, the program would execute once and print the time and temperature.
(The temperature was just an educated guess, but it fooled several people!)
Gregg Townsend / Computer Science Dept / Univ of Arizona / Tucson, AZ 85721
+1 602 621 4325 gmt@cs.arizona.edu 110 57 16 W / 32 13 45 N / +758m
Re: how to put a program into .plan file
Author: Tom Hopkins
Date: Tue, 25 Sep 1990 00:58
Date: Tue, 25 Sep 1990 00:58
12 lines
1005 bytes
1005 bytes
On 24 Sep 90 22:47:18 GMT, szeto@aludra.usc.edu (Johnny Szeto) said: > is there any way to put a shell script or a c-prog. into .plan > so that when someone fingers me it will be activated? Good Lord, I hope not! Seriously, .plan is (as far as I know) a read-only sort of venture. The best you can do is make it interesting. I have seen some interesting creations done by the help of cursor controls, but that's about it. -Tom Hopkins <hoppie@buengf.bu.edu>
Re: how to put a program into .plan file
Author: Kartik Subbarao
Date: Wed, 26 Sep 1990 12:53
Date: Wed, 26 Sep 1990 12:53
20 lines
1366 bytes
1366 bytes
In article <30908@athertn.Atherton.COM> paul@Atherton.COM (Paul Sander) writes:
>Another interesting trick: If the person doing the fingering has a terminal
>that can be programmed to echo a string (I understand some Tektronix terminals
>do this), you can have your .plan file program the terminal to issue a
>command to send mail. Some people have actually done this, according to a
>reliable source :-)
Yeah - the "Reliable Source" I believe is UNIX System Security, by Kochan
and Wood. Certain intelligent terminals have "send" escape sequences, which
if typed or somehow echoed to the terminal, can execute any command.
-Kartik
(I need a new .signature -- any suggestions?)
subbarao@{phoenix or gauguin}.Princeton.EDU -|Internet
kartik@silvertone.Princeton.EDU (NeXT mail) -|
subbarao@PUCC.BITNET - Bitnet
Re: how to put a program into .plan file
Author: Eric C. Olson
Date: Tue, 02 Oct 1990 03:15
Date: Tue, 02 Oct 1990 03:15
13 lines
1171 bytes
1171 bytes
In article <8715@pitt.UUCP> berson@speedy.cs.pitt.edu.UUCP (David A. Berson) writes: >In article <E-267M3@xds13.ferranti.com> peter@ficc.ferranti.com (Peter da Silva) writes: >>For even more fun... put your program into a file with a name like "resume" >>or "private.mbox" and catch the snoops on your system. >However if I were going to snoop I would probably do a >ls -l before I tried to read anything. An even better snoop catcher is to put an executable 'ls' in your directory. :-> Eric Eric ericco@ssl.berkeley.edu
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads