HDTenEightyP/NetNews huggingface dataset:
From: bx304@cleveland.Freenet.Edu (Jeff Epler)
Subject: Re: How can I redirect STDERR into a file ?
Reply-To: bx304@cleveland.Freenet.Edu (Jeff Epler)
Cc: tamari@bimacs.bitnet
Organization: Case Western Reserve University, Cleveland, OH (USA)
Date: Mon, 17 Aug 92 15:49:04 GMT


In a previous article, tamari@bimacs.BITNET (tamari zvi) says:

>Hi,
>
>  So, the question is how can I redirect these error messages into a file ?
>  (it does'nt have to be the output file.

The command CTTY could be used in a batch file.  Its effect is to
redirect input and output, including stderr.  Something like this:

ctty errors.txt
%1 %2 %3 %4 %5 %6 %7 %8 %9 <con >con
ctty con

This would cause the errors to be redirected to 'errors.txt' but input
and output would still come from the console.

If you use 4DOS, the pipe '>&>' directs only stderr to the following
file. '>&' directs both stdout and stderr.

-- 
|Jeff Epler               Additions Welcome           c(-8 ;-) >{8-) |
| :) (=( =-] (-= Celebrating the variety of faces =-> :^) {-= |-) (: |
|                                                   Lincoln, Nebraska|
Newsgroups: comp.os.msdos.programmer
From: blo@fwi.uva.nl ()
Subject: some questions
Organization: FWI, University of Amsterdam
Date: Mon, 17 Aug 1992 11:25:52 GMT

I'm current doing a project with some friends ,from which the following
questions have arised :
- Is there any possibility to connect multiple keyboards and mice (via a
  couple of serial ports? 
- Are there any good books on how to write drivers?
- Is it possible to link the generated object-code of different languages
  ( e.g. C, Pascal, C++, etc.) with each other to one executable?

Thanks in advance and BTW these questions concern 386 and higher PC's

Benny Lo

Xref: sparky comp.os.msdos.programmer:8601 comp.os.msdos.apps:4395
From: unisysmi!albaugh@sharkey.cc.umich.edu (Kevin Albaugh x4325)
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.apps
Subject: Re: What is the BEST make utility for DOS development?
Date: 14 Aug 92 15:46:07 GMT
Organization: Unisys Corp. Plymouth Development Center, Plymouth, Michigan

>I am looking around for a good MAKE for DOS development (primarily C,
>but I also use MAKE for various other file management tasks).

Intersolv bought the company Polytron, makers of version control software
(PVCS) and an accompanying make product (PolyMake).  These originated as
quasi-ports to the DOS environment of UNIX sccs and make.

KLA   Unisys Corp., Plymouth MI   Engineering Process Group   #########
                                                              # < #   #
                                                              ###   # #
                                                              ##### # #
                                                              #########
From: kroytin@vpnet.chi.il.us (Kevin J. Fagan)
Newsgroups: comp.os.msdos.programmer
Subject: One-pass DISKCOPY out there?
Date: 16 Aug 92 04:55:05 CDT
Keywords: diskcopy, expanded memory

Has anyone been able to write a 'one-pass' diskcopy routine
yet?  I have tried, but have been unable to write the code
to check & format an unformatted target disk.  With 2 & 4 meg
machines out there I figured someone has already written one.
Suggestions & source code hints would be appreciated.
Thanks

kroytin @ vpnet
(708) 206-1927   P. O. Box 772, Midlothian, IL 60445

Newsgroups: comp.os.msdos.programmer
From: digiuser@robert.byu.edu (Robert Perkins)
Subject: Accessing the partition tables and the CMOS memory on a PC: how do you do it?
Reply-To: Rob_Perkins@byu.edu
Organization: Brigham Young University -- Mathematics Department
Date: Sun, 23 Aug 92 00:04:51 GMT

I want to be able to access and alter the partition table on fixed disks that  
are installed on a PC (be they IDE, MFM, SCSI, ESDI, I don't care, I need a  
general method that works for all types of drives...) for a program I'm writing  
(a learning excercise really), as well as looking at CMOS memory (the  
configuration memory that every pc has these days...) to determine the types of  
drives installed...

Can someone point out a method, or several methods, to do this? Or post  
references to literature that will point me in the right direction? Much  
appreciated,

--
Rob Perkins
--BYU Systems Software Support Technician--
And then the Programmer, tired and worn from reality, slipped quietly into  
protected mode, never to be seen by anyone again...
***Rob_Perkins@byu.edu NeXTMail welcome!*** 
Newsgroups: comp.os.msdos.programmer
From: sjm@miles.com (Scott Mark)
Subject: SVGA: what is the Paradise WD90c30 chip?
Organization: Miles Inc., Diagnostics Division, Elkhart, IN
Date: Fri, 21 Aug 1992 13:44:39 GMT

I've found a graphics card that has a Western Digital WD90c30 chip on it.
(Western Digital also makes Paradise and Verticom video cards)

What's the skinny on this chip?  Is it accelerated?  I believe that it has
some support for 1280x1024 interlaced, and high color in some modes, but both
require the Sierra RAMDAC.

Mostly, I want to know if it has accelerator functions, or if it is merely
dump, but high-res, SVGA.

Scott Mark
sjm@miles.com
From: beaurega@ireq.hydro.qc.ca (Denis Beauregard)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Random numbers in assembly language
Date: 17 Aug 92 18:45:50 GMT
Organization: Institut de recherche d'Hydro-Quebec, Varennes, Canada

I don't see how you could generate random numbers using a timer, except
for the 1st number ;-)

So, another solution :

From Electronics, May 27, 1976.

You will have to consider a word or a byte and a few bits (or taps) in it.
You shift the word and insert a value (i.e. carry) that is one or zero
depending on the added value of the taps (with a xor operator).

carry = A xor B xor C, when A, B and C etc. are taps.

For the longer sequence, with one byte, use:
bits 1 and 7 or 3 and 7 (i.e. carry depends on bits 1 and 7, then do a ROT).

For a word (15 bits in the example), you will get 32767 consecutive different
pseudo-random values from : 1 and 15, or 4 and 15 or 7 and 15.

For a double word (31 bits), taps are 3 and 31, 6 and 31, 7 and 31 or
13 and 31 (2,146,483,647 values).

For the exact programming, I leave it to the original poster!  After all,
you selected Assembly because it was too easy otherwise...

P.S.  I used taps because the original article is for an electronics device.
Taps are selected bits.

P.P.S.  You still select the initial value from a true random event like
the initial clock value, but don't use the 18.2 clock (not enough random).

-- 
  \_\    Denis Beauregard  *  internet:beaurega@ireq.hydro.qc.ca
 /   \   Genealogiste officiel : Beauregard/Jarret/Jarest/Vincent
J   __>  Barthelemy Jarret (1471) -> Andre Jarret, sieur de Beauregard (1665)
\_.-===   -> Denis Beauregard (1992)                  Opinions ? Et pis non !
Newsgroups: comp.os.msdos.programmer
From: gregh@alw.nih.gov (Gregory Humphreys)
Subject: Re: Modifying COMMAND.COM
Organization: National Inst. of Health, DCRT, CSL
Date: Thu, 20 Aug 1992 21:29:59 GMT

I have used a hex editor to modify DOS (command.com) all over the place inlcudeing all the copyright notices (no flames about microsofts legal rights, ok?) and it worked fine.  my guess is debug screwed up somewhere... lok at the file sizes or something.

-- 
Greg Humphreys    |  "Playing not to win is like sleeping with your 
gregh@alw.nih.gov |  sister - sure, she's a great piece of tail, 
                  |  and she's got a bag full of goodies, but it's 
(301) 402-1817    |  just plain illegal."  -Charlie Sheen, "Hotshots"
From: tamari@bimacs.BITNET (tamari zvi)
Newsgroups: comp.os.msdos.programmer
Subject: How can I redirect STDERR into a file ?
Keywords: msdos, stderr
Date: 16 Aug 92 19:15:12 GMT
Organization: Math & CS, BarIlan U, Ramat-Gan, Israel

Hi,

  I have a little problem, and hope that someone out there may be able to help.

  I wrote a program in Turbo Pascal that executes dos command and redirect it's
  output into a file.
  However, when an error accours the error message appear on the screen rather
  than find it's way into the output file.

  So, the question is how can I redirect these error messages into a file ?
  (it does'nt have to be the output file.

                                        Thanks in advance,
                                                Zvi Tamari.

                             tamari@bimacs.cs.biu.ac.il
From: ts@uwasa.fi (Timo Salmi)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Accessing the partition tables and the CMOS memory on a PC: how do you do it?
Date: 23 Aug 92 07:21:45 GMT
Organization: University of Vaasa, Finland

In article <1992Aug23.000451.14559@hamblin.math.byu.edu> Rob_Perkins@byu.edu writes:
>references to literature that will point me in the right direction? Much  

See if the followinghas anything of use

284028 Apr 15  1991 garbo.uwasa.fi:/pc/programming/helppc21.zip

..................................................................
Prof. Timo Salmi
Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
Faculty of Accounting & Industrial Management; University of Vaasa
Internet: ts@uwasa.fi Bitnet: salmi@finfun   ; SF-65101, Finland
From: glauber@vpnet.chi.il.us (Glauber Ribeiro)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Summary: P.D. MAKE for msdos
Date: 12 Aug 92 06:30:55 GMT
Organization: Vpnet Public Access


Here i am following up on myself, but i found another PD
MAKE that is worth mentioning here:

GYMAKE

PD1:<MSDOS.C>GYMAKE12.ARC


This is basically unix make, without the bug that MAKE-PD
(discussed in my previous article) has. It comes with
source and skimpy documentation, and takes about 30 of
memory when running.


Why i'm mentioning this? If all you need is unix
compatibility, you could as well use this one and not bother
learning the extra features of GNUISH make. If i had
obtained this while i was struggling to get documentation
for GNU make, i would probably have given up on GNUISH make
and used this one instead...


					Glauber

-- 
Glauber Ribeiro - Wheaton College, IL (USA)
  email: glauber@vpnet.chi.il.us
  big files and uuencoded stuff: gmribeir@david.wheaton.edu
From: ctvien@cs.concordia.ca (VIEN cam thanh)
Newsgroups: comp.os.msdos.programmer
Subject: Setting global environment
Date: 19 Aug 92 15:42:57 GMT
Organization: Computer Science, Concordia University, Montreal, Quebec

Is there a way to set variable in the global environment?

When I putting variables into the environment, I am only putting
them into a COPY of the environment. Is there a way to set/alter
variables in the global environment so that they remain in the 
environment after the program is terminated?

Thanks and regards


Cam
Newsgroups: comp.os.msdos.programmer
From: tom@fokus.gmd.de (Tom Pfeifer)
Subject: Turbo Vision .EXE size
Organization: GMD-FOKUS, Hardenbergplatz 2, 1000 Berlin 12, Germany
Date: Mon, 17 Aug 1992 09:49:43 GMT

I've seen some complaints about the size of Turbo Vision programs.

Don't forget to get rid of the debug information in your .EXE file.
The easiest way (instead of switching off in the IDE) is to run
TDSTRIP filename. My last application shrunk from 900K with to 200K
without the debug info.

Tom

Newsgroups: comp.os.msdos.programmer
From: ts@uwasa.fi (Timo Salmi)
Subject: Re: 4DOS diversion (Was Re: A batch programming contest for you)
Organization: University of Vaasa, Finland
Date: Thu, 20 Aug 1992 05:08:56 GMT

In article <1992Aug19.235621.4172@usenet.ins.cwru.edu> bx304@cleveland.Freenet.Edu (Jeff Epler) writes:
>In a previous article, ts@uwasa.fi (Timo Salmi) says:
>
>>In article <!00mmbb.messina@netcom.com> messina@netcom.com (Tony Porczyk) writes:
>>The funny side of it is that it is almost predestined that when an
>>MsDos problem is posed some dedicated soul suggests using 4DOS. 
>>(Which, I repeat, is an impressive and useful interpreter, but that
>>still is beside the original question). 
>
>Well I was the guy who was destined to bring it up this time, but I
>*did* still express interest in the way you people would do it..
>
>Which you conveniently failed to quote in your reply.. :)
>-- 
>|Jeff Epler               Additions Welcome           c(-8 ;-) >{8-) |
>| :) (=( =-] (-= Celebrating the variety of faces =-> :^) {-= |-) (: |
>| >X^P                                              Lincoln, Nebraska|

Yes, most certainly, and now duly noted so.

Ok, I'll now do as you wish, but it is not usually a good net
practice to go quoting away the entire postings.  :-) :-) :-)

