HDTenEightyP/NetNews huggingface dataset:
From: tl@etek.chalmers.se (Torbj|rn Lindgren)
Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer
Subject: Re: Number of subdirectories limited ?
Date: 18 Nov 92 23:09:06 GMT
Organization: Chalmers University of Technology, Gothenburg, Sweden

>> I know there is a limitation on the number of subdirectories in the
>> root directory, but is there any limitation in directories other
>> than "\" ?
>The FAT system only allows a maximum number of file entries.  I'm not
>sure about numbers, but I remember reading that a 360K floppy couldn`t
>have any more than 112 file entries.  Therefore 112 0-byte files would
>actually fill up the disk, because the FAT tables were full.  Larger
>capacity disks have proportionally more space allocated for the FAT
>tables, etc.  I had never heard of limitations for the root directory,
>though.

The number of files in the root directory is limited in ALL
disk-formats under DOS. There is no limit to the number of files that
can reside in sub-directories.

The limit is for 360k floppys 112 entries, and for most harddisk 512
entries. For both systems you can lay unlimited number of files if you
use subdirectory (limited by disk-space of course). The FAT doesn't
have any limit in that regard.
Newsgroups: comp.os.msdos.programmer
From: wai@csuvax1.csu.murdoch.edu.au (Julian Wai)
Subject: Unhandled exception error from BC++3.1
Organization: Murdoch University
Date: 23 Nov 92 00:52:20 GMT


Hi,

Does anyone know what the following error mean ?  Any suggestions will be
appreciated.


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

        UNHANDLED EXCEPTION 0D at 00B7:229A Error code: 034C

         AX = 000D   BX = 0000   CX = 0148   DX = 0050
         SI = 0057   DI = 0045   BP = 0FE2   SP = 0FDA
         CS = 00B7   Limit =240F
         DS = 00BF   Limit =219F
         ES = 00BF   Limit =219F
         SS = 005B   Invalid segment
         - 00B7:2292   3D 1E 06 2E 8E 1E 05 00  FF 1E 87 21 07 1F 5F CF

         You may hit [T] to terminate, but you should reboot as soon as possible,
         as the system is unstable ...t
         Unhandled exception 000D at 00B7 229A ErrCode 034C  


I got this message after running the IDE.  All I did was changed a few options.
Thanks in advance.

Julian
wai@csuvax1.csu.murdoch.edu.au
From: 00skolis@leo.bsuvc.bsu.edu
Newsgroups: comp.os.msdos.programmer
Subject: BC++ User friendly?
Date: 17 Nov 92 18:23:19 GMT
Organization: Ball State University, Muncie, In - Univ. Computing Svc's

What is the normal time to learn how to apply BC++ if one does not know
exactly how to program in C. How user friendly is it?
From: ilan@seas.gwu.edu (Ilan Berkner)
Subject: Re: H E L P!!! Serial Communications Blues... (UART).
Organization: George Washington University
Date: Fri, 20 Nov 1992 01:07:47 GMT

The UART will only signal an receive-interrupt when it has received data
from the outside, not the inside!  You must have a cable attached to
COM2 that runs from either COM1 or from another computer.  Sending data
to COM2 will not trigger a receive interrupt, since the UART hasn't
received anything!  It's transmitting something instead.
Xref: sparky comp.os.msdos.programmer:10715 comp.os.ms-windows.programmer.misc:3497
From: ratava@maths.tcd.ie (Michael McCarthy)
Newsgroups: comp.os.msdos.programmer,comp.os.ms-windows.programmer.misc
Subject: Re: Poll : Microsoft support on the Internet
Date: 17 Nov 92 18:12:36 GMT
Organization: Dept. of Maths, Trinity College, Dublin, Ireland.

Another YES vote from me. (Or should I E-mail this to someone ? 
Someone enlighten us quickly, before this groups gets cluttered with
articles consisting of the word YES)
Newsgroups: comp.os.msdos.programmer
From: lizak98@snybufva.cs.snybuf.edu (Rob Lizak Jr.)
Subject: Combining Graphics and Text Screens
Organization: J. Random Misconfigured Site
Date: Mon, 16 Nov 1992 22:52:00 GMT
X-Posted-From: snybufva.cs.snybuf.edu
NNTP-Posting-Host: sol.ctr.columbia.edu

Does anyone know of a way, in Turbo C, to allow a graphics page to be opened in
the top half or so of the screen and then plain text mode left open in the
bottom half (i.e.  VGA graphics mode in pixels 0-100 and 80 column text mode
in the remaining pixels)... is this even possible?

Thanks in advance,
Rob Lizak Jr.

lizak98@snybufva.cs.snybuf.edu
lizak98@snybufva.bitnet
From: M.E.Bullivant@bradford.ac.uk (Martin Bullivant)
Newsgroups: comp.os.msdos.programmer
Subject: Disable CTRL+BREAK from a TP6 program
Date: 18 Nov 92 14:18:29 GMT
Organization: University of Bradford, UK
Originator: 89067960@ccw311
X-Newsreader: TIN [version 1.1 PL6]

Peeps,

I am writing a TP6 program which requires the CTRL+BREAK sequence to be
disabled, as it loads in data tables and manipulates them in real time.
If CTRL+BREAK is pressed then the program bombs out and leaves the tables
in a real mess.

I've tried adding the line SetCBreak(FALSE) to the start of the main loop,
and indeed the status is changed, but I can still Break out of the program.

Can someone please help me before I pull my hair out?

Cheers,

Martin Bullivant (M.E.Bullivant@uk.ac.bradford)

-- 
The victors invariably write the history to their own advantage.
    -- Picard, "Contagion", stardate 42609.1
From: tcscs!zeta@src.honeywell.com (Gregory Youngblood)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Help on changing Copy
Keywords: Midnight Arrow
Date: Mon, 23 Nov 92 00:14:12 CST
Reply-To: zeta%tcscs@src.honeywell.com
Organization: TCS Consulting Services

sabre@microsupport.sas.upenn.edu (Andrew White) writes:

> In article <v3gq0yl@lynx.unm.edu> moeur@chtm.eece.unm.edu (Bill Moeur) writes
> >In article <Bxn4nE.8IH@news.cso.uiuc.edu> jlamb@ux4.cso.uiuc.edu (Jeffrey Ri
> >
> >>to kill machines. I'm not trying to write a virus. I made a bet with
> >>a friend that the copy command (or any other internal dos command)
> >>could be "turned off." What I want to do is simple. I want dos to access
> >>a file called "copy.bat" whenever anyone types in a copy command. The
> >>problem is that dos always checks for internal commands (copy) first,
> >>so dos never even looks at copy.bat, it just declares invalid number of
> >>parameters. I'm sure this can be avoided, but how? Again, I know it sounds
> >
> >If you're using DOS 5.0, try using doskey to alias the copy command to call
> >your batch file which is called something beside copy.bat.
> >for example:
> >     DOSKEY copy=copy2 $1 $2
> 
> My freshman year, we did something like this to a friend's computer
> by using DEBUG to change the name the DIR command in COMMAND.COM to
> DXR (or whatever), and then creating a hidden batch file in the
> path called "DIR.BAT" that contained one line:
>  
> @DIR C:\
> 
> so that whenever he did a DIR, he only saw the contents of the root
> directory.  It was quite funny.  Anyway, you could change the COPY
> command in a similar manner, albeit this is not a general solution
> to the problem.

I did something similar a while back using Norton's Disk Editor and modifying
CD (in command.com) to ZZ and then used a program called Led's Change Directory
(LCD) (renamed to CD on my system).  This way whne I typed CD I had the 
'smart' change directory program try to match the closest directory to what
I typed.  It was quite useful.

Greg

.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.
.   TCS Consulting Services   P.O. Box 600008   St. Paul, MN  55106-0008    .
.   ..!srcsip!tcscs!zeta                 ..!src.honeywell.com!tcscs!zeta    .
.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.
Newsgroups: comp.os.msdos.programmer
From: jfmburg@cs.vu.nl (JFM Burg)
Subject: redundant open-error
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
X-Newsreader: TIN [version 1.1 PL7]
Date: Fri, 20 Nov 1992 11:10:03 GMT

Hey,

I've got an application which reports the error 'redundant open' before it
fails. My first analysis was, that my application tries to open a file
which has already been opened. Is this correct, or could there be another cause?
If my analysis is the right one, how can I close a file opened by my
application?

thanx in advance,

				Hans
-- 
				Hans Burg
				Vrije Universiteit
				Amsterdam, Holland
				e-mail : jfmburg@cs.vu.nl
Newsgroups: comp.os.msdos.programmer,comp.os.ms-windows.programmer.misc
From: ngorelic@speclab.cr.usgs.gov.cr.usgs.gov (Noel S. Gorelick)
Subject: Re: Poll : Microsoft support on the Internet
Reply-To: ngorelic@speclab.cr.usgs.gov
Organization: MercWorks, Denver
X-Newsreader: TIN [version 1.1 PL6]
Date: Tue, 17 Nov 92 05:03:09 GMT

Doug Sewell (doug@cc.ysu.edu) wrote:
> olga@csiatl.Gwinnett.COM (olga from the volga) writes:
> > jlorimer@smaug.dvr.ppoc.com (John D. Lorimer (PPOC systems administrator)) writes:
> > > Absolutely a vote for "Yes Microsoft support on Internet".  
> > > Since I have made no plans to support Compuserve nor will I.
> > 
> > YES YES YES !!! I support it also!
>
> Interesting enough, they have a FREE bulletin board system, that I have
> to call long distance to access.  But they don't have any form of anony-
> mous FTP to get the same things as are on the board.

Of course, I wish to add my YES vote here, but I did not see the original
article.  Is this a poll by someone at Microsoft?  Or just another net.dude?
(ie: is it an offical kind of thing, or just someone making noises?)

Incidentally, does anyone have an archive of the stuff that gets put on 
Compuserve?  Either the technical discussions or the files?   

--
"You want it should sing too?"   | /*  Yeah we got dogs and Valvoline
  ngorelic@speclab.cr.usgs.gov   |     Its a pretty damn good time.    */
"Life is pain. Anyone that tells you different is trying to sell you something"
Newsgroups: comp.os.msdos.programmer
From: nwalczak@dcs.warwick.ac.uk (Nick)
Subject: Null modem connection?
Organization: Department of Computer Science, Warwick University, England
Date: Wed, 18 Nov 1992 10:31:46 GMT

Hi,

i have a new PC (with 3.5'' drive) and an old PC (with 5.25'' drive).  I
want to transfer files from one to the other without having to buy an external
disk drive.  Is there a method of joining one machine to the other by their
serial ports or something?

Nick Walczak
Newsgroups: comp.os.msdos.programmer
From: jbs@rti.rti.org
Subject: More trouble with WATCOM C and PharLap 386|DOS-Extender
Organization: Research Triangle Institute, RTP, NC
Date: Mon, 23 Nov 92 19:26:39 GMT

In article <1992Nov21.090222.17117@debbie.cc.nctu.edu.tw> cschen@csie.nctu.edu.tw (Chih-Shen Chen) writes:
>
>	With WATCOM C/386 and PharLap 386|DOS-Extender, I failed to change
>the interrupt vector in protected mode.  WATCOM C/386 is new to me.  So I 
>am wondering if there's anyone be so kind to give me some help, I will will
>sincerely appreciate that.

I also have had trouble with this compiler/extender combination. My
trouble has been with the _dos_findfirst and _dos_findnext functions. With
the DOS/4GW extender, they work fine.  With the PharLap extender, they
don't work (they return the correct value for the number of files they
should be finding, but the structure that should contain the file information
(name, size, etc.) is empty/uninitialized.

I am beginning to suspect that these are genuine bugs rather than
something I'm doing wrong, since Watcom has not called me back in over a
week despite the message on their answering machine promising to call me
back within one business day.

  -joe
Newsgroups: comp.os.msdos.programmer
From: jenk@microsoft.com (Jen Kilmer)
Subject: Re: Poll : Microsoft support on the Internet 
Date: 23 Nov 92 06:16:23 GMT
Organization: Microsoft Corporation

In article <722346173snx@apusapus.demon.co.uk> tfj@apusapus.demon.co.uk (Trevor Jenkins) writes:
>
>In article <1992Nov18.190043.12352@borland.com> dave@borland.com writes:
>
>> Borland International               |     Winners make it happen!
>> dave@borland.com                    |
>
>It ought to be obvious to Microsoft that their competitors ARE using the
>Internet.
>
>Regards, Trevor.

Trevor,

You seem to be stating that Borland does support on the net (me,
I don't know) and Dave in specific.

Is Dave an OFFICIAL Borland presence on the net (ie, providing
support, taking bug reports, etc) or someone who happens to 
work for an employer who provides net access as a free benefit?

Like Dave, the "@" in my email address has definite name recognition.
Using the net is a fun benefit as far as I'm concerned :> If 
that's what it is to Dave, then I question your remark. If not,
sorry.

I've had enough net.encounters where it's been assumed I speak
for microsoft, and I've received enough emails that start with
"you fucking microshit..." that I am somewhat sensitive to the
fact that posting from your employer's machines does not mean
you represent your employer.  (One advantage of the non-computer
related groups is the large number of people who don't know 
WHAT microsoft IS. :-)

:>

-jen
ObDisclaimer: no, I'm not speaking for microsoft, okay?????? 

>
>---------------------------------------------------------------------------
>Trevor Jenkins                                                Re: "deemed!"
>134 Frankland Rd, Croxley Green, Rickmansworth, WD3 3AU, England
>email: tfj@apusapus.demon.co.uk                               radio: G6AJG  
>phone: +44 (0)923 776436
From: warlok@rhps.chi.il.us (Jon L Fincher)
Newsgroups: comp.os.msdos.programmer
Subject: Re: What Borland C library calls that use DOS?
Date: Mon, 16 Nov 92 18:39:59 CST
Organization: CrissySoft Incorporated

fs8j@uvacs.cs.Virginia.EDU (Fraser Street) writes:

> Does someone have a list of Boralnd C library functions that make use
> of DOS (the int 21 API).  I can't find any list of these calls in the
> Borland documentation.  

Try investigating any functions declared in dos.h.

You could find them out yourself by installing a small TSR that hooks
INT 21h, then when called, simply dumps the CS:IP of the calling code
either to the screen or a file, and calls DOS.  The CS:IP will be
on the stack under the register values, 16 or 18 bytes down from SP.

Sorry I couldn't be of more help.

J.L.Fincher, Warlok
From: jos@and.nl (Jos Horsmeier)
Newsgroups: comp.os.msdos.programmer
Subject: Re: BorlandC++ and dynamic mem allocation
Date: 22 Nov 92 14:31:52 GMT
Organization: AND Software BV Rotterdam

In article <1992Nov22.014208.2932@samba.oit.unc.edu> jdmce@med.unc.edu (Duncan McEwen) writes:

[ ... ]

|So, I switched to the the "compact" compiler option.  Again the
|program worked ok, but if I increased numInRange (see Malloc)
|to around 10000, the program misbehaved and seemed to wipe out
|part of resident command.com.  That is, the program ran ok but
|dos was then not able to load command.com
|
|Does anyone have an hints as to something obvious I may be missing
|that could acount for dynamically allocated memory being so naughty?

[ Deleted all but the relevant parts ... ]

|      /*   initialize some variables  */
|	if ((primArray = (long *) malloc(numInRange)) == NULL)

           /* ... */

|	for (i = 0; i < numInRange; ++i)
|		   *(primArray+i) = firstInRange++;

You're allocating numInRange bytes, but you need numInRange*sizeof(long)
bytes. A typical sizeof(long) is four bytes, so you only allocated a
quarter of what you really needed, thereby destroying memory that
doesn't belong to your process. Try this:

	if ((primArray = (long *) malloc(numInRange*sizeof(long))) == NULL)

BTW, *(primArray+i) is just an ugly way (IMHO) of expressing primArray[i].

kind regards,

Jos aka jos@and.nl
From: wdrdjh@thor.cf.ac.uk (Dr D J Harvey 92)
Newsgroups: comp.os.msdos.programmer
Subject: Borland C++ 4.0 - Who knows What?
Date: 17 Nov 92 10:28:49 GMT
Organization: University of Wales College of Cardiff, Cardiff, Wales, UK
X-Mailer: Cardiff Computing Maths PP Mail Open News Gateway

I've heard a rumour that Borland C++ 4.0 is due to ship at the end of this
year and will include a DOS extender.  How well founded is this this
info?  Also, does anyone knwo (or have any idea) what the compliance
modes (e.g. DPMI etc) of the extender will be and whether there are
likely to be any distribution royalties on programs that include it?

Dave Harvey
harveydj@cardiff.ac.uk
+44 222 552588
Dept Radiology
University Hospital of Wales
Heath Park
Cardiff CF4 4XW
UK
Newsgroups: comp.os.msdos.programmer
From: gay@beaufort.sfu.ca (Ian D. Gay)
Subject: Re: BC++ & Serial IO - is there an easy way?
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Sun, 22 Nov 1992 05:04:47 GMT

s1110238@giaeb.cc.monash.edu.au (Lee Hollingworth) writes:

>mjr@ursa.calvin.edu (Matt Ranney) writes:

>>I'm using BC++ 3.1, and I'm trying to write a program that does some
>>simple serial IO at 9600 baud on COM1.  I typed in the bioscom example
>>from the book, but that doesn't work.  Every time it goes to send a
>>character, the machine hangs for like 2 seconds, and it never thinks
>>there is any data waiting to be read.  It does this on every machine
>>I've tried it on, although they are all the same kind of machine:
>>386sx's.  Has anybody else had this problem?

>I do not use BC++, however the source of your problem may be the fact
>that you are trying to use 9600 baud, for polled serial communications.

>Using this method the data speed should be limited to 1200 bps.  For
>speed greater than this you need to install an interrupt handler to
>handle interrupts generated by your serial port.

This is not correct, the bios routines work ok at 9600 even on a 5MHz 
XT, if you're not trying to do something else at the same time. (In 
which case you do need interrupt-driven I/O).

The source of the problem is most likely that whatever your comm port 
is connected to is not asserting DSR and CTS. The bios routine will 
not transmit until these signals are both high, and just times out in 
a second or two, without transmitting anything, if they never go high.
Newsgroups: comp.os.msdos.programmer
From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
Subject: Re: Undocumented commands for MSDOS
Organization: Queen's University
Date: Wed, 18 Nov 1992 15:46:21 GMT

In article <1992Nov18.040449.20732@vpnet.chi.il.us> cgordon@vpnet.chi.il.us (gordon hlavenka) writes:
>Hmmm...  I just shelled out and tried "truename pkunzip.exe".  It
>returned "D:\TELIX\PKUNZIP.EXE" although pkunzip is actually in
>C:\UTIL.  Next I tried "truename nosuch.fil" and got
>"D:\TELIX\NOSUCH.FIL".  So I guess we can see why it's undocumented :-)

I think it returns a fully expanded version of a filename, usable 
below the level where SUBST works. For example, if you had tried 
  echo junk >pkunzip.exe
then you wouldn't have trashed the uncompressor, you would have created a 
new file, which on a barebones system would be D:\TELIX\PKUNZIP.EXE.  If you
happen to have "SUBST D: C:\NEVER\NEVER\LAND" in effect, then the "truename" 
won't be usable until you go below the SUBST (or get rid of it).

It's still a mystery to me why this command is there.  Are there any DOS 
utilities that routinely go below SUBST?  Perhaps the equivalent of
  SUBST F: `truename .`
would be handy in a batchfile.  (I'll have to defer to the batch wizards to
actually come up with a working batch file to do this.)

Duncan Murdoch
dmurdoch@mast.queensu.ca
Newsgroups: comp.os.msdos.programmer
From: malcolm@muir.demon.co.uk ("Malcolm S. Muir")
Subject: Re: BC++ time related Global Variables - need Help 
Distribution: world
Organization: Muir
Reply-To: malcolm@muir.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.18)
Date: Tue, 17 Nov 1992 11:34:42 +0000


In article <BxsAGt.4CG@news.cso.uiuc.edu> macg9505@uxa.cso.uiuc.edu writes:

>
>      
>      This is probably too simply for you C/C++ gurus out there, but how does
>one set the global variables for timezone and day light savings in BC++?
>The following doesn't work:
..
>No matter what value is entered for timezone, the gmt value doesn't change. 
>Since the gmt is a function of localtime, timezone, and daylight, it should
>change. If the above code (with appropriate #includes) is run, the gmt
>computed is the same regardless of the value timezone is set to, or the value
>of daylight.  Using the tzset alternative has little value as well:
..
>I've yet to get the gmt, or any other time function to respond differently by
>any setting of the "TZ" variable, save for the middle number.  So if someone
>could please explain, either what I'm doing wrong,( I'd like to have the user
>enter the difference between gmt and local time, and whether daylight savings
>is in effect, and set the appropriate values myself), or confirm something is
>amiss, I would be greatly indebted.  I wouldn't even complain if Borland
>responded, since I've already spent 90 min. on hold over the last week and
>have given up on tech support. Post or email to macg9505@uxa.cso.uiuc.edu 

The Borland time functions are a disaster. The USA daylight savings dates
are hard coded into the library and the daylight saving part of tz is ignored.

If you live in an area that uses dates *other than* USA dates for the start
and end of daylight savings you are up the proverbial creek. 

Also if you do not specify a timezone the library assumes you are set to
GMT and deducts 6 hours, If you specify tz=GMT it makes the same (-6 hours)
assumption. tz=GMT0 is required and treat the same as tz=GMT0BST if the
date specifies a date when daylight savings are not in effect in USA.

At least Microsoft get this one correct.

-- 
=============================================================================
Malcolm S. Muir                              EMAIL: malcolm@muir.demon.co.uk
Sunderland                                   CIX: mmuir BIX: mmuir
England                                      CSERVE: 100012,31
======================= PGP 2.0 Public Key Available ========================
Newsgroups: comp.os.msdos.programmer
From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
Subject: Re: Borland C++ 4.0 - Who knows What?
Organization: Queen's University
Date: Tue, 17 Nov 1992 13:44:50 GMT

In article <4205.9211171028@thor.cf.ac.uk> wdrdjh@thor.cf.ac.uk (Dr D J Harvey 92) writes:
>I've heard a rumour that Borland C++ 4.0 is due to ship at the end of this
>year and will include a DOS extender.  How well founded is this this
>info?  Also, does anyone knwo (or have any idea) what the compliance
>modes (e.g. DPMI etc) of the extender will be and whether there are
>likely to be any distribution royalties on programs that include it?

Since Borland Pascal 7 has now shipped and includes a royalty-free DOS 
extender, it seems a pretty good bet.  The extender works with DPMI, not 
VCPI, but provides a DPMI server that can run in a VCPI system (like QEMM 
and Desqview).  It should also run on a bare system with no server, but I 
haven't tried it yet.

The extender supports DLLs in the same format as Windows uses, so you can 
share the same code in Windows apps and DOS apps.

It's only a 16 bit extender, so you're still stuck with 64K segments.  
That's the only major negative I've seen so far.

Duncan Murdoch
dmurdoch@mast.queensu.ca
Newsgroups: comp.os.msdos.programmer