HDTenEightyP/NetNews huggingface dataset:
From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
Subject: Re: studying executables
Organization: Queen's University
Date: Sun, 13 Sep 1992 02:42:33 GMT

In article <2186.2AB2264A@catpe.alt.za> Louis.Mandelstam@p2.f42.n7101.z5.fidonet.org (Louis Mandelstam) writes:
> > Actually, assemblers have their own way of producing
> > executables, too.
> > There is a share-ware assembler (I think it is called
> > A86) that even
> > says that it creates opcodes different from other
> > assemblers.  This
> > way, the author can sue unregistered owners for not
> > registering.
>
>Any court that accepts THAT as evidence needs a 1 exavolt discharge 
>in the right place..
>
>What if the programmer created the executable in DEBUG, hand-changed some 
>of the bytes in the executable after linking or <gulp> did it in machine 
>language?

The actual claim (quoted from the A86 docs) is this:

6. A86 takes advantage of situations in which more than one set
   of opcodes can be generated for the same instruction.  (For
   example, MOV AX,BX can be generated using either an 89 or 8B
   opcode, by reversing fields in the following ModRM byte.  Both
   forms are absolutely identical in functionality and execution
   speed.)  A86 adopts an unusual mix of choices in such
   situations.  This creates a code-generation "footprint" that
   occupies no space in your program file, but will enable me to
   tell, and to demonstrate in a court of law, if a non-trivial
   object file has been produced by A86. The specification for
   this "footprint" is sufficiently obscure and complicated that
   it would be impossible to duplicate by accident.  I claim
   exclusive rights to the particular "footprint" I have chosen,
   and prohibit anyone from duplicating it.  This has at least
   two specific implications:

   a. Any assembler that duplicates the "footprint" is mine.  If
      it is not identified as mine and issued under these terms,
      then those who sell or distribute the assembler will be
      subject to prosecution.

   b. Any program marked with the "footprint" has been produced
      by my assembler.  It is subject to condition 5 above.


I don't know if he's ever tried to enforce this. It's pretty much moot these 
days, as other assemblers have come down in price a lot since A86 came out, 
and surpassed its capabilities in a lot of areas.  I still use A86 a bit, 
because I like its language definition better than MASM's or TASM's, 
but more often just use the inline assembler in Turbo Pascal (which is 
a MASM subset, but a lot more convenient than a separate assembler).

Duncan Murdoch
dmurdoch@mast.queensu.ca
Newsgroups: comp.os.msdos.programmer
From: kaykit@iti.gov.sg (Chan Kay Kit)
Subject: Help needed on extended memory management
Reply-To: kaykit@iti.gov.sg
Organization: Information Technology Institute, National Computer Board, S'pore
Date: Mon, 14 Sep 1992 03:27:29 GMT

Hello everyone!

	I have programmed for DOS for a fairly long time but recently I ran 
into memory management difficulties. 

	My program requires a lot of memory for dynamic data (eg. a 1.2 MB 
contiguous block) and thus needs to access extended memory. However, since I 
am only producing a prototype to show concepts, I do not wish to get entangled
in Windows programming. In other words, it would be best if I could just program 
as per normal as possible, with much of the work of managing the extended memory 
done by the compiler or some DOS extender. I am running DOS 3.3.

	I would appreciate it very much if anyone can supply helpful tips to
satisfying the above requirements, and/or answers to the questions below:


(i) Does anyone know if Borland C++ or Zortech C++ allows one to write
and compile DOS programs that automatically use extended memory if 
necessary? What work must be done by the programmer, if any, to manage the 
extended memory? Is the extra work required so much that a switch to the
Windows environment would be more productive instead?

(ii) Any other C language products that come with extended memory management
facilities? 


	Please email replies to kaykit@iti.gov.sg. Thanks in advance!



Kay Kit




---
Kay-Kit CHAN    			| Internet: kaykit@iti.gov.sg
Knowledge Systems Lab			| Bitnet:   kaykit@itivax
Information Technology Institute	| Tel:      (65) 772-0920
National Computer Board of Singapore    | Fax:      (65) 770-3043

