Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!decuac!bacchus.pa.dec.com!shlump.nac.dec.com!jareth.enet.dec.com!edp From: edp@jareth.enet.dec.com (Always mount a scratch monkey.) Newsgroups: comp.sys.handhelds Subject: Programming request Message-ID: <16616@shlump.nac.dec.com> Date: 23 Oct 90 22:57:34 GMT Sender: news@shlump.nac.dec.com Organization: Digital Equipment Corporation Lines: 15 I've got a problem for the HP-48 hackers (or for HP). I'm using C-Kermit on VMS, and I haven't been able to send a binary object from the 48 to VMS and back. My guess is that VMS always sends an object with a multiple of 512 bytes, the block size it uses for binary files. The HP-48 doesn't like this and makes the received object into a string. So here is the challenge: Write an HP-48 program that takes the string, truncates the garbage at the end, and makes it into the appropriate binary object. Is there sufficient information in the string to do this -- particularly to determine the proper length? -- edp (Eric Postpischil) "Always mount a scratch monkey." edp@jareth.enet.dec.com