Newsgroups: comp.os.msdos.djgpp From: g DOT turner AT irl DOT cri DOT nz (Gary Turner) Subject: How to return to 50 line mode from GRX programs? Organization: Industrial Research Ltd Date: Mon, 29 Sep 97 05:54:16 GMT NNTP-Posting-Host: garyt-pc.grace.cri.nz Message-ID: <342f509d.0@comnet.co.nz> Lines: 9 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I normally use dos in 50 line text mode. I've written a program using djgpp and grx 2.0, and the the program always exits back to dos in 25 line mode. How do I make it go back to the text mode that it started in? I've tried GrSetMode(GR_default_text), even GrSetMode(GR_width_height_text,80,50) (or thereabouts! ) which sets it in the program, but it still goes back to 25 line mode when it exits back to dos. Does anyone have any suggestions?