HDTenEightyP/NetNews huggingface dataset:
From: hucke@ux1.cso.uiuc.edu (Matt Hucke)
Subject: Microsoft Mouse functions needed!
Organization: University of Illinois at Urbana-Champaign
Date: Tue, 13 Oct 1992 18:41:32 GMT

I am looking for a function to read the buttons of a microsoft mouse,
using the MOUSE.SYS driver via int 33h.  Getting the x and y position is
easy... but reading a button requires installing a handler for it, and
the attempts I've made always lock up the pc.  Would someone here please
send me a function (Borland C/C++) to do this, or a pointer to a FTP
site?

thanks...

-- 
What did Dan Quayle get on his IQ test? 
                                             Drool.
hucke@ux1.cso.uiuc.edu             _V_a_l_h_a_l_l_a BBS, 217-352-3682, WWIV4.21, 14.4k
Newsgroups: comp.os.msdos.programmer
From: homer@theory.TC.Cornell.EDU (Homer Smith)
Subject: DIR *b.TIF
Organization: Cornell Theory Center
Date: Wed, 14 Oct 1992 04:35:24 GMT


     Would someone please kindly explain to me why
 
     DIR *B.TIF does not do what is expected but
     DIR B*.TIF does?
 
     Homer

Newsgroups: comp.os.msdos.programmer
From: whedon@netcom.com (Bill Whedon)
Subject: How to set Caps Lock
Keywords: caps lock
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Mon, 12 Oct 1992 17:54:07 GMT

Help, please, I know I saw this somewhere before I got started down the path
of writing for Windows...

From inside a program, (C preferred, but can read anything short of Jovial),
how do I turn on the Caps Lock indicator?  (Num and Scroll Lock would be nice,
as well, if it's not too much trouble).
Thanks,
Bill Whedon   whedon@netcom.com

-- 
I don' need no steenking .signature!
Newsgroups: comp.os.msdos.programmer
From: seant@sunfish.ratsys.com (Sean D. True)
Subject: Re: 32bit C/Dos Extender...
Organization: Rational Systems, Inc.
Date: Mon, 12 Oct 1992 15:42:11 GMT

In article <944@nazgul.UUCP> bright@nazgul.UUCP (Walter Bright) writes:

>In article <kekUJKK00Vp9AcVmRk@andrew.cmu.edu> jr4e+@andrew.cmu.edu (Jeon Bahbac Rezvani) writes:
>/Does anyone know of a 32bit C compiler w/ Dos extenders (such that you don't
>/have to pay royalties and you can market them) aside from the real expensive
>/ones out there (like <$400))?

>Symantec sells the Zortech 32 bit C/C++ compiler. It comes with a royalty-free
>32 bit DOS extender.

And of course, Watcom distributes DOS4GW, based on the Rational Systems, 
Inc. 32-bit DOS extender. You can also get this DOS extender in another
form inside DESQview/X (DOS4GX).  Both of these extenders are royalty free.
================================================================
Sean D. True
Rational Systems, Inc.
seant@ratsys.com -- uunet!rational!seant
Newsgroups: comp.os.msdos.programmer
From: joe@proto.com (Joe Huffman)
Subject: Re: Using malloc() from BC++3.1 in interrupt time problem
Organization: FlashTek, Inc.
Date: Fri, 16 Oct 1992 17:10:06 GMT

marcusj@apricot.co.uk (Marcus Jenkins) writes:

>I have been trying to use malloc() in an app. written in Borland
>C++ 3.1 ('C' only) and it *always* returns null when I call it
>as part of my interrupt routine (called off a hardware (network
>packet received) routine).  Why would this be?  

Good programming on Borland's part.

On the PC it is virtually impossible to make malloc() reentrant in the
most general case because DOS is not reentrant (malloc() may need call
DOS to request more memory).  It's also a bit tough to make malloc()
reentrant because of the need for global data.

It is better (IMHO) that malloc() detect the case of being called at 
interrupt time and return an error (NULL) every time, than try to give 
you hit and miss availability.

Joe Huffman
FlashTek, Inc.
121 Sweet Ave
Moscow, Idaho 83843
U.S.A.

