The Case of the Vanishing Cursor

2003-01-30 Thread Ian Gordon
Hi John,

For the record, this happened to me yesterday - exactly as you describe 
(invisible but still worked). Dual 1Ghz machine, Mac OSX 10.2.3

I restarted to get it back,. It has only happened once.

Another weird thing I have seen a few times (maybe when my code gets MC 
all mixed up) is that the window locations gets mixed up. For instance 
if you set a btn to follow the mouseloc (on mousestilldown).. it 
follows the mouse but is offset by 20-30 pixels, making sure the 
mouseup message is never sent to the dragged btn?

Again, since it is intermittent i fugure it is  probably my code making 
it happen, somehow someway!

Just thought I'd mention it.

Ian

On Thursday, January 30, 2003, at 12:02  PM, 
[EMAIL PROTECTED] wrote:


Message: 8
Date: Wed, 29 Jan 2003 20:13:37 -0500
To: [EMAIL PROTECTED]
From: John Kiltinen [EMAIL PROTECTED]
Subject: The Case of the Vanishing Cursor
Reply-To: [EMAIL PROTECTED]

Has anyone experienced a problem of the cursor disappearing while 
MetaCard
is running?

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



RE: It just can only get better!

2003-01-30 Thread Mr X
Alejandro,

That's was a scriptfull! 

I'll just say that to code economically, 
you should use english...

If you want a simple auto-replace function before the 
script is checked/compiled, no prob! 
But good luck with fixing translation errors!!! 

But it was just a matter of putting it in stack terms...
I was a little sidetracked by the many words and examples!

This is not a bad idea for making pseudocoding work!
Hasta pronto!
Xavier


___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: metacard digest, Vol 1 #500 - 10 msgs

2003-01-30 Thread Ray G. Miller
Yo Coolers,
Just got this Confidential message this AM.

Looks like the ultimate pyramid scheme: Everybody's favorite nerd giving
cash to the masses! 


-
Subject: SORRY EVERYBODY . . . JUST HAD TO TAKE THE CHANCE !!! I'm an
attorney and I
Date:  Wed, 29 Jan 2003 23:03:46 EST
 From:[EMAIL PROTECTED]
 To: [EMAIL PROTECTED]


SORRY EVERYBODY . . . JUST HAD TO TAKE THE CHANCE !!!

I'm an attorney and I know the law.  This thing is for real.   Rest
assured AOL and Intel will follow through with their promises for fear
of facing a multimillion-dollar class action suit similar to the one
filed by PepsiCo against General Electric not too long ago.   

Dear Friends,  

Please do not take this for a junk letter. Bill Gates is sharing his
fortune. If you ignore this you will repent later.  Microsoft and AOL
are now the largest Internet companies and in an effort to make sure
that Internet Explorer remains the most widely used program, Microsoft
and AOL are running an e-mail beta test.  When you forward this e-mail
to friends, Microsoft can and will track it (if you are a Microsoft
Windows user) for a two week time period.  For every person that you
forward this e-mail to, Microsoft will pay you $245.00, for every
person that you sent it to that forwards it on, Microsoft will pay you
$243.00 and for every third person that receives it, you will be paid
$241.00.  Within two weeks, Microsoft will contact you for your address
and then send you a cheque. 

I thought this was a scam myself, but two weeks after receiving this
e-mail and forwarding it on, Microsoft contacted me for my address and
within days, I received a cheque for US$24,800.00. You need to respond
before the beta testing is over. If anyone can afford this Bill Gates is
the man.  It's all marketing expense to him. Please forward this to as
many people as possible.  You are bound to get at least US$10,000.00. 
We're not going to help them out with their e-mail beta test without
getting a little something for our time. My brother's girlfriend got in
on this a few months ago. When I went to visit him for the Baylor/UT
game.   She showed me her check. It was for the sum of $4,324.44 and was
stamped Paid In Full.

Like I said before, I know the law, and this is for real.  Intel and AOL
are now discussing a merger which would make them the largest
Internet company and in an effort make sure that AOL remains the most
widely used program, Intel and AOL are running an e-mail beta test. 
Try it; what have you got to lose

Regards.  

Charles S. Bailey General Manager Field Operations 
1-800-842-2332 Ext. 1085 or 904-245-1085 or RNX 292-1085 
[EMAIL PROTECTED]


When you forward this e-mail to friends, Intel can and will track it (if
you are a Microsoft Windows user) for a two week time period. For
every person that you forward this e-mail to, Microsoft will pay you
$203.15. For every person that you sent it to that forwards it on,
Microsoft will pay you $156.29.  And for every third person that
receives it, you will be paid $17.65.  Within two weeks, Intel will contact
you for your address and then send you a check. I thought this was a
scam myself, but a friend of my good friend's Aunt Patricia, who works at
Intel, actually got a check of  $4,543.23 by forwarding this e-mail. Try
it, what have you got to lose

Regards,

