HDTenEightyP/NetNews huggingface dataset:
From: acm@nauvax.ucc.nau.edu
Newsgroups: comp.os.vms
Subject: RE: CMKRNL as an image priv:  Security problem?
Date: 1 Oct 92 22:11:54 GMT
Organization: Northern Arizona University

In a previous article, sysop wrote:
>If a process has an image privilege (as opposed to a process privilege), is it
>possible for that process to acquire the priv?  How?  What can I do to prevent
>a possible security problem like this? 

   There's always a risk when giving out privileges, however security can be
maintained if a few coding guidlines are followed.  Here are a few that I 
follow.

   1) Use only the necessary privs to accomplish a given task, avoid turning
      on all privs.  

   2) Be sure to get and save the process's PROCPRIV mask.  $GETJPI with the
      JPI$_PROCPRIV item will do the trick.  If your image intends to use
      $SETPRV.  Be sure and restore the saved procpriv mask prior to image
      exit.  USE AN EXIT HANDLER!!!

   3) Set the process's procpriv mask back to the original prior to calling
      LIB$SPAWN or $CREPRC otherwise the created subprocesses will inherit as
      authorized privs any privs in the creating processes procpriv mask.  If
      $CREPRC is used to create a detached process, specify a privilege mask
      and a UIC.

   4) Be aware of the side effects of privileges.  For example, BYPASS allows
      one to fiddle with logical names in the system table as well as anybody's
      group or job table.  READALL cleverly used can mean "WRITEALL".  CMEXEC
      gives an implied SETPRV and CMKRNL.  E.G. a process executing in EXEC
      mode can set any privilege bit or call $CMKRNL.  There are other overlaps
      in the VMS privilege scheme.

   5) When building a privileged sharable image (user written system service)
      be sure and specify an image rundown routine and use it to reset privs
      and any other fun things the image may have set up. (process priority,
      rights identifiers etc.)

   6) Carefully check any arguments that are supplied by the nonprived user
      of your installed image.  Exit with a nasty error message if anything's
      amiss.

   Properly used, privileges won't compromise the security of the system.  Many
routine images are installed with privs (MAIL, PHONE, SET, SHOW etc.)
Installing an image with a priv to do a single task is much better than letting
normal users have the priv to play with on their own.

Tony McCracken
From: devoy@vixvax.mgi.com
Newsgroups: comp.os.vms
Subject: HELP: Knighting the underprivileged
Date: 5 Oct 92 17:14:37 CDT
Organization: Management Graphics, Inc.

HELP!!
	I am writing an application that must be an installed task which
can grant its installation privileges to a "underprivileged" user during
the execution of certain tasks. LIB$SPAWN runs with user privs and cannot
(methinks) be made to use task privs. SYS$CREPRC allows the task to specify the 
privilege mask to be used, and works for this purpose, but it is *PAINFULLY*
slow to wheeze out a spawned task (presumably due to the fact that it
goes through SYS$SYSTEM:LOGINOUT.EXE for each invocation.)

	Does anybody know of an alternative method of getting a spawned task
to execute with task vs. user privs without going through LOGINOUT.EXE?

	Thanks in advance for any replies.

-Dave Devoy; Network Products Group; Management Graphics, Inc.; Mpls, MN
Newsgroups: comp.os.vms
From: uugblum@ariel.lerc.nasa.gov (VMScluster Administrator)
Subject: Re: Multinet printing capabilities
News-Software: VAX/VMS VNEWS 1.41    
Organization: NASA Lewis Research Center
Date: 27 Sep 1992 23:02 EST  

