HDTenEightyP/NetNews huggingface dataset:
From: johnchad@triton.unm.edu (jchadwic)
Subject: Pathworks for DOS printing
Date: Tue, 07 Apr 92 03:47:56 GMT
Organization: University of New Mexico, Albuquerque
Distribution: comp.os.vms

Hello folks,

I have a question about printing services for pathworks for DOS. I have
a microvax 2000 running VMS 5.3 and pathworks for DOS 3.0 and pathworks
for mac 1.0. I recently inherited the system and just trying to bring it
back to life for now. The problem seems to be that I had about a half dozen
print queues and none worked for the mac side. I deleted all the queues
and made a que for the mac folks that works (slow, but it works). It also
works from vms prompt with a form= qualifier. The problem is when the
DOS folks try to print to the service from their DOS prompt using the
net print filename.ext lpt1: 
command line. I have the service in pcsa registered as laser and pointing
to the queue. When DOS tries to print using the net print command, dos says
all went well, yet nothing comes out of the printer. We did have the copy
command working well.

Any ideas or suggestions?

thanks,

john chadwick
From: hah@ws33-sys4.oce.nl (Hans Hendrikx)
Newsgroups: comp.os.vms
Subject: test
Date: 10 Apr 92 12:08:21 GMT
Organization: OCE Nederland B.V.



      ###########################################################
      #  This note does not necessarily represent the position  #
      #     of Oce-Nederland B.V. Therefore no liability or     #
      #      responsibility for whatever will be accepted.      #
      ###########################################################
From: gezelter@rlgsc.com
Newsgroups: comp.os.vms
Subject: Re: modem and terminals
Date: 15 Apr 92 07:33:03 EST
Distribution: world
Organization: Robert Gezelter Software Consultant, Flushing, NY

In article <5326@npri6.npri.com>, richard@npri6.npri.com (Richard Head) writes:
> mdh@gaya.gp.co.nz (Martin D. Hunt) writes:
> 
>>I would say that the modem is sending out some message, such as "RING<cr>", 
>>and the VAX is taking this to be an attempt to log on. Try turning off the 
>>message codes on the modem.
> 
> This is also where the /SYSPASSWORD  qualifier comes in handy.  It effectively
> prevents noise or messages from the modem from generating a login attempt.
> If the modem does generate the messages, you won't receive the characteristic
> "beep" if using syspassword.
> -- 
 
Good idea. However, if your system has sufficient security alarms enabled, I 
would not be surprised (I haven't had need to check this 
empirically in a while) if a modem generating messages like that, 
which fail to start a legitimate login, endup in the port being 
disabled since, a number of failures of login would look like a 
attempt by a "cracker" to gain access to the system.
 
The solution of turing off the message codes is a far superior 
solution. If a particular application (e.g. DECUS UUCP) requires 
the result codes to operate correctly, they can be temporarily 
turned on while the modem is owned by that particular process. 
Most current generation "smart" modems permit reset of parameters 
on Power-on/DTR Drop. Thus, when the user releases the modem, the 
modem will be reset to its default state.

+--------------------------------------------------------------------------+
| Robert "Bob" Gezelter                       E-Mail:  gezelter@rlgsc.com  |
| Robert Gezelter Software Consultant         Voice:   +1 718 463 1079     |
| 35-20 167th Street, Suite 215               Fax:       (on Request)      |
| Flushing, New York  11358-1731                                           |
| United States of America                                                 |
+--------------------------------------------------------------------------+
From: ARNE@ko.hhs.dk (Arne Vajhxj)
Newsgroups: comp.os.vms
Subject: Re: Total number of files on a volume
Date: 17 Apr 92 14:54:00 GMT
Organization: The Internet

> Also is there anyway to change the number of legal subdirectories (I can only
> access 8)?  Can you go deeper?