Tryly.  Don't take anything of this in a negative spirit.  Mine was
an just an observation of a frequent practice, with no ill
intentions.  Please do enjoy both the discussion about 4DOS vs
COMMAND.COM, and the MsDos brain teaser. 

   All the best, Timo

..................................................................
Prof. Timo Salmi
Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
Faculty of Accounting & Industrial Management; University of Vaasa
Internet: ts@uwasa.fi Bitnet: salmi@finfun   ; SF-65101, Finland
Newsgroups: comp.os.msdos.programmer
From: dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL)
Subject: Re: VGA buffer address
Originator: dspascha@c00083-100lez.eos.ncsu.edu
Reply-To: dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL)
Organization: North Carolina State University, Project Eos
Date: Sat, 22 Aug 1992 20:06:04 GMT


Standard CGA-compatible text modes use B800h as their buffer address, but EGA/
VGA/MCGA graphics modes use up to 64K starting at A000.  However, if you're
trying to directly read or modify pixels in graphics mode, you'll have to play
around with the hardware registers, since the EGA and VGA map 256K or more into
a space of just 64K.

Tschuess,
David Paschal
Newsgroups: comp.os.msdos.programmer
From: uzun@crash.cts.com (Roger Uzun)
Subject: IDE Read Sector/ Write Sector/ Get Config
Organization: CTS Network Services (crash, ctsnet), El Cajon, CA
Date: 11 Aug 92 13:21:58 PDT

