From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Setting program name? Date: Wed, 10 Dec 1997 08:19:44 -0500 Organization: Cornell University (http://www.cornell.edu/) Lines: 43 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <348E96F0.F412C5E4@cornell.edu> References: <66korf$mul AT news DOT euro DOT net> <348DF1C2 DOT C3E83797 AT cornell DOT edu> <348E6F9E DOT 22BA AT trash DOT lip6 DOT fr> NNTP-Posting-Host: cu-dialup-0043.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > A. Sinan Unur wrote: > > > > Steven Don wrote: > > > > > > Hi, I've just started using DJGPP and like it very much. My question > > > doesn't really regard DJGPP, but more a trick that RHIDE performs. > > > When running RHIDE in a Win95 DOS box, it changes the name of the DOS > > > box (and resets it when quitting). Does anybody know how this is > > > performed? Somebody knows, of course. > > > > it has nothing to do with rhide. it is windows 95. > well, i was wrong. here is the info from Ralph Brown: Category: W - MS Windows Inp.: AX = 168Eh DX = 0000h ES:DI -> ASCIZ application title (max 79 chars+NUL) Return: AX = status 0000h failed 0001h successful Note: if ES:DI is 0000h:0000h or points at an empty string, the current title is removed BUG: this function can return a successful status even though the title was not changed; reportedly, waiting for two clock ticks after program startup solves this problem SeeAlso: AX=168Eh/DX=0001h,AX=168Eh/DX=0002h INT 2F Copied from Ralf Brown's Interrupt List -- ---------------------------------------------------------------------- A. Sinan Unur Department of Policy Analysis and Management, College of Human Ecology, Cornell University, Ithaca, NY 14853, USA mailto:sinan DOT unur AT cornell DOT edu http://www.people.cornell.edu/pages/asu1/