Newsgroups: comp.os.msdos.programmer,comp.lang.pascal
From: jdz1@Ra.MsState.Edu (John D. Zitterkopf)
Subject: XMS memory appended to heap? {was Re: Help needed on ...}
Summary: Is it possible? 
Keywords: XMS, Heap, HIMEM
Organization: Mississippi State University
Date: Mon, 14 Sep 1992 14:46:06 GMT

Hello,
	I have a simular question, Are there any UNITS or Functions out there
that will allow me to almost transparently use eXtended Memory for data storage.
I have a program that will be using TurboPascal's TVision and a linked list.
The linked-list could become quite big and I almost *KNOw* that I'm gona need
much more than 640K of free ram to complete this project. Does ANYONE know of
a PD or simular unit for TP6.0 that will append my Himem.SYS XMS memory to the
heap? Has the Ever been done? BTW: I'm using the NEW() function in TP6.0, that
is why I need it added to the heap, Correct? If no unit, does someone
know of a list of the XMS function INTterrupts so that I can "make" one?


Many, Many, thanks!
John
--
 ____________   _------_  |||IBM & |      EE majors Do it Best 8-)
  --------\\ ] ~-______-~ |||Atari |~~~~~~~~~John D. Zitterkopf~~~~~~~~~~~~~
     (~~~~~\\|_(__ ~~    / | \Rules!jdz1@ra.MsState.edu  jdz1@MsState.bitnet
      \______| (        /  |  \    |AOL: zitt@aol.com  jdz1@isis.MsState.edu 
Newsgroups: comp.os.msdos.programmer
From: matjoh@emil.csd.uu.se (Mats Johansson)
Subject: CD-ROM disk ID
Organization: UDAC, Uppsala, Sweden
Date: Sat, 5 Sep 1992 16:25:39 GMT

Does someone know how to identify a CD-DISK in your CD-ROM.
What I want to do is get a unique ID for music CD's so that I can save a list
of artists and songs to be remembered by the program...

	Mats Johansson
	MJ Software

Newsgroups: comp.os.msdos.programmer
From: books@fsunuc.physics.fsu.edu (Roger Books)
Subject: Re: Recommendation on editor for C / Brief only $99 now
Organization: FSU Physics Dept.
Date: Tue, 8 Sep 92 13:54:11 GMT

In article <Bu4BEy.91@world.std.com> levin@world.std.com (Levin F Magruder) writes:

>I know/think there's a editors group, but in my opinion this
>is a msdos question.  Flame by mail, if necessary.  Thanks.

>The only programming I do is in C.  What I'd really like is
>an emacs clone that works right, but I've given up on DEMACS.
>I would keep trying with DEMACS if it ran right under DesqView,
>but it still doesn't, right?

I use DEMACS in DV/X all the time.  If you have the same problem I initially
had you need to download the new GO32 driver and get rid of the one that 
comes with DEMACS.  If you don't know about GO32.exe it's part of the DJGPP 
c++ package.

		Roger
		books@fsunuc.physics.fsu.edu
Newsgroups: comp.os.msdos.programmer
From: tpradeep@cs.tamu.edu (Pradeep K Tapadiya)
Subject: Is there any command line database handling utility?
Organization: Computer Science Department, Texas A&M University
Date: Thu, 10 Sep 1992 19:02:54 GMT


Howdy netters,

I have a file having just a few lines. Some of the lines are
identical. I wish to produce an output containing only the
unique lines. I probably can write a small program to achieve this.
Better still, since this is a small file, I can just edit the
file and remove duplicate lines. What I am wondering is if
there is any PD utility out there which will let me do simple
DB operations on the command line. For ex., the dos command "sort" can
sort these lines but cannot remove duplicate lines.

Thank you.

Pradeep

Newsgroups: comp.os.msdos.programmer
From: nyet@cco.caltech.edu (n liu)
Subject: Re: djgpp 2.2.2 Q's: mouse/svga/assembler/bios
Organization: California Institute of Technology, Pasadena
Date: Tue, 8 Sep 1992 23:30:15 GMT

benrg@ocf.berkeley.edu (Ben Rudiak-Gould) writes:

>First of all, the file DOCS\VERSION in my DJGPP distribution says,
>"This distribution of DOS 386/G++ is version 1.05".  Does yours
>really say, "2.2.2", or are you talking about the version number of
>something else?  If the former, where did you get that version?

djgpp 1.08 is derived from gcc 2.2.2

>In article <25586@castle.ed.ac.uk> eonu24@castle.ed.ac.uk (I Reid) writes:

>>Question 2: Trident 8900 driver problems.
>>

>I ran into this problem as well, and solved it.  The drivers have only
>two routines--one to set a graphics mode and one to do a bank-switch.
>A little bit of experimentation revealed that the bank-switch routine
>was the one causing the problem.  I noticed that the source code had a
>notice saying it was derived from VGAKIT 3.4.  I have 4.1 and it works
>fine.  So, I changed the bank-switch code in tridnt89.asm to conform
>to the new VGAKIT code, and now it works fine as well.

The trident driver in Csaba's excellent LIBGRX contrib package contains
a similiar patch... I haven't checked if its identical.

Also, I noticed that bank switching fails right after you do a printf
to a graphics mode.. the next few graphics writes ALWAYS end up in the
first bank. I haven't gotten around to reproducing this in small code, so
I don't know if its a go32 problem or a board problem. My first guess
would be to blame the board. We all know that Trident == Bug_ridden_lazy_DOG!

In any case, at least when my app spews error messages to stdout I know where
in the picture the problem is, since it ends up in the top part of the
screen - MUST be a feature :-)

In addition, I've been having problems with the 1024x768 mode too. Nobody
but me has seen them (btw. I have a 8900B). Oh lord / won't ya buy me / a
local bus s3...



-- 
nyet@cco.caltech.edu
nyet@aerospace.aero.org
Newsgroups: comp.os.msdos.programmer,comp.lang.c,alt.msdos.programmer
From: bergman@panix.com (Mark Bergman)
Subject: C memory debugging libraries
Summary: Advice wanted
Date: Tue, 8 Sep 1992 05:25:28 GMT
Organization: PANIX Public Access Unix & Internet, NYC
Keywords: DOS, Debug, Memory, Library

I've got a fairly large application (~20 modules, ~15,000 lines of C)
that I'm cleaning up to compile under Turbo C.  I've run into serious
memory errors at a variety of places--arrays writing over code,
pointers to the Twilight Zone, malloc calls that bomb, etc. Single
stepping execution via Turbo C's Integrated Environment hasn't helped,
besides, I hate it!

I'm looking for a memory debugging library for C. There are several
sold through the Programmer's Connection (MAD etc.).  Typically they
offer error checking and verbose diagnostic reporting versions of
*alloc, free, etc. I'm interested in any experience anyone has had with
this type of debugger, and any recommendations, including ftp'able
software.

PLEASE REPLY VIA E-MAIL. I WILL ACKNOWLEDGE ALL REPLIES AND SUMMARIZE TO THE NET


----
Mark Bergman
718-855-9148

bergman@panix.com
{cmcl2,psi,uunet,apple}!panix!bergman
From: jhnbru03@uctvax.uct.ac.za (Bruce D Johnson)
Newsgroups: comp.os.msdos.programmer
Subject: Com Communication
Date: 15 Sep 92 13:54:59 +0200
Organization: University of Cape Town

Hi there,

I'm looking for sample source code (in C, Pascal or whatever) for
data communication between two PC's using serial ports.

I know there are several  programs out there to do file transfers, but
I'm looking to write C funnctions (possibly in assembler, linked to C)
to give fairly basic, highish level commands to use the port.

Useful applications include file transfers(of course), on line mail,
games (especially good this - the best AI is another human :-)) and
other details like remote pheripheral (?) device useage etc.

Are there any Share/Free ware routines / libraries / classes already
avaliable to do this ?

Thanks a lot,
Bruce
jhnbru03@uctvax.uct.ac.za
 

Newsgroups: comp.os.msdos.apps
From: joet@dcatlas.dot.gov (Joe Trott)
Subject: Re: Sidekick 2.0 and Norton cache
Organization: U.S Dept. of Transportation
Date: Fri, 4 Sep 1992 18:08:51 GMT

James_Hung@mindlink.bc.ca (James Hung) writes:

>Does anyone know whether there is a problem between Norton Cache (v.6.01) and
>Borland's Sidekick 2.0?  I am able to load Sidekick and activate it with
>Ctrl-Alt once; but once I exit Sidekick my machine locks up when I try to
>activate it again!  Any pointers would be appreciated.  BTW, I also tried the
>shift-shift hot key combination and the machine would still lock up.  My
>suspicion is the Norton Cache.

I do not trust the Norton Cache (SI reports "only hard drives may be tested";
but PC-CACHE works just fine).  I trust your particular combination even
less.  The only trouble I ever had was with Sidekick (v1.56) and the
Lightning disk cache.  I lost an entire hard disk full of data when that
combo croaked on me.

If you can, check out PCTOOLS v7.1.  I've heard some reports of bugs, but I
haven't seen any notable ones yet.  I think you will like DESKTOP and 
PCSHELL from PC Tools at least as much as SK, plus it has disk repair
utilities, a good backup program (bugs?), and some communications software.
All of these things work together, and use very little RAM for what they
do (able to load high and/or use EMS for swapping and data).

-JTT

Newsgroups: comp.os.msdos.apps
From: hurd@fraser.sfu.ca (Peter L. Hurd)
Subject: BMDP qestion
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Thu, 10 Sep 1992 20:15:42 GMT

HI there, can anyone tell me why it is that BMDP won't read in a
TABLE = 11, 11, 11. 
line in the / INPUT paragraph for a Multi-Corresponence Analysis,
it's a legal move for the simple Correspondence Analysis.  Is it
me or is there a reason it can't be done for multis?
Thanks,
-- 
-- Pete Hurd, hurd@sfu.ca          |"So I've got this 22Meg output file..." |
Behavioural Ecology Research Group |"Yeah, well delete it."                 |
Dept.Biol.Sci., Simon Fraser Univ. |"But how will I know what it says"      |
Burnaby B.C. V5A 1S6 Canada        |"Well, how will you know what it means?"|
From: DJLQC@CUNYVM.BITNET (D Leavitt)
Newsgroups: comp.os.msdos.apps
Subject: Re: PC SQL databases?
Date: 16 Sep 92 01:52:50 GMT
Organization: City University of New York/ University Computer Center


In article <exuptr.616.716595968@exu.ericsson.se>, exuptr@exu.ericsson.se
(exuptr@exu.ericsson.se) says:
>
>Does R:Base support client - server mode?  I'm an old "system V" user and
>I've  been a little out of touch.


The new release of Rbase, 4.0 does not support a client - server mode as
ORACLE does, but they do
have a product called Vanguard that does allow Rbase do read SQL databases
(ORALCE) off of VAX computers.  So in other words, Rbase running on the PC
is acting as a front end tool to access data on a different platform.  The user
 won't even know their working off of an ORACLE table. Vanguard for DOS will
be out first half of 1993.

Rbase System V, was replacedby Rbase for DOS 2.1, which was replaced by
Rbase 3.0, 3.1, 3.1a, 3.1b, 3.1c, 3.1d, 4.0.  Rbase 4 can read data from V.

Another product called Personal Rbase is also very popular.  Its the same
thing as the industrial strength version, except it lacks the R> prompt, where
you can issue SQL commands.
Newsgroups: comp.os.msdos.apps
From: cwong@cs.cornell.edu (Christopher Yoong-Meng Wong)
Subject: DrDos, DPMI and Turbo C++
Organization: Cornell Univ. CS Dept, Ithaca NY 14853
Date: Fri, 11 Sep 1992 22:03:00 GMT

Does anyone know a way to "civilize" this combination of Dr Dos 6 and
Turbo C++ 3.0? My configuration

Oddball 286 clone
DrDos 6.0 using Hidos.sys as XMS provider
Turbo C++ 3.0 (demands XMS to run)

My 286 clone is strange enough (an Amstrad pc 1286 or something) that 
TC (Turbo C++) does not recognize it. I ran dpmiinst as per instructions
only to have it complain of "A20 already set high" or something as it 
tries to enable the A20 line. When I do *not* use hidos.sys (drastically
reducing available memory) Dpmiinst runs fine, but TC hangs upon exit.

Please, no "get MsDos and new machine" advice. The fact that I use
a 286 means I am not *that* rich :-(.

Thanks.

Chris

Newsgroups: comp.os.msdos.apps
From: nann@fraser.sfu.ca (Michael Craig Nann)
Subject: MAJOR Stacker Help Needed...
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Thu, 10 Sep 1992 07:32:34 GMT


Help needed urgently!

Against my advice, a friend of mine attempted to install Stacker 2.0 on his
office computer.  The key word is "attempted", in that Stacker never
completed the installation, saying that it was unable to run the INSTALL2
program.  I suspect that the problem may be related to his vintage 1.0 AMI
BIOS, but that's not the problem he's concerned with right now.
 
The problem is that what Stacker HAS done so far is to compress all of his
files into the STACVOL.DSK file, deleting the uncompressed files as it went.
From a superficial standpoint (ie. doing a DIR /h command), the drive
looks like it should with Stacker...the stacker files, the STACVOL.DSK file,
the DOS files, etc.  The only problem is that Stacker refuses to mount the
STACVOL.DSK file, stating that it is "too fragmented" to be mounted.  The
STACVOL.DSK file itself is not fragmented (according to Norton's), so this
must have something to do with the internal structure of the STACVOL.DSK
file.  However, since it can't be mounted, SCHECK and SDEFRAG refuse to
look at the STACVOL.DSK file.
 
The Stacker 2.0 manual doesn't mention (at least I can't find it) anything
about this type of situation (ie. too fragmented to mount);  I've been
unable to get anything from Stac technical support yet.
 
Short of reformatting and restoring everything (which he'd prefer not to do,
since, as Murphy's Law dictates, there was one directory that wouldn't fit
on his backup disks that he decided not to worry about), does anybody
have any suggestions as to how to convince Stacker to mount this file as
a drive?
 
Thanx...

nann@sfu.ca
Newsgroups: comp.os.msdos.apps
Subject: Re: WordPerfect on a network?
From: $garyf@SASB.BYU.EDU (Gary B. Fitzgerald)
Date: 15 Sep 92 08:56:03 -0700
Organization: Brigham Young University

>I want to install a regular version of Wordperfect 5.1 for dos
>on a lantastic network. I would like to install it in a read-only
>directory, but of course, WordPerfect wants to set up some lock
>files or other files. and so wants r/w access to it's directory.
>
>Exactly what files are user or written when wp51 starts up?

WordPerfect creates temporary files that it uses as your backup files if you 
lose power or your file server goes down or some other unforunate 
happening.  It creates these in whatever directory you start the program up 
for.  So if you go into setup/location of files/backup directory, and 
specify a directory that has write rights it should work fine.  You can also 
start the program with a "/d-" option--after the d- specify a directory that 
has write rights.  This forces the temporary files to that destination.  
Hope this helps.

Gary
Xref: sparky comp.os.msdos.apps:4734 comp.bbs.waffle:2373
From: nevries@accucx.cc.ruu.nl (Nico E de Vries)
Newsgroups: comp.os.msdos.apps,comp.bbs.waffle
Subject: Re: Stacker's TRUE compression ratio
Date: 13 Sep 92 15:26:22 GMT
Followup-To: comp.os.msdos.apps
Organization: Academic Computer Centre Utrecht

In <TB5ZqB2w165w@presoft.com> steve@presoft.com (Steve Kohlenberger) writes:

>pynq@quads.uchicago.edu (George Jetson) writes:

>> I.e., I think if you uuencode something then compress the result,
>> you end up with a ZIP that is *bigger* than the original binary.

>This is a ZIP limitation.  UUENCODE expands the data in a relatively
>simple and repeating way.  ZIP is unable to compress it much further
>because it assumes that the 'data' playing field is relatively flat. 
>The algorythms were not expecting hacked bytes from a previously
>compressed format.

Yes, nut notice that the uuencoded file is already bigger than the binary
but that the compressed uuencoded file will be smaller than the uncompressed
one. The Huffman encoding layer in most modern compressors (ARJ, LHA, ZIP,
PKZIP) will make use of the fact not all possible characters are used.

>Steve
>   
> Steve Kohlenberger, PreSoft Architects      Internet: steve@presoft.com
> Novell Professional Developer                            (714) 538-6002
> Specialists in NLM and Disk/Tape Driver development for NetWare 3.X/4.X


Nico E. de Vries
_ _
O O  USENET nevries@cc.ruu.nl   
 o   This text reflects MY personal opinions, nothing else.      
\_/  This text is supplied 'AS IS', no waranties of any kind apply.      
     Don't waste your time on complaining about my hopeless typostyle.
Newsgroups: comp.os.msdos.apps
Subject: Re: (wp) or .txt string count, user defined word count?
From: fisher@sc2a.unige.ch
Date: 8 Sep 92 10:02:33 +0200
Organization: University of Geneva, Switzerland

In article <hurd.715034756@sfu.ca>, hurd@fraser.sfu.ca (Peter L. Hurd) writes:
> Does anyone know of a macro, or dos util that will let me count the
> number of times a specific, user defined, string or word appears in
> a WP document?  I thought I remembered seeing a Timo Salmi utility
> that did this.
> I've spent days with a thumb clicker going f2 esc, f2 esc, f2 esc, I'm
> up to several thousand clicks and I'm losing my mind.  There has to
> be a better way.
> Thanks, -P.

Going f2 f2, f2 f2, f2 f2, ... would have been better in the first place :-)

Seriously, create a macro (e.g. altw), then "create" is again to be able
to edit it.  then you go...

	{IF}!{STATE}&4~
		{RETURN}
	{END IF}
	{DISPLAY OFF}
	{ASSIGN}0~0~
	{LABEL}loop~
		{Search}{Search}
		{ASSIGN}0~{VAR 0}+1~
	{GO}loop~

Note: '{VAR 0}' is ^V, Alt-0

Usage:

1) {Search}<your word, code, etc>{Search}
2) {Home}{Home}{Up}
3) Alt-W (or call the macro, whatever its name)
4) Alt-0 inserts the number in your document...

