Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!sunic!cs.umu.se!dvlrab From: dvlrab@cs.umu.se (Roger Abrahamsson) Newsgroups: comp.sys.amiga.programmer Subject: Single char read problems Message-ID: <1991Mar19.173212.3387@cs.umu.se> Date: 19 Mar 91 17:32:12 GMT Sender: news@cs.umu.se (News Administrator) Organization: Dep. of Info.Proc, Umea Univ., Sweden Lines: 18 Help!!! I have just been thinking to start to program more seriously on my amiga and are using modula 2, (M-2). Now there is a small problem, I am trying to read one char at a time from the keyboard (now) and that doesn`t seem possible when doing it in a CON: window, not easily anyway. I`ve got some old programs written in turbo-pascal on a pc and was hoping to be able to convert them easily, but the problem is that I`m not good at the use of IDCMP-messages, gadgets, requesters and such. It shouldn`t be any problem if it wasn`t for that %&/& CON: window, and opening a RAW: doesn`t quite work that I like. If anyone got any suggestions about how to do read a single char from an input stream, and it ought to work with files, serial or parallell ports or keyboard, please give me a hint. Thanks in advance, Roger.