HDTenEightyP/NetNews huggingface dataset:
From: nicklas@access.digex.com (Randolph C Nicklas)
Newsgroups: comp.unix.programmer,comp.windows.ms.programmer,comp.client-server
Subject: Mission Critical Apps & MS-Windows
Date: 8 Jan 1993 12:33:00 GMT
Organization: Intelsat, Washington, D.C., USA
Distribution: world
NNTP-Posting-Host: access.digex.com

My company is considering using Windows 3.1 (W3.1) for a mission
critical application.  Mission critical in general are applications
such as nuclear reactor systems, air traffic control systems, and
manned space flight systems.  Mission critical in our application
means real-time, multiply concurrent applications consisting of
custom-built W3.1 applications, commercially-off-the-shelf (COTS)
products, ethernet LAN programs with both incoming and outgoing
traffic, older custom-built DOS applications, and X-Windows
displays exported from X-applications on the LAN for monitoring and
controlling a fleet of up to 25 publicly used communications
satellites.  This W3.1 user station is the only access point into
a distributed computing environment of over 40 server machines; if
the user station malfunctions there is no other alternative access
available.  Our design is primarily using W3.1 as a client to
several UNIX servers over the ethernet LAN.

We are searching for people or organizations who currently are, or
are planning to, use W3.1 for mission critical projects to share
with us their key reasons for deciding on W3.1.  We are also
looking for groups that have investigated W3.1 and decided not to
use it for mission critical applications and the reasons why.

We know that many people have strong opinions about W3.1 and we
respect those opinions; however, we are looking for cases that
actually evaluated W3.1 and have made a go/no-go decision for using
it.  Also if there are report/articles/studies on using W3.1 for
mission critical projects -- either pro or con -- we would be
interested in knowing about such.

Thanks in advance for any and all assistance.
-- 
Randolph C. Nicklas                                nicklas@digex.com
Ground Networks Engineering Department             202.944.6938
International Telecommunications Satellite Organization (Intelsat)
From: schaubert@turtle.fisher.com
Newsgroups: comp.unix.programmer
Subject: network interface driver, books???
Date: 7 Jan 93 15:54:17 CDT
Organization: Fisher Controls International, Austin, TX

This post is from a VMS machine so forgive repeated lines etc.
This post f

I need to write a network interface driver and would like to understand
what the "standard" way of doing this for unix is.  I know that many
of the data structures used for both SUN and RS6000 are similar.

Can anyone recommend a text, notes, anything written on writing
a network interface.  I already have poured over the stevens and
comer books and they do not touch this layer except to say that its
the glue between the IP layer and the hardware.

Thanks in advance.
Send mail to
schaubert@fisher.com

geayghturnttae
Newsgroups: comp.unix.programmer
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: Revision control by directory tree
Keywords: sccs rcs cvs directories
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Date: Fri, 8 Jan 1993 08:34:51 GMT

In article <1352@curly.appmag.com>
pa@curly.appmag.com (Pierre Asselin) writes:
|> I am maintaining libraries of in-house code and I want to place the
|> files under revision control.  My boxes (AIX 3.[12]) only have sccs.
|> I have been using sccs for single-file programs, but a library source
|> is typically spread over many files.  I want all the files to have the
|> same revision number.  Sccs won't do that.  I don't have large teams of
|> programmers to manage;  all I need at this point is per-project
|> revision numbers.
|> 
|> According to the c.u.questions FAQ, RCS has a feature (symbolic names)
|> that might come close enough to what I want.  I lifted some BSD docs
|> from uunet but they weren't specific enough.
|> 
|> Surely this is a common problem.  How do you handle it?  Should I
|> install RCS?  Should I get CVS instead?

RCS does have the facility to assign a symbolic name to a revision and
it is a plain string so it can be something meaningful. You can do what
you want with SCCS, this is from the man page for get:

          When you specify a release  but  omit  the  level,  get
          retrieves  the  highest level in that release.  If that
          release does not exist,  get  retrieves  highest  level
          from the next-highest existing release.

