HDTenEightyP/NetNews huggingface dataset:
From: reece@eco.twg.com (Reece R. Pollack)
Subject: Re: PSM$REPLACE with VAXC
Reply-To: reece@eco.twg.com (Reece R. Pollack)
Organization: The Wollongong Group (East Coast Operations)
Date: Fri, 21 Aug 92 20:02:26 GMT


In article <l+#n1nj.shepperd@netcom.com>, shepperd@netcom.com (David Shepperd) writes:
|>uugblum@ariel.lerc.nasa.gov (VMScluster Administrator) writes:
|>: Does anyone have an example of how to use the PSM$REPLACE routine from VAX C?
|>
|>Yep:
|>
|>[...bla_bla...]
|>The main thing you need to know is that you cannot have a main() function
|>defined anywhere in your C code. Having a main() causes the program to call a
|>bunch of startup code in the VAXCRTL which will die a miserable death because
|>the symbiont doesn't have the command intrepreter. This means you have to get
|>control transferred to the C code in another manner. I cheap out and do this
|>with the following 4 line MACRO32 program:
|>
|>.entry tek_main,^M<>
|>   calls #0,start_c
|>   ret
|>.end tek_main
|>
|>Don't use any builtin VAXCRTL I/O (like fopen, fread, etc.) or process
|>functions (fork, etc). They probably won't work because the VAXCRTL startup
|>code hasn't been executed. I believe you are confined to using RMS,
|>QIO's, SYS$ and LIB$ calls directly.

I'm not aware of any problem using the VAXCRTL code in print symbionts,
as long as you don't expect to use functions which depend on the CLI.
I've written a number of print symbionts in VAX C and never had to play
the game you're advocating.

Yes, you can use the VAXCRTL I/O functions in your program.

--
Reece R. Pollack
Senior Software Engineer
The Wollongong Group, Inc.
Newsgroups: comp.os.vms
From: egger@ubeclu.unibe.ch (Martin Egger)
Subject: Re: SET TRANSPORT command in VMS MAIL
Reply-To: EGGER@ID.unibe.ch
Organization: University of Bern, Switzerland
Date: Wed, 12 Aug 1992 11:07:41 GMT

In article <1992Aug11.143633.23348@ll.mit.edu>, jordan@ll.mit.edu () writes:
>
>In article <1992Aug10.120547.838@slcs.slb.com>, brydon@asl.slb.com (Harvey Brydon (918)250-4312) writes:
>
>>Yes.  It allows you to set a foreign transport as default for your username.
>>If you have a transport 'X', rather than sending all your mail to 'x%address',
>>you can SET TRANSPORT X and send to 'address' instead.  For this to work
>>properly, your transport must be able to send locally to your system with only
>>a username spec.  MX for example works for all cases except this one.  If you
>>have MX on your system and you specify SET TRANSPORT MX, you will have to
>                                        ----------------
>
>When I do this, I get:
>MAIL-E-ILLTRPT  MX is an invalid transport specification
>
>I have MX installed under VMS 5.5.     What am I doing wrong?

Do a SET TRANSPORT MX%
                     ^

Martin


*******************************************************************************
  Martin Egger, Ph.D., Computing Services - System and User Support Group
  University of Bern, P.O. Box, Laenggassstrasse 51, CH-3012 Bern, Switzerland
  Phone: ++41 (0)31 65 38 45, Fax: ++41 (0)31 65 38 65, Telex: 753 112 unib ch
  RFC: egger@id.unibe.ch, X.400: S=egger;OU=id;O=unibe;P=switch;A=arcom;C=ch;
  HEPNET/SPAN: 20579::49203::egger, DECnet (Switzerland): 49203::egger 
*******************************************************************************
From: Programmierer@BEIZ.mediatex.ch (055485666: MEDIAtex AG)
Newsgroups: comp.os.vms
Subject: Re: READING ISO-9660 CD'S ON AN INFOSERVER
Date: 18 Aug 92 10:43:04 GMT
Organization: MEDIAtex AG, CH-8807 Freienbach/SZ

It is possible. It's also possible to read from a normal VAX with a single
CD-Drive (RRD40 or RRD42).

