HDTenEightyP/NetNews huggingface dataset:
From: demillo@juliet.ll.mit.edu ( Robert DeMillo )
Subject: Re: Sockets under DOS ?
Organization: M.I.T. Lincoln Lab - Group 43
Date: 16 Apr 92 16:17:59

In article <1992Apr16.162005.28478@walter.bellcore.com> "Marek J. Fiuk" <fiuk@thumper.bellcore.com> writes:
> Hi !

Hello!

> I am looking for the software package (other then PC-NFS) implementing 
> sockets  interface to TCP/IP (stream / datagram) over Ethernet under
> DOS. Does anyone have  any suggestions?

Well, I realize that this response is *almost* non-information...but...
I do remember reading somewhere about a library that provides Berkeley
socket extensions to DOS/Windows. Although I cannot recall 
anything more about this product, the advise is: keep looking, it's out 
there.

> Thanks!

For what?


--
 - Rob DeMillo			| Internet: 	 demillo@juliet.ll.mit.edu
   MIT Lincoln Lab 		| Also Internet: rjd@brown.cs.edu
   Weather Sensing - Group 43	| Reality: 617-981-2105 (office)

"Operation Goofy now in effect!"
	--- Tom Servo, "Gamera vs. Gaos," Mystery Science Theater 3000
From: andywang@crown.berkeley.edu (Andrew Wang)
Newsgroups: alt.msdos.programmer
Subject: Re: How to test for key ALREADY pressed
Date: 16 Apr 92 00:42:14 GMT
Article-I.D.: agate.siih6INNg1
Organization: University of California, Berkeley
NNTP-Posting-Host: crown.berkeley.edu

weather@sp90.csrd.uiuc.edu (Stephen A. Weatherford) writes:

>kentiler@matt.ksu.ksu.edu (Kent Iler) writes:
> 

>>Hello,
>>   Is there a way to test to see if a key is already pressed.  Let say I run
>>this program from the autoexec, and I want to see if the space bar is pressed.
>>If it is I want to do one thing, if not I want to do another.  I don't want to
>>wait there for a key to be pressed, just see if it already is.  I have C++ and
>>Turbo Pascal to program with.  Thanks.
>>						--Kent

>Check out kbhit() and ungetch() [I think this last one exists] in your
>TC++ manual.

>--Stephen
>----
>Stephen A. Weatherford (weather@csrd.uiuc.edu) "mann, wer haette das gedacht
>G.R.A., Center for Supercomputing R&D           dass es einmal soweit kommt
>U of Illinois at Urbana-Champaign               wegen 99 luftballons"

I only have QuickC info with me right now, but you can also try
(if it exists in TurboC in some form) "_bios_keybd(int param)"
where "param" is a code specifying if you'd like to check the keyboard,
or read from it, or something else. kbhit() does work well for most
cases though.

Andrew
Newsgroups: alt.msdos.programmer
From: geeslin@vms.ocom.okstate.edu
Subject: Re: Keyboard interrupt conflict?
Organization: College of Osteopathic Medicine, O.S.U.
Date: Mon, 13 Apr 1992 21:02:33 GMT

