From: uucp@usl.com
Newsgroups: comp.unix.wizards
Subject: Warning From uucp
Date: 16 Nov 92 05:13:16 GMT

We have been unable to contact machine 'langsvr1' since you queued your job.

	langsvr1!mail shri   (Date 11/14)
The job will be deleted in several days if the problem is not corrected.
If you care to kill the job, execute the following command:

	uustat -klangsvrZ2950
 
	Sincerely,
	usl!uucp

#############################################
##### Data File: ############################
From uucp Sat Nov 14 17:45 EST 1992 remote from usl
>From UNIX-WIZARDS Wed Sep 09 15:15:12 EST 1992 remote from BRL.MIL
Received: from BRL.MIL by usl.com; Sat, 14 Nov 1992 17:45 EST
Received: from SEM.BRL.MIL by SEM.BRL.MIL id aa17616; 14 Nov 92 15:23 EST
Received: from sem.brl.mil by SEM.BRL.MIL id aa17578; 14 Nov 92 15:15 EST
Date:       Wed, 09 Sep 92 15:15:12 EST
From:       The Moderator (Mike Muuss) <Unix-Wizards-Request@BRL.MIL>
To:         UNIX-WIZARDS@BRL.MIL
Reply-To:   UNIX-WIZARDS@BRL.MIL
Subject:    UNIX-WIZARDS Digest  V16#004
Content-Type: text
Content-Length: 6492

UNIX-WIZARDS Digest          Wed, 09 Sep 1992              V16#004

Today's Topics:
                     hmm one more npasswd story...
                                 GOSIP
                        SCCS to RCS translation
                     HELP: MsgQueue not "reading"?
             Re: 'cat'ting 8 bit data to the terminal.....
              Re: ASYNCHRONOUS FILE PRESENCE NOTIFICATION

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

From: Jimbo@even
Subject: hmm one more npasswd story...
Keywords: sun.
Date: 7 Sep 92 20:19:31 GMT
To:       unix-wizards@sem.brl.mil

The npasswd bug is very famous into differents hackers
groups. (especialy because of last jeff prog...)
something to do with the -rw-rw-rw of some passwds files.
so every body fixed it right now...

- i didnt have the time to test it :) -

 ---------------------------------------------------------------------
'' Remember Hackers have ethics... ''         Jimbo...
 ---------------------------------------------------------------------

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

From: Shane Noel Smith 2245702 <sgccsns@citec.oz.au>
Subject: GOSIP
Date: 9 Sep 92 05:22:34 GMT
To:       unix-wizards@sem.brl.mil

Hello,


I am trying to find out some information regarding the implementation
of the OSI  transport layer 4 being available for Ingres*Net and
if anyone has a commitment from Ingres to GOSIP standards of any country.



 -------------------------------------------------------------
|  Shayne Smith          |  Department of Family Services,  |
|                        |  Aboriginal and Islander Affairs |
|  sgccsns@citec.oz.au   |  Queensland AUSTRALIA            |
|------------------------|-----------------------------------
|  GPO Box 806           | These are my personal views only |
|  Brisbane              | My employer doesn't pay me       |
|  Qld, AUSTRALIA 4001   | enough to think fo them          |
 -------------------------------------------------------------

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

From: David Dymm <dymm@cards.com>
Subject: SCCS to RCS translation
Date: 27 Aug 92 14:32:24 GMT
To:       unix-wizards@sem.brl.mil

Does anyone know of a program to translate SCCS file to RCS
files?  Thanks.


David Dymm - Principal Engineer

USMAIL: Electronic Warfare Associates
        1401 Country Club Road
        Fairmont, WV  26554
PHONE:  304 367-0770
FAX:    304 367-0775
INTERNET: dymm@cards.com

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

From: Norm MacNeil <norm@bnr.ca>
Subject: HELP: MsgQueue not "reading"?
Date: 27 Aug 92 21:16:37 GMT
Originator: norm@bcrks122
To:       unix-wizards@sem.brl.mil


