From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from postman.osf.org ([130.105.1.152]) by hawkwind.utcs.toronto.edu with SMTP id <2752>; Mon, 12 Apr 1993 14:15:13 -0400 Received: from earth.osf.org by postman.osf.org (5.64+/OSF 1.0) id AA24533; Mon, 12 Apr 93 14:15:09 -0400 Received: by earth.osf.org (5.65/4.7) id AA00709; Mon, 12 Apr 93 14:15:08 -0400 Date: Mon, 12 Apr 1993 14:15:08 -0400 From: rsalz@osf.org Message-Id: <9304121815.AA00709@earth.osf.org> To: sam-fans@hawkwind.utcs.toronto.edu Subject: Synchronous editing? I use Boyd's remote-command part of sam (i.e., the named pipe) a lot. I'd like to write a small "editor" that is really a shell script that calls the B script to ship the file to sam. How do I tell the "editor" that I'm done editing? I can only think of doing something like this: #! /bin/sh B $1 echo "Type return when done: " | tr -d '\012' read LINE exit (Shown via sh rather than rc for pedagogy :-) Any other suggestions? /r$