In article <sbe4gINN2a9@agate.berkeley.edu>, andywang@crown.berkeley.edu (Andrew Wang) writes:
> Hello,
>     I am having a problem with keyboard interrupts crashing my
> program.  It is a control program with a real-time hardware interrupt
> driven at 39 hz. Everything works fine until a) the keyboard buffer
> fills up and the computer tries to beep or b) sometimes a single keypress 
> will cause it to crash.
> 
> This is what I have in my (QuickC) interrupt handler:
> 
> void _far _interrupt() 
> {
>    reset_timer();		/* Reset hardware timer for next interrupt */
>    clr_int();			/* Clear interrupt request from timer */
>    outp(8259control,0x20);	/* Re-enable 8259 for next interrupt? */
>    _enable();
> 
> 
>    (body of interrupt handler)
> 
> 
> }
> 
> The interrupt handler takes maybe 1 - 4 milliseconds to complete.
> The program works on a 386-33, but neither of the AMI bios 486's
> that we have (25,33 mhz).
> 
> Here are the things I've tried:
> 
>    Removing _enable() will cause the program to crash after a certain amount
>    of time. This is possibly due to other interrupts not getting serviced? 
>    Refresh?
> 
>    Ignoring the keyboard entirely (not fetching any keys) will cause the
>    computer to crash when the buffer fills up and beeps.  Quick C says never
>    to use INT10 to beep when the video BIOS routines are running, otherwise a 
>    crash may occur. My main routine is very video-intensive, but I never TRY
>    to make the computer beep.  The interrupt handler does not touch video.
> 
>    Hmm, I tried some other things but now I can't remember!
> 
> Does anyone know how to disable the keyboard interrupt? I would like to try
> to disable it during my interrupt handler. I'll be sure to post a follow-up
> if this works!
> 
> Thanks in advance for any help you might be able to provide me!!!!
> 
> Andrew
> (arrgh!)

	I share your frustration!  I had the same problem with a
	routine to do reaction times.  In it, the speaker was being
	driven under program control and as soon as the respondent
	pressed the key (the object of the whole routine), the 486
	locked up.  Solution was to replace the keyboard interrupt
	handler address with an address of my own choosing.  Then I
	could watch for a keystroke, time it, and not let the system
	(the buffer) see it.

	Hope this helps!
	R*


-- 
Robert H. Geeslin, Ed.D.                    | Voice (918) |  Department
Geeslin@VMS.OCOM.OKSTATE.EDU                | 582-2681 day|      of
doing EDucational Programming for 20 years  | 224-0065 eve|  P. and B.S.
Newsgroups: alt.msdos.programmer
From: mkh@pacific.uucp (michael hamilton)
Subject: seagate bbs phone number
Followup-To: mkh@pacific.jpl.nasa.gov
Summary: my 4096 has taken a serious dump
Organization: Jet Propulsion Laboratory
Date: Sat, 11 Apr 1992 00:27:57 GMT

    Can someone send me the phone number for the Seagate BBS in southern
