Newsgroups: comp.sys.amiga.programmer
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!ghost.unimi.it!cdc835!ele9056
From: ele9056@cdc835.cdc.polimi.it (Alberto Schiavon)
Subject: CLI input Buffer & power Packer
Message-ID: <1991Jun20.115935.6079@cdc835.cdc.polimi.it>
Sender: netnews@cdc835.cdc.polimi.it (News Admin)
Nntp-Posting-Host: cdc835.cdc.polimi.it
Organization: C.d.C., Politecnico di Milano
Date: Thu, 20 Jun 1991 11:59:35 GMT


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.'
----------------------------------------------------------------------------