The only thing you have to do is install the layered product "F11CD".

F11CD is on the INFO-SERVER-CD and can be installed on any VMS 5.5 machine.

You get two new commands (at least).

CD_MOUNT and CD_DISMOUNT

This two commands works verry simular than MOUNT / DISMOUNT expect it detects
automatly the CD-format. you can mount VMS or ISO9660 or HighSierra without
any problems and access all of the data on it.

The license of F11CD is included in VMS.the only thing you have to have is the
medium. In the future the functionality of F11CD will included in VMS itself.












|B                                    B|
|E           CH: VTX *3600#           E|
|I           D:  BTX *28881#          I|
|Z                                    Z|
From: iccsap020@spacm1.spac.spc.com (David Cohen)
Newsgroups: comp.os.vms
Subject: Re: RDB Locking
Date: 18 Aug 92 15:46:00 PDT
Organization: Security Pacific Automation Co., LA, CA

In article <1992Aug15.215911.6545@enea.se>, sommar@enea.se (Erland Sommarskog) writes:
> MCCARTHYD@CSVAX.COSC.BROCKU.CA writes:
>>When a read/write transaction is started reserving  a table for shared write,
>>and the same transaction is started by another process, locks are encountered
>>when attempting to select a set of rows even when neither of the transactions
>>has performed any work.
>>...
>>It appears that if the data is accessed without use of the indexes, a lock
>>conflict is encountered even though there are no locks imposed due to work
>>performed by the other session(process).
> 
> Your observation is entirely correct, and what is you see is 
> indeed the expected behaviour.
> 
> What is happening is that when RDB decides to do search a
> relation sequentially, it enforces protected mode even if
> you said shared. And as you may know, in protected mode
> the entire relation is locked.
> 
> I can't off-hand say where this is documented. 


It's in the Database Maintenance and Performance manual, version 3.1,
chapter on optimzer, 15-21, 15-22; also chapter on improving database
performance, pages 14-41, 14-42.
Newsgroups: comp.os.vms
From: HARTTREE@vax1.elon.edu (Matthew Harttree)
Subject: HELP!!!! vt320 and vax and kermit and ugh!!!
Organization: Elon College
Date: Sun, 16 Aug 1992 09:49:57 GMT
X-News-Reader: VMS NEWS 1.22

I am poasting this to as many places as possible because I am really 
in dire need:

Does any one have a working vms oriented (as in all the terms working) 
termcap file for Emacs and other programs that follow that format.

We are using kermit and have been forced to change from vt102 emulation to
vt320 emulation in kermit and are lacking in a termcap database entry for
theses styles of terminals.


I would really appreciate some help!

(school starts soon for us!)

Matt
(harttree@vax1.elon.edu)

Xref: sparky comp.os.vms:13571 comp.sys.dec:4486
From: mako@uihepa.hep.uiuc.edu ("Makoto Shimojima, Univ of Tsukuba/CDF")
Subject: Re: LBN => Filename / FID => Filename ??
Reply-To: mako@uihepa.hep.uiuc.edu
Organization: High Energy Physics, University of Illinois, Urbana-Champaign
Date: Thu, 20 Aug 1992 06:00:44 GMT

> Does anyone have a way to take a logical block number (LBN) and determine
> which file it's part of? [...] The same goes for the File IDs (e.g.
> (135,1,0) ) reported by utilities like ANALYZE/DISK.

Use Joe Meadows's FIND utility:

FIND

  Examples

    FID

       If you know a file id, you can display the info on that file via:
            $ FIND/DISPLAY=ALL/FILE_ID=(1,4)
       This would display INDEXF.SYS [fid = (1,1,0)] and 000000.DIR (4,4,0).
       Note that only the first number of the File ID should be specified.

    LBN

       Suppose you have a block go bad, you know the LBN, and  you  want  to
       know the file which contains it:
            $ FIND/LBN=19500
       would display the file containing that LBN.

       Another way (is this cheating?) would  be  to  search  for  any  file
       marked corrupt:
            $ FIND/CHARACTERISTICS=FILE_CORRUPT

       Perhaps you want to see what LBNs are in a specific file,
            $ FIND/DISPLAY=LBN/FULLNAME=EXAMPLE.TXT

						mako

