HDTenEightyP/NetNews huggingface dataset:
From: ebazergh@gmuvax.gmu.edu
Newsgroups: comp.os.msdos.programmer,comp.os.msdos,comp.os.msdos.misc
Subject: WANTED: Serial port data exchange code
Date: 22 Aug 92 17:59:31 -0500
Organization: George Mason University, Fairfax, VA.

I'm looking for code which can help me add an HEAD-TO-HEAD modem play
feature to a game I am currently writing for IBM Compataibles.
What I need is the basic way of getting the computers on both sides to wait
until the other is ready, then the actual exchange of info while the
game is being played. I already have a library of serial routines, so please
don't send me a reply with library names. I need actual code or even
pseudo-code in order to help me implement this feature.
 
Can anyone help me?
 
THANX!
 
P.S. Please reply by E-MAIL, I rarely visit this newsgroup...
 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Eric R. Bazerghi                    |      BitNet:  EBAZERGH@GMUVAX.BITNET
 Student                             |    InterNet:  EBAZERGH@GMUVAX.GMU.EDU
 George Mason University             |-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 4400 University Drive               |  What do you have when a room is half
 Fairfax, VA  22032                  |  full with women who have PMS and half
                                     |  full with women with yeast infections?
                                     |  A whine and cheese party!
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
From: estel@cs.vu.nl (Stel E)
Newsgroups: comp.os.msdos.programmer
Subject: Can TSR slow down system too much?
Date: 17 Aug 92 12:52:52 GMT
Organization: Fac. Wiskunde & Informatica, Vrije Universiteit, Amsterdam


Hai programmers,

I've made a simple Screen Saver. I'd like the program to work
with both DOS and Windows programs. So I hooked it to the
timer interrupt (0x1c). Every time this interrupt is generated
(18.2 times a sec.) it checks the SHIFT status (scancode).
If both SHIFT keys are pressed, the screen blanks, if some
other key (SHIFT/ALT/CTRL) is pressed the screen unblankes.

The program has to check some things every time it's called.
Can this slow down my machine too much? Can my clock start
to run too slow (clock = DOS clock)? It's not so easy to
test (my machine is quite fast). I couldn't notice any
difference, not even when blanking/unblanking very fast and
frequent.

I don't think it's a problem, but I wanna be sure.


Thanks in advance,		Erik Stel (estel@cs.vu.nl)
Newsgroups: comp.os.msdos.programmer
From: markf@atlastele.com (Mark Ferris)
Subject: D-flat from DDJ
Organization: Atlas Telecom Inc.
Disclaimer: Views expressed do not necessarily represent those of my employer.
Distribution: usa
Date: Fri, 21 Aug 1992 21:07:45 GMT


I'm looking for some info on the D-flat project going on in DDJ.  It
seems to have been going on for quite some time, long enough so that
I can't find an issue in my library that explains just what it is.
Each issue builds on the previous assuming the reader knows what's
going on.  The little I can glean from it makes it sound interesting,
but I just want to know, what is it?

Thanks,


-- 
Mark Ferris                         EMAIL: markf@atlastele.com
Atlas Telecom                       VOICE: [USA] 1+503.228.1400 x242
4640 SW Macadam Ave.                FAX1:  [USA] 1+503.225.5518
Portland, OR 97201                  FAX2:  [USA] 1+503.228.0368
Newsgroups: comp.os.msdos.programmer
Subject: BIOS/DOS interrupt list
From: <ISSLKA@BYUVM.BITNET>
Date: Monday, 17 Aug 1992 21:16:30 MDT
Organization: Brigham Young University

Can somebody please let me know where I can find a good list of DOS and BIOS
interrupts, with descriptions and necassary parameter values?  I'm a student
programmer and would like to be able to do some of the stuff that the big
boys do.
Newsgroups: comp.os.msdos.programmer
From: yev_g@athena.mit.edu (Yevgeny Gurevich)
Subject: Re: Turbo C++ 3.1 -- does it exist ?
Organization: Massachusetts Institute of Technology
Date: Fri, 21 Aug 1992 14:43:17 GMT