Jacqueline Aris, Consultant
Email me at:  [EMAIL PROTECTED]OR[EMAIL PROTECTED]

P.O. Box 48271, Tampa, Florida   33647
(888) 706-1757 â€|â€|. (TaxBrakes Executive) 


Does this mean that I'll get $245 for everyone on this list? Yahooo!
Honey, we're rich

Capt'n Cal


-- 


Ray G. Miller
---
Turtlelips Productions
4009 Everett Ave.
Oakland, CA 94602
MailTo:[EMAIL PROTECTED]
(V) 510.530.1971
(F) 510.482.3491
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Flash

2003-01-30 Thread Shari
For those of you who miss the Hypercard call Flash I submit the following:

Create a card size image
Color it solid black (or change the color for a different effect)
Set the ink to reverse

Then show/hide the image for a Flash effect
--
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



re: cgi scripting

2003-01-30 Thread RCS
Thanks Andu...here is the 'analyzed' packet from the device to the server (I
used CommView...minus the hex info):

GET /cgi/input.cgi?INPUT=RGB1lang=ex=39y=11 HTTP/1.0..Accept: image/gif ,
image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, */*..Referer:
http://192.168.4.9/base_e.htm..Accept-Language: en-us..User-Agent:
Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)..Host:
192.168.4.9..Connection:  Keep-Alive

('INPUT=RGB1' is the actual 'command' or syntax)


The server responds with :

HTTP/1.0 2 OK..Server: Dahlia/1.0.9a..Connection: Keep-Alive..

And the very next packet is:

Content-Type: text/htmlhtmlBODY
onLoad=setTimeout('history.go(-1)',1)/BODY/html


When I try to send this information, the server responds, but instead of
'OK', there is an 'ERROR 400' or something...and obviously it does not do
anything to the device.


I hope this makes sense...

(This is a web browser based interface to get the status of a device on the
network...from IE or Netscape, etc.).


Thanks,
John (RCS)


 --On Wednesday, January 29, 2003 11:18:34 -0800 RCS
 [EMAIL PROTECTED] wrote:

  Hello,
 
  I just thought I would post this in the hopes that someone has already
  worked this out:
 
I need to respond to a device that has a simple server (a network
  appliance). The server needs to be 'fed' cgi responses (i.e. GET or
POST),
  and I have 'analyzed' the device that I am trying to emulate for the
  format (basically a web interface from within a browser). I have the
  format that the device is sending, but it has information embedded that
I
  do not think is relevant to me (referrer: Mozilla, etc.). So when I
  simply send this 'GET' command from an open socket (port 80) from
  MetaCard, I get a response from the server, but it tells me there is an
  error in the format.
 
I suppose my question is: when replying to a server in this
manner...who
  should I say the referrer is? Do I need this? I know I need to read up
on
  cgi scripting, but I thought this might be a simple procedure...

 It is simple when you know it, why don't you post what exactly the server
 sends and what your script replies, you give no helpful information.

 
  Thanks for any info,
  RCS
 
  ___
  metacard mailing list
  [EMAIL PROTECTED]
  http://lists.runrev.com/mailman/listinfo/metacard
 



 Regards, Andu Novac


___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



re: cgi scripting

2003-01-30 Thread andu


--On Thursday, January 30, 2003 11:43:26 -0800 RCS [EMAIL PROTECTED] 
wrote:

Thanks Andu...here is the 'analyzed' packet from the device to the server
(I used CommView...minus the hex info):

GET /cgi/input.cgi?INPUT=RGB1lang=ex=39y=11 HTTP/1.0..Accept:
image/gif , image/x-xbitmap, image/jpeg, image/pjpeg, application/msword,
*/*..Referer: http://192.168.4.9/base_e.htm..Accept-Language:
en-us..User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)..Host:
192.168.4.9..Connection:  Keep-Alive


Try something like this:

put INPUT=RGB1lang=ex=39y=11 into tData