Hence when you edit a file for the first time in a release e.g. 5 set
the revision to 5.1 then follow the normal edit/delta cycle and when
you make the library simply set SCCSFLAGS to -r5. Alternately you can
check out all sources at the beginning of the release with the correct
revision and then check them back without changes, personally I prefer
the first method though it does require some thought. This isn't quite
what you asked for but I hope that it is what you want.

-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
Newsgroups: comp.unix.programmer
From: chw@bellcore.com (Charlie Woloszynski)
Subject: DGram sockets (UDP) and select on SunOS 4.1
Reply-To: chw@bellcore.com
Organization: Bellcore
Date: Thu, 7 Jan 93 18:24:10 GMT

From chw Thu Jan  7 13:15:44 1993
To: jroberts@east.sun.com
Subject: Socket question


I am trying to use a socket (dgram, udp) between two processes and
I'm having some difficulty with select().  Select returns immediately,
telling me that the socket is ready for reading.  But, when I read
it, the recv() blocks until the second process actually sends some data.
Is this "normal" for datagram sockets and select?

Here is some more of the details:   I have two processes.  Each creates 
a socket () (dgram, udp), bind()s it to a unique port, and connect()s to
the remote address (host, port).  Since these are dgram sockets, this
connect only set the remote address to use and receive from.  No real
connection is established.  Anyway, I assume that this lets the
kernel filter incoming datagrams to the appropriate socket this way.
No errors are indicated by the
return value, but the errno goes from 0 to EACCES (permission denied).
The man page indicates this error is only for UNIX domain addresses,
but I have used PF_INET exclusively for addressing.  The sockets I am
using are not in /etc/services or any other system file I can think
to look into.  Should they be (for dgram)?  If I
add them, is there any processes that need to be restarted to recognize this
change?

Now the first select call I do immediately returns (before the second
process send to it).  So, my code does a recv() which now blocks until
the second process sends something.  This characteristic repeats itself
endlessly (well, as long as my patience lasted, about three minutes
while I stewed and thought of other tests!!)  

I also tried putting the socket into non-blocking mode, in which case
the recv() would return immediately (with errno=EWOULDBLOCK) and 
then select would immediately indicate the socket was ready for input.

Any help would be greatly appreciated.

Charlie Woloszynski
-----------------------------------------------------------------------------
Charlie Woloszynski   			MTS - ATM Technology and Applications
Bellcore 				+01 201 829 5228 (voice)	
Room MRE 2J-294				+01 201 829 5887 (fax)
445 South Street Box 1910		chw@bellcore.com (SMTP) 
Morristown, NJ 07960-1910  USA		
-----------------------------------------------------------------------------



Newsgroups: comp.unix.programmer
From: zqx@wucs1.wustl.edu (Zeqing Xia)
Subject: mktime does not work correctly
Organization: Washington University, St. Louis MO
Date: Tue, 12 Jan 1993 01:11:33 GMT


Hi, everyone,

	Recently I encountered a problem in using mktime(). I have a
struct tm variable and have set the tm_* values. For example, I set it
to Jan 1, 1993, 02:02:02, Friday, etc., I checked everything, like if
should start from 0 or 1. Bu the date converted and printed out was
different. It was Dec 31, 23:00:00, etc.. 

	Is there any expert knowing why? 

	Any suggestion is greatly appreciated.


Zeqing Xia

Newsgroups: comp.unix.programmer
From: sacha@imp.ch (Sacha Gloor)
Subject: Character based Windowlibrary 
Organization: ImproWare AG
Date: Thu, 7 Jan 1993 08:30:53 GMT


Hello out there, 


From time to time, i have to write some utilities witch must run on character 
based terminals under several unix platforms. The utilities must be userfrendly 
and therefor they must have windows, forms, lists and so on. 

Writing this curses based is a lot of work. What i would like to have is a 
library witch supports windows, forms, menus, list, ....

I would like to know, if there exists such libraries. Witch library are 
you using ? 

Are there any ftp-site, with such libraries ? 


