From: postmaster@vd1.hanscom.af.mil (SMTP MAILER)
Newsgroups: comp.unix.wizards
Subject: Mail Delivery Problem
Date: 11 Sep 92 03:51:22 GMT


 ----Reason for mail failure follows----
Sending mail to recipient(s) woodfordm :
  Couldn't make final delivery.

 ----Transcript of message follows----
Received: from gw1.hanscom.af.mil by vd1.hanscom.af.mil with SMTP ; 
          Wed,  9 Sep 92 22:01:22 EST
Date: 9 Sep 92 22:00:00 EST
From: UNIX-WIZARDS@BRL.MIL
Subject: UNIX-WIZARDS Digest  V16#004
To: "woodfordm" <woodfordm@vd1.hanscom.af.mil>

Return-Path: <unix-wizards-request@sem.brl.mil>
Received: from SEM.BRL.MIL by gw1.hanscom.af.mil with SMTP ; 
          Wed,  9 Sep 92 21:59:44 EST
Received: from SEM.BRL.MIL by SEM.BRL.MIL id aa22658; 9 Sep 92 15:26 EDT
Received: from sem.brl.mil by SEM.BRL.MIL id aa22542; 9 Sep 92 15:15 EDT
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

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
**************************