put POST /cgi/input.cgi HTTP/1.0  crlf \
	Accept: */*  crlf \
	Accept-Language: en-us  crlf \
	Connection: Keep-Alive  crlf \
	User-Agent: Metacard-Tool  crlf \
	Content-Length:   length(tData)  \
	crlf  crlf  tData into tRequest
write tRequest to socket x

Post is the correct way to do it. You get the idea, each line of the header 
is separated by crlf and you have crlf  crlf between the header and the 
content, that's the standard. If you still get errors play with the above 
or  repost to the list


('INPUT=RGB1' is the actual 'command' or syntax)


The server responds with :

HTTP/1.0 2 OK..Server: Dahlia/1.0.9a..Connection: Keep-Alive..

And the very next packet is:

Content-Type: text/htmlhtmlBODY
onLoad=setTimeout('history.go(-1)',1)/BODY/html


When I try to send this information, the server responds, but instead of
'OK', there is an 'ERROR 400' or something...and obviously it does not do
anything to the device.


I hope this makes sense...

(This is a web browser based interface to get the status of a device on
the network...from IE or Netscape, etc.).


Thanks,
John (RCS)



--On Wednesday, January 29, 2003 11:18:34 -0800 RCS
[EMAIL PROTECTED] wrote:

 Hello,

 I just thought I would post this in the hopes that someone has already
 worked this out:

   I need to respond to a device that has a simple server (a network
 appliance). The server needs to be 'fed' cgi responses (i.e. GET or

POST),

 and I have 'analyzed' the device that I am trying to emulate for the
 format (basically a web interface from within a browser). I have the
 format that the device is sending, but it has information embedded that

I

 do not think is relevant to me (referrer: Mozilla, etc.). So when I
 simply send this 'GET' command from an open socket (port 80) from
 MetaCard, I get a response from the server, but it tells me there is an
 error in the format.

   I suppose my question is: when replying to a server in this

manner...who

 should I say the referrer is? Do I need this? I know I need to read up

on

 cgi scripting, but I thought this might be a simple procedure...

It is simple when you know it, why don't you post what exactly the server
sends and what your script replies, you give no helpful information.


 Thanks for any info,
 RCS

 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard




Regards, Andu Novac



___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard





Regards, Andu Novac
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: metacard digest, Vol 1 #500 - 10 msgs

2003-01-30 Thread J. Landman Gay
On 1/30/03 1:21 PM, Ray G. Miller wrote:

Yo Coolers,
Just got this Confidential message this AM.

Looks like the ultimate pyramid scheme: Everybody's favorite nerd giving
cash to the masses! 

This one is very old. See the urban legend at:

http://www.tafkac.org/ulz/emailtracking.html

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



tab buttons

2003-01-30 Thread Rodney Tamblyn
Does anyone know 

How do you determine which tab of a tab button is selected, and is 
there a way to programmatically set this?

Rodney

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


No return from post on Linux? A bug?

2003-01-30 Thread Sadhunathan Nadesan
Greetings Scott,

Not sure actually if this is a bug report, or I am doing something wrong,
a library mismatch, or maybe, just a request for a 'how to do it the
right way'??  In any case I would appreciate any advice.

Context:

I have a stack that does a post command to a cgi script on a remote
server.  The cgi runs some sql queries to standard out  (it has of course
first set the correct html content type so that apache likes the output).

Problem:

On Windows, the sql output is returned as it right after the post
command in the calling stack.

On Linux, this does not happen.  Nothing is returned.

More Details:

I can confirm that the cgi is being called, that the sql is being
invoked, and I can save the output in a temporary file from this cgi
(which is an MC script) or even read this file back in to a buffer,
but then when I do a 'put' of this buffer, it does not return to the
calling stack on the remote client.

Again, only if it is a Linux client.  It does return just fine to a
Windows client.

The stack itself was created using MC 2.4.3 and the MC interpreter on
the webhost is 2.4 if that could be the problem, but it seems like the
post would not work at all to invoke the cgi if it were.

Anyway, any thoughts?  I can provide more details as needed.  Code samples
below.

Gracias,
Sadhu


- code sample, the calling stack 

on AzzList

  AzzClear
  set the listBehavior of field contents to true
  put action=list into azzdata
  set httpheaders to Content-type: application/x-www-form-urlencoded  return
  # the real name of the host has been replaced to protect the innocent
  post urlEncode(azzdata) to url (http://localhost.com/cgi-bin/azz.cgi;)
  put it into sqldata

  if (the number of characters in sqldata is zero) then
answer Sorry, your data base is empty  cr
  else
put In the contents field below is a list of all the card titles into field 
title
put sqldata into field contents
  end if

end AzzList



- code sample, the cgi stack 

#!/usr/local/bin/mc
on startup

  put Content-Type: text/plain  cr  cr
  put emtpy into formdata
  if ($REQUEST_METHOD = POST) then
put empty into buffer
repeat until (length(buffer) = $CONTENT_LENGTH)
   read from stdin until empty
   put it after buffer
end repeat
  else
read from stdin until empty
put it into buffer
  end if
  put urlDecode(buffer) into formdata 

  split formdata by  and =
  put keys(formdata) into keywords

  switch formdata[action]
case list
  put select title from azz order by title; into the_query
  put the_query into url file:/tmp/azzlist.sql 
  put psql azz -qt -f /tmp/azzlist.sql into command_string
  break
  end switch

  set shellCommand to /bin/sh
  put shell(command_string)

end startup
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



RE: tab buttons

2003-01-30 Thread Monte Goulding

Use menuHistory to get the tab number

To get the text on the tab use:
put line (the menuHistory of btn X) of btn X

To set a tab and execute the menuPick handler of the tab button you set the
menuHistory. If you have the tab text then you'll need to use lineOffset on
the button contents to get the tab number.

Monte

 Does anyone know 

 How do you determine which tab of a tab button is selected, and is
 there a way to programmatically set this?

 Rodney

 ___
 metacard mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/metacard

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard