HDTenEightyP/NetNews huggingface dataset:
From: daves@vtucs.cc.vt.edu (Dave Sisson)
Newsgroups: alt.msdos.programmer
Subject: Palette changing in Turbo Vision (TC++)
Date: 12 Aug 92 19:29:25 GMT
Organization: Virginia Tech, Blacksburg, VA


     I've been able to change the palette using the TColorDialog object, but
after the palette is changed, I want to redraw the entire application.  I
tried the TApplication::redraw() command like they do in tvdemo, but the 
screen keeps the same colors.  Anything I create after changing the palette
gets the proper colors.
     Trying to see what they did in the demo that I didn't, I compiled and
ran it.  It exhibits the same problems.  I went back to Turbo Pascal and
tried its tvdemo and it worked.  The C++ version uses redraw() and the Pascal
version does DoneMemory then ReDraw.  I can't find an analog function for
DoneMemory under C++.  redraw() isn't supposed to use the buffers anyway, 
so DoneMemory would be a useless call.  Is there a workaround for this
problem?

--
    Dave
Newsgroups: alt.msdos.programmer
Subject: Help : Music File Formats.
From: ebolog@elaine.ee.und.ac.za (EDWIN BOLOGNA : THIRD)
Date: 20 Aug 92 11:59:02 +0200
Organization: Electronic Eng., Univ. Natal, Durban, South Africa


Does anyone out there happen to have PAS, C, or ASM source code to decode
.MOD, .SAM, .SND, or .ROL music formats.

Any information at all on any of these formats will be greatly appreciated.

        Desperate fellow programmer (And very Greatful for any information)

                E.B. (EBOLOG@ELAINE.EE.UND.AC.ZA)

PS : Please be kind hearted and Assist !
From: holland@matt.ksu.ksu.edu (Rich Holland)
Newsgroups: alt.msdos.programmer
Subject: Re: Need DOS batch help!
Date: 13 Aug 1992 08:22:52 -0500
Organization: Kansas State University
NNTP-Posting-Host: matt.ksu.ksu.edu

chanh@athena.mit.edu (Chanh N. Vuong) writes:

>>I having a problem writing a batch file.  I need a batch file which will go
>>to a c:\Temp directory and delete every file in the directory except for
>>a file named gest.bat.  The batch must be written in such a way they the
>>user will not get a message asking Yes/No (Y/N) in response to deleting
>>the files , which limits your use of wildcard deletes like del *.*.
>>
>DEL_TEMP.BAT:
>@echo off
>c:
>cd \
>cd temp
>md tmp
>copy gest.bat tmp
>for %%a in (*.*) do del %%a
>copy c:\temp\tmp\gest.bat .
>del c:\temp\tmp\gest.bat
>rd tmp
>cd \

This one's easier to follow:

@echo off
cd \temp
attrib *.* -r > nul
attrib gest.bat +r > nul
echo y | del *.* > nul
attrib gest.bat -r > nul
cd \

It just sets gest.bat to Read-Only, and erases everything else.  (The
first attrib command makes sure there's no other RO files out there..) 
If you're in DOS 5.0, you can also kill Hidden/System files easily like
this...


-- 
Rich Holland             | INTERNET:  holland@matt.ksu.ksu.edu
419 Marlatt Hall         | BITNET  :  holland@ksuvm
Manhattan, KS  66506     | UUCP    :  ...rutgers!matt.ksu.ksu.edu!holland
"Jesus saves...but Gretzky gets the rebound!  He shoots!  He scores!!"
Xref: sparky alt.msdos.programmer:2226 comp.os.msdos.programmer:8693 comp.lang.pascal:4960
From: holland@matt.ksu.ksu.edu (Rich Holland)
Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer,comp.windows.ms.programmer,comp.lang.pascal
Subject: Re: Windows and printscreen
Date: 21 Aug 1992 12:13:31 -0500
Organization: Kansas State University
NNTP-Posting-Host: matt.ksu.ksu.edu

ralf+@cs.cmu.edu (Ralf Brown) writes:

>Windows takes over the INT 09h keyboard interrupt, so it is presumably
>checking for PrtSc itself and calling its own routines instead of INT 05h
>as the ROM BIOS does.

Yeah, I thought of that about 10 minutes after I posted.  :-)

Guess I'll re-direct Int 09h instead of Int 05h, huh?  

-- 
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!!"
From: exuptr@exu.ericsson.se (Patrick Taylor)
Newsgroups: alt.msdos.programmer
Subject: Re: DOS batch help!
Date: 13 Aug 92 19:22:38 GMT
Organization: Ericsson Network Systems, Inc.