In article <1992Sep23.192108.14750@iscnvx.lmsc.lockheed.com>, marshall@nebula.ssd.lmsc.lockheed.com writes...
>My site is currently heavily dependent on LAT for remote printing. In the
>very near future we will moving away from the LAT protocol altogether and
>moving towards TCP/IP. We will be replacing our DECServers with TCP/IP
>terminal servers. We'd like to hook the remote printers up to these TCP/IP
>servers and print to them directly from the VAX. Wollongong TCP/IP supports
>this, but I've never been satisfied with it (the Wollongong symbiont has a
>lot of trouble with bit-mapped raster graphics files). I've been told that
>TGV Multinet TCP/IP supports the setup I desribed ("stream queue support",
>I think it's called). Is anyone using this capability? If so, what kind
>of success have you had with it? By the way, if it makes any difference,
>we will be using Datability TCP/IP terminal servers.
> 
>=============================================================================
>Bob Marshall                     \\     "It ain't age
>Lockheed Missiles & Space Co.     \\     That makes me look this way
>Sunnyvale, CA                      \\    It ain't the years, boys,
>marshall@force.ssd.lmsc.lockheed.com\\   It's the miles"
>"I tell the truth 'cept when I lie"  \\     - Chris LeDoux
>=============================================================================

I've configured my first Multinet stream print queue last week for a Black
Box (Emulex) TCP/IP print server.  It appears to work ok, except that 75%
of the  time when a job is aborted, some of the data is missing from the
start of the next print job.  The job flag page is not in the correct pitch 
and some of the flag page is missing.  I am using the same queue setup for
the printer as those connected to DECservers.  Emulex mentioned that the
TELNET and QUEUE parameters should be disabled on the printer ports.  Has
anyone else run across this problem?

--------------------------------------------------------------------------------
Greg Blumers				Sverdrup Technology, Inc.
VAXcluster Administrator		c/o NASA Lewis Research Center
(216)433-6777				Mail Stop 142-2
					21000 Brookpark Road
uugblum@scivax.lerc.nasa.gov		Cleveland, OH 44135
--------------------------------------------------------------------------------
From: DWING@UH01.Colorado.EDU (Dan Wing)
Newsgroups: comp.os.vms
Subject: Re: TP_SERVER
Date: 5 Oct 92 15:07:39 GMT
Organization: The Internet

Walter H. Dick, III, <WHD0675@RITVAX.ISC.RIT.EDU>, writes:

>Does anyone know what the TP_SERVER process does?  I do not see any
>documentation for it anywhere.  Am I missing the obvious?  Nevertheless,
>it does not seem to be required for normal operation on VMS V5.4-2 systems.
>I heard rumors that it is required for the queue manager on VMS V5.5.  Is
>this true?  Is there any programming documenation?  Thanks in advance!

The TP_SERVER process is part of DECdtm, and is started on VMS 5.4 (and
greater) systems by default.  If you aren't using DECdtm, you should disable
DECdtm (and the associated overhead of the TP_SERVER process waking up
looking for something to do) by adding a line similar to:

  $ DEFINE/SYSTEM/EXECUTIVE SYS$DECdtm_INHIBIT TRUE

in your SYLOGICALS.COM file.  See the VMS V5.4 new features manual (chapter 3,
"Introduction to DECdtm Services") for more information.

-Dan Wing, DWING@UH01.Colorado.EDU or WING_D@UCOLMCC.BITNET (DGW11)
 Systems Programmer, University Hospital, Denver
From: hooft@fys.ruu.nl (Rob Hooft)
Newsgroups: comp.os.vms
Subject: Re: Utility to delete 0 block file
Date: 29 Sep 92 14:37:53 GMT
Organization: Physics Department, University of Utrecht, The Netherlands

In <hansg.717747771@risken> hansg@risken.vd.volvo.se (Hans Granqvist) writes:

>[someone] writes:

>> I am looking for a file utility that deletes 0 block file. Is such a utility
>> available?

>Don't know of a utility, but a RENAME of that file to another will cause
>RMS to "lose the file", i.e., it will be deleted.

Maybe for you, but not for me. I use (V4.7):

$!delnulls.com
$start:
$	f=f$search("*.*;*")
$	if f.eqs."" then exit
$	g=f$file(f,"EOF")
$	if g.eq.0 then DEL/LOG 'F'
$	goto start

-- 
Rob W.W. Hooft,  Department of crystal and structural chemistry
Bijvoet Center for Biomolecular Research, University of Utrecht
The Netherlands ===== hooft@chem.ruu.nl (hooft@hutruu54.bitnet)
From: mzagsaa@v4.cgu.mcc.ac.uk (Tony Arnold)
Newsgroups: comp.os.vms
Subject: Re: Survival of LAVC across network modifications
Date: 1 Oct 92 08:15:56 GMT
Reply-To: A.C.Arnold@mcc.ac.uk
Organization: Manchester Computing Centre


We recently installed an FDDI ring with a number of bridge routers used
to attach ethernet segments. The net then seemed very sensistive to ethernet
breaks. A five second break would cause nodes in the LAVC on a different
segment to crash with CLUEXIT.

It turns out the the brouter boxes detect the break and then take up to
30 seconds before they start forwarding packets again. This is longer than the
default value of RECNXINTERVAL.

I solved this by setting the said SYSGEN parameter to 120 on all nodes
in the cluster. I chose 120 because it can take these brouter boxes about 90
seconds to reboot, so we can even survive that.

I would recommend this to solve the bridge swap problem. I'm sure cables
etc can be moved over in this time.

Tony Arnold,
Manchester Computing Centre,
University of Manchester.
From: RMCEWEN@CCS1.BBN.COM (Regis McEwen)
Newsgroups: comp.os.vms
Subject: Re: DCL procedure to extract nodename from PID
Date: 2 Oct 92 16:05:00 GMT
Organization: The Internet

Neil,


>>> $! Note that if you happened to do the following then DCL takes and
>>> $! exception and therefore your process gets deleted :-)
>>> $!
>>> $! write sys$output f$getsyi("NODENAME",,csid)
>>
>>	Although, it appears that there was no mention in the release
>>	notes, this bug was fixed in VMS 5.4-3.
>
> I discovered it on a machine running 5.5! Neil.

	This is strange...it appears that the only version of VMS that
	this doesn't take exception since its inception is VMS 5.4-3.

	It doesn't work on VMS 5.5-1 either.

	Does anybody have a VMS 5.5-2 (or higher) machine that they can
	test this out on?

	Seems like that exception was just happened to be inadvertantly
	"fixed" only with VMS 5.4-3 somehow...


							-Regis


