Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!ghost.unimi.it!cdc835!ele9056 From: ele9056@cdc835.cdc.polimi.it (Alberto Schiavon) Newsgroups: comp.sys.amiga.programmer Subject: CLI input buffer & PowerPacker Message-ID: <1991Jun18.150240.20918@cdc835.cdc.polimi.it> Date: 18 Jun 91 15:02:40 GMT Sender: netnews@cdc835.cdc.polimi.it (News Admin) Organization: C.d.C., Politecnico di Milano Lines: 36 Nntp-Posting-Host: cdc835.cdc.polimi.it Subject: Simulating keyboard input & PowerPacker decrunch Hi...Some questions of a friend of mine follow... => pleaZe e-mail eventual answers, so I can easily send them to him... ________________________________________________________________ Here are a couple of problems that I'm not able to work out. Maybe some of you guys can help me... Thanks. 1. How #@*!!'@#%$ can I send a string from my task to CLI and have the CLI interpreting it as if it's typed on the keyboard? If I put the string directly into CLI command buffer, nothing happens; If I send any packet to CLI, the guru pop out saying 'Unexpected packet received'. I hope the solution is NEITHER use the WRITEEVENT command of Input.device for each char in the string (RAW converted, obviously...), NOR define an alternate keymap with a key, let's say F1, related to my string and then WRITEEVENT that F1 is pressed. 2. I'm programming a text-reader and I want it to decrunch PowerPacker data files, but I have no clues at all on this. I'd like to have a source (asm or C) of a program doing this. Is there one? Where can I eventually find it (FTP sites, for Examples...) BTW: I own an A2000 A version, OS 1.2, 2 drives & 1.5 Meg. ---------------------------------------------------------------------------- // Marco 'Kyl' Favaretto - Italy Amiga // 4ever \\ // \X/ 'Intuition is good sense in a hurry.' ----------------------------------------------------------------------------