JCOP Shell: parsing responses in a script

I've been reading through the (sparse) documentation for the JCOP shell, but can't find how to parse a response APDU coming back from the card in a script.Does anyone know how to do this?thanks!
[217 byte] By [jfreak32a] at [2007-10-3 7:34:54]
# 1

OK, after some more thorough forum searching, I found the following thread:

http://forum.java.sun.com/thread.jspa?forumID=23&threadID=654224

Summary:

- /send response goes in a special (undocumented!) variable called ${response}

- /send takes a second parameter which is the expected response

Hope that saves someone else some time. I think it is rediculous that these basic features are not properly documented in the JCOP tools.

jfreak32a at 2007-7-15 2:34:58 > top of Java-index,Java Mobility Forums,Consumer and Commerce...