Subj : Input without Carriage Return (Enter) To : Nightfox From : Jon Justvig Date : Fri Aug 07 2009 06:43 am Re: Input without Carriage Return (Enter) By: Nightfox to Jon Justvig on Fri Aug 07 2009 01:16 am > No problem. Come to think of it, though, nCurses might not be the best > answer for Linux. I've worked with nCurses before, and I know it has > functions that input a single character from the user without the user havin > to press Enter, but nCurses is a full-blown character interface library > dealing with "screen" structures; you need to initialize nCurses before you > use any of its functions, and then de-initialize it when you're done, and th > process of doing that will clear the screen. Hmmm...you don't suppose nCurses also includes normal color ANSi as well? Right now my code does not have any color in it. If so, I could tolerate the clear screens as long as it doesn't interfere with game play. > I imagine there must be some C or C++ function in Linux that does what you > want to do. I'm hoping there is. I used the header, windows.h, I believe, but, it would not work with linux obviously and I wanted the code to be portable to both dos and linux. So, I've been looking around. I'll be glad when I start working on my BS degree in a few years and really dig into programming. -- Jon telnet://stepping.synchro.net --- þ Synchronet þ Stepping Stone BBS -- telnet://stepping.synchro.net .