In article <714415476snx@cotswold.demon.co.uk> nigel@cotswold.demon.co.uk (Nigel Roles) writes:
>
>In article <1992Aug20.181514.9597@uoft02.utoledo.edu> billp@jupiter.cse.utoledo.edu (Bill Parquet) writes:
>
>> kestes@nswc-wo.navy.mil (Kent Estes) writes:
>> : I've heard that Turbo C++ 3.1 is out.  Is this true ?  If so
>> : can anyone tell me what has changed/improved ?
>> 
>> Not to much (I think) They implemented the C++ standard version 2.1 and
>> support for windows 3.1.
>> 
>> 
>That's Borland C++ 3.1 not Turbo C++ 3.1.

Most of the Borland Language products have new versions:
Turbo Pascal/Windows 1.5, Turbo C++/DOS 3.1, Turbo C++/Windwos 3.1,
Borland C++ 3.1

The new Turbo and Borland products have color-syntax highlighting, several
bug-fixes in the IDE, and (for those versions which come with Turbo Vision)
bug fixes to TV.  The Windows products also have support for the Windows
3.1 "goodies" such as OLE, PenWindows, Drag-and-Drop.  Borland C++ also
now includes a Windows-hosted optimizing compiler which replaces the Turbo C++
one they used in previous versions.  All of their upgrades have been out
for several months.
At the Borland Presentation in Boston, they introduced Borland C++ & AF on
CD-ROM, which supposedly has the entire compiler pre-installed on the disk.
Can anyone hazard a guess as to how slow this might be ?  I'm wondering whether
the savings in disk space are worth the hit in performance.

--
yev_g@athena.mit.edu   500 Memorial Drive, Cambridge, MA.  [ Yevgeny Gurevich ]
From: ralf+@cs.cmu.edu (Ralf Brown)
Newsgroups: comp.os.msdos.programmer
Subject: Re: BIOS SPEED FOR VIDEO WRITES
Date: 21 Aug 92 04:15:38 GMT
Article-I.D.: cs.BtBFu3.4zD.2
Organization: School of Computer Science, Carnegie Mellon

In article <exuptr.349.714338170@exu.ericsson.se> exuptr@exu.ericsson.se (Patrick Taylor) writes:
}In article <1992Aug20.131829.5606@tc.cornell.edu> homer@theory.TC.Cornell.EDU (Homer Smith) writes:
}>     I wrote a short program in assembler to write to every pixel on
}>     On my 386/33 with Trident 8900 chip the program takes 1:10
}>minutes.
}>     On my 486/33 with identical video board the program takes 11:46
}>minutes.
}
}First off, both times are too slow.
}
}>     Could someone please give me a hint why the 486 is 11 times
}>slower than the 386. 
}> 
}>     Using another program that did a simple INC AX,1 repeatedly,
}>the 486 was 2.8 times faster than the 386.
}
}How are you drawing pixels?  What video mode? If you are calling an INT 10h 
}function, there's your bottleneck.  As for why it might be slower, check 
}these things:
}
}1>  Do you have VIDEO / BIOS shadow on either machine?
}2>  Do you have any non-standard bus timings on either machine?  (Extended
}    setup)
}3>  Compare the loaded drivers, etc... on both machines, especially packet 
}    drivers, keyboard intercepts, video intercepts, etc...

4> Is the board in a 16-bit slot in the 386 and in an 8-bit slot in the 486?

5> Is the memory cache on the 486 enabled?

6> Are you running a memory manager on the 486 but not on the 386?  Or
   different memory managers on the two machines?  When doing INT NN calls,
   the memory manager gets control, so the efficiency of the memory manager
   is very important (QEMM is much faster than Microsoft's EMM386, for
   example).
-- 
Internet: RALF+@CS.CMU.EDU   |The University would disclaim this if it knew...
FIDO: Ralf Brown 1:129/26.1  |
BIT: RALF%CS.CMU.EDU@CARNEGIE|"Success has a simple formula: do your best,
AT&Tnet: (412)268-3053 school| and people may like it."   -- Sam Ewing
From: zorrilla@cattell.psych.upenn.edu (Eric Zorrilla)
Newsgroups: comp.os.msdos.programmer
Subject: [QBasic to C Compiler]
Date: 19 Aug 92 21:14:07 GMT
Organization: University of Pennsylvania

