HDTenEightyP/NetNews huggingface dataset:
From: g89f2900@giraffe.ru.ac.za (MR BRI FAWTHROP)
Newsgroups: alt.msdos.programmer
Subject: Keyboard Interrupt
Date: 27 Aug 92 09:20:31 GMT
Organization: Rhodes University, Grahamstown, South Africa

Hi

I am trying to write  program  which reads the keyboard buffer, before the 
command.com interrupter does.
In other words
I want to write a program that if certain keywords are typed in it will go 
and do some function.
otherwise it must act as normal.

eg
 enter CLS
   I want it to first do the normal clearscreen 
   but afterwards it must print my name and time and other tings on the top 
   of the screen.
        ( I will write the program that prints my name and other things )
        ( But I need to know how to link in the keyboard interrupt   so )
        ( that when it reads CLS if first does CLS and then comes and   )
        ( executes my program. )

 OR
 enter TIME
   I want it to ask me if I want to change the time or just display it.
   THEN it must go and do the NORMAL time function.
          ( same applies here I will write the program but how do I )
          ( link it into the keyboard interrupt )

Does anyone know if this is possible ???

PLEASE I HAVE BEEN TRYING FOR +/- 4 mths. BUT no-one I have asked knows
what to do or even how to HELP

Barry Fawthrop.
g89f2900@giraffe.ru.ac.za
From: jas37876@uxa.cso.uiuc.edu (John A. Slagel)
Newsgroups: alt.msdos.programmer
Subject: Re: TSR in C
Date: 26 Aug 92 18:25:08 GMT
Organization: University of Illinois at Urbana

kds@phy.duke.edu (Stokes Kevin) writes:

>( A whirlwind of angry babbling follows:  Recommended reading for any person
>  considering authoring a TSR which must save and restore the screen when done )

	I think that it should be recommended reading for *ANY* DOS 
	programmer.  I have a weird sense of humor, but I laughed my
	*ss off while reading it, because I know excactly where you're
	coming from.

-- 
------------------------------------------------------------------------
 John A. Slagel     "My old man used to tell me, before he left this
 j-slagel1@uiuc.edu  shitty world, never chase buses or women- you
                     always get left behind." -The Marlboro Man
Newsgroups: alt.msdos.programmer
From: ski8032@zeus.tamu.edu (THE MAN BEHIND THE CURTAIN)
Subject: Re: Calling ASM from BC++
News-Software: VAX/VMS VNEWS 1.41    
Keywords: c++ asm  
Organization: Texas A&M University, Academic Computing Services
Date: Thu, 3 Sep 1992 13:57:00 GMT

In article <1992Aug24.204813.16175@schunix.uucp>, sonix@schunix.uucp (Duane Morin) writes...
>I'm trying to call an assembly routine from some standard Borland C++ (2.0)
>code.  Here's what I've got (in the C++):
>..
>..
>..
>But C++ fails to recognize the foo_bar3 function.  Keeps telling me 
>unrecognized symbol.  As if it doesn't get the connection, because I'm not
>declaring the two int parameters in the actual definition in the ASM file.
>I got the syntax for doing this out of an "Interfacing C and ASM" book, so
>I assume that maybe I need to do somethng else to make this work in C++.

The problem here, as was mentioned by someone else, is the name mangling
that C++ performs.  If you don't wish to have to declare it as a C function,
or even worse, have to painfully trudge through some compiler's rules for
name mangling, then you could do the following:
  Tell the compiler to generate ASM output.  Take a look at it, and see
what name is generated for the function.  Then just use this name in
your asm file.

>Thank you,
> Duane Morin
> Walker Sonix, Inc.
> sonix@schunix.uucp

Incidentally, I tried to reply earlier, but your account bounced.  So I'm
following up, hoping that you will see this.

Till next time,

<>  Sam Inala  <>
ski8032@zeus.tamu.edu
From: exuptr@exu.ericsson.se (exuptr@exu.ericsson.se)
Newsgroups: alt.msdos.programmer
Subject: Re: alt 255
Date: 26 Aug 92 16:10:07 GMT
Organization: Ericsson Network Systems, Inc.

