HDTenEightyP/NetNews huggingface dataset:
From: ry01@rz.uni-karlsruhe.de (Klaus Brand)
Subject: HELP : DCE RPC <--> Sockets
Organization: University of Karlsruhe, Germany
Date: Fri, 16 Oct 1992 16:03:58 GMT

Hi Folks.

I've got a problem with DCE RPC and sockets. I've got four processes, two on
one machine and two on another. The two processes on each machine communicate
via sockets, and the communication between the two machines is via DCE RPC as 
shown in the picture.

        /-----\          /-----\
        |     |          |     |
        | A1  |          | B1  |       
        |     |          |     |
        \-----/          \-----/
    socket |                |socket          
           |                |
        /-----\          /-----\
        |     |          |     |
        | A2  |----------| B2  |
        |     | DCE RPC  |     |
        \-----/          \-----/

A1 sends a string via a socket to A2. This one makes an RPC to procedure that
is on B2. The input parameter for this procedure is the received string. B2 
then sends this string via socket to B1. B1 then sends a return string to B2, 
which gives back this string as the result of the RPC to A2. Finally A2 sends
this result string to A1.

Now the problem :

when A2 has received something from the socket, it doesn't execute the RPC.
The socket between A1 and A2 can be open, and A2 can write as much as it can, 
the RPC will be executed. But if A2 has read only one byte, the RPC goes 
wrong. 

I have undefined the jacket routine for the "recv", then the RPC is OK, but 
A2 hasn't read the message from A1 !

Has anyone had the same problem ? 
Or does anyone know a solution ?

Regards.

Klaus.
-- 
Klaus Brand 
Computing Centre
University of Karlsruhe / Germany
                      
e-mail : ry01@rz.uni-karlsruhe.de
	 
Newsgroups: comp.unix.misc
From: sjh@skewsby.demon.co.uk (Simon J Hopkins)
Subject: Torch XXX KA9Q package
Distribution: world
Organization: Consulting Partner Limited
Date: Mon, 5 Oct 1992 15:07:54 +0000


Hello

Does anybody know if the KA9Q package has been made available for the
TORCH XXX running UNISOFT/ROOT System V R2 ??

If so where can I get a copy ???


Regards

Simon Hopkins

sjh@skewsby.demon.co.uk
From: fkao@buengf.bu.edu (Frank Kao)
Newsgroups: comp.unix.misc
Subject: Help need signal.h usage examples
Date: 13 Oct 92 15:32:11 GMT
Organization: College of Engineering, Boston University, Boston, MA, USA
Originator: fkao@buengf.bu.edu

Hi, unix gurus:

I am trying to write an timer interrupt driver here, and I am having
all kinds of problems.  I am having trouble understanding the man pages
that came with the Sun OS.  Anyone out there that have an example of
working code, so I can have a better idea of how signal.h works.

thanks
fkao@buengf.bu.edu
Newsgroups: comp.unix.misc
From: gmeiers@edsi.plexus.COM (Garrett Meiers)
Subject: Re: Automated mail > file cat & decoding ?
Organization: Enterprise Data Systems Incorporated, Appleton WI
Date: Wed, 07 Oct 1992 02:15:05 GMT

borrel@dhhalden.no (Borre Ludvigsen) writes:

>We need a shell script, program, gizmo that reads a mail spool file, recognizes a  
>series of uuencoded images (which are not necessarily in the right order), extracts  
>them, cats them in the right order, strips headers and decodes. 

If you have nn on your system, you can do this by:
   
    nn -f /mail/spool/location/and/spoolname

This will also let you do patches, and unpack shars...  Just highlight
the file you want decoded and type  :decode  for uuencoded files or
:unshar for shar packages...

Hope this  helps..

Garrett     