I'm looking for a Quick Basic to C converter (preferably to Microsoft
though any standard is acceptable).  Does such a wonder exist?  If so,
please refer me to an appropriate ftp site or send it to me by e-mail
uuencoded.

Thanks in advance!


[--------------------------------------+--------------------------------------]
| Eric Zorrilla - Dept. of Psychology  | zorrilla@cattell.psych.upenn.edu     |
| University of Pennsylvania           | 3815 Walnut, Philadelphia, PA 19104  |
[--------------------------------------+--------------------------------------]
From: bx304@cleveland.Freenet.Edu (Jeff Epler)
Newsgroups: comp.os.msdos.programmer
Subject: Re: A batch programming contest for you
Date: 20 Aug 92 00:51:48 GMT
Reply-To: bx304@cleveland.Freenet.Edu (Jeff Epler)
Organization: Case Western Reserve University, Cleveland, OH (USA)


In a previous article, yogi@cs.ubc.ca (Yossi Gil) says:

>ts@uwasa.fi (Timo Salmi) writes:
>
>>As you might know I have a large collection of batch files and
>>tricks garbo.uwasa.fi:/pc/ts/tsbat36.zip. I am always looking for
>>useful new information for it.
>
>Well, I have this other discovery that I try to offer every year
>or so, but it still remains unnoticed. I hope that you will add
>this to your tips&tricks so that I will not have to pound on this
>again in a year from now. 
>
>How to prevent ctrl-breaks during execution of autoexec.bat? 
>------------------------------------------------------------
>The "ctty nul" command is a well known trick, but it doesn't hold
>if the user types in ^C quickly. One usually puts "@echo off" at the
>beginning of the batch file. These leavs even more time to the
>intruding user to break. 
>
>My trick is to create
>	shell=command.com /p nul line in my config.sys file. This will
>make command.com start with the nul device as its standard
>input/output. It is undocumented, but worked in all of the many dos
>versions I have tried it on.
>
>And yet another relatively unknwon features of COMMAND.COM. Did you
>know that the following would work? Can you figure out what it will
>do?
>
>	<NUL> con ver 

Same as ver <nul >con, or just ver since it takes no input.
>
>as well as
>
>	<CON> nul vol 

Does nothing:  Sends the volume label to nul.  Dos has never been too
picky about where <, > redirections go..
>
>not mentioning
>
>	if not if == not shift else ; endif 

Shifts (I think else ; endif is ignored as an arguement to shift)
because if is not the same as not.
>
>These may prove useful to encrypt your batch files. 

Confused me for a bit.