Many thanks for your answer and a happy new year.



     Sacha


P.S.: I will post a summery.
Newsgroups: comp.unix.programmer,comp.unix.questions,comp.unix.wizards
From: jdg41088@uxa.cso.uiuc.edu (Pickaxe)
Subject: Re: Anybody got rz/sz to work on their UNIX system?
Organization: University of Illinois at Urbana
Date: Wed, 13 Jan 1993 03:53:30 GMT

I'm not sure what the problem is but I had difficulties with rz on my system
and "rz -e" fixed the problem. I don't know if this will work becuase you also
have problems with sz.

-- 
| Joe Gross          | Department of Electrical and Computer Engineering |
| pickaxe@uiuc.edu   | University of Illinois at Urbana-Champaign        |
| (217) 328-4331     | "I've given up trying to stay ahead of the times, |
| NeXTmail welcome   | it's now a matter of how far I get left behind."  |
From: scjones@thor.sdrc.com (Larry Jones)
Newsgroups: comp.unix.programmer
Subject: Re: How does abort () work
Date: 10 Jan 93 18:41:29 GMT

In article <C0JK56.1LD2@austin.ibm.com>, subra@bynar.austin.ibm.com (Sivarama Subramanian) writes:
> 	I am writing test cases to test the functionality of abort (). I would
> like to know when a process calls abort (), can it ignore it by setting the
> signal (SIGABRT, SIG_IGN). In a related note, I would like to know if a
> process can send a signal to itself.

ANSI C requires that abort() terminate the program unless SIGABRT is
caught and the signal handler does not return (e.g. calls longjmp).
Ignoring SIGABRT may or may not stop abort() for non-ANSI systems.
Sending signals to yourself is not only possible, but occasionally
useful as well.  See raise() for ANSI systems, kill() for non-ANSI.
----
Larry Jones, SDRC, 2000 Eastman Dr., Milford, OH  45150-2789  513-576-2070
larry.jones@sdrc.com  or  ...uunet!sdrc!larry.jones
I don't need to do a better job.  I need better P.R. on the
job I DO. -- Calvin
From: msp@msen.com (Jerry Foster)
Newsgroups: comp.unix.programmer
Subject: Print graphics files
Date: 8 Jan 1993 21:45:24 GMT
Organization: Msen, Inc. -- Ann Arbor, Michigan
NNTP-Posting-Host: garnet.msen.com
X-Newsreader: TIN [version 1.1 PL8]



--
  //  Jerry Lee "3P"
\x/   e-mail: jfos@msp.com
Newsgroups: comp.unix.programmer,comp.os.msdos.programmer,comp.sys.mac.programmer
From: jrh@jrh.uucp (James R. Hamilton)
Subject: Re: Looking for PD or Commercial Xmodem/ymodem/zmodem package
Date: Sun, 10 Jan 1993 17:03:14 GMT
Organization: private system, Toronto, Ontario

In article <1993Jan8.172343.17109@panther.mot.com> asu@server2.panther.mot.com (Russell Trotter) writes:
>We are looking for Xmodem/Ymodem/Zmodem protocol package for Sun Unix 
>workstations, IBM PC's and, Macintosh's.  Anybody know of
>them in existence.  It doesn't have to be specific to each platform,
>i.e. I don't mind doing a little porting to any of those as long
>as I've got some library.  Thanks.
>
    I use rzsz by (I think) Chuck Forsberg.  It runs under most flavours of
    UNIX and DOS.  I suspect it could be coerced to run under Macs as well.  
    Its available in usenet source archive near you.  Check with archie.

                      --jrh
-- 

James R. Hamilton                            inet: jrh@jrh.guild.org
telephone: +1 416 493 4162                   uunet: ...!uunet!jrh!jrh
Toronto, Canada                              work: jrh@torolab.vnet.ibm.com
From: michael@gandalf.moria (Michael Haardt)
Newsgroups: comp.unix.programmer
Subject: Re: how does term[cap,lib] work
Date: Mon, 04 Jan 93 23:18:13 +0100
Organization: An old and gray machine, somewhere in Moria.
Distribution: world
Reply-To: u31b3hs@pool.informatik.rwth-aachen.de (Michael Haardt)
NNTP-Posting-Host: messua.informatik.rwth-aachen.de