Yes, but only if you make one of the following tricks:

  1)  Use a rootet logical as device, that will give you 16 levels.

  2)  Use RENAME to move an existing subdirectory-tree to the bottom
      of another existing subdirectory-tree. That way you can create
      but not access arbitrary deep directory-structures.

  3)  Acess the directory-tree as a PCSA file-service. Now you can
      create and access (but only from the PC) a very deep
      directory-structure.

My best advice is to stay with the 8 levels, else you may get in trouble
one day. And 8 levels should be enough for most things.

                                                          Arne Vajhxj

Arne Vajhxj                             local DECNET:  KO::ARNE
Computer Department                     PSI:           PSI%238310013040::ARNE
Business School of Southern Denmark     Internet:      ARNE@KO.HHS.DK
From: WSC91ISA06@RCNVMS.RCN.MASS.EDU ("Norman R. Jacques at Westfield State College")
Newsgroups: comp.os.vms
Subject: Servername & serverport
Date: 16 Apr 92 17:24:00 GMT
Distribution: world
Organization: The Internet

I have the VMS NEWS program, but I need the name and address of a server that
I can get access to. Can anyone help. I have been trying to get this program
to work for a few weeks. Any information would help. Our system manager
could not help.


Thanks;


Norm Jacques
From: SYSMGR@IPG.PH.KCL.AC.UK
Newsgroups: comp.os.vms
Subject: re: What's the use of the SETPRV privilege?
Date: 10 Apr 92 13:37:19 GMT
Organization: The Internet


... same as the use of the safety-catch on a 12-bore ;-)
From: MAHAN@GRUBNIK.TGV.COM
Newsgroups: comp.os.vms
Subject: Re: XV 2.11 under VMS can't access network files
Date: 14 Apr 92 20:50:32 GMT
Distribution: world
Organization: The Internet

In article <1992Apr14.100456.1@cc.newcastle.edu.au> you write:
#
#How can XV v2.11 be tricked to access files on another node?
#

Unfortunately, it can't.  At least, not GIFs.

#
#We have a large collection of GIF files on our DECnet-based network which
#we would like to make available to all our other nodes. This works well for
#PC's (we use PathWorks V4.1), but NOT for VAXstation's with XV as the viewer.
#
#The problem seems related to the Un*x filename simulation under VMS.
#Network access works if we copy the file to a local disk, and then use XV.
#However, XV won't allow nodenames as part of the filename in the way that
#VMS Utilities do.
#

No, its not the UNIX filename simulation.

#
#I'm using XV V2.11 with VMS patches under VMS V5.4-3 Motif V1.0 with DECnet.
#
#I've defined DEVICE_LIST_ROOT to allow selecting different disks, and this
#works well, where each directory name in this directory is the name of
#a concealed logical name pointing to another device. 
#
#However, this won't work when the logical name includes a node name.
#
#
#
#example:
#
#$ dir shfcsa::*.gif
#
#Directory SHFCSA::USER$ROOT:[KEITH_W]
#
#ALEX.GIF;1          418     JISEL1.GIF;1        303
#
#Total of 2 files, 721 blocks.
#$
#$ xv shfcsa::*.gif
#xv.exe.3: LoadGIF() - Can't map file to memory
#xv.exe.3: Couldn't load file 'shfcsa!alex.gif'.

This is because XV for VMS uses sys$crmpsc to map the gif file into
memory, instead of doing normal I/O.  This is too allow for faster
accessing of the GIFs but doesn't prevent accessing the GIFs over the
Network.

#
#
#Any suggestions?
#


Afraid not.  What you might want to do is find some method of serving
thoses disks where the GIFs are to your node (ie, LAVc or NFS).

--
Patrick L. Mahan

--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------

Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
							  Lazarus Long
From: brodie@fps.mcw.edu
Newsgroups: comp.os.vms
Subject: Re: HELP:Displaying remote X applics
Date: 13 Apr 92 22:33:56 CST
Organization: Medical College of Wisconsin,  Milwaukee, WI

