*BSD News Article 25141


Return to BSD News archive

Xref: sserve comp.unix.misc:10576 comp.unix.pc-clone.32bit:5169 comp.unix.bsd:13115 comp.windows.x.i386unix:5913 biz.sco.general:9460
Newsgroups: comp.unix.misc,comp.unix.pc-clone.32bit,comp.unix.bsd,comp.windows.x.i386unix,biz.sco.general
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!usc!elroy.jpl.nasa.gov!decwrl!netcomsv!netcom.com!hasty
From: hasty@netcom.com (Amancio Hasty Jr)
Subject: safe-tcl, MIME, & free unix (Re: SCO market share)
Message-ID: <hastyCI980G.Cy4@netcom.com>
Keywords: safe-tcl, tcl/tk, MIME, mpeg, jpeg
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
References: <1993Dec17.230112.24503@kf8nh.wariat.org> <2etrnt$91@vanbc.wimsey.com> <1993Dec18.161003.29718@kf8nh.wariat.org>
Date: Sat, 18 Dec 1993 23:31:28 GMT
Lines: 148


Just want to share a bit of experience that I am having with safe-tcl under
NetBSD.

safe-tcl was written by Nathaniel Borenstein and Marshall Rose.

Here is a section of the announcement for safe-tcl:
                                ANNOUNCEMENT

     We am pleased to announce an implementation of Enabled Mail (EM)
     for many UNIX systems.  This is a beta release.

     The idea behind Enabled Mail is that messages contain programs
     which get evaluated during delivery, receipt, and displaying.  For
     example, every time you receive a message, a program you specify
     examines the message and performs some actions, such as filing,
     sending a note to your pager, etc.  This is an example of
     receipt-time EM.  Alternately, you might send a program to
     someone with the intent of having it execute when the show the
     message.  This is an example of activation-time EM.

     Earlier systems have done bits and pieces of this, within the
     context of a very specific environment.  With EM, we have tried to
     provide a general model which can be used in a variety of
     environments.

     The choice of our programming language is Tcl - Ousterhout's Tool
     Command Language, which is rapidly becoming a popular systems
     language.  With Tcl, we have integrated support for

	- MIME, so you can deal with multimedia messages;

	- display environments, so you use different UI paradigms
	  (e.g., screen-based, window-based) depending on what the
	  recipient has; and,

	- execution safety, so you don't have to worry about someone
	  sending you a malicious program.

----------------------------------------------------

A sample safe-tcl message was created by  Nathaniel Borenstein.
Basically, the message when displayed is a multimedia program which
is used to order girl-scout cookies for his daughters. There are 
presentations done by his daughters and you can listen to a brief
audio presentation. The program allows you order cookies and sums
the total and mails the request to the Borenstein family :-)

The girl-scout.msg file front-end was written using tk so when
the message is executed it   displays a graphical front-end to
interact with the message.

To enable the audio play back of the MIME messages in my
mhn_defaults file, I included the following line:
mhn-show-audio/basic: %p cat  %F >/dev/audio

The sound driver on my NetBSD system is the linux sound driver with very 
little modifications . My sound card is a Gravis Ultrasound card.

The actual compilation or port if you like for all
safe-tcl components including mh,tcl/tk  was less than a day;except for 
the sound driver which I already ported to netbsd-current.
tcl and tk compiled right out of the box but mh gave me a little bit more
headache.

safe-tcl is available at:

ftp.ics.uci.edu:mrose/safe-tcl


From the safe-tcl announcement:

------- =_aaaaaaaaaa0
Content-Type: message/external-body; access-type="anon-ftp";
	name="tcl7.3.tar.Z"; directory="ucb/tcl";
	site="ftp.cs.berkeley.edu"

Content-Type: application/octet-stream; type="tar";
	x-conversions="compress"; name="tcl7.3.tar.Z"
Content-ID: <13380.754710860.1@dbc.mtview.ca.us>

------- =_aaaaaaaaaa0
Content-Type: message/external-body; access-type="anon-ftp";
	name="tk3.6.tar.Z"; directory="ucb/tcl";
	site="ftp.cs.berkeley.edu"

Content-Type: application/octet-stream; type="tar";
	x-conversions="
------- =_aaaaaaaaaa0
Content-Type: message/external-body; access-type="anon-ftp";
	name="tcl7.3.tar.Z"; directory="ucb/tcl";
	site="ftp.cs.berkeley.edu"

Content-Type: application/octet-stream; type="tar";
	x-conversions="compress"; name="tcl7.3.tar.Z"
Content-ID: <13380.754710860.1@dbc.mtview.ca.us>

------- =_aaaaaaaaaa0
Content-Type: message/external-body; access-type="anon-ftp";
	name="tk3.6.tar.Z"; directory="ucb/tcl";
	site="ftp.cs.berkeley.edu"

Content-Type: application/octet-stream; type="tar";
	x-conversions="compress"; name="tk3.6.tar.Z"
Content-ID: <13380.754710860.2@dbc.mtview.ca.us>

------- =_aaaaaaaaaa0
Content-Type: message/external-body; access-type="anon-ftp";
	name="mm2.6.tar.Z"; directory="pub/nsb";
	site="thumper.bellcore.com"

Content-Type: application/octet-stream; type="tar";
	x-conversions="compress"; name="mm2.6.tar.Z"
Content-ID: <13380.754710860.3@dbc.mtview.ca.us>

------- =_aaaaaaaaaa0
Content-Type: message/external-body; access-type="anon-ftp";
	name="mh-6.8.tar.Z"; directory="mh"; site="ftp.ics.uci.edu"

Content-Type: application/octet-stream; type="tar";
	x-conversions="compress"; name="mh-6.8.tar.Z"
Content-ID: <13380.754710860.4@dbc.mtview.ca.us>

------- =_aaaaaaaaaa0--



----------------------------------------------------------------


	All of this is of course being composed on my NetBSD system from 
	the comfort of my  home via cslip.

	Enjoy,
	Amancio








-- 
This message brought to you by the letters X and S and the number 3
Amancio Hasty           |  
Home: (415) 495-3046    |  ftp-site depository of all my work:
e-mail hasty@netcom.com	|  sunvis.rtpnc.epa.gov:/pub/386bsd/X