Boy this guy got plenty of responses on his batch file question.

How many do you suppose had bugs?  ;-]
 ----------------------------------------------------------------------------
   "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: wade@nb.rockwell.com (Wade Guthrie)
Newsgroups: alt.msdos.programmer
Subject: Re: Help : Encryption Algorithms
Date: 22 Aug 1992 18:40:05 GMT
Organization: Rockwell International


In article <1992Aug22.054746.13805@uwm.edu>, markh@csd4.csd.uwm.edu (Hunk) writes:
> In article <1992Aug20.155927.25742@nb.rockwell.com> wade@nb.rockwell.com (Wade Guthrie) writes:
> >
> >PLEASE NOTE:  It is likely ILLEGAL to export encryption/decryption algorithms
> >from the U.S. to any other country (the original poster is from Africa).
> 
> That's tantamount to telling me I can't leave the country.  

No, it's not.  It's tantamount to telling you that you can't leave the country, snag someone
off the street and blabber about encryption.  This is different.  You're not likely to do
that.  What's more likely is for you to go to a government or to a conference and tell someone.
Our government watches that sort of thing (but don't worry, it's just the CIA -- they didn't
even know that the Soviet Union was going broke. . . :->).

Now, if you know a little about cryptography, you probably wouldn't tell anyone anything they
didn't already know.  I believe that the theory on this is that if you protect the little
stuff, then the big stuff will be even better protected.

If, on the other hand, you know a lot about cryptography, then you already know about laws
such as this.  The government keeps universities well apraised of the legal ramifications of
dissemination of their research (especially when this research is government funded, which a
tad of it is).

> Such a law [...] is unenforceable

See above.  Besides, since when has the government put enforcability on its list of what
makes something legal (I know, sometimes they do; but, sometimes they do not).

> and in all likehood unconstitutional.

Nope.  Even given freedom of the press, if you tell a government secret to a hostile
government our government can fine, imprison, and even kill you (remember Benedict Arnold,
the Rosenburgs, or --that scum-- Walker?).  Freedom of the press does not extend to 
government secrets (except, apperantly, for Aviation Week :->).  (In fact, freedom of the
press isn't what it used to be given the Supreme Court rulings against things like 
pornography, but this is not a soap box on which I feel it is appropriate to stand right now).

> The day people get arrested for disseminating a branch of pure mathematics is
> the day an oppressive government needs to be brought down.

Or, even, disseminating a branch of pure Physics, you think?.  The government is quite frank
about compartmentalizing information about the reactions of heavy nucleii in the presence of 
certain types of radiation -- even if you figure out on your own how to make an atomic bomb,
you are not allowed to tell foreign governments.

Wade
wade@nb.rockwell.com
Rockwell has nothing to do with my statements here.
From: ben@yenta.alb.nm.us (Ben Klausner)
Newsgroups: alt.msdos.programmer
Subject: Re: Exabyte users?
Date: 14 Aug 92 18:41:56 GMT
Distribution: usa
Organization: Department of Redundancy Department

vince@chiton.ucsd.edu (Vince Pavlicek) writes:

>	I am looking for detailed information about operating an
>Exabyte 8500 8mm tape drive under DOS. Anyone ever done that?
>What SCSI interface/SCSI chip was involved?
>What data rate could you attain?
>What driver did you use?

Allegedly, the following programs can be used to talk to an Exabyte tape
from a SCSI card (such as the IN-2000) under DOS:

	Backit fro Gazelle

	Systos +

	Novaback from Novastor (or vice versa)

I have'nt tried any of these, but am about to take the plunge myself and
would also be interested in additional information.


-- 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  inet: ben@yenta.alb.nm.us                    | My opinions are my own.
  CI$:  76337,1730                             | Who else would want them?
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Newsgroups: alt.msdos.programmer
From: jas37876@uxa.cso.uiuc.edu (John A. Slagel)
Subject: Re: Mem to Mem DMA ??
Organization: University of Illinois at Urbana
Date: Thu, 20 Aug 1992 21:14:15 GMT

   In case it helps anyone, here is the article that got me wondering
   about this. I tried the code and it locked my computer up. I don't
   know enough to figure out why.
From: pynq@quads.uchicago.edu (George Jetson)
Subject: Re: How is CLS implemented ?
Reply-To: pynq@midway.uchicago.edu
Organization: D. J. Dougherty & Associates
Date: Wed, 12 Aug 1992 15:28:11 GMT

In article <1992Aug11.223726.9385@caeco.mentorg.com> mike_gillmore@mentorg.com writes:
>In article <1992Aug11.142038.200@mble.philips.be>, stern@mble.philips.be writes:
>> Does anybody know how is implemented the CLS command ?
>> I mean the interrupt(s) used to completely reset the screen.