In article <861@se.alcbel.be>, mvbr@se.alcbel.be (Marc Verbruggen) writes:
> 
> --
> Now, on VMS I specified in the Session managers security customization : 
> "node=vax, user=foo, transport=decnet". The display only works if I 
> specify "user=*".
> If I use TCPIP as transport mechanism, it never works, even with "user=*". By the
> way, with TCPIP, "user=*" is THE only way to do this.
> Both systems know each other in their DECnet databases. For TCPIP we run UCX on
> VMS and Internet addresses are also compatible.

I *believe* (I haven't confirmed this) that the VMS session manager stores
the security stuff in UPPERCASE only, but the incoming request
(system, or user) *may* be lowercase.  thus, no match.  thus, that's
why system=*, user=* works.   I know of no other workaround.

-- 
Kent C. Brodie - Sr. Systems Manager		InterNet:  brodie@fps.mcw.edu
Faculty Physicians & Surgeons			uucpNet:   fps.mcw.edu!brodie
Medical College of Wisconsin			MaBellNet: +1 414 266 5080

"Never give money to a preacher who has a better car than you do."  -anonymous
Newsgroups: comp.os.vms
From: BARANSKI@vsdec.nusc.navy.mil (James Baranski)
Subject: Disk File/User Usage Scanner & Reporter?
Organization: Naval Underwater Sound Center, New London CT
Date: Thu, 16 Apr 1992 18:15:20 GMT
X-News-Reader: VMS NEWS 1.20

I'm looking for a System Management Utility Program that will scan the file
system on a disk, and give me a report on how the space on the disk is being
used.  I'd like information such as:

How old is a file?
How many versions of a file are there?
What size is the file?
Who is the owner?

I'd also like this information summarized for each directory in the directory
tree, each disk, each user, and each user group.

Does such a beast exist?  I've got a partial DCL one, but it's *slow*, and I'd
like to know if there is already one, or interest in one before I translate it
to C.

Jim Baranski, BARANSKI@VSDEC.NUSC.NAVY.MIL
From: bill@bill.ab.umd.edu (Bill Bame)
Newsgroups: comp.os.vms
Subject: Re: $DEVICE_SCAN System Service
Date: 16 Apr 92 20:37:24 GMT
Reply-To: bill@office.ab.umd.edu
Organization: M.I.E.M.S.S.

Jim,

Here is a short piece of code illustrating how to use (minimally anyway)
the $device_scan system service from C.  I explicitly defined the item3
structure so that it would be a little easier to read.

-Bill

------------------------------------------------------------------------
#include <stdio.h>
#include <descrip.h>
#include <dcdef.h>
#include <dvidef.h>
#include <devdef.h>
#include <ssdef.h>
#define DVS$_DEVCLASS 1

struct item3 {
             short buflen;
             short itemcode;
             long bufadr;
             long retlen;
             };

int sys$device_scan(), sys$getdviw();

main(int argc,char *argv[])
{
   int stat;
   short retlen;
   int contxt[2] = { 0, 0};
   char device[17];
   $DESCRIPTOR(retnam,device);
   union devdef dchar;
   int class = DC$_DISK;
   struct item3 dvs[2] = { {4, DVS$_DEVCLASS, &class, 0}, {0, 0, 0, 0} };
   struct item3 dvi[2] = { {4, DVI$_DEVCHAR, &dchar, 0}, {0, 0, 0, 0} };
   do {
      stat = sys$device_scan(&retnam,&retlen,0,&dvs,&contxt);
      if (stat==SS$_NORMAL) {
	 stat = sys$getdviw(0,0,&retnam,&dvi,0,0,0,0);
         device[retlen] = '\0';
	 if (dchar.dev$v_mnt && dchar.dev$v_avl && dchar.dev$v_for == 0)
         printf("%s\n",&device);
      };
   } while (stat==SS$_NORMAL);
   return SS$_NORMAL;
}

--------------------------------------------------------------------------------
William P. Bame                    | sneakernet: William P. Bame
internet: bill@bill.ab.umd.edu     |             M.I.E.M.S.S.
          bbame@achi1.ab.umd.edu   |             22 South Greene Street
AT&T    : [Work] (410) 328-3062    |             Baltimore, MD 21201
CIS     : 71620,425                |             Room: T1R55
--------------------------------------------------------------------------------
Newsgroups: comp.os.vms
Subject: Re: Reconstructing disk with corrupt [000000]
From: don@zl2tnm.gen.nz (Don Stokes)
Date: 9 Apr 92 08:21:10 GMT
Distribution: world
Organization: The Wolery

benj@avalon.itp.ucsb.edu (Ben Cohen) writes:
>           primary home block is bad; backup used
>           failed to activate quota file; volume locked
>           bad directory format
> 
> and then the computer mounts the disk. However, dir devicename:[000000]
> fails with a bad directory format message.

Been there, done that.  With the system disk and no current backup too... 8-(
Basically, you've scrozzled track 0.

OK, here's what you do.  (Caveat: I'm doing this from memory.)

  $ ! Replace "disk:" with the device name of the stuffed disk.
  $ ANALYZE/DISK/REPAIR disk:

That should get rid of the dud directory, and put *everything* in [SYSLOST].
That's a start -- but you haven't quite finished.

Now try:
  $ DIRECTORY/FILE_ID disk:[SYSLOST]

You should see the contents of what was once the [000000] directory.  There
should be a 000000.DIR with a file-ID of (4,4,0).  If you look in there,
there will be a SYSLOST.DIR but nothing else.  If this isn't the case, stop
here and email me.... 

The 000000.DIR is a new 000000.DIR created by ANALYZE/DISK after finding the
old one stuffed.  File-id (4,4,0) is magic; just creating a [000000]
directory won't work.  You have to fiddle the one it's just given you.
ANALYZE/DISK isn't smart enough to realise that the rest of the filesystem
has to live there too, so you have to put it in manually: 

  $ RENAME [SYSLOST]*.*;* disk:[SYSLOST.000000]*.*;*/EXCLUDE=000000.DIR

Finally, put the 000000 directory in there too.  Renaming it won't work, so
you have to fool it:

  $ SET FILE disk:[SYSLOST]000000.DIR/ENTER=disk:[SYSLOST.000000]000000.DIR
  $ SET FILE disk:[SYSLOST]000000.DIR;/REMOVE

Now, all should be fine.  If you had SET FILE/ENTERED anything into [000000]
you (a) will have to do it again, and (b) fully deserved to have to.... 8-)