-- 
|Jeff Epler               Additions Welcome           c(-8 ;-) >{8-) |
| :) (=( =-] (-= Celebrating the variety of faces =-> :^) {-= |-) (: |
| >X^P                                              Lincoln, Nebraska|
Newsgroups: comp.os.msdos.programmer
From: jsteele@netcom.com (John Steele)
Subject: Re: How to detect base address of COMx ports?
Date: Tue, 18 Aug 92 03:48:44 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 

In <1992Aug18.021412.19094@news.ysu.edu> af458@yfn.ysu.edu (Jon K. Salmon) writes:

>Well, in theory you can look at the 4 WORD values at 40h:00h, which
>SHOULD be the port addrs for COM1-COM4.  How safe/reliable this
>technique is, I do not know.  There is a similar table of LPT port
>addrs (next 4 WORDs?  I don't recall), but I KNOW that is unreliable.

>For what it's worth...

>-- Jon
>-- 

Actually, the only time that I have found that looking for com/lpt base
port addresses in this manner fails is under Novell.  It does work under
every version of MS-DOS, Ntnx, Lantastic and PC-MOS.  When else have you
found it to be unreliable?

Another possible method is looking at the data at the standard port addresses
of 3f8,2f8,3e8 and 238 for comm ports and 3bc,378 and 278 for lpts.  This can
be pretty dangerous under a multitasking system of course :)

John
-- 
#include <disclaimer.h>			/* route all flames to /dev/null  */
/**************************************************************************/
/*   Systems Analyst      | John Steele     email: jsteele@netcom.com     */
/* Video Business Systems |                                               */
/*   1-800-255-3088       |    Most people spell COBOLSUX incorrectly...  */
/**************************************************************************/
Newsgroups: comp.os.msdos.programmer
Subject: Re: HELP! My TSR won't activate in many games!
From: choate@acs.harding.edu (Brad S. Choate)
Date: 13 Aug 92 15:49:11 -0500
Reply-To: choate@acs.harding.edu
Distribution: world
Organization: Harding University

In article <14080@mindlink.bc.ca>, Charlie_Hutchins@mindlink.bc.ca (Charlie Hutchins) writes:
>The subject line says it all...  Right now I'm writing a small TSR
>program that hooks interrupt 9 for activation.  Whenever you press
>a key, my program checks to see if it should activate...if so, it
>does...or so I thought.  The program works fine in DOS and most
>text mode programs but it won't work in all games. (It does work in
>some, however)  I suppose the games it won't work with completely
>take over INT 9 but does any one have an idea for a solution to
>this??  There must be some way to allow it to activate in every (or
>a least most) games...  And, No, my program does not write anything
>to the screen or access files.  (it accesses the PC speaker)...
>Any ideas, suggestions, tips, etc. would be great...Thanks (I
>hope)...
>
>....Charlie Hutchins

Maybe you've written one of those programs a co-worker of mine refers to as a
"Terminate and Stay Resistant" utility!
--
 Disclaimer: "I really don't care."

 |) |) /\ |\  | Brad S. Choate                      | 1314 E. Market, Apt. 6
 |) |\ || |/  |                                     | Searcy, AR  72143
 --------_--  | choate@acs.harding.edu              | (501) 279-2584
  <||()/\|[   | V.P., Software Extensions, Inc.
From: 9125113g@lux.latrobe.edu.au (Mitch Davis)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Detecting a disk in floppy drive
Date: 15 Aug 92 05:10:06 GMT
Organization: La Trobe University

In article <4672@blue.cis.pitt.edu.UUCP> demented+@pitt.edu (Scott E Berry) writes:
>
>How can I detect if a drive contains a disk without getting the 
>and run Turbo C or Turbo Pascal etc. with the appropriate configuration.

Try these:

[Turbo Pascal code]

unit mydos;
 
interface
 
function DskReady (disk:char):boolean;
 
implementation
 
uses dos, Errors;
 
function dskready (disk:char):boolean;
 
{This function tries to read into a buffer the first sector off a volume.}
 
const buffsize = 8192; {Largest anticipated sector size}
 
var buffer:pointer;
    regs:registers;
 
begin
  dskready := false; {so the EXITs give the right value}
  disk := upcase (disk);
  if disk < 'A' then exit;
  if disk > 'Z' then exit;
  if maxavail < buffsize then error (8,fatal);
  getmem (buffer, buffsize);
  asm
    mov   al,disk        { Gets the passed parameter. }
    and   al,1fh         { Cvt from ASCII to drive num }
    dec   al             { Adjust because A: is drive 0 }
    mov   cx,1           { Try to read one sector }
    xor   dx,dx          { starting at sector 0 }
    push  ds
    lds   bx,buffer      { Get the address of the buffer }
    push  bp
    int   25h            { Do the disk read. }
    pop   si             { Remove the flags int 25h leaves on stack}
    pop   bp
    pop   ds
    mov   al,0ffh
    jnc   @1
    mov   al,0
    @1:
    mov   @result, al
  end;
  freemem (buffer,buffsize);
end;
 
end.

[And here's something for batch files which returns an errorlevel.  It]
[uses the same method:                                                ]

On: Tue 21 May 91  5:15p
By: William Hughes
To: Dayton Livingston
Re: Drive checking
-----------------------------------------------------------------------------
 DL> What I need is a way to check the drive to see if there is
 DL> a disk in it that will not "freeze" things if there isn't.
 DL> THEN I can have it check for the file.
 DL> Comments?  Suggestions?  Help?
 
Run the following script file in DEBUG. You will get DSKREADY.COM,
which can be used in a batch file, as follows:
 
dskready a
if errorlevel 0 goto DoSomething
if errorlevel 2 echo Drive door open or no disk in drive
if errorlevel 12 echo Disk not formatted
if errorlevel 255 echo What drive?
 
Bill
 
-*-*-*-*-*-*-*-*-* DSKREADY.SCR  *-*-*-*-*-*-*-*-*-*-*-*-*-
n dskready.com
e 0100 08 c0 75 13 a0 5c 00 fe c8 b9 01 00 31 d2 bb 1b
e 0110 01 cd 25 72 02 30 c0 b4 4c cd 21
rcx
001b
w
q
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
 
Type this: DEBUG < DSKREADY.SCR
 
[I wrote the Pascal code, but not the .COM file.]

Mitch.
From: dataram@tigger.jvnc.net (Dataram Corp. PO Box 7528)
Newsgroups: comp.os.msdos.programmer
Subject: Microsoft C compiler HELP
Date: 14 Aug 92 18:05:37 GMT
Distribution: comp.sys.ibm.pc.misc
Organization: JvNCnet, Princeton University, NJ
Originator: dataram@tigger.jvnc.net

I'm trying to compile a c program with extensive macros
on a 486 with 16MB of memory: 
cl /AH /c /Gt512 myprog.c

I'm getting errors like:
C1056 compiler limit : out of macro expansion space
and
C1002 out of heap space

Do I need a better compiler than Microsoft 6.0?

TIA Michael
-- 
Michael DeMeis     Dataram Corp. PO Box 7528 Princeton NJ 08543
                   609-799-0071 x229
michaeld@dataram.com
From: ted@helios.ucsc.edu (Ted Cantrall)
Newsgroups: comp.os.msdos.programmer
Subject: Re: NEEDED: email address at Borland
Date: 13 Aug 92 16:16:21 GMT
Organization: UCO/Lick Observatory
NNTP-Posting-Host: helios.ucsc.edu

*>I wish to contact Borland by email, but I don't know of any address.
*>Eystein Dugstad
*>University of Bergen, Norway
*
*customer-support@borland.com will get you there.  But it is not a
*technical support line.  I wish they would do tech support via
*internet.  They do via compuserve...
-------------------------------
bugs@borland.com
customer-support@borland.com
sidney@borland.com

-------------------------------------------------------------------------------
ted@helios.ucsc.edu |"He has showed you, O man, what is good; and what does the
W (408)459-2110     |Lord require of you but to do justice and to love kindness
H (408)423-2444     |and to walk humbly with your God?" Micah 6:8 (RSV)
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.desqview,comp.sys.ibm.pc.hardware,comp.windows.programmer
From: cwilkins@irscscm.UUCP (Charlie Wilkinson)
Subject: Re: General protection fault
Organization: Internal Revenue Service
Distribution: na
Date: Tue, 11 Aug 1992 13:10:16 GMT

kushmer@bnlux1.bnl.gov (christopher kushmerick) writes:
: I've been using Word perfect for windows for a while now with no problems.
: 
: But when it rains it pours.
: 
: First my computer crashes, and the C drive gets screwed up. Won't boot.
: Finally get it up and running and WP *.dll files (amoung others) are screwed 
: up. I restore the whole WP directories. Run WPWin and get
: 
: Application error: General protection fault
: Module WPWINFIL.exe
: at 0004:da7c.
: 
: Anybody have any idea whats going on?
 
This maybe a dumb question, but did you completely reinstall WPWIN?  I don't
know how yours is set up, but mine is divided into two separate 
subdirectories:

/..../WPWIN
/..../WPC

Most of the common dll's are under WPC, but it *looks* like your having an
executable problem.  At this point I would do a complete re-install of WPWIN
and if it's still screwy, re-install Windoze.  I had to do that once when I
was having some really strange problems.  Reinstalling either or both shouldn't
mangle your default settings, so it's not like starting totally from scratch.
In any case, it'll probably be quicker than trying to hunt down and replace
the offending file(s).  Just to be on the safe side, you could copy off your
*.ini files from \WINDOWS and \WINDOWS\SYSTEM before re-installing Windoze.

Hope that helps and please let me know what happens...
--
cwilkins@irscscm.uucp                                   /======================\
uunet!mimsy!prometheus!media!ka3ovk!irscscm!cwilkins    | Micro-Sig(tm) pellet |
N3HAZ@KA3RFE.MD.USA.NA                                  |   -just add water    |
...or you can call me Charlie                           \======================/
Newsgroups: comp.os.msdos.programmer
From: steve@keystone.arch.unsw.edu.au (Stephen Peter)
Subject: Re: A batch programming contest for you
Reply-To: steve@keystone.arch.unsw.edu.au
Organization: Faculty of Architecture, University of New South Wales
Date: Thu, 20 Aug 1992 08:42:23 GMT

In article 5132@uwasa.fi, ts@uwasa.fi (Timo Salmi) writes:
>@echo off
>rem That's a very inventive trick, Yossi.  I expanded a bit. The snag is
>rem the the file must exist in order to get the extension. Another
>rem question is how do you get the extension name into an environment
>rem variable so that we can utilize it.
>
>if not exist %1 goto _out
>if exist echo.* erase echo.*
>copy %1 echo.* > nul
>for %%f in (echo.*) do %%f > ext
>type ext
>if exist ext erase ext
>:_out
>
>...................................................................
>Prof. Timo Salmi
>Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
>Faculty of Accounting & Industrial Management; University of Vaasa
>Internet: ts@uwasa.fi Bitnet: salmi@finfun   ; SF-65101, Finland

Now your changing the problem :-)

ts@uwasa.fi (Timo Salmi) writes:
>write a batch that returns the extension of the
>(file) name given to the batch as the parameter (%1).

You said RETURNS :-) You didn't say it had to go into a env.var. :-)

