[143] in Zephyr_Bugs
zwgc @beep's over dialup
daemon@ATHENA.MIT.EDU (lnp@ATHENA.MIT.EDU)
Fri Nov 9 20:06:17 1990
From: lnp@ATHENA.MIT.EDU
Date: Fri, 9 Nov 90 20:05:59 -0500
To: bug-zephyr@ATHENA.MIT.EDU
Cc: raeburn@ATHENA.MIT.EDU
Hello.
I was running the new and improved /mit/zephyr/vaxbin/zwgc over dialup
(logged into tabetha)... Anyway, after reading about the new changes
to the @beep stuff in zwgc, I decided to try sending @beep and @beep()
zgrams to myself and try out my rpt_msg script (just to test
things). Basically, the @beep stuff does not work over dialup. Below
is a description of what happened....
When I sent a zgram like
kittycat% zwrite lnp -m "@beep() @beep() @beep() @beep() @beep() @beep() @beep() @beep() @beep() @beep() @beep() @beep() @beep() @beep() @beep()"
I got 1 really long beep (the equivalent of 15 normal beeps), the
workd @beep, and saw the cursor move several spaces after the @beep.
(the length of the beep was definitely longer than the one for
zwrite lnp -m "@beep()").
When I tried
kittycat% zwrite lnp -m "@beep @beep @beep @beep @beep @beep @beep @beep @beep @beep @beep @beep @beep @beep @beep"
I got a zgram with the "Authentication" line indented 15 spaces, and
the body of the zgram contained 15 @beep's in it.
There is some interesting behavior that occurs when repeat is used (as
in my rpt_msg script).
Here's the script:
=========
#!/bin/csh -f
# this shell script will repeat message msg num times to user <usr>
# in one zgram
if ($#argv != 3) then
echo "Usage: rpt_msg <user> <#> <message>"
exit 1
endif
set usr = $argv[1]
set num = $argv[2]
set msg = $argv[3]
zwrite -i "@i(repeat)" $usr -m `repeat $num echo $msg`
exit 0
========
when I try something like
kittycat% rpt_msg lnp 15 "@beep()"
I get 15 beeps (really one really long beep) with 15 spaces in the
body of the zgram (I saw the cursor move :-) ) and NO @beep printed.
when I try
kittycat% rpt_msg
I get the same thing as when I typed in zwrite lnp -m "@beep..."
I did try these things again while running script. The results are in
/mit/lnp/typescript. However, the "@beep" was not printed for the
first case (zwrite lnp -m "@beep()....").
I hope this helps!!
--Lisa Paradis