>Get number of columns on the display
>Get number of rows on the display
>Set scroll window to (0, 0) and (columns-1, rows-1)
>Set display attribute to grey on black (as if everyone still
>	has a Monochrome Display Adapter)
etc.

I don't think it is anywhere near this complicated.  I just get the current
mode, via INT 10, fn 0F, then set the current mode, via INT 10, fn 0.

It's been a while, so don't quote me - you may have to do something with BX
as well.  But, as they say, it's in all the better books.

************************************************************************
Please don't drink the battery acid, it tastes bad and will hurt you.
Also, don't bite the tyres, especially when the bike is moving.
(Our lawyers made us put this in this manual.)

	- pynq@quads.uchicago.edu, who is still costing the net
	  hundreds, if not thousands, of dollars, every time he posts -
************************************************************************
Newsgroups: alt.msdos.programmer
From: glratt@is.rice.edu (Glenn Forbes Larratt)
Subject: Re: Need DOS batch help!
Organization: CRC OCIS, William Marsh Rice University, Houston, Texas
Date: Mon, 17 Aug 1992 17:48:17 GMT

In article <92225.09262732BFPQ3@CMUVM.CSV.CMICH.EDU> Nathan Owen <32BFPQ3@CMUVM.CSV.CMICH.EDU> writes:
>I having a problem writing a batch file.  I need a batch file which will go
>to a c:Temp directory and delete every file in the directory except for
>a file named gest.bat.  The batch must be written in such a way they the
>user will not get a message asking Yes/No (Y/N) in response to deleting
>the files , which limits your use of wildcard deletes like del *.*.
>

If you get, by anonymous ftp to wsmr-simtel20.army.mil:

	"PD1:<MSDOS.PCMAG>VOL5N09.ARC",1,10219,8,900219,"PC Magazine: NO"

You can then write a batch file thus:

echo off		("@echo off" for DOS 3.30+)
c:
cd \233temp
echo y | no gest.bat del *.* > nul
cd \

What NO does, BTW, is to flag all files matching its first argument as
hidden, then execute the remainder of its command tail as a new command line.

-- 
===/| Glenn Forbes Larratt      |    CRC OCIS     | "Quid pro quo,   |/
==/| glratt@rice.edu (Internet) | Rice University | Clarice."       |/=
=/| GLRATT@RICEVM1 (Bitnet)     |=================|  - The Silence |/==
/| The Lab Ratt (not briggs :-) |  Neil  Talian?  |  of the Lambs |/===
From: beynon@nnn.NoSubdomain.NoDomain (Michael D. Beynon)
Newsgroups: alt.msdos.programmer
Subject: Re: DOS batch help!
Date: 13 Aug 92 13:47:54 GMT
Reply-To: beynon@nnn.crd.ge.com
Organization: GE Corporate R&D Center, Schenectady, NY

Just a note ...

The fastest, easiest way to delete files:

  Not  -->      for %l in (*.*) do del %l

  Not  -->      echo y >y.dat
                del *.* <y.dat > nul

  Yes  -->      echo y | del *.* > nul

I'll admit it is very much like the 2nd one listed, but it has a very good
advantage...  Not temporary file y.dat is created.  It's just cleaner.

Thanks.

Michael D. Beynon
beynon@nnn.crd.ge.com
Newsgroups: alt.msdos.programmer
Subject: Help : Graphics Formats
From: ebolog@elaine.ee.und.ac.za (EDWIN BOLOGNA : THIRD)
Date: 20 Aug 92 12:10:01 +0200
Organization: Electronic Eng., Univ. Natal, Durban, South Africa


Does anyone out there happen to have PAS, C, or ASM source code to decode
.GIF, .PCX, .FLI, .GL, etc. graphic formats.

Any information at all on any of these formats will be greatly appreciated.

        Desperate fellow programmer (And very Greatful for any information)

                E.B. (EBOLOG@ELAINE.EE.UND.AC.ZA)

PS : Please be kind hearted and Assist !
Newsgroups: alt.msdos.programmer
From: psfales@cbnewsc.cb.att.com (Peter Fales)
Subject: Re: How to format 10 sectors per track?
Organization: AT&T
Date: Thu, 13 Aug 1992 01:34:20 GMT

In article <BsrHI7.E16@cs.psu.edu> mchen@groucho.cs.psu.edu (Michael Chen) writes:
>
>   Help!  I'm trying to write a utility to format disks for my EPS sampler.  It
>uses 10 sectors per track.  I've tried BIOS 0x13 function 0x18 to set the media

