Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!sm.unisys.com!csun!srhqla!tcm From: tcm@srhqla.UUCP (Tim Meighan) Newsgroups: comp.sys.ibm.pc Subject: Re: What is TSR anyway? Keywords: TSR Message-ID: <523@srhqla.UUCP> Date: 3 Feb 89 01:40:12 GMT References: <27828@ucbvax.BERKELEY.EDU> Reply-To: tcm@srhqla.UUCP (Tim Meighan) Organization: Silent Radio, Los Angeles Lines: 32 In article <27828@ucbvax.BERKELEY.EDU> brand@janus.UUCP (Graham Brand) writes: >Excuse my ignorance, but what does TSR stand for and what is it? Terminate and Stay Resident. It means the program will install itself in memory, mark that memory as protected (used) so that DOS will not farm it out to a later program, and then terminate (return to the DOS prompt.) TSRs are pretty much a phenomenon found on IBM-PCs. This is how such programs as SIDEKICK work; they hang out in your computer permanently, and in the case of the above, look at every keystroke. When a "hotkey" is pressed (a special key to invoke a particular function) the resident program sees it, suspends the operation of whatever else your computer is doing, and launches its own program (pops up a calculator or whatever). The problem is that every time you install another TSR it may need to be the most important TSR in memory; for example, it may want first access to keypresses coming in. Without any clearly defined standards of behaviour for TSRs, they tend to conflict with each other and with regular programs. The method for getting TSRs into memory in the first place comes from an MS-DOS function that was never intended for this purpose. The TSR function call in DOS was supposed to be used to patch errors in the BIOS or make minor modifications to the operating system, not install entire application programs permanently in memory. And so it goes . . . Tim Meighan Network Operations Silent Radio