A small test to check message queues is as follows:
1) program "msgd" loops and checks the message queue every 10 seconds and loop max
   4 times - simply reads the queue
2) program "sendmsg" reads input and places string on the queue

"msgd" starts and runs fine, but when I run sendmsg, I get:

msgsnd: Invalid argument

but I can't figure out what is wrong.

-- sendmsg.c:
#include <stdio.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
extern int errno;
main(argc, argv)
  int argc;
  char *argv[];
{
  int Key, MsgQID, MsgFlag, MsgSize = 1024, I, MsgRet, Len;
  struct msgbuf *MsgP;
  char Buffer[1025];

  if ((MsgQID = msgget(101, (0600))) == -1) {
    perror("msgget()");
    printf("Unable to grab message queue.\n");
    exit(1);
  }
  else {
    printf("Message Queue %d accessed.\n", MsgQID);
    if ((MsgP = (struct msgbuf *) malloc(sizeof(struct msgbuf) + MsgSize))
     == NULL) {
      perror("malloc");
      printf("Unable to allocate memory for Msg Buffer\n");
      exit(1);
    };
    printf("Enter message for queue: ");
    gets(Buffer);
    Len = strlen(Buffer);
    for(I=0;I<Len;I++)
      MsgP->mtext[I] = Buffer[I];

    printf("Sending message (");
    for(I=0;I<Len; I++)
      printf("%c", MsgP->mtext[I]);
    printf(")\n");
    printf("About to call msgsnd(%d, %d, %d, %d)\n", MsgQID, MsgP, Len,
      IPC_NOWAIT);
    if ((MsgRet = msgsnd(MsgQID, MsgP, Len, IPC_NOWAIT | 0 )) == -1) {
      printf("errno is %d\n", errno);
      perror("msgsnd");
      printf("Unable to send message to queue.\n");
      exit(1);
    }
    else {
      printf("MsgOp: received ID: %d\n", MsgRet);
    };

  };
  printf("Exiting Message Sender.\n");

};

-- end of sendmsg.c

Any ideas?  BTW, the msgd.c is standard create the queue (IPC_CREAT|IPC_EXCL|
0600).

Thanks,
  Norm.
-- 
+-----------------------------------------------------------------------+
 Norm MacNeil                     Phone: (613) 763-7497
 CAD Operation Tools Development    Fax: (613) 763-3317
 Bell-Northern Research Ltd.      EMail: norm@bnr.ca.BITNET (INTERNET)
 #include <disclaimer.std>       "Roller bladers do it in-line!"

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

From: Guy Harris <guy@auspex.com>
Subject: Re: 'cat'ting 8 bit data to the terminal.....
Date: 27 Aug 92 21:59:58 GMT
To:       unix-wizards@sem.brl.mil

>Someone told me that "stty cs7 -pass8" would work.

Someone may be confused.

There is absolutely no option to "stty" to cause *output* to be stripped
to 7 bits on a SunOS 4.x pseudo-tty.  The "line discipline" STREAMS
module "ldterm" doesn't have one, and the pseudo-tty driver doesn't
either.

"stty cs7" plus whatever parity options you want will do so on a serial
port, but that's because the hardware does the stripping if you set the
character size to 7 bits.  The 4.x pseudo-tty driver pays no attention
to the character size.

As I remember, the problem you were having is that the data being sent
to the pseudo-tty was coming *from* a serial line, and had the 8th bit
set.  Perhaps you should set the options on the serial line to strip the
data to 7 bits?

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

From: Kunal Singh <ksingh@passion.fia.dmg.ml.com>
Subject: Re: ASYNCHRONOUS FILE PRESENCE NOTIFICATION
Keywords: UNIX FILE
Date: 4 Sep 92 19:09:38 GMT
To:       unix-wizards@sem.brl.mil

I was told that the problem posed by my previous post cannot be solved.  That the unix operating system does not have the necessary facilitites.  

So, I was thinking.  What If I mounted my special directory as an NFS file system.  Would that help ?

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


End of UNIX-WIZARDS Digest
**************************