In article <92238.135238MCHAMINA@ESTEC.BITNET> MCHAMINA@ESTEC.BITNET (CHAMINADE, MARC MICHEL LOUIS) writes:
>From: MCHAMINA@ESTEC.BITNET (CHAMINADE, MARC MICHEL LOUIS)
>Subject: alt 255
>Date: 25 Aug 92 22:31:59 GMT

>If you want to prevent people to delete your files on your hd with the function
>del xxx.x rather than Attrib you'd better rename the files from
>xxx.x to
> xxx.x The space in front of the name is obtained with the alt-255 combination.
>You can not call the file or do anything to it by using the space key.

>Some may find it usefull. I do !

From a program, you can actually put a space (ASCII 32) in the filename.  
This will prevent some hacker from using the alt-255 trick to delete your 
file.  Of course, if you create a file ' abc.xyz', it can be gotten rid of
with the command 'del *.xyz'.

 ----------------------------------------------------------------------------
    "This must be Thursday.  I never could get the hang of Thursdays"
                                                       - D Adams
  - Patrick Taylor
    Ericsson Network Systems
    exuptr@exu.ericsson.se                       "Don't let the .se fool you"
    alternately, exuptr@ZGNews.Lonestar.Org
From: dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL)
Newsgroups: alt.msdos.programmer
Subject: Re: Input from parallel port
Date: 25 Aug 92 15:08:17 GMT
Reply-To: dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL)
Organization: North Carolina State University, Project Eos
Originator: dspascha@c00044-100lez.eos.ncsu.edu


Hi.  I don't know the details (like how to actually do it), but it seems to me I
read somewhere that you can do it using some of the handshaking lines (but not
the 8 data lines) but you can only send/receive 4-5 bits at a time!  In any
case, I know it can be done, since there are tape drives and CD-ROM drives and
the like that connect to the parallel port.

Actually, I was going to ask the same question and I'm sure others would like
to know as well.  If anyone has any info on this pleasepleaseplease post it
here on the net.  :-)

Tschuess,
David Paschal
Organisation: European Space Technology Centre (E.S.T.E.C)
Date: Tuesday, 25 Aug 1992 13:52:38 CET
From: CHAMINADE, MARC MICHEL LOUIS <MCHAMINA@ESTEC.BITNET>
Newsgroups: alt.msdos.programmer
Subject:    alt 255

If you want to prevent people to delete your files on your hd with the function
del xxx.x rather than Attrib you'd better rename the files from
xxx.x to
 xxx.x The space in front of the name is obtained with the alt-255 combination.
You can not call the file or do anything to it by using the space key.

Some may find it usefull. I do !
Newsgroups: alt.msdos.programmer,comp.os.ms-windows.programmer.misc
From: tgreen@iastate.edu (Todd Greenfield)
Subject: Re: Trapping 386 IO port accesses
Organization: Iowa State University, Ames IA
Distribution: na
Date: Thu, 3 Sep 1992 20:01:40 GMT

In <1992Sep03.153802.688@Schultz.ON.CA> peter@Schultz.ON.CA (Peter Roeser) writes:

>In article <tgreen.715391992@vincent2.iastate.edu> tgreen@iastate.edu
(Todd Greenfield) writes:
[ original discussion of need to trap access to IO port deleted ]
>>
>>what about doing this under windows?  I know nothing of windows
>>programming,  but wouldn't it be possible to write a windows
>>driver (for 386 enh mode of course) to do something like this?

>  I have been told that although Windows uses protected mode to do
>  memory management( ie. traps when you talk to non-available mem.)
>  it does not trap IO references.

any of you windows programmers care to comment?  I thought
that windows can trap any IO access, such as comm ports or
the timer.  How do you programmer a driver to handle something
like this?  I've never programmed for windows, so references
and any advice would be appreciated.

>>
>>I'd be interested in seeing what others think, and how one 
>>would go about doing it, as I have a similar need.