FAX:    208-882-7275
Voice:  208-882-6893
Orders: 800-397-7310
-- 
netcom!proto!joe
joe@proto.com
Newsgroups: comp.os.msdos.programmer
From: resnicks@netcom.com (Steve Resnick)
Subject: Re: Generating 80x86 code from a compiler (NO DOS)
Organization: What? Me organized? You should see my checkbook!
Date: Tue, 13 Oct 1992 15:33:27 GMT

In article <JT.92Oct13145625@fizyk1.fuw.edu.pl> jt@fuw.edu.pl (Jerzy Tarasiuk) writes:
>>>>>> On Tue, 13 Oct 1992 03:17:03 GMT, draper@ais.org (Patrick Draper) said:
>PD> In article <9210061742.AA05172@deepthought.cs.utexas.edu> STDN%MARIST@VM.MARIST.EDU (Dan Newcombe) writes:
>>What I want to do is this:
>>  Generate pure 80x86 code from a compiler that could be used without
>>DOS.  I don't want stuff like INT 21 and all of those functions.
>
>PD> You'll can do it with Borland C++, and I'm sure quite a few others. The two
>PD> things you'll want to watch for is 1) the runtime libary and 2) the startup
>PD> code. Borland includes the startup code for it's compiler, which you can
>PD> modify and reassemble. The Borland 3.1 compiler also has source code for the
>PD> runtime library which you can analyze to determine what functions don't use
>PD> DOS.
>PD> Straight C won't generate DOS, or BIOS calls. If you throw away the standard
>PD> runtime library, you are reduced to writing your own functions. It's a lot
>PD> of work, but it can be done. As a reference, I recommend P.J. Plaugher's
>
>Seems would need compiler source code first and Borland surely don't
>publish it (the startup code is useful if want to produce program which
>can run in environment other than DOS, but it doesn't help run compiler
>- must compile compiler first).
>There is a GNU C compiler available with full source, so it can be used
>for this purpose (to have compiler source, compile it and run without
>DOS). But it is still a lot of work, what's about files without DOS ?
>What way use a compiler without files ?


You don't need source to the compiler. All you need is to write your own
startup code (which I have done) which sets up whatever runtime environment is
necessary. main (or something else) can be called to run your C program.
Most of the RTL is not going to work, since there are either DOS or BIOS calls
used in the RTL.

I have not encountered a real compiler which, as part of its code generation,
made DOS or BIOS calls. That's not legitimate code generation.

As for why you would use a compiler without accessing DOS? Embedded systems,
operating systems, any 80x86 application which needs to do things its own
way...


Cheers!
Steve

-- 
------------------------------------------------------------------------------
Steve Resnick - resnicks@netcom.com
"Sometimes you're the windshield, sometimes you're the bug." - M. Knopfler
-----------------------------------------------------------------------------
Newsgroups: comp.os.msdos.programmer
From: jt@fuw.edu.pl (Jerzy Tarasiuk)
Subject: Re: Generating 80x86 code from a compiler (NO DOS)
Organization: Warsaw University Physics Dept.
	<JT.92Oct13145625@fizyk1.fuw.edu.pl>
	<1992Oct13.153327.22575@netcom.com>
Date: Fri, 16 Oct 1992 16:25:18 GMT

>>>>> On 13 Oct 92 15:33:27 GMT, resnicks@netcom.com (Steve Resnick) said:
Steve> In article <JT.92Oct13145625@fizyk1.fuw.edu.pl> jt@fuw.edu.pl (Jerzy Tarasiuk) writes:
>>>>>> On Tue, 13 Oct 1992 03:17:03 GMT, draper@ais.org (Patrick Draper) said:
>PD> In article <9210061742.AA05172@deepthought.cs.utexas.edu> STDN%MARIST@VM.MARIST.EDU (Dan Newcombe) writes:
>>What I want to do is this:
>>  Generate pure 80x86 code from a compiler that could be used without
>>DOS.  I don't want stuff like INT 21 and all of those functions.

Steve> You don't need source to the compiler. All you need is to write your own
Steve> startup code (which I have done) which sets up whatever runtime environment is
Steve> necessary. main (or something else) can be called to run your C program.
Steve> Most of the RTL is not going to work, since there are either DOS or BIOS calls
Steve> used in the RTL.