NOTE: the above is untested, so ask me if you have any problems...

Cheers,

Markus Fischer   Dpt of Anthropology, Geneva CH    fisher@sc2a.unige.ch
Newsgroups: comp.os.msdos.apps
From: joet@dcatlas.dot.gov (Joe Trott)
Subject: Re: Word Processors for DOS (not Windows) - What's out there?
Organization: U.S Dept. of Transportation
Date: Mon, 14 Sep 1992 16:11:04 GMT

>In article <1992Sep9.180954.21771@PA.dec.com>, reisert@sttng.mlo.dec.com (Jim Reisert) writes:
>>
>>I am in the market for a DOS-based (not Windows) word processor.
>>What's out there?

If you might need something more in the future, check out LetterPerfect.
It is a cut down version of WordPerfect, and is entirely compatible with it.

-JTT
Newsgroups: comp.os.msdos.apps
Subject: Re: Reading WordImPerfect files with graphics
From: D Leavitt <DJLQC@CUNYVM.BITNET>
Date: Thursday, 10 Sep 1992 21:35:09 EDT
Organization: City University of New York/ University Computer Center

Try Magellan 2.0.  It views WPG files and WP files seperately in the viewer.
Newsgroups: comp.os.msdos.apps,comp.bbs.waffle
From: fox@rei.com (Fuzzy Fox)
Subject: Re: Stacker's TRUE compression ratio
Date: Tue, 8 Sep 1992 18:31:49 GMT
Organization: Recognition Equipment, Inc.

andyross@infopls.chi.il.us (Andrew Rossmann) writes:

>What I would like to know is what kind of 'true' ratios others are getting.

DOS reports 78,109,022 bytes used in 2,369 files on my Stacked drive.
SCHECK reports 47,990,784 bytes used in the STACVOL file.

This yields a compression rate of 1.6:1, though SCHECK reported it as
1.9:1.

This disk has Windows and other bloated programs on it, but no ZIP or
GIF files or other files known to be compressed.

-- 
#ifdef TRUE         | Fuzzy Fox                  fuzzy@netcom.com
#define  TRUE   0   | a.k.a. David DeSimone      an207@cleveland.freenet.edu
#define  FALSE  1   |
#endif              |         How's my posting?  Call 1-800-ALT-FLAME
Newsgroups: comp.os.msdos.apps