------
gmeiers@edsi.plexus.com	                          Garrett Meiers
Xref: sparky comp.unix.misc:3894 comp.unix.questions:11880
From: billd@informix.com (William Daul)
Newsgroups: comp.unix.misc,comp.unix.questions
Subject: Looking for typing tutorial running under UNIX...
Date: 7 Oct 92 22:12:11 GMT
Organization: Informix Software, Inc.
Originator: billd@cheetah

Is there such a shareware application?  How about a $$$-ware application?

Thanks,  --Bill
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 William Daul             Advanced Support      INFORMIX SOFTWARE INC.
 4100 Bohannon Dr.        (415) 926-6488 - wk
 Menlo Park, CA. 94025    uunet!infmx!billd  or  billd@informix.com
Newsgroups: comp.unix.misc
From: dekock@shannon.ee.wits.ac.za (Nick de Kock)
Subject: DOS text retrieval using a Unix box as a server. Suggestions?
Organization: Electrical Engineering, University of the Witwatersrand
Date:  8 Oct 92 12:05:13 GMT

I have been evaluating text retrieval systems for use by journalists
for research. I have tested a product called "Topic" from a company called
Verity in California. The version I tested was designed for use with
PCs on a Novell network. We stored about 300MB of ASCII on a 1.2 gig
disk together with a similar volume of index files (the programme uses these
to find instances of words and then retrieve the particular file where
that word is found). Needless to say (with hindsight) the system performed
very badly since each client has to access data and index files over the
net and then do its own processing.

To cut a long story short we decided that a client-server approach would
be better. DOS/Windows clients would access a Unix server and request data. 
The Unix machine would do the processing on the data and then supply only the 
results of the search. Network load would be reduced because the DOS/Windows
machines would only be running a terminal emulation of some kind.

Here's my question: what sort of Unix platform would be best for that kind
of application? The number of users would be about 100 per site and perhaps
8 of them would be doing text searches at one time. The reponse time would
have to be of the order of 10-15 seconds for a single word search with
3000 hits for a 400 MB database (this is the same order as "Stairs -
an IBM mainframe application which does this sort of thing.)

What manufacturer and model do you think are appropriate for this kind of job?
Also: Do any of you know of other Unix based text retrieval apps? What
machines do they run on? What sort of environment (X-Windows, Open-look etc.)
Is there a Windows 3.1 emulator for X-Windows etc....

Tall order. Thanks in advance. I will summarise if anyone requests it
specifically. Please reply directly.
-- 
Nick de Kock, High Voltage Group            
Electrical Engineering, Wits University                 
Johannesburg, South Africa - dekock@shannon.ee.wits.ac.za


Newsgroups: comp.unix.misc
From: etxmesa@eos.ericsson.se (Michael Salmon)
Subject: Re: recursive dir trees
Keywords: recursive
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
Organization: Ericsson Telecom AB
Date: Fri, 16 Oct 1992 12:56:00 GMT

In article <1992Oct15.173545.11752@constellation.ecn.uoknor.edu>, 
smasilam@midway.ecn.uoknor.edu (Senthilamudhan Masilamani) writes:
|> I need a prog to take a dir name as input and list all the files and respective
|> sizes in the specfied directory as well as recursively work on all the sub-
|> directories. A few scripts were posted a while back but they didnt 
|> work recursively. If anyone knows of such a program to create such a tree,
|> please let me know.
|> SM
|> 

I wonder if I understand you correctly as "ls -R" and "find \!* -ls"
are csh aliases that do what you ask. If you really want a script then
use find2perl to generate a perl script from the above find command.

-- 

Michael Salmon

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

Ericsson Telecom AB
Stockholm
Newsgroups: comp.unix.misc
From: jawil@hpx5.aid.no (Jan Roger Wilkens)
Subject: Anim Players
Organization: AID
Date: Thu, 15 Oct 1992 14:22:02 GMT


I've got hold of two anim players for Unix (X-Windows).
The only problem is that they are very buggy... They don't clear the screen
properly after each frame, and this leads to very junk in the anims.
Has anybody got a animplayer (formats: TIF, ANIM-5 and GL) that will work
properly?
(I'm also looking for BIG animations.. Anybody know of any FTP sites that
supports this?)