Steve> I have not encountered a real compiler which, as part of its code generation,
Steve> made DOS or BIOS calls. That's not legitimate code generation.

I suppose almost any compiler makes them. Otherwise, where it would put
the code produced ? Usually it puts code on .OBJ file.

But I remember there is one exception: TURBO PASCAL 3. It allows to
edit program in memory, compile in memory and then run using its
build-in RTL. Once it is loaded in memory, it almost don't need DOS!
Few DOS uses it does: get DOS version, parse filename, read (or try
read) .PAS file (on request can also write), exit. Perhaps all!

Steve> As for why you would use a compiler without accessing DOS? Embedded systems,
Steve> operating systems, any 80x86 application which needs to do things its own
Steve> way...

Not I. Dan Newcombe asked for it. I only put my 3 US$/14000/100 on it.
From: jeuck@unix.sri.com (Philip Jeuck)
Newsgroups: comp.os.msdos.programmer
Subject: Re: "Sorry if this is an FAQ" Re: Hardware information
Keywords: Warning: I'm on the warpath again.
Date: 12 Oct 92 22:20:48 GMT
Organization: SRI International

In article <BvwH68.FGJ@NCoast.ORG> brown@NCoast.ORG (Stan Brown) writes:
>In article <718326448snx@bilton.demon.co.uk> johnb@bilton.demon.co.uk (John 
Burton) writes:>>
>>I apologise inadvance if this is an FAQ. 

>I can understand laziness; I often share it.  What I don't understand is
>a sort of aggressively proclaimed laziness, thinly disguised under a
>pseudo-apology.

>Am I missing the point here?  Is there another interpretation, one that
>does more credit to the original writer (and to the hundreds of others
>who post essentially the same thing)?

Well maybe he has the same problem I have - the FAQ's have been expired both 
here and in news.answers on the system I read news on.  So although I 
just looked I could not access any FAQ's for any comp.os.msdos 
newsgroup.

Phil Jeuck
jeuck@unix.sri.com
Newsgroups: comp.os.msdos.programmer
From: bsn@world.std.com (Brent S Noorda)
Subject: Exit without closing files
Summary: How to exit without closing files?
Organization: The World Public Access UNIX, Brookline, MA
Date: Tue, 13 Oct 1992 13:06:10 GMT

I would like to have a program open a file, pass the handle to a TSR, then
exit so that the TSR can continue to write to the file.  However, the
DOS exit function closes all files opened by the executable.  Is there a way
to exit without closing opened files?
From: smhkotmans@mswe.dnet.ms.philips.nl
Newsgroups: comp.os.msdos.programmer
Subject: Help needed using XMS function 'MoveExtendedMemory'
Date: 12 Oct 92 11:46:45 GMT
Organization: Philips Medical Systems Nederland

Hi Netters,

Can someone outthere please help me with the following question concerning
the XMS function 2Fh, sub-function 0Bh (Move Extended Memory Block).

This function can be used to move blocks of extended memory, that are allocated
by using function 2Fh sub-function 09h. It could however also be used by moving
blocks of data in conventional memory to or from extended memory, so the manual
says.
The structure used by the MoveExtendedMemory function to identify the memory
blocks is pictured below.

stuct {
    long length;		/* length of block to move */
    short sourceHandle;		/* handle of block to move */
    long sourceOffset;		/* ??? */
    short destHandle;		/* handle of block to move to */
    long destOffset;		/* ??? */
} XMS_move_struct;


My question is:
    a)	What does this 'sourceOffset' and 'destOffset' mean, because the 
    	AllocateExtendedMemory function only returns a 'handle' on success.
    b)	What 'handle' do i specify when moving data between conventional
    	memory and extended memory?
    c)	Do i use the correct function at all?

I am a junior in XMS/EMS programming, so all advice is gratefully accepted.


Tanks in advance,
Henk Kotmans
Newsgroups: comp.os.msdos.programmer,comp.lang.c
From: jt@fuw.edu.pl (Jerzy Tarasiuk)
Subject: Re: C/C++7.0 .. 'null pointer assignments' .. but program's finished ! HELP!!
Organization: Warsaw University Physics Dept.
Date: Sat, 10 Oct 1992 22:36:34 GMT