In article <1993Jan3.201913.18477@umr.edu>, mcastle@cs.umr.edu (Michael R Castle) writes:
> However, I'm a little unsure what to expect with programs that use
> termcap/lib.  It appears to me that the termcap functions return
> string of escape sequence that would then be printed out rather
> than executing the sequences themselves.  Is this a correct 
> interpretations?

Yes.  I should add, that they are printed using tputs() and nothing
else.

>                   If it it, it looks like I may have a bit more
> to look foward to than I had originally planned.  :-/

My way out once was to write termcap functions which return tokens in
the strings.  tputs looks like "switch (*token) { case CH: ... case CM: }"
Note that you have to encode parameters in the string too, but all in
all it is not hard to code.

> Along the same lines.  How does the SIGWINCH signal get propogated
> along?  

I am not really sure about that, so the following explanations may be
wrong:  The process running with a pty slave as controlling tty gets
SIGWINCH when the master side sets the winsize structure using ioctl().

> Example:  I start up an xterm and resize it.  Does a program that
> catch it then change it's TERMCAP environment variable to update
> the new change?

The usual reaction to SIGWINCH is either to reread co/li from termcap or
get the winsize using ioctl().  Some termcap libraries read co/li not
from /etc/termcap but from the winsize struct (if it contains valid
values).  Changing $TERMCAP might help the next program, but you can't
change the environment of another already running process.

>                  Also, how does stty figure into all this (does
> stty send a SIGWINCH?)  I notice if I do this, some programs,
> like more(1) and vi(1) do the right thing.  Are they catching
> the signal, or checking the current tty information constantly?

stty does an ioctl() to change winsize.

> This last may cause problems because it's so easy under dos for a 
> program to change it's own window size and I'm curious as to how
> programs handle this.

My explainations are only valid (if at all) for systems which pass the
winsize struct from master through kernel to slave side.  If a system
doesn't, you have no other way to find out the window size than to ask
the window environment about it.  At least I got told that concerning
HP-UX, where a not-yet-famous editor asks xterm for the new size after
getting SIGWINCH.

Michael "doesn't like ptys and winsize structs"
Newsgroups: comp.unix.programmer
From: mjb1@cec2.wustl.edu (Lord of flying horned octopi)
Subject: Socketing question
Organization: Washington University, St. Louis MO
Date: Thu, 7 Jan 1993 18:48:30 GMT

I'm fooling around trying to write a server that will accept telnet connections
and then route them to a different location.  I am having loads of troubles
getting even the first part of this to work.  I have this code, which I know
is messy and hard to read, which is supposed to accept a connection and then 
echo's back everything sent to it and exiting when it receives "quit".  And
BTW I am running on a Sun 670MP with SunOS 4.1.2:

#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <strings.h>

#define PORT 3000
#define BUFSIZE 256

main() {

    struct sockaddr_in recv_addr, their_addr;
    int addrlen, sockfd, recv_sockfd;
    char buf[BUFSIZE];

    bzero( (char *) &recv_addr, sizeof(recv_addr));
    recv_addr.sin_family = AF_INET;
    recv_addr.sin_addr.s_addr = htonl( INADDR_ANY);
    recv_addr.sin_port = htons( PORT);
    
    if( ( sockfd = socket( AF_INET, SOCK_STREAM, 0)) < 0) {
	fprintf( stderr, "can't create stream socket\n");
	exit(-1);
    }
    if( bind( sockfd, ( struct sockaddr *) &recv_addr,
	     sizeof( recv_addr)) < 0) {
	fprintf( stderr, "can't bind local address\n");
	exit(-1);
    }
    listen( sockfd, 5);

    addrlen = sizeof( their_addr);
    if( ( recv_sockfd = accept( sockfd, ( struct sockaddr *) &their_addr,
			     &addrlen)) < 0) {
	fprintf( stderr, "accept error\n");
	exit(-1);
    
    }
    send( recv_sockfd, "Connect...\n", 11);
    do {
	bzero( buf, BUFSIZE);
	recv( recv_sockfd, buf, BUFSIZE);
	send( recv_sockfd, buf, strlen( buf));
    } while( strncmp( buf, "quit", 4));
    send( recv_sockfd, "Bye bye...\n", 11);
    close( sockfd);
    close( recv_sockfd);
}

Everything works except the line:

        send( recv_sockfd, buf, strlen( buf));

If I replace this line with:

        send( recv_sockfd, buf, BUFSIZE);

everything is hunky dorie.  But do I really need to send all 256 characters?
I really only want to send up to the first NULL.  Why doesn't the 1st line
work?  I checked and strlen() is returning the correct value.  I also tried
the lines:

        send( recv_sockfd, buf, BUFSIZE);
        send( recv_sockfd, buf, BUFSIZE);

This did what I expected.  It echoed buf twice.  BUT, and this is where it
gets really weird, when I tried:

        send( recv_sockfd, buf, BUFSIZE);
	strlen( buf);
        send( recv_sockfd, buf, BUFSIZE);

nothing was echoed!  WHY?  How is the presense of strlen() effecting parts
of the program below and *above* it???  I'm really bufuddled by all this.


Couple other things too...

I first tried using write() and read() instead of
send() and receive() without success.  Why don't they work?  

When the above code exits via "quit", and I try to subsequently execute it
again, bind() fails.  If I exit my telnet session to it with the telnet
command "quit" the program exits and I do not have the subsequent problems
executing it again.  Why?

Any help would be highly appreciated.

MikeB
From: sasurguine@cudnvr.denver.colorado.edu
Newsgroups: comp.unix.programmer
Subject: Socket/Terminal Control Question
Date: 11 Jan 93 16:49:25 GMT

I ain't really sure where to POST this so PUT THOSE FLAME THROWERS DOWN
PLEASE.

Thank You...

If you have a situation where you would like for A to call B and then let
B take control of that session via a Terminal.  How would you actually
implement this, and of course the $64,000 question is : is there something
out there in NETLAND that we could snarf which would allow us to accomplish
this task:

My limited UNIX programming skills tells me this could be accomplished via
sockets:  That is B is continuously listening for a connection from a
certain party and when he gets that connection he binds it. And although
I haven't acutally worked with TLI I would assume that the same thing
could be accomplished using this TLI Transport in the SVR3+ environment.

If you were SVR2 would you be SOL?

Thanks For Insight into this:

Scott A. Surguine
Wan Coordinator 
Antarctic Support Associates
Newsgroups: comp.unix.programmer,comp.os.msdos.programmer,comp.sys.mac.programmer
From: d88-jwa@dront.nada.kth.se (Jon Wtte)
Subject: Re: Looking for PD or Commercial Xmodem/ymodem/zmodem package
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Mon, 11 Jan 1993 09:57:48 GMT

In <1993Jan10.170314.110806@jrh.uucp> jrh@jrh.uucp (James R. Hamilton) writes:

>    I use rzsz by (I think) Chuck Forsberg.  It runs under most flavours of
>    UNIX and DOS.  I suspect it could be coerced to run under Macs as well.  
>    Its available in usenet source archive near you.  Check with archie.

It can most definately NOT be coerced to run in the mac:

1) It's full of ioctl() and signal() and whatnot

2) It's the grungiest code I ever read (and remember; I've
   read an awful lot of AT&T UNIX code...)

I guess someone somewhere will finally do the world a favour
and publish a WELL-DEFINED SPEC of the Z-modem protocol,
including state transition diagrams and a proof that it's
deadlock-free and handles, say, missed window headers 
correctly.

I'd pay $20, definately.

-- 
 -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
 Engineering: "How will this work?" Science: "Why will this work?" Management:
 "When will this work?"  Liberal Arts: "Do you want fries with that?"
                     -- Jesse N. Schell