PS: FIND is available from vmsserv@fhcrcvax mail server.
Newsgroups: comp.os.vms
From: marshall@force.ssd.lmsc.lockheed.com (Bob Marshall)
Subject: Re: HP laserjet-3 problems
Reply-To: marshall@force.ssd.lmsc.lockheed.com
Organization: LMSC, Sunnyvale, California
Date: Tue, 18 Aug 92 16:48:02 GMT

In article <23763@oasys.dt.navy.mil>, shorrow@oasys.dt.navy.mil (Paul Shorrow) writes:
>we have a HP laserjet-3 printer hooked up to our Micro-vax running
>VMS4.7....we are connected through terminal port txa6.....
>we are having problems getting the laserjet to print in the 132 column
>mode. Has any one else been able to print 132 columns....
>
>  the following was extracted form our systartup.com file and shows how 
>  we have set up the hp laserjet printer:
>
>$!  set laser printer characteristics, set txa6: spooled
>$!     set up queue sys$print
>$
>$ set terminal txa6:/speed=9600/perm/nobroadcast/notypeahead/nowrap-
>  /width=132/page=66/unknown/parity=none/hardcopy/eightbit
>$ define/system laser txa6
>$ set device/spooled=(sys$laser ,sys$sysdevice:) laser
>$ set que/separate=(reset=port) sys$laser
>$ init/que-
>      /start -
>      /on=laser -
>      /library=lsr$devctl -
>      /separate=(reset=(port),noflag,notrailer)  sys$laser
>$ define/form-
>        /description="hp laserjet portrait default" -
>        /setup=PORT -
>        /width=132 -
>        /length=66 -
>        /margin=(top=0,bottom=0,left=0,right=0) -
>        lsr$port              2

All you need is a module in your device control library that contains the
necessary escape sequence. I assume the PORT module prints at 10-pitch
in portrait mode. Here are three modules I have in my HP device control
library :

Portrait mode, 16.66-pitch, approximately 132 characters/line :