>  Let's keep the discussion going
From: holland@matt.ksu.ksu.edu (Rich Holland)
Newsgroups: alt.msdos.programmer
Subject: Re: alt 255
Date: 26 Aug 1992 18:43:59 -0500
Organization: Kansas State University
NNTP-Posting-Host: matt.ksu.ksu.edu

exuptr@exu.ericsson.se (exuptr@exu.ericsson.se) writes:

>From a program, you can actually put a space (ASCII 32) in the filename.  
>This will prevent some hacker from using the alt-255 trick to delete your 
>file.  Of course, if you create a file ' abc.xyz', it can be gotten rid of
>with the command 'del *.xyz'.

In the academic computer lab I worked in, this used to happen all the
time.  The word perfect books said to save the first exercise as
"CHAPT11 .EX1" and the students always did.  :-)

We deleted it with 'del chapt11?.ex1'....

-- 
Rich Holland              | INTERNET: holland@matt.ksu.ksu.edu
100 Jardine Terr, Apt A7  | BITNET  : holland@ksuvm
Manhattan, KS  66502-3357 | UUCP    : ...!rutgers!matt.ksu.ksu.edu!holland
"Jesus saves...but Gretzky gets the rebound!  He shoots!  He scores!!"
Newsgroups: alt.msdos.programmer
From: wagner@andersen.uucp (Steve Wagner)
Subject: .EXE file format for dos and os2 if possible
Summary: Where can I get information regarding electronic or paper??? 
Organization: Andersen Consulting
Date: Wed, 26 Aug 1992 15:05:07 GMT

Some time ago there was an article posted with this information in it...

can someone please send me the post or a reference to where I can get it

thanks 
steve

Xref: sparky alt.msdos.programmer:2270 comp.os.msdos.programmer:8823
From: gabriel@netcom.com (Gabriel Beccar-Varela)
Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer
Subject: In search for a good debugger
Summary: Sick and tired of Borland's TD386
Date: 26 Aug 92 18:24:25 GMT
Followup-To: This news group
Organization: Netcom - Online Communication Services  (408 241-9760 guest)

I have been using Borland's TD386 for a while now and I am tired of its
shortcommings. Does anybody know of a good debugger for Turbo Pascal and
C++?. Thank you for your suggestions.
Newsgroups: alt.snowmobiles
From: sleith@silver.ucs.indiana.edu (scot evan leith)
Subject: snowmobile rentals
Organization: Indiana University
Distribution: na
Date: Wed, 2 Sep 1992 01:28:37 GMT


I am going to northern Michigan in October and am interested in
renting a snowmobiles.  What places are the best for riding and
renting.  What sort of costs should I expect.  I have ridden
motorcycles for a while now but I know nothing about snowmobiles so 
any assistance is GREATLY appreciated.  Thanks.

Scot
Also looking for any good cottages or cabins in northern Michigan,
any suggestions?

Scot
From: pjp@cray.com (Patrick Perro)
Newsgroups: alt.snowmobiles
Subject: Re: More Yamaha rumors
Date: 31 Aug 92 18:04:46 GMT
Organization: Cray Research, Inc.