I need to get the drive config, read and write sectors from
an IDE drive, without using the BIOS or DOS at all.
Can someone recommend an article or book which describes
how to do this, via EMAIL to me if possible (my site sometimes
misses some msgs)
--------------------------------------------------------------
bix: ruzun
NET: uzun@crash.cts.com
From: millard@acsu.buffalo.edu (Peter G. Millard)
Newsgroups: comp.os.msdos.programmer
Subject: Need help reading directory structures?
Date: 14 Aug 92 20:23:16 GMT
Organization: UB

I was wondering what is the easiest way to check for and see
if input is a directory or file (is this possible via interrups or
something like them?)

For example, at a prompt someone can type in either a filename
or a directory (to search). I need to distinguish between the two.
(ie. if they type in a filename, load the file...if it's a directory,
jump to another subroutine to search the path w/ specific file specs and 
show results in window,etc...)The problem I have is I don't know how
to ask the drive if the input is a file or a dir..

Is there an easy way to do this?

Any replys can either be e-mail (if you don't want to waste bandwidth) or post
(if you do :)

Thanx in Advance.
-peter

-- 
******************************************************************************
	Peter G. Millard  *  INTERNET: v057n5um@ubvms.cc.buffalo.edu           
 	SUNY @ Buffalo    *          : millard@acsu.buffalo.edu
*****************************************************************************
Subject: Source Code Handling 
Distribution: world
Organization: Demon Systems Limited / Demon Internet Services
Date: Wed, 12 Aug 1992 19:15:33 +0000

In article <2478@nic.cerf.net> preston@nic.cerf.net writes:
>
>I've used RCS under UNIX, but found the MSDOS port to have a major 
>limitation in that it can only handle one character filename extensions.
>
>This is a stopper for me, as I have both .C (C) and .CPP (C++) files in
>the same project.

I believe Nikki Lock's DOS port of RCS overcomes this limitation, but
I'm not 100% certain as I haven't used it. You could ask him by emailing
nikki@trmphrst.demon.co.uk.

Regards,

Mark.

/\/\ark Turner                               Demon Systems / Demon Internet
Office: mark@demon.co.uk (+44 81 349 0063)       42 Hendon Lane, London
Home: mt@kram.demon.co.uk (+44 831 823 212)         N3 1TT, England
From: n.margetic@ucl.ac.uk (Nino Margetic)
Newsgroups: comp.os.msdos.programmer
Subject: Parallel port I/O (mostly O : -)
Date: 19 Aug 92 13:53:59 GMT
Reply-To: nino@mph.sm.ucl.ac.uk (Nino Margetic)
Organization: University College London


Hi,

I am trying to write a driver for a device which accepts commands thru
the parallel port. I have used INT17 for that, and the thing works.
The way I've done it is simple - I am checking bit 7 after getting a
status info of the LPT port via INT17. When bit 7 is NOT_BUSY I send a
new character down the line.

I know that there is also a way to access the LPT port directly thru the
in/out commands and its 3 I/O registers. Are there any advantages (in
terms of speed) in using interrupt driven parralel I/O, as compared to
INT17 BIOS service as I have used it - if there is, how much, and is
it doable in C?? I can just about read assembler, but that's about it.

The speed of the application is crucial - I need to send as many bytes
thru the LPT port as possible (order of 1e6). N.B. does anyone know the
approximate number of bytes per second that can be sent thru the LPT port
via INT17 and/or interrupt driven parallel I/O??

Any suggestions, pointers, code snippets, anything, will be of immense value.
Thanx in advance.

--Nino

--
Janet: n.margetic@uk.ac.ucl                \     Nino Margetic         
Earn/Bitnet/Internet: n.margetic@ucl.ac.uk  \    University College London, UK
Bang: ...!mcvax!uknet!ucl!n.margetic         \   +44 71 387 9300 /x 53 13
Newsgroups: comp.os.msdos.programmer
From: woo@ra-next.arc.nasa.gov (Alex Woo x6010 227-6 rm 315)
Subject: Phar Lap 286 Dos Extender SDK
Reply-To: woo@ames.arc.nasa.gov
Organization: RIACS, NASA Ames Research Center
Date: Fri, 21 Aug 92 23:49:41 GMT


We are looking for someone with Borland C++ 3.1 and the complete
Phar Lap 286 SDK (not the crippled one shipped with 3.1) who is
willing to compile and link versions of gnuplot?  We would like to
have a distributable version of gnuplot which uses this DOS
Extender.

Drop me a note and me can work out the mechanics of this.
--
==============================================================
Alex Woo, MS 227-6               woo@ames.arc.nasa.gov
NASA Ames Research Center        NASAMAIL      ACWOO
Moffett Field, CA 94035-1000     SPANET        24582::WOO
(415) 604-6010 (FAX) 604-4357   {hplabs,decwrl,uunet}!ames!woo
==============================================================
From: rahmanqi@ERE.UMontreal.CA (Rahman Qazi Ibadur)
Newsgroups: comp.os.msdos.programmer
Subject: Microsoft Windows fonts
Date: 22 Aug 92 00:45:35 GMT
Organization: Universite de Montreal

Hello,

  Would anyone know the file stucture of microsoft windows fonts? 

rahmanqi@brise.ERE.UMontreal.ca
From: libh@Jane.UH.EDU
Newsgroups: comp.os.msdos.programmer
Subject: Re: Sorting/Printing
Date: 21 Aug 92 00:38:19 GMT
Article-I.D.: menudo.1992Aug21.003819.8961
Reply-To: libh@Jane.UH.EDU
Organization: University of Houston

In article <BtA5C2.HqE@world.std.com>, jkenton@world.std.com (Jeff Kenton) writes:
>In article <1992Aug20.022202.2349@menudo.uh.edu> libh@Jane.UH.EDU writes:
>>
>>  I am working on a project for a friend that requires me to sort a large file
>>of records (2000+ entries generally) that will change from month to month as he
[deleted]
>
>
>There are lots of different sorting techniques.  See Knuth, Volume 3.
>
>Before you actually go write a serious disk sort (it will teach you
>something worthwhile, of course) consider just sorting the new entries
>each month and merging them into the old (sorted) file.  Much quicker.
>
  I used to have access to Knuth and read it often but someone stole it from
the library.  Also, the problem with sorting the new files and merging is that
each month will be a seperate file that shouldn't be merged.  (January,
February, etc.....).
From: z_harbergt@ccsvax.sfasu.edu
Newsgroups: comp.os.msdos.programmer
Subject: Re: A Quick Basic Question !!
Date: 22 Aug 92 05:46:43 GMT
Organization: Stephen F. Austin State University