California (I think it's in SoCal).  My 4096 was subjected to a >1 hr power
outage while I was away, and I didn't get it until 4 days later... I need
to inquire about getting the damn thing looked at.  My UUCP site is
neglecting it's polls until I can get this fixed.

    Please reply via email to mkh@pacific.jpl.nasa.gov.  Thanks.

----
michael hamilton
mkh@pacific.jpl.nasa.gov / oceanography from space

Newsgroups: alt.msdos.programmer
From: Lou Glassy
Subject: for DOS CTTY command, what pins do I need?
Originator: icsu8209@nero.cs.montana.edu
Organization: MSU CS, Bozeman Mt
Distribution: usa
Date: Tue, 7 Apr 1992 18:40:42 GMT

Hello, all.

I've been trying to hook up a standard terminal to a PC through
the COM1 port using the dos CTTY command.  So far, no luck.  I've 
tried all manner of MODE settings for the com port, so far to no avail.
After doing the MODE command, as in

   MODE COM1:9600,n,8

I do a CTTY COM1

then get either something like

   ERROR WRITING DEVICE COM1 (ABORT RETRY IGNORE FAIL)?

or nothing at all.  The PC just hangs, and won't do anything else 
until it's been rebooted.

To connect the PC to the terminal, I've been using a DB9-to-DB25
cable (DB9 on the PC side, DB25 on the terminal side).  With a breakout
box, I've switched lines 2 and 3 on the terminal (DB25) end of the
cable.

Some different things I've tried are:
   - terminal and PC at 1200, 2400, 9600 baud
   - parity on and off, even or odd
   - 8/7 bits per character at both ends, with 0/1/2 stop bits.

and so far, nothing has worked.  The suspicion I've got, is that
something's wrong with the handshaking.

When I disassembled a terminal connector attached to the 
campus network, the only lines present in the terminal-end
DB25 were
   2  - red
   3  - green
   7  - black
   20 - green

Question:  what lines on the DB25 end of the DB9->DB25 connector
do I need to jumper together to get CTTY to work?

(The hardware I've been trying all this stuff on, is a DEC 386sx-16
for a PC, and an Ergo 301 MicroTerm (a vt100-clone) for a terminal.)

Thanks in advance,

Lou.

-- 
               "Open the pod bay doors, Hal."

            icsu8209@cs.montana.edu :: Lou Glassy
From: jwl3885@zeus.tamu.edu (THIS SPACE FOR RENT)
Newsgroups: alt.msdos.programmer
Subject: Re: tricky batch - help
Date: 7 Apr 92 18:09:00 GMT
Organization: Texas A&M University, Academic Computing Services
News-Software: VAX/VMS VNEWS 1.41

In article <92097.223002L28BC@CUNYVM.BITNET>, L28BC@CUNYVM.BITNET writes...
>I am trying to find a way to prompt a user to enter a filename.  The computer
>will then search for an existing filename and insert the filename and path
>into a variable.  Does anyone know or have an idea how to search for the files
>and insert their filename and path into a varialbe, if they exist or not ?

Best way I can figure would be to write a small program/utility to do just
that, then wrap a batch file around it.  Shouldn't be too hard to write...


Cheers,
John







Xref: sparky alt.msdos.programmer:1153 comp.lang.pascal:2884 alt.binaries.sounds.d:732
Newsgroups: alt.msdos.programmer,comp.lang.pascal,alt.binaries.sounds.d
Subject: SoundBlaster inoformation requested
From: khill@vax1.umkc.edu
Date: 12 Apr 92 16:50:44 CST
Organization: University of Missouri-Kansas City


	About a week ago I bought a SoundBlaster.  Since that time, I have
been sucking down files from every FTP sight that I got a reference to.  Not
to mention every NEWS GROUP that I thought might possibly have a discussion
on the SoundBlaster.  Well, to no avail, I have not found what I wanted so,
I realize this is probably a common question, I need info on how to program
the SoundBlaster -- IMHO, $150 for the card, a decent set of speakers, and
a decent mic needs a little more use than just to play video games.

	What I am primarily concerned with, at this time, is the format of the
.VOC files and how to get the SoundBlaster to play a .VOC file from a program
I write.  BTW, I would like to be able to play the .VOC file in the background.

	I enjoy the sound capabilities of the SoundBlaster, but I would like
to be able to use the SoundBlaster in my programs, and I would like to be
able to edit .VOC files.

	Please send my any info you may have, any places you know where I
can get info, any programs that do what I have requested (non-crippleware or
non-shareware prefered since I would like to be able to fully utilize the
program and possibly reverse engineer it, so not having to mess with copyrights
would be nice), any source code (I would REALLY - REALLY - REALLY appreciate
source code since this is much easier to understand than a straight .EXE
file).  No information will be treated as too insignificant or too
overwhelming.  The more information the better.

	I will compile an information file about SoundBlaster.  Incuding
any programs that I receive and and information about how to utilize it.
Anybody that wants the file, when it is completed, can e-mail me and
I will send it to you -- if there are a large number of requests I will
place it on an FTP sight.

	Think you for all the assistance I know I will receive.  

-- 
================================================================================
| Ken Hill              | The opinions in this letter are not mine.  They were |
| Amateur Mathematician | created by an evil computer with a mind of its own!  |
| Professional Paper boy|                                                      |
| KHILL@VAX1.UMKC.EDU   |   :)<-<   "HELP, I've fallen and I can't get up!"    |
================================================================================
Xref: sparky alt.msdos.programmer:1116 comp.os.msdos.programmer:5220
From: mike@vort.uucp (Mike Nemeth)
Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer,comp.msdos.programmer
Subject: looking for information on programming parallel ports
Date: 3 Apr 92 12:43:19 GMT
Distribution: na
Organization: VORT Computing, Calgary, Alberta, Canada