Yossi's  for %%f... line could even do without the  " > ext " at the end - so
the extension is echo'd to screeen.  Though it would fail if the parameter
wasn't a file (didn't exist)...


cheers :-)
Stephen.
---
 _--_|\                                                  S.Peter@unsw.EDU.AU
/      \    Stephen Peter                or  steve@keystone.arch.unsw.EDU.AU
\_.--._/<-------------------------------------------------------------------
      v     School of Architecture, University of New South Wales, Australia
            Phone +61 2 6974816   Fax +61 2 6621378   Messages +61 2 6974799
Newsgroups: comp.os.msdos.programmer
Subject: Re: Info on network cards.
From: cctr132@csc.canterbury.ac.nz (Nick FitzGerald, CSC, Uni. of Canterbury, NZ)
Date: 20 Aug 92 17:33:37 +1200
Organization: University of Canterbury, Christchurch, New Zealand

In article <09F11DEAD85F40094B@qut.edu.au>, ISB202REID@redgum.qut.edu.au
(Did somebody say Coffee ??????) writes:

> I'm looking for some tech info on network cards as I want to try
> and write some drivers for myself.

Which cards?  What sort of drivers?

Is the .ASM source available for the Crynwr (nee Clarkson) packet
drivers any use?  If so, look for the DRIVERS1 and DRIVERS2 zips in
<MSDOS.PKTDRVR> at simtel20, or their equivalent at a mirror site. 
(There's a simtel mirror in Oz - archie.au or something.)

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Nick FitzGerald, PC Applications Consultant, CSC, Uni of Canterbury, N.Z.
 n.fitzgerald@csc.canterbury.ac.nz  (64)(3)  364-2337 Voice,  364-2332 FAX
Newsgroups: comp.os.msdos.programmer
Subject: using DR DOS 6 Script utility
From: Marco Simionato <simion@iveuncc.unive.it>
Date: 17 Aug 92 15:05:54 +0100
Distribution: world
Organization: University of Venezia
X-UserAgent: Nuntius v1.1a2Lines: 21

I have DR DOS 6 on my 386sx machine, which is connected to a PostScript
Apple Personal LaserWriter NTR. The Script utility allows me to print
text files from the Dos command line. This utility can be installed as
TSR, so that it will intercept and elaborate all jobs directed to the
printer. Despite this, I cannot have files printed from basic Dos apps,
such as MS Edit or DR DOSBOOK. The fact is that, to be installed as a
TSR, Script requires two parameters: an input peripheral and an output
peripheral. The two parameters cannot be the same. Now, my printer is
connected to LPT1. If we assume that, for example, MS Edit prints by
default to LPT1, I would have to tell Script to take all jobs directed to
LPT1, elaborate them and send them to, say, LPT2 - which I just don't
have.
Conversely, if I set with the SET ot MODE commands LPT1=LPT2 - or the
other way round - and the Script input peripheral as LPT2 ... well, I 
think you got my idea. Simply, none of these tricks works.

Any help greatly appreciated.

Thanks,

Marco Simionato