Have fun.

--
Don Stokes, ZL2TNM (DS555)                        don@zl2tnm.gen.nz (home)
Network Manager, Computing Services Centre            don@vuw.ac.nz (work)
Victoria University of Wellington, New Zealand              +64-4-495-5052
Newsgroups: comp.os.vms
From: lionel@quark.enet.dec.com (Steve Lionel)
Subject: Re: Accounting and vector processors
Organization: Digital Equipment Corporation
Date: 10 APR 92 11:41:07    


In article <1992Apr9.223305.406@mr.gov.bc.ca>, ewilts@mr.gov.bc.ca 
(Ed Wilts) writes...
> 
>So, if the process is running solely on the vector in this quantum, nobody else
>can use the scalar CPU.  Does this process then get charged for using the
>scalar?  Is the scalar CPU time being charged therefore always a superset of
>the vector CPU?  If the process has essentially allocated the scalar CPU, he
>shouldn't get away with not being charged for it.
> 
>I'm looking for a billing algorithm that encourages the use of the vector
>processors since a process that doesn't use it is wasting the resource. It
>seems to me that since we have 2 scalar cpus and 2 vector cpus, it doesn't make
>sense that we should be charging separately for the vector cpu.  After all,
>since the vector can't be used if the scalar is busy, we may as well bundle the
>two together.  So, do I simply add the vector and scalar charged cpu together,
>or take just the scalar? If I add both up, I think I'm double-billing for those
>times when the process uses both vector and scalar at the same time.  
> 
>I think what I want is the total time that either the vector or the scalar cpu
>is used.  If both are in use, charge for only one.
> 
>Am I missing the obvious here?
> 