is it possible to program the parallel port(s) in such a way that an interrupt
is generated when a character is output? can the parallel port also be used
as an input device, and if so, is an interrupt generated when a character
arrives?

any book recommendations/reviews that deal extensively with serial/parallel
i/o are welcome. thanx in advance...

-- 
The Barbi Twins (TM) are the GNU Emacs of women.

Mike Nemeth           VORT Computing          mike@vort.cuc.ab.ca
Newsgroups: alt.msdos.programmer
From: jas37876@uxa.cso.uiuc.edu (John A. Slagel)
Subject: Re: Need a Good Program Editor
Organization: University of Illinois at Urbana
Date: Mon, 13 Apr 1992 19:08:21 GMT

sforslev@casbah.acns.nwu.edu (Susanne Forslev) writes:

>I have a consulting client who has a 54 mb DIF file that was lunched in
>three or four places.  Thanks to the Norton Utilities, I fixed a couple
>places, but I can only substitute instead of actually delete the bad
>records.  What I need is a good editor that can handle a file this large
>without taking 3 hours to load, so that I can get the file in a decent
>shape  to load into Paradox.  Another programmer sat on this project for
>weeks, so of course the project is overdue :-}.  Any help will be greatly
>appreciated. 

     Whenever I have a large file, I use WordPerfect. Load it as a 
     text file. WP swaps to/from disk and can handle pretty big files
     if I remember correctly. It's worth a shot, anyway...
From: ltao@netcom.com (Lilly Tao)
Newsgroups: alt.msdos.programmer
Subject: Using Overlays in BC (was Re: Borland has crummy documentation!)
Date: 9 Apr 92 20:34:19 GMT
Article-I.D.: netcom.yasjbbh.ltao
Organization: Netcom Online

In article <92094.143457U30471@uicvm.uic.edu> <U30471@uicvm.uic.edu> writes:
>  I'm developing an application in borland c++ 3.0.  I want to use
>overlays, and i followed all the instructions in the manual, and i
>get an overlaid module, but i am not sure of one thing.  The manual
>never states how the compiler breaks the program up into modules.  I
>have assumed that it breaks them up on the .obj file level( each
>.obj file being one overlay ) but later it states that more than
>one overlay segment may be created from one source file.  So
>which is it?!?  How do i tell the compiler which module is WHICH?
>
>  Thanks!
>
>
>--DAVE!!!

I just started using VROOOM overlays this week also, and have found
the Borland documentation severely lacking.  I went to the Computer
Literacy Bookstore to see if I could find any helpful info in any
Borland C books, but the only thing I could find was a chapter in
"Using Borland C++" (or something similar) which basically said exactly
what the documentation said but in different words.

If anyone out there has used overlays and has any helpful information
on setting a proper buffer size, swapping to EMS or XMS, or anything
at all related to VROOMM, I'd be very grateful (and I think DAVE!!! would too).
Also, if anyone can recommend any sources of information on VROOMM, that'd
be great.

One semi-helpful thing I've found is the map file generated by the linker.
It will show you the different segment labels and their code lengths,
which I assume could be handy in setting a good buffer size.

Surely someone has done this before :-)....

Lilly Tao	
ltao@netcom.com
GRiD Systems Corporation
Fremont, CA
Xref: sparky alt.msdos.programmer:1134 comp.sources.wanted:2490 alt.sources.wanted:840
Organization: University of Illinois at Chicago
Date: Friday, 10 Apr 1992 13:27:36 CDT
From: <U30471@uicvm.uic.edu>
Newsgroups: alt.msdos.programmer,comp.sources.wanted,alt.sources.wanted
Subject: Modeming software?

  Hello, I would like to try to write my own BBS program, along with a
terminal program that will allow graphics and other cool stuff.  So,
I'd like to get information about how to access a modem, or better
yet, bbs/term program sources, even if they are really bad/skeletal.  Can
anyone out there help me, even of only to point me to a good book?  Thanks.