The 'null pointer assignment' is execution error which occured
during program execution and is detected on end. To find where
it occurs, should use debugger which can display actual value
of *(0L) (or *NULL) and check when it changes. Or: try put exit(0)
anywhere in code, if error still occurs put it in place executed
earlier, if not remove and put in place executed later, until
a instruction is located. The message means an assignment was
done to address pointed by NULL, e.g. a=NULL; *a=something.
(it occurs usually if someone forgets to initialize pointer)
From: 739chan1@gw.wmich.edu
Newsgroups: comp.os.msdos.apps
Subject: Re: Task Switcher
Date: 7 Oct 92 19:37:31 EST
Organization: Western Michigan University

In article <16874BCE5.AMOUTR01@ysub.ysu.edu>, AMOUTR01@ysub.ysu.edu writes:
> Hi,
>  
> I'm looking for a program that does a context switch for dos applications.
> I want to be able to just press a key(F12) and switch from Wordperfect
> to another application and back again.
> The ideal switcher would be rather small in size.
> Please email me if you can help.
>  
> Thanks!!!
>  
> Mark Adams
> amoutr01@ysub.ysu.edu

The original task switcher and still the best is SOFTWARE CAROUSEL. Or you
could try DOSSHELL that comes with DOS 5.

__________________________________________________________________________
Chan Lee Meng          \  "Let us endeavour to live so that when we die,
739chan1@gw.wmich.edu    \   even the undertaker will be sorry."
X92chan3@gw.wmich.edu      \   - Mark Twain.
Western Michigan University. \
From: ahughes@arch386.hyperdesk.com (Arch Hughes)
Newsgroups: comp.os.msdos.apps
Subject: X11 to Metafile Conversion
Date: 8 Oct 92 22:52:03 GMT
Reply-To: arch@hyperdesk.com
Organization: HyperDesk Corporation

Greetings.  I'm looking for commercial or public domain systems, such
as an X11 server, that receives X11 drawing commands and renders them
as a metafile.  Such a system is the heart, I'm told, of most
commercial X11 for PC products, but I need it outside of the product
in some "toolkit" framework.

-- 
o o|  Arch Hughes, HyperDesk Corp.        Phone   508-366-5050 x103
o o|  Suite 300, 2000 West Park Dr.       Fax     508-898-3841
---+  Westboro, MA   01581                E-Mail  arch@hyperdesk.com
Xref: sparky comp.os.msdos.apps:5140 comp.sys.novell:8177
From: sob@TMC.EDU (Stan Barber)
Newsgroups: comp.os.msdos.apps,comp.sys.novell
Subject: Re: Novell, Mail and PC-NFS.
Date: 13 Oct 1992 05:17:32 GMT
Organization: Baylor College of Medicine, Houston, Tx
NNTP-Posting-Host: tmc.edu

In article <1992Oct12.141631.7601@software.org> antonson@software.org (Todd S. Antonson) writes:
>2) Is it possible to run PC-NFS and Novell at the same time on a PC?

Yes. SPRY makes a widget that allows Novell and PC-NFS to work at the same
time on a PC. This assums you are not trying to use Lan WorkPlace.


-- 
Stan           internet: sob@bcm.tmc.edu         Director, Networking 
Olan           uucp: rutgers!bcm!sob             and Systems Support
Barber         Opinions expressed are only mine. Baylor College of Medicine
Newsgroups: comp.os.msdos.apps
From: juergenb@ecs.comm.mot.com (Juergen Bartels)
Subject: Re: Task Switcher
Organization: eng
Date: Tue, 13 Oct 1992 07:26:08 GMT

>Try Dos 5.0, which allows the use of task switching via the Dosshell, or other
>suggestions might be using Software Carousel, Desqview, or Windows. If you want
>something small, relatively fast and cheap either upgrade to Dos 5 or check
>out Software Carousel.:

There's also FastFlip (Fast multiple program swapper) which looks very good.
It's on SIMTEL: FFLIP216.ZIP

Jurgen


-------------------------------------------------------------------------------
Jurgen Bartels,   Motorola,  Taunusstein near Wiesbaden  Germany