============================================================================
In article <1992Sep29.170529.16719@micrognosis.co.uk>, nreadwin@micrognosis.co.uk writes:
>In article <4061@sicsun.epfl.ch>, dutch@elpp7.epfl.ch writes:
|> 
|> Is there a simple method to extract the node name from a PID using DCL? 

The following does it. You could obviously compress this if you wanted to.

$ the_pid = f$getjpi(0,"PID")
$ interesting_bit = f$integer("%x" + the_pid) / 2097152
$ node_sequence = interesting_bit / 256
$ node_index = interesting_bit .and. %xFF
$ csid = %x10000 * node_sequence + node_index
$ write sys$output f$getsyi("NODENAME",,f$fao("!XL",csid))
$!
$! Note that if you happened to do the following then DCL takes and
$! exception and therefore your process gets deleted :-)
$!
$! write sys$output f$getsyi("NODENAME",,csid)

Newsgroups: comp.os.vms
From: rand@lucy.merrimack.edu
Newsgroups: comp.os.vms
Subject: Re: Changing Newmail count
Date: 1 Oct 92 15:08:26 GMT
Reply-To: rand@lucy.merrimack.edu ()
Organization: "Silicon Surfers, Inc."

,  1 11:08:26 19929211:08:26 1992ESTLines: 49


In article <01GPAH47DJU00001OM@BENTLEY.BITNET>, KSULLIVA@BENTLEY.BITNET writes:
>> I am running VMS version 5.4-3.  When I log into my account it says
>>I have 9 new mail messages but I am unable to read them.  Is there
>>a way to reset the new mail count?  I looked in mail help and there
>>is a SHOW NEW_MAIL_COUNT command but not a SET NEW_MAIL_COUNT command.
>
>        There is no direct way to set it. If you have no messages in your
>        NEWMAIL folder (i.e. DIR/NEW shows no messages), then READ/NEW will
>        reset your new mail counter to zero.


No direct way? Won't this work?

$!
$! Command file SET_NEWMAIL_COUNT.COM to examine and optionally change
$! the 'newmail' counter for a VAXmail user.
$!
$ OLD_PRIV=F$SETPRIV("BYPASS")
$ IF .NOT. F$PRIVILEGE("BYPASS") THEN $GOTO NOPRIV
$ READ/PROMPT="Enter User name to change: " SYS$COMMAND USER
$ USER=F$EDIT(USER,"TRIM,COMPRESS,UPCASE")
$ OPEN/SHARE=WRITE/READ/WRITE FILE SYS$SYSTEM:VMSMAIL_profile.DATa
$ READ/INDEX=0/KEY="''USER'"/ERROR=NONE_SUCH FILE RECORD
$ NEW_CNT=F$CVUI(35*8,16,RECORD)     ! Determine count from record
$ WRITE SYS$OUTPUT "User ''user' has ''new_cnt' new messages."
$ READ/PROMPT="Enter new count <RETURN> to leave untouched " SYS$COMMAND CNT
$ IF CNT .NES. "" THEN $GOTO MODIFY
$ WRITE SYS$OUTPUT "Count unchanged"
$ GOTO XIT
$MODIFY:
$ RECORD[35*8,16]=F$INTEGER(CNT)  !alter field in record
$ WRITE/UPDATE FILE RECORD	  !put record back
$ GOTO XIT
$NONE_SUCH:
$ WRITE SYS$OUTPUT "User ''user' does not exist"
$XIT:
$ CLOSE FILE                  
$ SET_PRIV=F$SETPRIV(OLD_PRIV)
$ EXIT
$NOPRIV:
$WRITE SYS$OUTPUT "Not enough privileges...."
$ EXIT