-- 
                               Jan Roger Wilkens
                     Student at Agder Engeeniering School
                               Computer Technics

                           EMail: jawil@hpx11.aid.no
Newsgroups: comp.unix.misc
From: Scott.Maxwell@bbs.oit.unc.edu (Scott Maxwell)
Subject: POSIX for a SPARC 1+ -- looking for pointers, info
Summary: To begin with ... what in God's name is POSIX?
Organization: Extended Bulletin Board Service
Date: Tue, 13 Oct 1992 14:03:03 GMT

	My boss's boss told my boss that we need to acquire POSIX for our
SPARC 1+. Unfortunately, nobody around here has any idea what POSIX is
(other than that it's a flavor of UNIX) or where to get it for the SPARC.
(Can you tell I work for the government?)

	Can anyone tell me more about POSIX, or even where I can go to
find out more? Thanks -- and, hey, you'll be serving your country. :-)

--
Scott Maxwell (maxwell@uxa.cso.uiuc.edu or Scott.Maxwell@bbs.oit.unc.edu or
               maxwell@bambi.cecer.army.mil)
I speak for myself only, of course.
--
   The opinions expressed are not necessarily those of the University of
     North Carolina at Chapel Hill, the Campus Office for Information
        Technology, or the Experimental Bulletin Board Service.
           internet:  bbs.oit.unc.edu or 152.2.22.80
Newsgroups: comp.unix.misc
From: casper@fwi.uva.nl (Casper H.S. Dik)
Subject: Re: C-shell unlimit disables sendmail
Organization: FWI, University of Amsterdam
Date: Tue, 13 Oct 1992 14:02:03 GMT

jcao@rnd.GBA.NYU.EDU (Jingbin Cao) writes:

>[Note cross-posting. Followup to comp.unix.misc]

>I have an account on a Sun Sparc workstation with 64m memory and
>running SunOs 4.1. I had had "unlimit" in my .cshrc for about a year
>without any problems. Recently, however, it started to disable me from
>sending mails via mm, mail, or emacs. (It took me quite a while to
>identify the cause.) Everything works as usual, except that the
>recipient never gets the mail.

>With unlimit in my .cshrc, using limit gives the following:

>stacksize 	1966080 kbytes

>stacksize 	8192 kbytes

>I suspect the culprit is stacksize, because if I raise it to 10m, mail
>won't get delivered. I believe what I observed is rather mysterious.
>Do you have any good explanations?

The stacksize determine where the shared library is located. A
part of the dynamic relocation ends up in the data segment and is dumped
in /etc/sendmail.fc (frozen config). This data is re-read by
the sendmail that is started when your ead mail. But the relocations
will be wrong for that stacksize and sendmail will crash.

Casper
Newsgroups: comp.unix.misc
From: jwang@white.toronto.edu (Jingwen Wang)
Subject: Memory and disk load indices
Organization: CSRI, University of Toronto
Date: 9 Oct 92 23:57:52 GMT


    Two questions:

 1. How to find out the amount of available (or free) memory on mordern 
    Unix systems? I know that "free memory" is no longer an explicit 
    value that we can read from the kernel in many systems (such as
    SUNOS 4.1.1). But is there something we can hack with so that we
    can have a reasonably good guess of the memory usage? I need this
    because for load balancing we want to send a job to a host with
    more memory "free".

 2. How to find out the swapping space size of a machine? Is there 
    a command there? 

 3. How to find out the size of the /tmp? 


    Thanks in advance.


-- 
  {}
{}(){} -----> Jingwen Wang, Univ. of Toronto       (416)-978-1675 (office)
  {}          jwang@snow.white.toronto.edu         1-800-ASK-wang (home)

--
  {}
{}(){} -----> Jingwen Wang, Univ. of Toronto       (416)-978-1675 (office)
  {}          jwang@snow.white.toronto.edu         1-800-ASK-wang (home)
From: pickerig@dns0.bham.ac.uk (Mr. G. Pickering)
Newsgroups: comp.unix.misc
Subject: STREAMS clone device problem
Summary: I need a clone device, /dev/tivc not available under SunOS
Keywords: Streams clone SunOS device
Date: 13 Oct 92 14:49:42 GMT
Organization: The University of Birmingham, England
X-Newsreader: TIN [version 1.1 PL6]

Hi,

Here is my problem: I wish to establish a communication link
between two processes on different Sun workstations.

The SunOS manual specifies using t_open() to establish a transport
endpoint (whatever that is!). BUT, the SunOS manual example program
uses a filesystem node "/dev/tivc" which repesents a transport
selection node not available on the Sun.

My dillema is that the SunOS manual doesn't say what the clone device
*should* be.

Does anyone have any ideas as to how to use t_open(), or any other
way for that matter.

(I used Socket based IPC, which worked, but as I understand it,
the transport level interface is the "proper" way to do it.

Thanks is anticipation,

Guy.

PS. Kit is Sun IPC running SunOS4.1.3
    SunOs manual Network Interfaces Programmers Guide (CH9 pg 15).

--
Guy Pickering
Electronic Eng, University of Birmingham, Edgbaston, Birmingham. ENGLAND
G.PICKERING@uk.ac.bham  or pickering@uk.ac.bham.eee
From: ziniuwei@acsu.buffalo.edu (Ziniu Wei)
Newsgroups: comp.unix.misc
Subject: Re: Memory and disk load indices
Date: 12 Oct 92 21:17:21 GMT
Organization: State University of New York at Buffalo/Comp Sci

In article <1992Oct9.195752.25439@jarvis.csri.toronto.edu> jwang@white.toronto.edu (Jingwen Wang) writes:
>
>    Two questions:
>
> 1. How to find out the amount of available (or free) memory on mordern 
>    Unix systems? I know that "free memory" is no longer an explicit 
>    value that we can read from the kernel in many systems (such as
>    SUNOS 4.1.1). But is there something we can hack with so that we
>    can have a reasonably good guess of the memory usage? I need this
>    because for load balancing we want to send a job to a host with
>    more memory "free".
>
If you mean the free physical memory, you can get then result by:

	vmstat
the "free" column is the size of current free physical memory (in KBytes).


If you mean the free virtul memory (including the swap space),

	pstat -s


> 2. How to find out the swapping space size of a machine? Is there 
>    a command there? 
>
	pstat -s

> 3. How to find out the size of the /tmp? 
>
I don't know what exactly you mean.  The /tmp must be in a filesystem, so
you can use "df" to get the information.

>
>    Thanks in advance.
>


            /|
           / |		
          /  |		Ziniu Wei
    _____/___|_____	Center of Excellence of Document Analysis (CEDAR)
   /    /    /    /	Department of Computer Science 
  /    /    /    /	State University of New York at Buffalo
 /____/____/____/	
      |   /
      |  /		Internet: ziniuwei@cs.buffalo.edu
      | /		
      |/
From: row@cs.bham.ac.uk (Reuben O. Wells)
Newsgroups: comp.unix.misc
Subject: Bison Problem
Date: 13 Oct 92 10:13:22 GMT
Organization: School of Computer Science, University of Birmingham, UK

Hi,

I am not sure if this is the correct place to post this, but never
mind. I am trying to use bison to build a simple parser for
a small project that I am working on, I have read the documentation
but still am not sure what the problem is with the following piece
of code:

block:	/* Empty String */
	| WORD block		{ printf("%s",$1); }

Where WORD is a terminal symbol.

This does not work ! I just get random strings printed from the
file I am trying to parse, however the following does work:

block:	/* Empty String */
	| block WORD		{ printf("%s",$2); }

or this also works:

block:	/* Empty String */
	| word block

word: WORD			{ printf("%s",$1); }

I am sure I must be misunderstanding something ! If anyone can help
then please get in contact with me.

Thank you,

Reuben Wells

-- 
row@new-percy.cs.bham.ac.uk   Tel: (+44) 21 449 9142
From: rhaar@albert.cs.gmr.com (Bob Haar)
Newsgroups: comp.unix.misc
Subject: Re: recursive dir trees
Date: 16 Oct 92 13:03:39 GMT
Reply-To: rhaar@albert.cs.gmr.com
Organization: G.M. Research and Environmental Staff

In article 11752@constellation.ecn.uoknor.edu, smasilam@midway.ecn.uoknor.edu (Senthilamudhan Masilamani) writes:
|>I need a prog to take a dir name as input and list all the files and respective
|>sizes in the specfied directory as well as recursively work on all the sub-
|>directories. A few scripts were posted a while back but they didnt 
|>work recursively. If anyone knows of such a program to create such a tree,
|>please let me know.
|>SM

Look at the man pages for ls, especially the "-s" and "-R" options.

"ls -sR" does what use ask for, at least under SunOS.

Other implementations of ls may not, but it is worth looking at.


---
	Robert Haar               InterNet : rhaar@gmr.com 
	Computer Science Dept., G.M. Research and Environmental Staff
DISCLAIMER: Unless indicated otherwise, everything in this note is
personal opinion, not an official statement of General Motors Corp.


Xref: sparky comp.unix.misc:3926 comp.sys.sun.misc:4620 comp.unix.shell:4298
From: jcao@rnd.GBA.NYU.EDU (Jingbin Cao)
Newsgroups: comp.unix.misc,comp.sys.sun.misc,comp.unix.shell
Subject: C-shell unlimit disables sendmail
Date: 13 Oct 92 11:44:35 GMT
Followup-To: comp.unix.misc
Organization: NYU Stern School of Business

[Note cross-posting. Followup to comp.unix.misc]

I have an account on a Sun Sparc workstation with 64m memory and
running SunOs 4.1. I had had "unlimit" in my .cshrc for about a year
without any problems. Recently, however, it started to disable me from
sending mails via mm, mail, or emacs. (It took me quite a while to
identify the cause.) Everything works as usual, except that the
recipient never gets the mail.

With unlimit in my .cshrc, using limit gives the following:

cputime 	unlimited
filesize 	unlimited
datasize 	2097144 kbytes
stacksize 	1966080 kbytes
coredumpsize 	unlimited
memoryuse 	unlimited

I have to adjust the limits to the following in order to get the mail
delivered:

cputime 	unlimited
filesize 	51200 kbytes
datasize 	2097144 kbytes
stacksize 	8192 kbytes
coredumpsize 	53248 kbytes
memoryuse 	53248 kbytes

I suspect the culprit is stacksize, because if I raise it to 10m, mail
won't get delivered. I believe what I observed is rather mysterious.
Do you have any good explanations?

Jingbin

From: tmilner@hprpcd.rose.hp.com (Tom Milner)
Date: Tue, 13 Oct 1992 22:00:35 GMT
Subject: Re: xwd -> postscript
Organization: Performance Technology Center, Roseville
Newsgroups: comp.unix.misc

In comp.unix.misc, iqbal@pawnee.eel.ufl.edu (M.Iqbal) writes:

|    Hi,
|
|    Does anybody knows how to convert X-window-dump file into 
|    postscript?
|
|    thanks
|
|    -- 
|
|    ------------------------------------------------------------------
|                                            
|                                                        >><<<     >>><<<<
|    Iqbal@sioux.eel.ufl.edu                             (o o)     (o) (o)
|    University of Florida                               [ | ]        | 
                                                   -         ---

I'm not sure if this works on all systems, but on HP you can:

        xwd | xpr -device ps 
                                  _____________________________________
                                 /_______________  ___________________/
                                                / /
                                               / /
                                              / / Tom Milner (Tn: 785-5637)
                                             / /  HP Performance Tech Center
                                            / /   tom@hpptc44.rose.hp.com
                                           /_/    __________________________
                    
Xref: sparky comp.unix.misc:3949 comp.sys.hp:11772
From: herberj@prism.CS.ORST.EDU (John Wesley Herberg)
Newsgroups: comp.unix.programer,comp.unix.misc,comp.sys.hp
Subject: Printing from a process
Date: 16 Oct 92 19:19:40 GMT
Organization: Oregon State University, Computer Science Dept.


Can someone tell me how to interface w/the lp daemon in HP-UX 8.xx from
a C program.  Forking lp isn't acceptable.  I've looked through the books,
manuals, & header files w/no luck.  I did read something about creating a pipe
& sending that pipe's name to the daemon, but it wasn't specific enough for me
to do the coding.  Any references, details, or examples would help a lot.

Thanks in advance,
-- 
-----------------------------------------------------------------------
John W. Herberg	     		      Internet: herberj@prism.cs.orst.edu
Xref: sparky comp.unix.misc:3941 comp.unix.questions:12117 comp.unix.shell:4328
From: parker@gdls.CSCTMD.COM (The Dougster)
Newsgroups: comp.unix.misc,comp.unix.questions,comp.unix.shell
Subject: SCCS: Renaming files
Date: 15 Oct 92 12:57:13 GMT
Followup-To: gdls!parker@ilium.troy.msen.com
Distribution: usa
Organization: Computer Sciences Corp. @ General Dynamics

I have two dozen c-source files in sccs, some of which need to be
renamed. Does sccs provide a command to rename the sccs'd files,
or is this something that can be done safely from the os using mv?

Douglas                                  DoD#1961  BMWMOA  Renting:N56136
            [Life is for learning.]
Reply-To: gdls!parker@ilium.troy.msen.com
From: paul@dcs.ed.ac.uk (Paul Anderson)
Newsgroups: comp.unix.misc
Subject: Re: Bison Problem
Date: 13 Oct 92 11:51:56 GMT
Organization: Department of Computer Science, University of Edinburgh

In article <Bw21qB.L0A@cs.bham.ac.uk>, row@cs.bham.ac.uk (Reuben O. Wells) writes:
> Hi,
> 
> I am not sure if this is the correct place to post this, but never
> mind. I am trying to use bison to build a simple parser for
> a small project that I am working on, I have read the documentation
> but still am not sure what the problem is with the following piece
> of code:
> 
> block:	/* Empty String */
> 	| WORD block		{ printf("%s",$1); }
> 
> Where WORD is a terminal symbol.
> 
> This does not work ! I just get random strings printed from the
> file I am trying to parse, however the following does work:
> 
> block:	/* Empty String */
> 	| block WORD		{ printf("%s",$2); }
> 

This is almost certainly a problem of memory allocation.
What does your scanner look like?
I suspect that your scanner uses a static memory area (yytext?) for the
string representing the WORD.

In the first case, the memory containing WORD wil be overwritten as the
scanner looks ahead to try and parse the "block". In the second case, the
WORD comes at the end, so this will be the most recently scanned symbol and
the static memory will contain the correct string.

Try getting your scanner to allocate dynamic memory for the strings
representing WORDS.

Paul Anderson                      email: paul@dcs.ed.ac.uk
LFCS, Dept. of Computer Science
University of Edinburgh            phone: (+44) (0)31-650-5193
Edinburgh EH9 3JZ, UK.             fax:   (+44) (0)31-667-7209
From: fkao@buengf.bu.edu (Frank Kao)
Newsgroups: comp.unix.misc
Subject: Postscript Document Printing Problem
Date: 14 Oct 92 13:34:07 GMT
Organization: College of Engineering, Boston University, Boston, MA, USA
Originator: fkao@buengf.bu.edu

Hi Netters,

Is there any utilities out there that can read a post script document file,
and print the result onto a regular vt series terminal?

thanks in advance for your response
fkao