🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.script-l
Article #327

passing long set symbols to script

#327
From: Michael Friendly
Date: Fri, 28 Apr 1995 00:00
28 lines
1635 bytes
I'm trying to figure out how to pass a set symbol value to
Waterloo/Script from an exec and avoid the tokenization and truncation
to 8 chars which occurs.

The only thing I've been able to find that works is using a ? to get a
pushed value, as in the test below.

The only problem is that this causes Script to prompt for +MAILTO:
which I'd rather avoid.  Is there some other way?

+============================================== Beginning of TEST EXEC
/* test pushing parm */

queue 'friendly@hotspur.psych.yorku.ca'
'script test (+mailto ?'
-==================================================== End of TEST EXEC

+============================================ Beginning of TEST SCRIPT
.ty mailto &mailto
-================================================== End of TEST SCRIPT


  -- Snail Mail --           ** E-mail **
Michael Friendly             Internet:  friendly@vm1.YorkU.ca
Psychology Department        (NeXTmail) friendly@hotspur.psych.yorku.ca
York University         WWW: http://www.math.yorku.ca/SCS/friendly.html
Toronto ONT                  Voice: (416) 736-5118 x66249
CANADA  M3J 1P3              Fax:   (416) 736-5814
Technical Details
Message-ID: <SCRIPT-L%95042818523389@UGA.CC.UGA.EDU>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11353d,7ff23ed3a2e2dde2,start
X-Google-Attributes: gid11353d,public
From: Michael Friendly <FRIENDLY@VM1.YORKU.CA>
Subject: passing long set symbols to script
Date: 1995/04/28
Message-ID: <SCRIPT-L%95042818523389@UGA.CC.UGA.EDU>
X-Deja-AN: 101800426
sender: IBM vs Waterloo SCRIPT discussion group <SCRIPT-L@UGA.CC.UGA.EDU>
comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
newsgroups: bit.listserv.script-l