In article <1597@sousa.ltn.dec.com>, hemant@girl.enet.dec.com (Hemant Babtiwale) writes:
> I have a structural design application that was written in older version
> of Microsoft QuickBASIC. It runs on PC/AT, however, it does not support
> use of extended/expanded memory. It is slow...
> 
> I want to know if the latest version of Microsoft QuickBASIC has this
> support ?? What would be the best way to enhance the system performance
> if I wish to continue with BASIC  on PC/AT ?? 

  The "latest" version of QuickBASIC is 4.5 and was released by Microsoft
  in 1988.  There is no support for extended/expanded memory.

  The larger (i.e. more expensive) BASIC, the Professional Development System
  (PDS) is currently at version 7.1 and was released in 1990.  This $292
  system uses extended/expanded memory only in development not runtime,
  but does support overlays, non-destructive dynamic arrays and far strings.

  If your application does not employ graphicor floating point operations,
  your best bet to improve execution speed is to purchase Cresent Software's
  replacement link library, P.D.Q. for $115.

  Allow me to invite all interested QuickBASIC programmers to visit
  alt.lang.basic .  United we comp. , divided we alt.

  Greg Harber                        InterNet: z_harbergt@ccsvax.sfasu.edu
  Stephen F. Austin State University
Newsgroups: comp.os.msdos.programmer
From: riedling@eaeps1.tuwien.ac.at (Karl)
Subject: Re: COM3/4 problem.
Organization: Inst. for General Electrics & Electronics, TU Vienna
Date: Fri, 14 Aug 1992 14:55:20 GMT