--DAVE!!!!
Newsgroups: alt.msdos.programmer
From: sforslev@casbah.acns.nwu.edu (Susanne Forslev)
Subject: Need a Good Program Editor
Organization: Northwestern University, Evanston, Illinois
Date: Mon, 13 Apr 1992 02:52:50 GMT

I have a consulting client who has a 54 mb DIF file that was lunched in
three or four places.  Thanks to the Norton Utilities, I fixed a couple
places, but I can only substitute instead of actually delete the bad
records.  What I need is a good editor that can handle a file this large
without taking 3 hours to load, so that I can get the file in a decent
shape  to load into Paradox.  Another programmer sat on this project for
weeks, so of course the project is overdue :-}.  Any help will be greatly
appreciated. 

Thanks,

Sue Forslev

Newsgroups: alt.msdos.programmer
From: joe@proto.com (Joe Huffman)
Subject: Re: Fading, GIFs, special effects
Organization: Prototronics @ Sandpoint, Idaho
Date: Sat, 11 Apr 1992 20:18:05 GMT

robinsonm@clvax1.cl.msu.edu (Mike Robinson) writes:
>am also interested in figuring out how I can write a program to 
>display GIF images, but I don't quite know where to start.  Amy 
>help will be appreciated.

FlashTek, Inc. sells a graphics library (Flash Graphics) that comes with
the source code for a simple GIF viewer.  I occasionaly send out the
GIF viewer via email to people requesting it...

-- 
uunet!proto!joe
joe@proto.com
From: andywang@crown.berkeley.edu (Andrew Wang)
Newsgroups: alt.msdos.programmer
Subject: Keyboard interrupt conflict?
Date: 13 Apr 1992 07:44:16 GMT
Organization: University of California, Berkeley
NNTP-Posting-Host: crown.berkeley.edu
Keywords: interrupt real time

Hello,
    I am having a problem with keyboard interrupts crashing my
program.  It is a control program with a real-time hardware interrupt
driven at 39 hz. Everything works fine until a) the keyboard buffer
fills up and the computer tries to beep or b) sometimes a single keypress 
will cause it to crash.

This is what I have in my (QuickC) interrupt handler:

void _far _interrupt() 
{
   reset_timer();		/* Reset hardware timer for next interrupt */
   clr_int();			/* Clear interrupt request from timer */
   outp(8259control,0x20);	/* Re-enable 8259 for next interrupt? */
   _enable();


   (body of interrupt handler)


}

The interrupt handler takes maybe 1 - 4 milliseconds to complete.
The program works on a 386-33, but neither of the AMI bios 486's
that we have (25,33 mhz).

Here are the things I've tried:

   Removing _enable() will cause the program to crash after a certain amount
   of time. This is possibly due to other interrupts not getting serviced? 
   Refresh?

   Ignoring the keyboard entirely (not fetching any keys) will cause the
   computer to crash when the buffer fills up and beeps.  Quick C says never
   to use INT10 to beep when the video BIOS routines are running, otherwise a 
   crash may occur. My main routine is very video-intensive, but I never TRY
   to make the computer beep.  The interrupt handler does not touch video.

   Hmm, I tried some other things but now I can't remember!

Does anyone know how to disable the keyboard interrupt? I would like to try
to disable it during my interrupt handler. I'll be sure to post a follow-up
if this works!

Thanks in advance for any help you might be able to provide me!!!!

Andrew
(arrgh!)
From: sjmadsen@miavx1.acs.muohio.edu (Steve Madsen)
Newsgroups: alt.msdos.programmer
Subject: Re: for DOS CTTY command, what pins do I need?
Date: 9 Apr 92 17:07:04 GMT
Distribution: usa
Organization: Miami of Ohio