To fit 10 sectors on a track, you have to reduce the size of the 
inter-record gaps.  I know this is possible, because I have seen
at least two packages (JFORMAT and MAXI-FORM) that will do this.
However, the BIOS routines probably aren't smart enough for this, so
you will need to go straight to the hardware.  Find a a good book,
and start playing.  Good luck.

-- 
Peter Fales			 AT&T, Room 9C-242
N9IYJ            		 2000 N. Naperville Rd.
UUCP:	...att!ihlpb!psfales	 Naperville, IL 60566
Domain: psfales@ihlpb.ih.att.com work:	(708) 979-8031
Newsgroups: alt.msdos.programmer
From: venaas@siri.unit.no (Stig Venaas)
Subject: Re: Need DOS batch help!
Organization: University of Trondheim
Date: Thu, 13 Aug 92 09:55:16 GMT

In article <1992Aug12.141526.25165@athena.mit.edu> chanh@athena.mit.edu (Chanh N. Vuong) writes:
>In article <92225.09262732BFPQ3@CMUVM.CSV.CMICH.EDU> Nathan Owen <32BFPQ3@CMUVM.CSV.CMICH.EDU> writes:
>>I having a problem writing a batch file.  I need a batch file which will go
>>to a c:\Temp directory and delete every file in the directory except for
>>a file named gest.bat.  The batch must be written in such a way they the
>>user will not get a message asking Yes/No (Y/N) in response to deleting
>>the files , which limits your use of wildcard deletes like del *.*.
>>
>>Thanx in advance.
>
>Here goes:
>
>DEL_TEMP.BAT:
>@echo off
>c:
>cd \
>cd temp
>md tmp
>copy gest.bat tmp
>for %%a in (*.*) do del %%a
>copy c:\temp\tmp\gest.bat .
>del c:\temp\tmp\gest.bat
>rd tmp
>cd \
>
>*The End*
>
>	+------------------------------------------------------+
>	|  |\/\/\/|       Chanh N. Vuong (aka Cee Vee)         |
>	|  |      |       chanh@athena.mit.edu                 | 
>	|  | (o)(o)       (617)225-6302 or x5-6302             | 
>	|  C     _)                                            |
>	|  | ,___|        Hey, like don't eat a cow, man!      |
>	|  |   / ----------------------------------------------+
>	| /____\     VegieBart Inc., copyright 1991.
>

I think you could use echo y|del *.*>nul instead of messing
around with the for command.












-- 
Stig (venaas@siri.unit.no)
Newsgroups: alt.msdos.programmer
From: udec@dcc.uchile.cl (Claudio Robles (U.Concepcion))
Subject: Expanded and Extended memory
Originator: udec@dcc.uchile.cl
Date: Tue, 18 Aug 1992 20:11:35 GMT
Organization: Universidad de Chile, Depto. de Ciencias de la Computacion



	Hi all.
	I'm looking for general information about expanded and 
        extended memory managements, algorithms if it's possible.
        do someone of yours know where I can find this one?
	I would be very pleasent if you send information, 
        bibliography, eraphy, etc.
       


	Thanks in advance.

	Fernando Rolleri
	E-mail frolleri@halcon.dpi.udec.cl 
Newsgroups: alt.snowmobiles
From: dougr@meaddata.com (Doug Ritter)
Subject: Re: All tuened up and no place with snow
Organization: Mead Data Central, Dayton OH
Date: Wed, 19 Aug 1992 14:22:13 GMT

In article <1992Aug18.165636.6882@Schultz.ON.CA> brian@Schultz.ON.CA (Brian Manion) writes:
>    Well Doug, you got things going, I like your idea of a net snow report,
>I myself would be interested in providing info for mid-southern Ontario.
>We don't get our snow until late November, December ( in a normal year that
>is ).   It was interesting to here the report from Alaska, we could have quite
>a "Global Snow Report". I finally went and took a look at the new Ski-doo models,
>it is interesting to see Ski-Doo returning the the old "bumble bee" colours.

So what'd you think of the DSA front suspension?  Looks familiar, eh? ;-)
Seriously, I'm still really interested in the MX Z - I hope to go to a couple
winter carnivals to ride some of the new sleds, and the MX Z is high on my list
of "want to trys".

As for the snow conditions report, I'll volunteer for the southwest Ohio area! ;-)

And here's my report for the entire season, Nov. 30-Mar. 1:

Current conditions:

   Snow depth:  0"
   Trail Cond:  Trails?  What trails?
   Lake Cond:   Fishing's *great*!