OOPS! Please replace the ~85 model year to `95 in my previous post




=================================================================================

Patrick J. Perro              Indy 580 XLT                 The comments listed
Cray Research Inc.             				   above are my own. Not
655F Lone Oak Dr.  					   that of my employer
Eagan, MN. 55121					   (unless specifically
pjp@fig.cray.com					   noted).

=================================================================================
Newsgroups: alt.snowmobiles
From: donald@dvinci.USask.Ca (David Donald)
Subject: Re: More Yamaha rumors
Organization: University of Saskatchewan
Date: Mon, 31 Aug 1992 21:05:04 GMT

pjp@cray.com (Patrick Perro) writes:


>On another note, does anyone have a snow report? I heard that the rockies got 
>dumped on last week. How about our Alaskan friend, any snow yet in the state??


>Patrick J. Perro              Indy 580 XLT                 The comments listed
>Cray Research Inc.             				   above are my own. Not
>655F Lone Oak Dr.  					   that of my employer
>Eagan, MN. 55121					   (unless specifically
>pjp@fig.cray.com					   noted).

Patrick:

	Not only the Rockies, but a large portion of Southern Alta. got between
10 and 18 inches of snow just over a week ago.  All gone now, though.  (So the
old man tells me, anyway!)

Dave
-- 
| donald@dvinci.usask.ca		| "Its 106 miles to Chicago, we've got|
| Communications Systems Research Group |  a full tank of gas, half a pack of |
| University of Saskatchewan		|  cigarettes, it's dark, and we're   |
| Saskatoon, Canada			|  wearing sunglasses."  "Hit it."    |
Newsgroups: alt.snowmobiles
From: pjp@cray.com (Patrick Perro)
Subject: More Yamaha rumors
Organization: Cray Research, Inc.
Date: 31 Aug 92 08:20:49 CDT


Hi folks!! Well, Ive gotten more information from my Yamasource (first hand this
time). Yamaha is out to be number one in 1985. They are doing extensive research
into Polaris (history, manufacturing, design, product testing etc.) in order to
nudge them out of first. The basic results of their homework is to build in more
quality (read more ruggedness) into their sleds. Improve suspension and handling
(talk is another copy of Polaris' IFS) and increase the performance of their
engines. Look for BIG changes in `85 from the Yamaha camp.

On another note, does anyone have a snow report? I heard that the rockies got 
dumped on last week. How about our Alaskan friend, any snow yet in the state??

=================================================================================

Patrick J. Perro              Indy 580 XLT                 The comments listed
Cray Research Inc.             				   above are my own. Not
655F Lone Oak Dr.  					   that of my employer
Eagan, MN. 55121					   (unless specifically
pjp@fig.cray.com					   noted).

=================================================================================
Newsgroups: alt.snowmobiles
From: jal@romulus.cray.com (Jim Lindberg 65199)
Subject: Intercoms
Organization: Cray Research, Inc.
Distribution: na
Date: 3 Sep 92 07:46:28 CDT

My one freind Al has a question about using helmet intercoms with
snowmobiles, he's looking for info on how they work, brands, 
experiences and so forth.

Please send replies to check@cray.com
Thanks

Newsgroups: alt.news-media,alt.activism,alt.activism.d
From: shou@quads.uchicago.edu (roger colin shouse)
Subject: Re: Media Bias
Reply-To: shou@midway.uchicago.edu
Organization: University of Chicago Computing Organizations
 
Distribution: na
Date: Tue, 1 Sep 1992 20:47:15 GMT

2)  I'm still curious as to your position on allowing persons under
18 to opt for abortion without their parents consent.

and if I can sneak in one more

3) Couldn't much of what you argued about restrictive laws apply
to the subject of prostitution?



-- 
Roger Shouse
The University of Chicago 		Email: shou@midway.uchicago.edu

Xref: sparky alt.news-media:1026 alt.rush-limbaugh:3992 alt.activism.d:2917
Newsgroups: alt.news-media,alt.rush-limbaugh,alt.activism.d
Subject: re: Gardner on Evolution (whoops - my mistake)
From: bpharmon@miavx1.acs.muohio.edu
Date: 26 Aug 92 15:16:52 -0500
Organization: Miami University Academic Computer Service"

whoops.   I made an error yesterday when I posted the common traits of
chordates as evidence of evolution. see below.

In article <1992Aug25.160114.12277@miavx1.acs.muohio.edu>, bpharmon@miavx1.acs.muohio.edu writes:
> 
> 	1) Let's assume that you are right.  Macroevolution is bogus.  Just
> because one theory is incorrect does not mean that another is right.  You
> cannot "prove" strict creationism simply by proving that a theory (one that
> is still being formulated/debated about) is false or incomplete.
> 	2) The vertebrate fossil record is quite complete, and it shows
> a great deal that macroevolution is based upon.  embryology is a another one. 
> How does one explain that all vetebrates at one time all have:
> 
> 	- a hollow notochord
> 	- gill slits
> 	- a two chambered heart
> 	- a tail


	I should have said all chordates, not vertebrates, and the four
