ele9056@cdc835.cdc.polimi.it (Alberto Schiavon) (06/18/91)
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.' ----------------------------------------------------------------------------
ele9056@cdc835.cdc.polimi.it (Alberto Schiavon) (06/20/91)
excuse my reposting, but our server had some problems... ________________________________________________________________ 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.' ----------------------------------------------------------------------------