EGA Lines Alt + F9 This command toggles the display between 25- and 43-line modes (on an EGA) or 25- and 50-line modes (on a VGA). Note: On some systems, the ANSI.SYS driver (loaded in the \config.sys file) limits DOS output to the first 25 lines of the screen. To use more lines, remove ANSI.SYS from \config.sys.