In article <0095EBBC.51676F80@FHYDRA.FYSEL.UNIT.NO> dahls@fhydra.dnet.unit.no (Joern Yngve Dahl-Stamnes) writes:

>When is the IRQ required on a printer port. I have read that the DOS
>command 'print' need IRQ. What about windows. Does the print manager
>need IRQ? Or could I just remove my IRQ's from the LPTn ports and
>use them for my COM3 and COM4?

I know about only one place where you DO need an active IRQ on a printer 
port, namely, on a print server (or on a system running the RPRINTER 
program) under Novell's Netware 3.1.  You may get along without hardware 
interrupts on a dedicated print server, but you definitely need them in 
conjunction with RPRINTER.  (By the way, one of the major troubles there is 
that it is extremely difficult nowadays to get a printer card which (a) 
allows to enable/disable the hardware interrupt altogether, and (b) permits 
to select any other interrupt than IRQ7 (unless by using crude force and 
a soldering iron).  Therefore, you may have two printer cards in one system 
which work fine under DOS but which you hardly can get to work under 
Netware. -:()

   +-----------------------------------------------------------------------+
   | Dr. Karl Riedling               | Email: riedling@eaeps1.tuwien.ac.at |
   | Associate Professor             |                                     |
   | Vienna University of Technology | Phone: +43-1-58801-3846             |
   | A-1040 Vienna, Austria, Europe  | Fax:   +43-1-5052666                |
   +-----------------------------------------------------------------------+
Newsgroups: comp.os.msdos.programmer
From: morley@camins.camosun.bc.ca
Subject: Sound card libraries?
Organization: Camosun College
Date: Fri, 21 Aug 1992 23:22:02 GMT

Hi!

Can anyone out there point me to any C/asm libraries for working with different
sound cards (sound blaster/adlib/thunder board/etc)?

Thanks a bunch!

MARK
morley@camins.camosun.bc.ca