Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!unmvax!nmt.edu!jrwsnsr From: jrwsnsr@nmt.edu (Jonathan Watts) Newsgroups: comp.sys.ibm.pc.misc Subject: Re: Screen border colors Message-ID: <1990Oct11.005239.1874@nmt.edu> Date: 11 Oct 90 00:52:39 GMT References: <1990Oct9.023220.20459@uwasa.fi> Organization: New Mexico Institute of Mining and Technology Lines: 27 From article <1990Oct9.023220.20459@uwasa.fi>, by ts@uwasa.fi (Timo Salmi): > In article <10835@hubcap.clemson.edu> chrisb@hubcap.clemson.edu (Chris Behrens) writes: >>How do you set the color of the border on an IBM PC screen ?? >>The DOS prompt command changes the main portion of the screen, >>but leaves a blank border around on the outside. I know this can >>be done because some software leaves the border the same color as >>the rest of the screen when finished execution. >> >>Is there an escape code that can be tacked on the prompt command, >>or some program that can set the border ??? > > This is a feature of CGA and VGA graphics. > > If you know how to write a simple program in Turbo Pascal there is a > preprogrammed routine for changing the border color in the > /pc/ts/tspas22.arc Turbo Pascal units collection available by > anonymous ftp or mail server from chyde.uwasa.fi. You can also use the Norton Utilities "sa" program to change the border. "sa [intensity] [foreground] on [background]" is the normal way to use sa, with a /N parameter if you don't wish to change the border as well as the background. However, I discovered, purely by accident, that "sa on [background] >NUL" will change the border color, and only the border color. - Jonathan Watts jrwsnsr@jupiter.nmt.edu (Internet address)