On Friday 06 October 2006 02:42, Mark J. Reed wrote: > 2. If I use stdio instead of conio, I can take advantage of the > built-in screen editor functionality (ESC sequences to move the > cursor, set windows, scroll up and down, etc); also, if I just > printf("\n") repeatedly, text automatically scrolls properly off the > top of the screen. It's quite handy. > > But if I have used conio calls to clear the screen, position the > cursor, etc, then the automatic scrolling no longer works for some > reason; printf() starts behaving as if I were calling cprintf() > instead, where lines wrap to the top of the screen with no scrolling. > > Is this a bug or a feature or a limitation? (UZ: i really think this should go into the docs, this question arises frequently :)) it's a feature - conio is made for "fullscreen" applications and it doesnt handle scrolling, mostly because of speed and size reasons. and you should not mix stdio with conio for the same reason - results are undefined. -- http://www.hitmen-console.org http://www.gc-linux.org/docs/yagcd.html http://www.pokefinder.org http://ftp.pokefinder.org Foolish man give wife grand piano. Wise man give wife upright organ. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Fri Oct 6 02:52:03 2006
This archive was generated by hypermail 2.1.8 : 2006-10-06 02:52:05 CEST