I suggest thinking of the vector processor as a "turbocharger" for its
associated scalar processor.  A process is either using just the scalar
processor (no turbo boost) or is using the vector processor in addition to the
scalar processor (foot to the floor, turbo boost on).  The vector processor
(turbo) is of no use on its own. Even while the vector processor is being used,
the scalar processor is also in use, so you must subtract vector CPU time from
total CPU time in order to avoid double billing.

What I suggest is to do the subtraction I mentioned above and charge a
lower rate for vector CPU use.  This will encourage use of the vector
processor.

Steve Lionel                    lionel@quark.enet.dec.com
Languages Group
Digital Equipment Corporation
110 Spit Brook Road
Nashua, NH 03062
From: MAHAN@GRUBNIK.TGV.COM
Newsgroups: comp.os.vms
Subject: Re: Command line with VMS C
Date: 6 Apr 92 19:34:19 GMT
Article-I.D.: Grubnik.920406123419.260
Organization: The Internet

In article <1992Apr06.163220.160288@rrz.uni-koeln.de> you write:
#
 [omitted]
#Since I do not normally program under VMS, I did this following some
#instructions from a friend of mine. Everything seems to work ok, but
#I can't figure how to pass a command line to my program. The "RUN"
#command obviously cannot be persuaded into accepting anyting like a
#command line.
#So my question is: What do I have to do in order to enable a user to
#run my program and give it a command line at the same time?
#

You must define the command as a foriegn command.  Do the following:

	$ program :== $device:[directory]program.exe
	$ program -a -b -c ! works like UNIX.

On warning, since VMS is not case-sensitive, then for VAX C all command line
options are converted to LOWERCASE.  If you have a command line option that
requires it to be uppercase, then enter by using "" (eg. program "-C").

--
Patrick L. Mahan

--- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------

Waking a person unnecessarily should not be considered  - Lazarus Long
a capital crime.  For a first offense, that is            From the Notebooks of
							  Lazarus Long
From: DWING@UH01.Colorado.EDU (Dan Wing)
Newsgroups: comp.os.vms
Subject: Re: VMS viruses
Date: 14 Apr 92 16:44:19 GMT
Distribution: world
Organization: The Internet

Glenn Everhart, Everhart@Raxco.com, writes:

[...]
>   Trojan horse programs and the like do exist, though, so
>such testing techniques as I've mentioned are useful. Now
>does anyone have a way to run VMSINSTAL from a nonpriv'd environment
>so that one can tell what it will do? One case I heard about
>involved someone who'd made a vmsinstal kit which among other
>things generated the command "delete sys$system:*.*;*" and
>executed it. Fortunately its' victim had recent full backups.
>I personally believe the absence of such a facility is the biggest
>single security hole in VMS.

I agree - such a facility should be available, but as VMSINSTAL passes
control directly to KITINSTAL.COM, which is then executed with all privs, it 
seems like it'd be difficult to make secure.

I try to take the time and pull apart the .A saveset to get at KITINSTAL.COM
for kits that don't come from DIGITAL, and trace through it - which can 
sometimes be a real task.

How well the KITINSTAL.COM is written tells me something about how well the 
rest of their product is (probably) written, too.  Some companies don't use
any VMI callbacks, but just go merrily on their way copying files all over
the place, losing all the benefits that VMSINSTAL could have given them.

-Dan Wing, DWING@UH01.Colorado.EDU  (or WING_D@UCOLMCC.BITNET)
 Systems Programmer, University Hospital, Denver
From: ake@dayton.saic.com (Earle Ake)
Newsgroups: comp.os.vms
Subject: Re: How to tell DIALUP from DCL?
Date: 15 Apr 92 15:34:42 EDT
Organization: Science Applications Intl. Corp., Dayton, Ohio