characteristics really are:

	- a notochord
	- a post-anal tail
	- a dorsal tubular nerve cord
	- gill slits

	These four are common from the lowliest tunicate or lancelet to the
most complex of vertebrates ( all though they are merely embryonic in higher
vertebrates)
	
	Like I said above, I goofed yesterday, and I admit my mistake ahead of
time.  



> 	Mere coincidence?  How does a view of the universe that eliminates
> macroevolution explain these and other similarities between organisms if they
> did not evolve from common ancestors?
> 


=======================================================================
Brian Harmon        "To be born to create, to love, to win at games is
Miami University	to be born to live in time of peace.  But war 
Oxford, Ohio 45056  	teaches us to lose everything and become what 	
(513) 529-5417	      	we were not.  It all becomes a question of 
 yeech! ack!		syle....."  	
  ungh!				 -A. Camus
--------------bpharmon@miavx1.acs.muohio.edu--------------------------
Newsgroups: alt.news-media,alt.rush-limbaugh,alt.activism.d
From: art@world.std.com (Al Thompson)
Subject: Re: Gardner on Evolution
Organization: The World Public Access UNIX, Brookline, MA
	<SLEATOR.92Aug24092613@SPADE.PC.CS.CMU.EDU>
	<1992Aug24.211221.4008@elroy.jpl.nasa.gov>
	<1992Aug25.160114.12277@miavx1.acs.muohio.edu>
	<1992Aug25.223154.1867@elroy.jpl.nasa.gov>
Date: Sat, 29 Aug 1992 18:31:44 GMT

In article <1992Aug25.223154.1867@elroy.jpl.nasa.gov> tcanham@kilroy.jpl.nasa.gov (Tim Canham)  writes:

   In article <1992Aug25.160114.12277@miavx1.acs.muohio.edu>  writes:
   >In article <1992Aug24.211221.4008@elroy.jpl.nasa.gov>, tcanham@kilroy.jpl.nasa.gov (Tim Canham)  writes:
   >> In article <SLEATOR.92Aug24092613@SPADE.PC.CS.CMU.EDU> news@cs.cmu.edu (Usenet News System) writes:
[...]
   >	2) The vertebrate fossil record is quite complete, and it shows
   >a great deal that macroevolution is based upon.  embryology is a another one. 
   >How does one explain that all vetebrates at one time all have:
   >
   >	- a hollow notochord
   >	- gill slits
   >	- a two chambered heart
   >	- a tail
   >
   >	either as adults ( less complex -- not less evolved) or as embryos (
   >more complex or terrestrial vertebrates) More complex critters lose the
   >notochord, tail, and slits, and modify the heart as development continues.
   >

   This is interesting because this theory (embryology) has been discredited
   since the late 60's even by secular evolutionists.  This is because 
   similarities to structures in more primitve animals is merely
   superficial and has no root in genetics, the real determinant,

The theory that ontogeny recapitulates phylogeny is indeed discredited,
but has absolutely nothing to do with the argument.  The author mistated
(slightly) the definition.  He should have said:  "At some point in their
development all chordates (NOT just vertebrates) possess: 1. A notocord,
2. pharyngeal gill slits, 3. a tail and 4. a multi chambered heart."  The
key is the "at some time in their development" qualifier.  This in no way
implies that the developing organism repeats its evolutionary history.
These are the means by which it determined that an organism belongs to
the phylum Chordata of which the subphylum Vertebrata is the largest.

Newsgroups: alt.news-media,alt.activism.d
From: fishead@cwis.unomaha.edu (David L. Britton)
Subject: Re: Creationist presence in this newsgroup
Organization: University of Nebraska at Omaha
Distribution: alt
Date: Wed, 2 Sep 1992 16:26:36 GMT