--
Rand P. Hall, System Janitor, Merrimack College, North Andover, Massachusetts
Internet: rand@merrimack.edu, rand@lucy.merrimack.edu
\  /\  /\  /\  /\____________________________________________________________  
 \/  \/  \/  \/     Abortion stops a beating heart
From: tillman@swdev.si.com ("Brian Tillman, Smiths Industries, VAX Support, x8425")
Newsgroups: comp.os.vms
Subject: Re: Utility to delete 0 block file
Date: 1 Oct 92 21:17:52 GMT
Distribution: world
Organization: The Internet

>Hans Granqvist writes:
>
>[someone] writes:
>
>> I am looking for a file utility that deletes 0 block file. Is such a utility
>> available?
>
>Don't know of a utility, but a RENAME of that file to another will cause
>RMS to "lose the file", i.e., it will be deleted.

Ah, excuse me?  What operating system are you using?  Here's what I did:

$ cre test.dat
^Z
$ dir/siz=all test.dat

Directory MYDISK:[MYDIR]

TEST.DAT;1                0/0

Total of 1 file, 0/0 blocks.
$ rena test.dat abc.def
$ dir/siz=all abc.def

Directory MYDISK:[MYDIR]

ABC.DEF;1                 0/0

Total of 1 file, 0/0 blocks.

Gee, it doesn't look lost to me!

-----------------------------+--------------------------------
 Brian Tillman               | Internet: tillman@swdev.si.com
 Smiths Industries, Inc.     |           tillman_brian@si.com
 4141 Eastern Ave., MS129    | Hey, I said this stuff myself.
 Grand Rapids, MI 49518-8727 | My company has no part in it.
-----------------------------+--------------------------------
From: moeller@gwdgv1.dnet.gwdg.de ("GWDGV1::MOELLER")
Newsgroups: comp.os.vms
Subject: DCL says 1 = 0 (puzzle)
Date: 2 Oct 92 15:48:28 GMT
Distribution: world
Organization: The Internet

--- file XX.COM ---
$ ???			[mystery line here]
$ show symbol 1
-------------------

$ @XX.COM
  1 = 0   Hex = 00000000  Octal = 00000000000

:-)

Wolfgang J. Moeller, GWDG, D-3400 Goettingen, F.R.Germany | Disclaimer ...
PSI%(0262)45050352008::MOELLER      Phone: +49 551 201516 | No claim intended!
Internet: moeller@gwdgv1.dnet.gwdg.de   | This space intentionally left blank.

Xref: sparky comp.os.vms:15695 vmsnet.sysmgt:259 vmsnet.misc:863
Newsgroups: comp.os.vms,vmsnet.sysmgt,vmsnet.misc
Subject: Please don't post system management questions to vmsnet.admin
From: tp@mccall.com (Terry Poot)
Date: Mon, 28 Sep 1992 08:03:05 CST
Reply-To: tp@mccall.com (Terry Poot)
Organization: The McCall Pattern Co., Manhattan, KS, USA
Nntp-Posting-User: tp


vmsnet.admin is for the administration of the VMSnet newsgroups. It is not an
appropriate forum for system management related questions. This is a mistake
that has been occurring quite a bit lately, so I thought it would be appropriate
to point it out. Within VMSnet, vmsnet.sysmgt is the proper group for such
discussions.