In article <1992Apr15.125320.4689@csc.canterbury.ac.nz>, cctr127@csc.canterbury.ac.nz (Jason Haar, Network Consultant, CSC) writes:
> 
> Can you figure out whether an account has dialup access from the command-line
> (e.g. via lexicals)?
> 
> The story is, we want to move our modems off our VAX onto a terminal server -
> but we want to still use the DIALUP access bit in the UAF to decide whether to
> let the user actually log in. What we'd do is get SYLOGIN to check to see if
> the terminal server is the modem one, and then see if the user has DIALUP
> access. I realise we could create an Identifier to do this with - but it would
> require extra work ;-))

	At least on DECservers you can set the dialup parameter on the line
that the modem is attached to and when the user tries to login, the dialup
attribute gets set in the LTA terminal characteristics.


Earle
From: MAIL$SER@BENTLEY.BITNET
Newsgroups: comp.os.vms
Subject: Rules-of-thumb for page faulting.
Date: 17 Apr 92 14:10:00 GMT
Distribution: world
Organization: The Internet

All,

I am curious about the page faulting behavior on my VAX 6520.  Are there any
rule-of-thumb figures that I can compare to the faulting rates on my system?
What I have been doing is converting the hard and soft faulting rates per
clock second into rates per CPU second by using the formula:

Rates per CPU second = Page Fault Rate/(1-(idle time/2))    ! Soft rate
Rates per CPU second = Page Read I/O Rate/(1-(idle time/2)) ! Hard rate

Is this formula accurate for a system with multiple (2) CPU's?
What are the rules-of-thumb, if any, for the bounds within which my faulting
rates should fall?   Any help would be greatly appreciated.

===============================================================================
        Tom DiMartino                           TDIMARTI@BENTLEY.BITNET
        Systems Manager                         Phone: (617)891-2675
        Bentley College                         Fax:   (617)891-2444
        Waltham, MA 02154
From: b_sanderson@decus.ch (Bruce Sanderson)
Newsgroups: comp.os.vms
Subject: Locked Allin1 Files prevent dismounting a disk
Date: 16 Apr 92 09:40:19 CET
Organization: DECUS (Switzerland)

       Subject: ALLIN1 Files accessing Disk cannot be eliminated

At our site we are running Allin1 V 2.4. The allin1 directories are installed
on a disk $1$dua5:[allin1...].
Now this disk needed to be replaced, so we shut down Allin1 from the
allin1-Manager account and also all other applications which used this disk.
Now the problem:
If we try to dismount the disk, we cannot because there are installed images
and files. O.K. The EXE files can be deleted with the install utility.
But how does one get rid of the following files?
   $ show dev/file $1$dua5:

Files accessed on device $1$dua5: (HSC001, HSC000) on 15-APR-1992 18:12:10.24

Process name     PID   Filename
              00000000 [ALLIN1.LIB_GERMAN]MEMRES.FLC
              00000000 [ALLIN1.LIB_GERMAN]OAFORM.FLC
              00000000 [ALLIN1.LIB_GERMAN]A1TXL.TXL
              00000000 [ALLIN1.SITE.LIB_GERMAN]CMTXL.TXL


The reason for not rebooting (they then would disappear) was to allow PCSA
users to continue working.
Any hints welcome
                                               Bruce Sanderson
From: SYS@ALBION.BITNET ("I haven't lost my mind....its backed up on tape somewhere")
Newsgroups: comp.os.vms
Subject: Phone number for PRINTRONIX??
Date: 14 Apr 92 18:00:00 GMT
Distribution: world
Organization: The Internet

Hello all,

        Does anyone have a current phone # for PRINTRONIX?  All I have is a
manual with a 10 year old number.

Thanks.
Jason Ruiter

-------------------------------------------------------------------
-  Jason Ruiter __ Sys@Albion.bitnet -    "Speak softly ....      -
-  Systems/Network Manager          -         and carry a         -
-  Albion College, Albion Mi 49224 -      +6 two handed sword."   -
-------------------------------------------------------------------
#include <std/disclaimer.h>