Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!rutgers!cbmvax!darren From: darren@cbmvax.commodore.com (Darren Greenwald) Newsgroups: comp.sys.amiga.programmer Subject: Re: HELP: Reading chars from a CLI(Console Device) Message-ID: <20163@cbmvax.commodore.com> Date: 27 Mar 91 16:52:37 GMT References: <1991Mar25.165901.47147@cc.usu.edu> Reply-To: darren@cbmvax.commodore.com (Darren Greenwald) Organization: Commodore, West Chester, PA Lines: 15 In article <1991Mar25.165901.47147@cc.usu.edu> slmt9@cc.usu.edu writes: > >I need to use the Console.Device and attach some read and write ports to the >window. I did this and it lets me move the cursor around (read some code from >one of the editors lets me do this!! :-) but none of the keys typed comes up >on the screen. Any help from any one at any level would be greatly appriciated. > > Joshua > SLMT9@cc.usu.edu You may be assuming that whats typed is automatically reflected in the window. Not so -- you have to read via CMD_READ, massage & interpret that data, and write text via CMD_WRITE based on what you have read. As an example, try writing a little test program which writes (CMD_WRITE) every character received via CMD_READ.