While I think we're beating a dead horse here, it would be interesting to see
what Darwin (the god of evolution in terms of a dreaded "creationist") would 
have to say on this subject.

We all, my dear sirs, worship a god... whether we choose to hide it in the name
of science and logic or place it in the hands of a divine being is a matter of
personal choice.  The point remains, there is no HARD proof that evolution or
creationism hold that elusive truth of the origin of man.  Each belief requires
a measure of faith.  To deny this point is to deny your belief.  In the ever 
popular phrase from the average agnostic joe, "give me proof that God exists,
and I'll believe."  Dr. Sleator, if you can give this newsgroup irrefutable 
proof that evolution is correct, then you will be a very rich man.

You are as much a slave to your beliefs as any creationist (one might call
you ignorant)...

As for the men at AFIT, how are things at WPAFB?

David L. Britton
University of Nebraska at Omaha
Computer Science Major

Xref: sparky alt.news-media:1027 alt.rush-limbaugh:3993 alt.activism.d:2918
From: jswitzer@afit.af.mil (Chip Switzer)
Subject: Re: Chip Switzer
Organization: Air Force Institute of Technology
Distribution: usa
Date: Fri, 4 Sep 1992 11:45:55 GMT

jfcowan@cats.ucsc.edu (John F Cowan) writes:


>We should all be thankful to Chip Switzer.  This newsgroup was
>dead as a door nail until he came along. Surely he must be a leftist
>provacateur. Keep up the good work Chip.
>JC

Gee, my own name, right there in the subject line!  I have to agree,
this group was a little dead when I stumbled across it.  I was a 
little suprised to read one post, though, that suggested this "bias"
argument should be taken elsewhere and leave alt.news-media to discuss
the media.  I happen to think it's a pretty important issue in the
media. 

-- 

Chip Switzer                            "A witty saying proves nothing." 
jswitzer@afit.af.mil                              -- Voltaire 
Xref: sparky alt.news-media:1015 alt.activism:15473 alt.activism.d:2906
From: adamsr@netcom.com (Rick Adams)
Newsgroups: alt.news-media,alt.activism,alt.activism.d
Subject: Re: Media Bias
Date: 26 Aug 92 18:14:19 GMT
Distribution: na
Organization: Netcom - Online Communication Services (408 241-9760 guest)

Thus spake farenebt@craft.camp.clarkson.edu (Bri Farenell): 

>Nor do they clamor for legalized prostitution. They feel it degrades women.
>But they can't have it both ways. 
>
	Speak for yourself. I'm pro-choice and I'm VERY much in favor of
legalized prostitution. It isn't a question of legalized prostitution
degrading women - it's a question of governmental regulation of a woman's
body. I fail to see how legalizing an act would make it more degrading to a
woman than it is if it is a crime! And CERTAINLY legalization would PROTECT
women from many of the negative aspects of prostitution - look at Nevada or
much of Europe in comparison to the treatment of prostitutes in American
cities!

	Legalization of prostitution may not be a universally held objective
of pro choice individuals, but it IS very much in keeping with the
pro-choice position that a woman must be permitted to make decisions which
concern her own body.

>When two people CHOOSE to have sex, they CHOOSE to accept the consequences
>of their actions. (yes, there is such a thing as a pro-life liberal. Please 
>send flames to the above address)	
>
	Then, since the current anti-abortion stance (read the Republican
platform) is that abortion is wrong even to save the life of the woman - the
"consequences" you speak of are death.

	Do you also support execution of the male involved in such
circumstances, or is it only the woman who is to "accept the consequences?"


-- 
    rick.adams on GEnie   /|\        You are right from your side,        
     adamsr@netcom.com  /  |  \        And I am right from mine.          
    adamsr@irie.ais.org \ /|\ /  We're both just one too many mornings,   
   adamsr@norwich.bitnet  \|/  And a thousand miles behind. (c Bob Dylan) 
Xref: sparky alt.news-media:1009 alt.rush-limbaugh:3970 alt.activism.d:2901