Path: utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!hp4nl!tuegate.tue.nl!gem!michael From: michael@gem.stack.urc.tue.nl (Michael Brouwer) Newsgroups: comp.sys.amiga.misc Subject: Reading from Stdin (CON: or AUX:) Summary: How do I read one char from Input() without waiting for CR Keywords: getc,STDIN,CON:,AUX:,terminal Message-ID: <149@gem.stack.urc.tue.nl> Date: 8 Feb 91 13:06:07 GMT Organization: Stack, Eindhoven University of Technology, The Netherlands Lines: 22 I have a vt220 hooked up to my serial port, and run and I run SKsh 1.6 on an AUX: shell at 19200 baud. This works fine, but... I'm trying to compile and editor that works on AUX: as well as CON: (without opening a new window) Everything works fine except the input. If I use getc() It reads 1 char but it waits for a return first and CON: as wel as AUX: echo there input immidiatly. What I am looking for is a way to read one character from STDIN or Input() without CON: or AUX: echoing it and without waiting for a CR before sending the whole line. I think I have to put CON: or AUX: in raw mode to achive this. I know this is possible because MORE v 3.27 (from CBM) does read correctly, and works with AUX: and CON:. If anyone knows how to do this please send me a source or something the source for more would probably do the trick. Michael Brouwer Any replys are welcome