juergenb@tau_mail.comm.mot.com 
juergenb@zwg01dns0.comm.mot.com   
-------------------------------------------------------------------------------
From: bkorb@starbase.Convergent.Com (Bruce Korb)
Newsgroups: comp.os.msdos.apps
Subject: Borland C++:  where are ___getErrno and ___getDOSErrno
Date: 12 Oct 92 14:31:42 GMT
Reply-To: bkorb@convergent.com
Distribution: usa
Organization: Unisys Open Systems Group, San Jose

I wrote a program that called 'opendir', 'readdir', and 'closedir'.
The library routines that implemented these eventually called
the above two routines, but they are not in the library or in
any other library in the \borlandc\lib directory!  Now what?

-- 
   Bruce Korb  (408) 456-5507
   Convergent Technologies, aka Unisys, aka Sperry Univac, aka Burroughs
From: i6finn@aud2.aud.auc.dk
Newsgroups: comp.os.msdos.apps
Subject: Warning: NU 6.0 diskreet (9 char. filename !)
Date: 13 Oct 92 14:44:14 GMT
Organization: Aalborg University Center, Denmark

Sorry if this has been mentioned before !

Warning: DISKREET from NU 6.0 may remove your files if you 
         are inexperienced/new DOS-user. (9 character filename !!!)

I helped a user with two batch-files to crypt/decrypt some files
using DISKREET (NU 6.0). When crypting he should run the batch file,
type return (to acknowledge a predefined file name) and type the
password twice. One time he forgot to type return (at the file name)
and typed the password 3 times. DISKREET worked fine (!) - it crypted
all the files, saving them in the prescribed file and wiped them
from the disk. Unfortunately he used a password (and also filename)
with 9 characters and since DOS only recognises 8 the file was
never saved !
The user was careless - but why did DISKREET not give any
warning messages ?  It should not be that hard to check.
Again I am sorry if this has been around before. If not, I hope it
will be fixed in the next release/update.

(BTW: I like NC and NU very much - this is not NORTON-bashing !)

Finn M. Jensen
Department of Building Technology and Structural Engineering
Aalborg University     :    Phone: +45 98 15 85 22, Ext. 6649
Sohngaardsholmsvej 57  :    Fax: +45 98 14 82 43
DK-9000 Aalborg        :    E-mail: i6finn@aud.auc.dk
Denmark, Europe       
Newsgroups: comp.os.msdos.apps,comp.os.ms-windows.apps
From: kamil@alumni.cs.colorado.edu (Kamil Maheshwari)
Subject: BUG TRACKING SYSTEM ??
Organization: University of Colorado, Boulder
Date: Wed, 7 Oct 1992 18:25:25 GMT


------------------------------------------------------------------------

Netters,

I'm looking for a bug tracking system to be used for the same purpose.
It would be nice to have it link with either dBase-4 or SQL Serevr or
some other commonly available database system for PC's and some type
of automatic mail system, cc:Mail or such.

Would consider forking some money out for support..

Thanks a bunch. Please respond by e-mail at  kamil@alumni.cs.colorado.edu
		   ************************

------------------------------------------------------------------------
Newsgroups: comp.os.msdos.apps,comp.sys.novell
From: antonson@software.org (Todd S. Antonson)
Subject: Novell, Mail and PC-NFS.
Organization: Software Productivity Consortium, Herndon, Virginia
Date: Mon, 12 Oct 1992 14:16:31 GMT

Hi,

I would like some help with a couple of questions:

1) I would like some advice on mail front end programs for the PC.

   We would like to have a windows oriented Mail handler on the PC
   which can speak SMTP (talk to our unix sendmail).  We really just
   need it to work with POP.

   We have PC-NFS mail running on PC's with PC-NFS installed but it
   is not windows based and my users do not like it very much.  It
   talks to a POP daemon on our unix machine.

   We have a novell network here as well and would like to have a mail
   program that will run on those novell machines and be able to send
   and receive mail to and from a unix machine.

2) Is it possible to run PC-NFS and Novell at the same time on a PC?

Thanks for any help.

--
==========================================================================
Todd S. Antonson                    |UUCP     : ..!uunet!software!antonson
Software Productivity Consortium    |INTERNET : antonson@Software.ORG
==========================================================================
Newsgroups: comp.os.msdos.apps
From: lowe@fnx.uucp (Phill Lowe)
Subject: Re: communications programs ... pcAnywhere
Organization: I/Ovations
Date: Sat, 10 Oct 1992 06:34:49 GMT

