Path: utzoo!attcan!uunet!mcsun!hp4nl!fwi.uva.nl!linden From: linden@fwi.uva.nl (Onno van der Linden) Newsgroups: comp.os.msdos.misc Subject: printing in reverse-video at the bottom line Keywords: ansi,zansi,nansi,nnansi,dos,terminal Message-ID: <1184@carol.fwi.uva.nl> Date: 6 Aug 90 09:36:26 GMT Sender: news@fwi.uva.nl Distribution: comp Lines: 30 Is there anyone who can give an answer to question asked in the comments below ?? /* * Start this program AT THE BOTTOM LINE of your screen,otherwise no * difference will be seen. * On a SUN console and some kind of vt220 terminal,I got: * [Test] (Test printed in reverse-video) * (empty line,normal-video) * [Test] (Test printed in reverse-video) * Starting the program with ansi.sys or nansi.sys or nnansi.sys or zansi.sys * installed under dos 4.0 (I don't think the dos version matters) I got: * [Test] (Test printed in reverse mode) * [ ] (line in reverse-video) * [Test ] (Test printed in one * reverse-video line) * * The behaviour probably has something to do with scrolling. * * Question: * Which behaviour is correct and why ? */ main() { printf("\033[7mTest\n\nTest\n\033[0m"); } Onno van der Linden linden@fwi.uva.nl