<ESC>&l0O<ESC>(8U<ESC>(s0p16.66h8.5v0s0b0T
<ESC>&l8D


Landscape mode, 10-pitch, approximately 110 characters/line :

<ESC>&l1O<ESC>(8U<ESC>(s0p10h12v0s0b3T

Landscape mode, 16.66-pitch, approximately 180 characters/line :

<ESC>&l1O<ESC>(8U<ESC>(s0p16.66h8.5v0s0b0T
<ESC>&l8D


Of course, <ESC> represents an escape character (ASCII 27).

Insert these modules (or suitably customized ones) into your device
control library, then just do, for example, PRINT/SETUP=HPCOMP to 
invoke them.

I also suggest that you make sure your form is defined with the
/NOWRAP and /NOTRUNCATE switches. Also, for your PORT.TXT module I
suggest you add a DCS control character (ASCII 144) at the top of it
and an ST control character (ASCII 156) at the end of it. This will
fool the VAX into thinking that the entire module is an ANSI escape
sequence and it will prevent it from doing an extra form feed.

=============================================================================
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
=============================================================================
From: lhotka@abel.incstar.com
Newsgroups: comp.os.vms
Subject: Reading ISO-9660 CD's on an Infoserver
Date: 14 Aug 92 11:43:38 GMT
Organization: INCSTAR Corp, Stillwater MN

I am trying to read ISO-9660 CD's from my Infoserver.  In checking around
with DEC it appears that I need the Infoserver client software for VMS at
version 2.1.

For some reason the June CON_DIST CD's only have 1.0 of the software,
though DECdirect says that 2.1 has been available since May.  Odd.

Can anyone actually confirm that the 2.1 software will allow me to read
ISO-9660 CD's?

Can anyone tell me how to get/find the 2.1 software since it is somehow not
on the distribution?

Thanks much!

 Rockford Lhotka                                INCSTAR Corp
 Applications Project Leader                    1990 Industrial Blvd
 lhotka@incstar.com                             PO Box 285
 612/779-1701                                   Stillwater, MN 55082
           >>>Amiga - The computer for the creative mind<<<
Newsgroups: comp.os.vms,vmsnet.sources.d,vmsnet.internals,vmsnet.mail.mx
From: whgoat01@ulkyvx.louisville.edu
Subject: WKUVX1 power failure
Organization: University of Louisville
Date: Wed, 12 Aug 1992 14:10:43 GMT

WKU is experiencing a power failure on half the campus.  It went out
Tuesday, 08/11, at 1:30 and isn't expected to be restored until late
Wednesday afternoon.  If you've asked for files from one of the
WKUVX1 file servers, or have sent mail to one of the WKUVX1 mailing
lists, your message is queued at WKYUVM until the power is restored
and, hopefully, WKUVX1 comes back on-line.

Ya know, I never realized just how much of what I do depends on having
power.....

Hunter, working from a different account
------
Hunter Goatley, VMS Systems Programmer, Western Kentucky University 
goathunter@WKUVX1.BITNET
From: JBUTLER@UTMEM4.UTMEM.EDU ("BUTLER_J")
Newsgroups: comp.os.vms
Subject: DECW => DECW Motif Upgrade Info
Date: 20 Aug 92 14:33:00 GMT
Organization: The Internet


	Last week, I upgraded a VAXStation from VMS v5.4-2 and MOTIF v1.0A
to VMS v5.5-1 and MOTIF v1.1 with ease.  First, there were about 100,000
free blocks on the system disk, so I didn't tailor off anything...just
cleaned up old files and backed up the disk.  In Phase 1 of the upgrade,
it knew that I previously had MOTIF installed, so it only asked if I
wanted to install DECwindows device support - to which I said "Y".  If
you have DECwindows installed it will ask about all DECwindows components.
You would then want to answer "N" to all EXCEPT the DECwindows device
support.  Either way, you come out with just what you need.  Look at the
comments at the first bullet on page 8-10 (3-8 for new installation - note
in middle of page) for this information.

	You will notice that starting in Phase 2 the system date is off!
Continue with upgrade, and answer "N" in Phase 6 to the question about
upgrading to the new JOB_CONTROL at this time.  Convert your JOB_CONTROL
and queue system after the upgrade and you are all set.  After the VMS
installation/upgrade, simply install/upgrade the MOTIF software from it's
distribution and you should have everything you need.

				Jenny Butler
				System Manager
				Univ of Tenn Memphis
From: welchb@woods.ulowell.edu
Newsgroups: comp.os.vms
Subject: Re: Number of users logged on a cluster member
Date: 19 Aug 92 17:01:10 GMT
Organization: University of Lowell

Another way would be for DEC to add a simple switch to SHOW USERS which
would give the desired output.
Pardon the drollness; I am quite serious about the method of solution,
in this particular case.  More generally, I would like to see more
such suggestions; I suspect that those that get the most attention
come from old-time DECUS members, or via DSIN, or from DEC looking at
good code written by users who have improved on DEC; but I do not have
any of those avenues.
-- 
Brendan Welch, UMass/Lowell, W1LPG,  welchb@woods.ulowell.edu
From: colombo@bronco.fnal.gov (Rick Colombo - Fermilab)
Newsgroups: comp.os.vms
Subject: Re: Avoiding voluntary and involuntary WS trimming.
Date: 14 Aug 92 15:04:58 GMT
Organization: Fermilab Computing Division

In article <01GNI1F16LJ40009IH@urvax.urich.edu>, ATKINSON@URVAX.URICH.EDU writes:
> 
> We've got a detached process that uses enormous amounts of work space, but we
> cannot afford for it to get trimmed during our normal AWSA process. We've tried
> using a variation of Bruce Ellis's WSBLASTER, only we just punch the noadjust
> bit in the process header. All we get out of it is a fatal bugcheck with a, and
> this is not exact, it was done before I started working at the job, virtual
> memory violation out of bounds type bugcheck.
> 


If you don't want AWSA to work, set WSDefault=WSQuota=WSExtent.

(I think this is what you are asking for, sorry if I missed the point.)

 ___________________________________________________________________________
 *****  *   *  From the e-net desk of: Rick Colombo CD/DCD/DSG    *    *
 *      **  *  Fermi Nat'l Acc'l Lab   708-840-8225 Fermilab     * *   *
 ***    * * *  P.O. Box 500   MS 369   Feynman Computer Center  *****  *
 *      *  **  Batavia, Ill. USA 60510 Colombo@fnal.fnal.gov    *   *  *****
 *  Sure to get `Flamed' if I didn't cross all my i's and dot all my t's ;-)
From: kjb@calmasd.prime.com (Ken Brucker)
Newsgroups: comp.os.vms
Subject: Re: Ethernet address from DCL
Date: 14 Aug 92 18:39:15 GMT
Organization: Computervision - A Division of Prime Computer

In article <13AUG199209282884@reg.triumf.ca>, grant@reg.triumf.ca (Peter A. Grant) writes:
> 
> Following all of the other requests about obtaining system information from
> DCL:  is it possible to obtain the Ethernet address (the real one 08-00...)
> from the DCL level?

How about "MCR NCP SHOW KNOWN LINE CHARA"?

But then you're probably looking for a lexical function huh?  :)

Ken

-------------------------------------------------------------------------------
**  Ken Brucker -- VMS/Ultrix Systems Programmer/Mangler -- Computer Vision
 **  kjb@calmasd.Prime.COM  
  **  Practice Random Kindness and Senseless Acts of Beauty
From: byron@YOGI.HSC.UCALGARY.CA (Byron Draudson)
Newsgroups: comp.os.vms
Subject: uVAX 3100-90, SCSI Disk options
Date: 20 Aug 92 15:46:16 GMT
Distribution: world
Organization: The Internet

Greetings all.  I'm looking for the "best overall" SCSI drive for a uVax 3100
model 90 that we might get.  By "best" I mean in terms of performance and
reliablity - price is somewhat secondary.

The specs for the uVax mention that the max I/O is 4 MB/sec.  Is this the max
for SCSI (version 1)?  I think that the SCSI-2 spec has a max I/O of 10 MB/sec,
correct?  So on to the _real_ question: Would configuring a uVax 3100-90 with
SCSI-2 drives like the Seagate Elite-1 be overkill for the SCSI controller?
Can this even be done?  What about "Fast SCSI-2" like the (Seagate) Elite-2's?

It's probably obvious that I'm somewhat confused by SCSI, so any help is
greatly appreciated.

:byron
________________________________________________________________________
Byron Draudson, Systems Manager               byron@yogi.hsc.ucalgary.ca
Radiology, Foothills Hospital, Calgary, Alberta, Canada   (403) 670-2442


Newsgroups: comp.os.vms
From: mgrthh@HYDRA.ROSE-HULMAN.EDU
Subject: Connecting FTA to VTA
Reply-To: mgrthh@HYDRA.ROSE-HULMAN.EDU
Organization: Rose-Hulman Institute of Technology
Date: Wed, 19 Aug 1992 12:57:54 GMT


   I am writing an application that uses pseudoterminals (the new, FTA kind)
   as the input/output device of an interactive process.  This process is
   created with $CREPRC, with the flags PRC$V_INTER, PRC$V_DETACH, and
   PRC$V_NOPASSWORD, executing LOGINOUT, so that an interactive process is
   created without having to enter a username and password.  This happens
   fine.

   What I want to do is have a virtual terminal (VTA) device be connected to
   the pseudoterminal, so that the interactive process can become
   disconnected from the pseudoterminal.  Virtual terminals are already set
   up correctly on the system, and the pseudoterminal is being created with
   the TT2$V_DISCONNECT bit set.

   What happens: If I do not create the process (but rather simply create
   the pseudoterminal), input to the pseudoterminal will cause the job
   controller (I believe) to create a virtual terminal, attach the
   pseudoterminal to the virtual terminal, and create a process running
   LOGINOUT.

   The question: How do I do what the job controller (apparently) is
   doing--how do I create the VTA device and connect the "physical" FTA
   device to it?

   Thanks for any help that anyone can provide!

                                                        - Tom

--
Thomas H. Hopson                                mgrthh@rosevc.rose-hulman.edu 
VMS System Manager                              mgrthh@rhit.bitnet
Rose-Hulman Institute of Technology             
Terre Haute, Indiana                  NeXTmail: mgrthh@nextwork.rose-hulman.edu
From: marshall@force.ssd.lmsc.lockheed.com (Bob Marshall)
Newsgroups: comp.os.vms
Subject: Re: TASK object
Date: 12 Aug 92 21:59:11 GMT
Reply-To: marshall@force.ssd.lmsc.lockheed.com
Organization: LMSC, Sunnyvale, California

In article <1992Aug12.190456.23415@cco.caltech.edu>, carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) writes:
>In article <9208101551.AA19377@relay2.UU.NET>, gleeve@galaxy.dnet writes:
>>   Keeping the FAL and TASK defaults apart is a very good precaution
>>in those cases.
>
>And what then happens when some bright person happens across the technique:
>	$ COPY my_procedure other_node::"0=SYS$NET:"

In my case I have the username associated with the TASK object execute
the following LGICMD :

$ set noon
$ set noverify
$ sysnet = f$logical("sys$net")
$ if f$locate("SYS$NET",sysnet) .ne. f$length(sysnet) then logout
$ exit

This seems to inhibit such a trick.

=============================================================================
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
=============================================================================
Newsgroups: comp.os.vms,comp.sys.dec
From: mrl@uai.com (Mark R. Ludwig)
Subject: Unique hardware identifier for software security under VMS
Followup-To: poster
Organization: Universal Analytics, Inc., Torrance (LA), CA
Date: 20 Aug 92 19:02:37

The "big" VAXen have SIDs which are actually unique, I think.  The
"small" VAXen don't, and as far as I know, they haven't had unique
SIDs since the first uVAX rolled off the line.

What are the possibilities for "attaching" a piece of software to a
piece of hardware?  I'm only interested in pure software "solutions."

I would prefer not to (re)start the flame-war over software licensing,
please.

Since these groups are already quite busy, please reply directly, and
I'll summarize on request.$$
-- 
INET: mrl@uai.com      BANG: uunet!uaisun4!mrl      ICBM: USA; Lower Left Coast
  "You can get a crowd to clap at a phone number, if the inflection is right."
   -- Dave Ross
From: n8846069@henson.cc.wwu.edu (Barry)
Newsgroups: comp.os.vms
Subject: Re: DECsound and VAXstation 4000 VLC
Date: 22 Aug 92 09:30:29 GMT
Article-I.D.: henson.1992Aug22.093029.16982
Distribution: na
Organization: Western Washington University

bdr@cbnewsg.cb.att.com (brian.d.reed) writes:

>In article <1992Aug19.181335.2695@henson.cc.wwu.edu> n8846069@henson.cc.wwu.edu (Barry) writes:
>>We just installed DECwindows-Motif 1.1 here, 
>                                    ^^^

>How'd you do that?  We just got the July 92 distribution, but all I
>see on there is Motif 1.0A.  I've been looking for some new things.

Yes, believe it or not, it really exists!  We just received it
last week.  We never had Motif 1.0, but from the huge
addendium that came with 1.1, it looks like it has lots of
new things included.

-BarryB
From: RICK@VSCNET.BITNET
Newsgroups: comp.os.vms
Subject: LAT to async mapping
Date: 19 Aug 92 20:59:00 GMT
Distribution: world
Organization: The Internet


Has anyone tried setting LAT ports to map to async ports ? ie.

        LATCP> set port lta99/node=nodename/port=tta1

where nodename is the name of a 3100 server running LAT under VMS 5.5.

When I create and set the port as above it seems to take. But I then try
to create a print queue using device lta99 and when I queue to it a
show que tells me my job is "printing" but nothing comes out on the printer
attached to tta1. :-(

Port tta1 is a 6 wire mmj connector on the 3100.

Ultimateely what I want to do is map a LAT port to an async port on a
remote server so that the queue that uses the LAT device can be managed from
the system the user is logged into when printing but hte output will go to
a printer hanging off of their server. Dec's Distributed Queueing Services
allows submitting of jobs and control of entries but no management (form
change, start/stop, etc.) of the output queue from the remote node.

Send info directly to me and I will summarize if appropriate.

================================================================================
   Rick Blood
Vermont State Colleges
BITNET: rick@vscnet
PHONE: 802-241-2535