glanton@sctc.com (John Glanton) writes:

>Has anyone had any experience with pcAnywhere, I am looking to buy a 
>communications program and needed to know if this one is good, bad.

PCA III is a remote PC program.  That means that it is designed to do ONE
thing only. It lets you use DOS programs on a remote (usually) DOS machine.
The version III is DOS only, version IV is a windows product.  If this is
what you have in mind it works fairly well.  I had some trouble setting it
up but after replacing cables and playing with all the settings it worked
well. It helps if you are not using older semi standard modems. The newer 
ones seem to work fairly well.  You are supposed to be able to use a terminal
to run char based programs but I didn't test that function.
The Host software has TSR capability.  It can run in the background and 
receive a call with you current program still on screen.  Then the host and
remote screens and keyboards are identical.
From: knepley@CS.ColoState.EDU (Ranseus (Jim Knepley))
Newsgroups: comp.os.msdos.apps
Subject: NUSOUND 1.01
Date: 12 Oct 92 16:19:32 GMT
Organization: Colorado State University

I just grabbed NUSOUND off of SIMTEL (um, pd1:<msdos.sounds> if you care)
and must say that IT'S ABOUT TIME that someone wrote a program that
replaced that F*CKING BEEP!

Anyway, are there plans that anyone knows about to add, oh, say, AdLib or
SB support?  It sounds good through the speaker, but we've got these
expensive sound cards, so let's use em, eh?  Keep speaker support, by all
means, but add more...

Excellent program, BTW, if it doesn't crash my machine in the next few days,
I may just register it.

Jim

-- 
**** knepley@cs.colostate.edu ****************** Boycott Microsoft ****
 Jim Knepley           Magician, programmer, computer geek.
   (Ranseus)    Proud user of Clinton condoms.  Scented like Flowers.
*********** CTHULHU IN '92! -- Why vote for the LESSER evil? **********
Newsgroups: comp.os.msdos.apps
From: peris@molecule.src.umd.edu
Subject: WANTED: A Contact Manager for Marketing/Sales
Reply-To: peris@src.umd.edu
Organization: University of Maryland
Date: Tue, 13 Oct 1992 20:00:38 GMT

	I am looking for a a Contact Manager for Marketing/Sales
purposes. Should be similar to ACT but should be compatible
with WordPerfect. Also should have enough space to jot down lots of
notes for each contact. One of the nice features of ACT is that it has
two header pages to each contact which makes it convienient to store
more than one contact name and their respective info. under one Company
name. I guess features such as tracking of calls, notes, letters and
appointments, full reporting and mail merge capability, follow up
schedules, reminders, etc. are standard features for most such
packages.

If any of you have used such packages and think they are
good, I would appreciate an e-mail response.

Thanks

Vinod Peris.




_________________________________________________________
_  __
 |/  \                    Vinod G. J. Peris
 |___/  _        *   __	  Internet: peris@src.umd.edu
 |     |/    |/  |  |_    USmail:  3410 Tulane Drive #23
 |     /\__/ |   |  __|   Hyattsville, MD  20783,  USA
_________________________________________________________
From: chesl@garnet.berkeley.edu (Gail Chesler)
Newsgroups: comp.os.msdos.apps
Subject: Graphing packages... old threads?
Date: 13 Oct 1992 19:03:47 GMT
Organization: University of California, Berkeley
Distribution: world
NNTP-Posting-Host: garnet.berkeley.edu


Excel and Quattro Pro do a pretty good job of plotting data from
our pilot research project, but there are still a few options left
out.  Some of the things I've seen done on MacIntosh software (like
Kaleide-plot and Cricket Graph) are log normal plots and exponential
curve fitting.

Has there been a recent thread on plotting programs to serve this
kind of need?  I've used Sigma Plot, but it's not particularly
user-friendly.  Anyone have any other suggestions?  Public domain,
shareware is fine, as are any packages of reasonable cost (not over
about $300).

Be glad to post e-mail results.  Look forward to hearing from you.  Thanks.
Gail Chesler (chesl@garnet.berkeley.edu) 
Newsgroups: comp.os.msdos.apps