Xref: sparky comp.unix.programmer:5831 comp.unix.questions:15182 comp.unix.wizards:5375 comp.unix.misc:4835
From: markp@adsi.homecare.com (Mark Parr)
Newsgroups: comp.unix.programmer,comp.unix.questions,comp.unix.wizards,comp.unix.misc
Subject: Color with Curses and Terminfo
Date: 5 Jan 93 17:57:04 GMT
Organization: Application Data Systems, Inc.

Can anyone suggestion any good books (or just any books what-so-ever) that
cover the use of color with curses and terminfo.  

We currently have the following:

    UNIX Curses Explained  by Berny Goodheart  from Prentice Hall
    Termcap & Terminfo  by John Strang, et.al.  from O'Reilly & Assoc.
    Programming with Curses  by John Strang  from O'Reilly & Associates

Thanks,
Mark


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 | |-------------|   Application Data Systems    |  Phone: (601) 393-2046  | |
 | |  Mark Parr  |   1930 1st Commercial Dr. N   |    Fax: (601) 393-6605  | |
 | |-------------|   Southaven, MS 38671         |    markp@adsi.vp.com    | |
 | |-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-| |
 | | -=Alabama Crimson Tide - Roll Tide Roll!! - 1992 National Champions=- | |
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
From: haible@ma2s3.uucp (Bruno Haible)
Newsgroups: comp.unix.programmer
Subject: Re: format of floating points?
Date: 5 Jan 1993 16:02:01 GMT
Organization: University of Karlsruhe, Germany
NNTP-Posting-Host: ma2s3.mathematik.uni-karlsruhe.de
Summary: IEEE double float format
Keywords: binary, float, double, IEEE standard

melchers@Harpo.Chemie.FU-Berlin.DE (Bernd Melchers) asks:
> How are doubles coded by the ieee standard?
>
> 0.44658343480 is coded as ...
> On a iris4d (big endian), the same double gives (ieee standard)
> 3f dc 94 d2 af d9 af b1, i.e.
> 0011 1111 1101 1100 1001 0100 1101 0010 1010 1111
> 1101 1001 1010 1111 1011 0001
> where is mantissa and exponent and how are they coded?
>

Write down your number as a rational (Lisp function RATIONAL).
It is equal to 8044931962220465/18014398509481984, i.e.
11100100101001101001010101111110110011010111110110001_binary / 2^54
or 1C94D2AFD9AFB1_hexadecimal / 2^54 .

Either:
  Bit 63 (leftmost) is the sign, bits 62 to 53 are 511 + exponent 
  (exponent(x) = floor(log(abs(x))/log(2)), here exponent = -1, 
  therefore 511-1 = 0111111110_binary), and bits 52 to 0 are the mantissa. 
Or:
  Bit 63 (leftmost) is the sign, bits 62 to 52 are 1024 + exponent
  (exponent(x) = floor(log(abs(x))/log(2)), here exponent = -1,
  therefore 1024-1 = 01111111101_binary), and bits 51 to 0 are the mantissa
  with bit 52 hidden (because the mantissa is between 2^52 and 2^53 for
  all nonzero floats).

Use another float to decide which case is correct.

Beware: the encoding of denormalized floats, NaNs and infs is a bit more
complicated.

Bruno Haible
haible@ma2s2.mathematik.uni-karlsruhe.de
From: oscar@msen.com (Oscar Linares)
Newsgroups: comp.unix.programmer
Subject: LOOKING FOR awkcc
Date: 12 Jan 1993 02:58:36 GMT
Organization: Msen, Inc. -- Ann Arbor, Michigan
NNTP-Posting-Host: garnet.msen.com
X-Newsreader: TIN [version 1.1 PL8]


Hi,

I would like to know if anyone out there might be able to let me know where I may obtain a PD
version of awkcc for 4.3BSD compatible UNIX system.

Thanks in advance,

Oscar A. Linares, MD
Lab of Computers in Biomedical Applications
oscar@msen.com
Newsgroups: comp.unix.programmer