Descriptions of all VMSnet groups are posted monthly in my "What is VMSnet"
monthly posting, and are available (though not always current) in Gene
Spafford's "alternate hierarchies" posting in various groups within the news.*
newsgroup hierarchy on usenet (including news.announce.newusers, I believe).
--
Terry Poot <tp@mccall.com>                   The McCall Pattern Company
(uucp: ...!rutgers!depot!mccall!tp)          615 McCall Road
(800)255-2762, in KS (913)776-4041           Manhattan, KS 66502, USA
From: KEVIN@NCDLAB.ULCC.AC.UK ("Kevin Ashley, ULCC Systems group")
Newsgroups: comp.os.vms
Subject: re: Where is Nick de Smith
Date: 4 Oct 92 13:56:00 GMT
Article-I.D.: ucbvax.9210041500.AA04402
Distribution: world
Organization: The Internet

Recently, someone whom the news/infovax gateway identified as :

 att!news.cs.indiana.edu!arizona.edu!misvax.mis.arizona.edu!kaplan@EDU.Berkeley.ucbvax (RayK)

asked:

>Appologies for obvious brainfade.  Can anyone point me toward Nick de Smith
>(He's known to post here - I've tried the obvious places).  Thanks in
>advance.

Ray, if you had bothered to put your own email address in your message,
I wouldn't have to bother the rest of the list with this reply....

I don't know what you consider the "obvious places", but Nick is still
about and reachable as desmith_n@colloquium.co.uk ; any email sent to
his previous address, which appeared to be on this machine (ncdlab.ulcc.ac.uk)
but actually wasn't, is being auto-forwarded to his current address.

Kevin Ashley (K.ashley@ulcc.ac.uk)
Newsgroups: comp.os.vms
From: trgs@quads.uchicago.edu (T. R. Gowrishankar)
Subject: Help needed in reaching a SPAN node via decnet
Reply-To: trgs@midway.uchicago.edu
Organization: University of Chicago Computing Organizations
Date: Mon, 5 Oct 1992 15:40:09 GMT


Hi,

Can anyone tell me how to reach a SPAN network node by decnet.  Do I need
to configure decnet to access the node?

Thanks,

-Gowrishankar
From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Newsgroups: comp.os.vms
Subject: Re: MAIL$INIT Logical name doesn't work.
Date: 28 Sep 1992 20:57:01 GMT
Organization: HST Wide Field/Planetary Camera
Reply-To: carl@SOL1.GPS.CALTECH.EDU
NNTP-Posting-Host: sol1.gps.caltech.edu

In article <1992Sep23.115440.396@dct.ac.uk>, eesb2mm@dct.ac.uk writes:
=$ define/nolog MAIL$INIT EES:[B2.MM.MBOX]INTERNET.INI
=$ define /user sys$command sys$input
=$ mail
=$ exit
=
=and INTERNET.INI contains :
=
=set transport cbs%uk.ac.nsfnet-relay::
=define /key/terminate kp1 "SEND/NOTRANSPORT"
=
=MAIL, however, rejects ANY commands in the file pointed to by MAIL$INIT

You could, of course, simply have the DCL procedure be:

	$ MAIL
	set transport cbs%uk.ac.nsfnet-relay::
	exit
	$ define/nolog MAIL$INIT EES:[B2.MM.MBOX]INTERNET.INI
	$ define /user sys$command sys$input
	$ mail
	$ exit

and EES:[B2.MM.MBOX]INTERNET.INI contain:

	define /key/terminate kp1 "SEND/NOTRANSPORT"
--------------------------------------------------------------------------------
Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL

Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
understanding of astronomy is purely at the amateur level (or below).  So
unless what I'm saying is directly related to VAX/VMS, don't hold me or my
organization responsible for it.  If it IS related to VAX/VMS, you can try to
hold me responsible for it, but my organization had nothing to do with it.
From: RGS@UVMVAX.BITNET ("Randy G. Spooner")
Newsgroups: comp.os.vms
Subject: unsubscribe
Date: 1 Oct 92 03:04:00 GMT
Distribution: world
Organization: The Internet


        unsubscribe
From: leichter@lrw.com (Jerry Leichter)
Newsgroups: comp.os.vms
Subject: re: Does DIFFERENCE command work on binary files also?
Date: 5 Oct 92 03:02:34 GMT
Distribution: world
Organization: The Internet


	I'm trying to compare sets of binary files with the DIFFERENCE
	command.  The helpfile seems to imply that the command is only for
	text files.  Is that true?

Try DIFFER/MODE:HEX.  This will work on many "binary" files.

DIFFER does operate on a record-at-a-time basis, so if your "binary" file
has a very large record size, you are likely to lose.  But I regularly
compare things like .EXE files (for simple same/nosame decisions) and even
TeX .DVI files, where the first record will change if you re-TeX the file,
but the rest will remain the same.