> I've been trying to hook up a standard terminal to a PC through
> the COM1 port using the dos CTTY command.  So far, no luck.  I've 
> tried all manner of MODE settings for the com port, so far to no avail.
> 
> When I disassembled a terminal connector attached to the 
> campus network, the only lines present in the terminal-end
> DB25 were
>    2  - red
>    3  - green
>    7  - black
>    20 - green

        My guess for the solution to this problem would be to make sure that
your DTR (data terminal ready) and the DCD (data carrier detect) lines are both
asserted (high) when you issue the CTTY command.

        I used this command to kludge a "shell to DOS" command for a BBS I ran
for my old high school last year, and this command was only used during an
online session when both DTR and DCD were high (since someone was calling in). 
This seems to make sense because CTTY needs to make sure that things it sends
can actually go out the port (which is only possible when DTR is high).

-- 
Steve Madsen       !  Internet: sjmadsen@miavx1.acs.muohio.edu  (preferred)
Miami University   !    Bitnet: sjmadsen@miavx1
Oxford, Ohio       !

"VAX.  For those who care enough to steal the very best."  -- A microscopic
  message on the silicon chip inside one of Digital Equipment's often stolen
  computer designs.
From: robinsonm@clvax1.cl.msu.edu (Mike Robinson)
Newsgroups: alt.msdos.programmer
Subject: Fading, GIFs, special effects
Date: 10 Apr 92 21:59:36 GMT
Reply-To: robinsonm@clvax1.cl.msu.edu
Organization: Unemployed Masters Degree Holders
News-Software: VAX/VMS VNEWS 1.3-4

Hi,

   I am wondering if anyone can point me to some source code that 
will show me how to do fading, color cycling, swipes, etc.???  I 
am also interested in figuring out how I can write a program to 
display GIF images, but I don't quite know where to start.  Amy 
help will be appreciated.

Thanks in advance,
* Robinson
From: carp@chopin.udel.edu (Joanna S Carpenter)
Newsgroups: alt.news-media
Subject: increasing newpaper readership
Date: 15 Apr 92 03:58:30 GMT
Organization: University of Delaware


Hi.  I'm a University of Delaware Journalism student, and I'm writing an articleon newspaper readership and what can be done to increase it--as well as         solutions for improving today's papers.

I'd love some input from other sources, so if you have any ideas, could you
please post them here, or e-mail me?

Thanks!

         ^^^^^^^
      /          \     /         Jodi Carpenter        837-6407   
    /  C   >        \ /  |       carp@brahms.udel.edu 
  {         >         \  |       Tech House Social Activities Coordinator 
    \      >       /    \  |------------------------------------------------- 
    wwwwwwwwwwwwwwwwwwwww  |  "O flesh, flesh, for thou art fishified."
                           -------          --romeo & juliet            
    "In the words of the immortal|------------------------------------- 
     Socrates, 'I drank what?'"  |  DRAGONRIDERS DO IT WYREVER! 
            --Real Genius        |-----------------------------              
---------------------------------    
Newsgroups: alt.news-media
From: chip@tct.com (Chip Salzenberg)
Subject: Re: Fu-hee-mori
Date: Fri, 17 Apr 1992 13:56:08 GMT
Organization: TC Telemanagement, Clearwater, FL

Well, I can give an authoritative answer to the Fujimori question.  My
Peruvian mother-in-law (a nice person -- really!) is right now in my
apartment.  I asked her how to pronounce the name of Peru's president,
and she answered:
  FU - HEE - MO - REE
BTW, the "H" is a slightly gutteral sound, like the "ch" of German or
Yiddish (or the lojban "x", for you conlangers).
-- 
Chip Salzenberg at Teltronics/TCT  <chip@tct.com>, <73717.366@compuserve.com>
      "Informix 4GL is not a 4G, and it's barely an L."  -- John Tombs
Xref: sparky alt.news-media:177 ba.general:1677 biz.misc:27 ca.general:462 alt.dcom.catv:83 rec.arts.tv:9330 rec.video:6035 rec.video.cable-tv:753 rec.video.satellite:2088 rec.video.production:390