Forecast:

   today:       cloudy; high 35f; chance of rain
   tonight:     cloudy; low  35f; chance of rain
   tommorrow:   cloudy; high 35f; chance of rain
   next 5 days: cloudy; high 35f; chance of rain

--
Doug Ritter (dougr@meaddata.com)
Newsgroups: alt.snowmobiles
From: pjp@cray.com (Patrick Perro)
Subject: All tuened up and no place with snow
Organization: Cray Research, Inc.
Date: 17 Aug 92 10:09:31 CDT


Well, there it sits in my garage all tuned up, lubed and ready to go. So, Where's
the SNOW!! Yea, I know it's early but Two weeks ago I took delivery of a brand
new Polaris 580 XLT and I just can't wait.

Polaris continues to do their homework on their sleds. The front bulkhead
(place where the engine and front suspension bolt to) has been re-designed for
more strength and less weight. The 580cc triple is an entirely new motor, which
Polaris claims and my "lift the front end" test supports, weighs less than their
500cc liquid twin. The chain case is redesigned with a neat magnetic dip stick for
checking the lube level. Also new with the chain case is a re-designed top mounted
brake caliper. The caliper is "beefier" with cooling fins and mounts on a "U" type
sliding rail which attaches to the chain case with two bolts. Much nicer when you
have to replace the pads. The spindle/ski bushings now zerk grease fittings (I
still think they need to add zerk fittings to the radius rod bushings), and the
clutch side bearings are larger and are greasable (the bottom shaft bearing has a
zerk on the speedo gear housing and the upper jackshaft bearing has a hole for
greasing it with a "needle" tip).

Oh well, looks like I'll just have to wait a couple more months till the snow
arrives. And if this fall/winter is anything like this summer has been, there
will be plenty of snow and last for a record period of time.......I wonder if
there is any snow in Canada....I do have some vacation time to use up......


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

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: brian@Schultz.ON.CA (Brian Manion)
Subject: Re: All tuened up and no place with snow
Organization: Sutherland-Schultz Limited, Kitchener, ON
Date: Tue, 18 Aug 1992 16:56:36 GMT

    Well Doug, you got things going, I like your idea of a net snow report,
I myself would be interested in providing info for mid-southern Ontario.
We don't get our snow until late November, December ( in a normal year that
is ).   It was interesting to here the report from Alaska, we could have quite
a "Global Snow Report". I finally went and took a look at the new Ski-doo models,
it is interesting to see Ski-Doo returning the the old "bumble bee" colours.


Newsgroups: alt.snowmobiles
From: dougr@meaddata.com (Doug Ritter)
Subject: Re: Pre-Season Fever
Organization: Mead Data Central, Dayton OH
Date: Tue, 18 Aug 1992 16:45:06 GMT
Distribution: usa

In article <1992Aug17.150614.4891@hemlock.cray.com> pjp@cray.com (Patrick Perro) writes:
>
>Come on all of you snowmobiling freaks!! Let's hear from you!!

I know why none of our western friends are thinking about sledding yet - they've been
getting all the heat this summer, especially lately, while here east of the Mississippi,
we've been cool.  It was mid-50's this morning in SW Ohio - good grief, that's
*September* weather!

[stuff deleted]

>Why hasn't Yamaha paid as close attention? I don't know maybe they are too big;
>it cuts into the profit margin; too much bureaucratic red-tape. People have been
>asking why doesn't Yamaha pay attention? You can only speculate. If you ever really
>looked at a Yamaha sled you will see that there is great attention paid to space as
>well as material conservation (read that as cost conservation). I'm not saying that
>they are poorly built but the word minimal does come to mind.

That's always been my opinion of their sleds also.  Back in the late 70's, a friend
of mine bought a 79 Exciter.  Up to that point I had never ridden anything but older
Mercs, Scorpions and Ski Doos, but once I rode his Exciter, I thought it was the
best sled I had ever been on.  Then the next year I got my Blizzard and didn't
ride with him for several years.  In '85 I ran into him, and he was still riding
his Exciter.  He hadn't seen my Blizzard before and wanted to try it out, so we
switched - I couldn't believe how bad the Exciter seemed after riding the Blizzard
for 5 years.  It was *all*over* the trail, it rattled, shook, bounced.  It had been
well maintained and had only about 700 miles on it(!!), and yet it just hadn't
held up well.  Yamaha sleds are usually the lightest sleds on the trail, but it
seems like they manage that by sacrificing durability.

These comments are just my opinion, and they aren't based on any sort of scientific
study, and so may well be incorrect.  I also don't mean to offend the Yamaha-lovers -
their newer sleds may be much better.

--
Doug Ritter (dougr@meaddata.com)
Newsgroups: alt.snowmobiles