If all else fails, DUMP the files and use DIFFER on the DUMP outputs!

							-- Jerry
From: warda@vax.oxford.ac.uk
Newsgroups: comp.os.vms
Subject: WANTED: Binary filesplitter for VMS
Date: 28 Sep 92 18:47:53 GMT
Organization: Oxford University VAX 6620

Can anyone tell me where I can get hold of (executable or C source) a 
filesplitter which can handle binary files?  I need to split some large 
archived files (variable length, max 510 bytes) into 700K chunks for download 
to 3.5" floppies.  I have compiled a splitter from source for an Amiga 
filesplitter, but the split chunks come out with a different VMS record
format, and the rejoined archive is hopelessly corrupt. 

Thanks in advance,

   Bill Bennett                           JANET: warda@uk.ac.oxford.vax    
   CRC Growth Factors Research Group   Internet: warda%vax.oxford.ac.uk  
Newsgroups: comp.os.vms,vmsnet.networks.tcp-ip.multinet,vmsnet.vms-posix
From: system@NIUHEP.PHYS.NIU.EDU
Newsgroups: comp.os.vms
Subject: ucx clustering capabilities
Date: 6 Oct 92 13:35:37 GMT
Distribution: world
Organization: The Internet

Hi,
    I have just connected up to internet and am using UCX 1.3a.  The
documentation talks about its clustering capabilities, specifically using
ucx set interface/c_address 
    and
ucx set inter/cluster.
    It lists NFS as being a client able to use this capability.  Does that
mean that FTP and TELNET can not use the cluster name?  The C_address is
an IP address, should that be an IP address of an existing node? or is
there some way of designating the whole cluster as an IP?  
    It states that the /cluster and /c_address commands are mutually 
exclusive, does that just mean within the same command line or that they
can not both be in force at the save time?
    Thanks in advance for any help you can give me.
Robert Morphis

system%niu.hepnet@lbl          BITNET
system@niuhep.phys.niu.edu     INTERNET
NIU::SYSTEM                    HEPNET
From: terryt@cs.athabascau.ca (Terry Tanski)
Newsgroups: comp.os.vms
Subject: Re: DEC create/terminal
Date: 30 Sep 92 14:52:11 GMT
Organization: Athabasca University

In article <dl10697.717796943@ehsn3.cen.uiuc.edu> you write:

>Hi Everyone,
>
>I'm new to DEC/VMS systems and I'm currently running with VAXStations.
>I have a question. I'm currently developing an application using
>DECWindows. One of the requirements is to have the Window applications
>pop up another DECTerm. I was able to successfully create the DECTerm.
>My question is: Is there a way to have this new DECTerm execute another
>image file? One method is to modify the Login.com, but we don't want
>to mess around with the user's login.com.
>
>Any help or pointers is greatly appreciated. thanks in advance.
>
>Duc T. Le
>led@sunfs1.dsd.northrop.com

Try the following code. It will run a image (passed as a parameter) inside
a DECterm. You will have to link the program with sys$library:decw$terminalshr.
If you have problems compiling it, let me know.

---Cut Here---
/*

   DWWindow.C - This program will execute a VMS image within a DECTerm Window

   Created by TGT : 08-Mar-1991

*/


#include stdio
#include descrip
#include prcdef
#include ssdef

main(int argc, char **argv)
{
    char    devnam[10];
    int	    status, proc_flags, devlen;

    $DESCRIPTOR(input, "");
    $DESCRIPTOR(output, "");
    $DESCRIPTOR(image, "");

    status = DECwTermPort(0, 0, 0, devnam, &devlen);

    proc_flags = PRC$M_INTER | PRC$M_DETACH;
    output.dsc$w_length = devlen;
    output.dsc$a_pointer = devnam;
    input.dsc$w_length = devlen;
    input.dsc$a_pointer = devnam;
    image.dsc$w_length = strlen(argv[1]);
    image.dsc$a_pointer = argv[1];

    status = sys$creprc(0, &image, &input, &output, &output,
			0, 0, 0, 0, 0, 0, proc_flags);

    exit();
}    
---Cut Here--- 

--
     *********	  Terry Tanski, B.Sc.
    **********
   .      ****	  Athabasca University - Computing Services 
  ..      ****	  Box 10,000 
 ....     ****	  Athabasca, Alberta CANADA
..........****	  terryt@cs.athabascau.ca