HDTenEightyP/NetNews huggingface dataset:
From: nreadwin@micrognosis.co.uk (Neil Readwin)
Newsgroups: comp.os.vms
Subject: Re: a way to show que entry status?
Date: 26 Sep 92 15:02:10 GMT
Organization: Micrognosis, London, UK.

In article <920924132525.2462a2d7@ocicl.oci.utoronto.ca>, SYSSHAR@GALEN.OCI.UTORONTO.CA writes:
|> Is there a way to find out what block the first entry in a printer que
|> is currently printing at?

If you want to do this in a program then grab the System Services reference
manual and check out the QUI$_COMPLETED_BLOCKS item code for $GETQUI.

|> This information seems to show up occassionally in sho/que/all info, but
|> I can't find a way to make the information show up when I want it.

Speculation follows ... this value is not continuously updated, probably
because there is no obvious need for it to be exactly right. Presumably
SHOW {QUEUE,ENTRY} don't display it if it has some special value (0 or the
size of the job would be obvious magic numbers). This is why it only shows
up "occassionally". I suspect that for most short print jobs the value that
is returned never changes because the job is completed before the symbiont
gets around to updating it. You may well be out of luck.

|> PS If you think this question is stupid

Stupid? No. Unclear? Yes, that's why I have given 2 answers that have nothing
in common :-) Neil.
-- 
 Phone: +44 71 528 8282  E-mail: nreadwin@micrognosis.co.uk
 Anything is a cause for sorrow that my mind or body has made
From: uucm000@uxa.ecn.bgu.edu (Tingli Pan)
Newsgroups: comp.os.vms
Subject: Limited terminal for user
Date: 30 Sep 92 14:30:55 GMT
Organization: Educational Computing Network


As we want to have some control to some users, I'm looking for a way to
limit some users to a certain terminal. Is there a way of doing that.
The terminal can be connected to the machine in different way.

Thanks in advance.

Tingli Pan                           
Academic Computing Services          Internet: uucm000@uxa.ecn.bgu.edu
Northeastern Illinois University     Bitnet:   uucm000@ecnuxa.bitnet
From: agnew@gems.vcu.edu
Newsgroups: comp.os.vms
Subject: Perfect VT emulation!! (for me)
Date: 30 Sep 92 08:27:59 -0400
Organization: Medical College of Virginia

Hey guys, the perfect and free VT emulator for VT3.. series is Kermit,
no regis graphics, but TEKTRONIX 4014 is there.  I use it and it does
not fail me at all.  

-- 
         /^^^\   \ /   Jim Agnew         AGNEW@RUBY.VCU.EDU  (Internet)
        /      >  ||   Neurosurgery,     AGNEW@VCUVAX        (Bitnet)
   /\_/     '   \  /   MCV-VCU           This tape will self destruct in
 /________________>    Richmond, Va      five seconds.  Good luck, Jim..."
From: davis@shasta.bu.edu ("John E. Davis")
Newsgroups: comp.os.vms
Subject: LAT magic, print queues, and MULTINET
Date: 2 Oct 92 04:30:09 GMT
Reply-To: davis@amy.tch.harvard.edu (John E. Davis)
Organization: Image Graphics Lab

Hi,

   We have two systems: VAX 11/780 running VMS 4.7 and a VAXstation 3100
running VMS 5.4-1.  There is a laser printer connected to the VAX 11/780
through a terminal line TXB3:.  It works, i.e., print/que=laser works from
the VAX 11-780.  We'd like to be able to access this printer from the
DECstation 3100 in the same manner, e.g., print/que=laser.  How do I set up
the print queue such that this is possible?

   I have tried things like (paraphrased-- details wrong but hopefully the
ideas are clear):
   
     11/780: $ mcr latcp
             LATCP> create port LTA100
	     LATCP> exit
	     $ set dev/prot=(???)/spooled=(laser) LTA100
	     
     DECstation:
             $ mcr latcp
	     LATCP> create port LTA50
	     LATCP> set port/node=neuro/port=LTA100 LTA50
	     LATCP> exit
             $ init/start/que=laser/bunch_of_other_stuff LTA50
	     $ print/que=laser login.com
	          .
		  .

Note that neuro:: is the decnet nodename of the VAX 11/780 which contains
the printer.

If I have not asked for too much already, I have one final question.  We are
also running MULTINET so that we can communicate with our UNIX machines via
TCP/IP.  It would be nice if typing `lpr -Plaser' on the unix host would print
to the laser printer on the VAX 11/780.  Is this possible with MULTINET?  We
have tried it with no luck.

I will appreciate any light shed upon these matters.

--
     _____________
#___/John E. Davis\_________________________________________________________
#
# internet: davis@amy.tch.harvard.edu
#   bitnet: davis@ohstpy
#   office: 617-735-6746
#
Newsgroups: comp.os.vms
From: S_REHFELD@rzmain.rz.uni-ulm.de (Rehfeld Tobias)
Subject: System-Call for (DCL) SET PROMPT
Organization: University of Ulm, Germany
Date: Sat, 26 Sep 1992 20:20:41 GMT
X-News-Reader: VMS NEWS 1.24

How can one change the DCL-prompt from a highlevel programing language,
like DCLs SET PROMPT does?

--------------------------------------------------------------------------------
 Tobias Rehfeld
 E-Mail: S_REHFELD@rzmain.rz.uni-ulm.de
         S_REHFELD@dulruu51.bitnet
--------------------------------------------------------------------------------
From: leichter@lrw.com (Jerry Leichter)
Newsgroups: comp.os.vms
Subject: re: intercepting calls
Date: 4 Oct 92 11:24:58 GMT
Distribution: world
Organization: The Internet


	On MpeXL it is possible to create user exits or
	fiddle with the order that libraries are searched
	to resolve routine calls and a similar thing is
	possible on SUNOS. Is there such a beastie for VMS ?

	Original-prog <----> my-simple-trap-routine
	                          ^
	                          |
	                          |
	                          V
	                      routine that Original-prog
	                      thought it was calling

	I want to be able to add some tracing logic to binaries
	where I do not have the source dynamically. As an
	example, I would like to be able to record to a file
	all the enq/deq calls being posted to the lock manager
	or perhaps the invocation of VMS/sort etc.

Under-specified problem.  System calls are not library routines are not
routines linked into a program.  Which are you talking about?

What does it mean to "have the source dynamically"?

What are "binaries":  Executables or object files?

By far the easiest way to accomplish what you want is to use the Debugger.
Set a trace point at the entry to the routine you want to know about, and
have it execute a Debugger CALL to your code.

Other approaches are possible, but it all depends on what situation you are
trying to handle.

"Search order of libraries" won't help.  Yes, you can specify that your
library be searched first, in which case your intercepting routine will get
control.  You'll get complaints from the Linker about multiple definitions
for the intercepted symbols, but those are warnings and you can ignore them.
The problem is:  The Linker only retains the FIRST definition for the symbol.
Others can call you, but how do you call the original code?  The only way
you can get both symbols known is by defining a universal symbol - and that
only gives you one level of indirection, and you'd need two if the symbol
you were intercepting was itself universal.  You can hack around THAT by
modifying the transfer vector at run time; that's what the Debugger does to
intercept system service calls.
							-- Jerry
From: dsw@pierre.mit.edu (David Woodruff, dsw@mitlns)
Newsgroups: comp.os.vms
Subject: DVI to LN05?
Keywords: DVI, LN05, LASER PRINTERS
Date: 2 Oct 92 02:32:00 GMT
Organization: MIT Lab for Nuclear Science
News-Software: VAX/VMS VNEWS 1.4-b1

Hello,

Does anyone know if there is a software package that translates .DVI files
to LN05 graphics format ?

I mean, of course, an LN05 that does not have PostScript capability.  Namely
the DEClaser 2100 Printer (LN05-CA).  I don't even know if there is a graphics
mode for it similar to, say, the LN03 sixel graphics mode.

Any information that is sent to me, I'll summarize for the net.

Thanks for any help!

                                Dave Woodruff


*******************************************************************************
"Call me Ishmael.  Some years ago-- never mind how long precisely-- having
little or no money in my purse, and nothing particular to interest me on shore,
I thought I would sail about a little and see the watery part of the world."
      David S. Woodruff,      MIT Lab for Nuclear Science   (617)253-6943
      dsw@mitlns.mit.edu,     BITnet: dsw@mitlns            mitlns::dsw
Newsgroups: comp.os.vms
From: fairfield@slacvx.slac.stanford.edu
Subject: Re: C passes options only in lowercase?
Organization: Stanford Linear Accelerator Center
Date: Thu, 1 Oct 1992 21:13:53 GMT

In article <1992Oct01.164649.25067@donau.et.tudelft.nl>, 
   RUTGES_ASS@rugb38.bdk.rug.nl (Tijs Coumans) writes:
> I have a question concerning passing of command-line paramaters to C programs
> on VAX/VMS.

[stuff deleted]

> INDEPENDENT of how I pass the parameters to the .EXE program (by means of
> using a foreign command), the program does put a lowercase version of the
> font I specified by means of a switch in the .PS file.

[more stuff deleted]

> The problem with fontnames is, that they are case sensitive in Postscript,
> and that these fontnames consist of mixed upper and lower case literals.
> So, Times-BoldOblique will never be put correctly into the .PS file! :((
> 
> My questions are: 
> - 1. Does VAX C pass all parameters in lowercase? In that case, the fontname 

  Yes.

> option does necessitate manual editing of the .PS file.
> - 2. Is there a workaround, in case 1. is in effect?

  Yes.  Refer to the "Guide To VAX C" (V5.0) page 5-16/5-17:

     "DCL converts most arguments on the command line to uppercase
      letters.  However, VAX C internally parses and modifies the
      altered command line...  Uppercase letters in arguments are
      converted to lowercase, but arguments within quotation marks
      are left unchanged"

In other words, enclose the font name in quotes, e.g. "Times-BoldOblique",
on the command line.
-- 
 Dr. Kenneth H. Fairfield    |  Internet: Fairfield@Slacvx.Slac.Stanford.Edu
 SLAC, P.O.Box 4349, MS 98   |  DECnet:   45537::FAIRFIELD (45537=SLACVX)
 Stanford, CA   94309        |  BITNET    Fairfield@Slacvx
 ----------------------------------------------------------------------------
 These opinions are mine, not SLAC's, Stanford's, nor the DOE's...
Newsgroups: comp.os.vms
Subject: Re: Nobroadcast
From: choate@acs.harding.edu (Brad S. Choate)
Date: 1 Oct 92 17:39:14 -0500
Reply-To: choate@acs.harding.edu
Distribution: world
Organization: Harding University

In article <01GPBXU3L0HS8WWMAB@scorva>, CAPTANSKI33@SNYCORVA.BITNET (CHRIS TANSKI) writes:
>I know this is an FAQ so please reply directly to the above address. I
>am having trouble setting nobroadcast for my acct. I type:
>
>$ SET BROADCAST=NONE
>
>However I still get phone calls and mail etc. How do I set it so I
>don't get anything? Thanks.
>
>Chris Tanski
>

Chris, the only sure way to get rid of all broadcasts is to...

	$ SET TERMINAL/NOBROADCAST

That takes care of that!  But really, try not to be so introverted! :)

--
 Disclaimer: "I really don't care."

 |) |) /\ |\  | Brad S. Choate                  | 1314 E. Market, Apt. 6
 |) |\ || |/  | Sysop, The Lighthouse BBS       | Searcy, AR  72143
 --------_--  | choate@acs.harding.edu          | Voice Phone:  (501) 279-2584
  <||()/\|[   | V.P., Software Extensions, Inc. | The Lighthouse BBS: 279-2585
From: njr@texhrc.uucp (Nick J. Rees)
Subject: Re: experience w/ POSIX on vms and ultrix.
Organization: Texaco EPTD
Date: Fri, 2 Oct 1992 18:05:42 GMT

In article <19t62sINNedd@darkstar.UCSC.EDU> kappler@secs.ucsc.edu writes:
>
>	Our research group is developing our project on these two systems.
>What experience do you have regarding POSIX?
>
>					Michael A. Kappler
>					397 Thimann Laboratory
>					University of California
>					Santa Cruz, CA  95060
>
>					Kappler@SECS.UCSC.edu


I am also very interested to hear from anyone who has had positive
experience with VMS POSIX. I have been using it here and can find
nothing good to say about it.

Problems range from the mundane ( incredibly slow, hopeless on-line
documentation )

to the rather more serious like not being able to use 'ar' unless
you have system privilege. I would probably have more complaints
than this, except I have not been able to do very much with it.


-- 
 ===============================Nick Rees===============================
 Voice: (713) 954-6298   Email: reesnj@texaco.com
  mail: Texaco, Inc., 3901 Briarpark, Houston, TX 77042
========================================================================
Xref: sparky comp.os.vms:15707 alt.binaries.pictures.utilities:1137
From: rlee@csugrad.cs.vt.edu (Richard Lee)
Newsgroups: comp.os.vms,alt.binaries.pictures.utilities
Subject: Re: GIF to HPGL converter
Date: 28 Sep 92 18:09:30 GMT
Organization: Virginia Tech Computer Science Dept, Blacksburg, VA


It is possible to convert bitmap to vector.  Corel Draw has a program called 
tracer that does this with pretty good success.  I think you may be out of
luck on the VAX/VMS unless you can transfer the files to MSDOS.

-- 
 |   Rich Lee     |   Richard Lee               |                         |
 | My Power is    |   1711 Whipple Dr.          | rlee@csugrad.cs.vt.edu  |
 | Beyond Your    |   Apt 11                    | or                      |
 | Understanding  |   Blacksburg,Va 24060       | rlee@earth.tjhsst.edu   |
Newsgroups: comp.os.vms
From: bear@nuc.anu.edu.au (Bernhard Fabricius)
Subject: AUTO-DISPLAY.COM
Keywords: DECW$DISPLAY, LAT, DECnet, TCPIP
Reply-To: BEAR@NUC.ANU.EDU.AU
Organization: Nuclear Physics, ANU
Date: Thu, 1 Oct 92 05:17:22 GMT


Hello there,

At our site the users have old VAXtstions or (new) VXT2000 terminals in their
offices and usually log on to a fast new VAXstation 4000 series computer for
any serious work. As a service, the appended command file is executed during
login (from SYS$SYLOGIN) to check if DECW$DISPLAY is defined, and if not,
attempt to find out WHERE the user logged on from and by WHICH transport. 

(In our case either DECnet (SET HOST) from the workstations or LAT from the
VXT2000 X-terminals, but I threw in TCP/IP as well for good measure...)

Thought someone else might be able to use it.

Cheers

Bernhard
--------------------------------------------------------------------------------
Dr Bernhard Fabricius              |
Academic VAX/VMS Support           |  "I am a Bear of Very Little Brain,
Department of Nuclear Physics      |           and long words Bother me."
Australian National University     |
                                   |                           - A.A. Milne
InterNet: BEAR@NUC.ANU.EDU.AU      |
    POSTMASTER@NUC.ANU.EDU.AU      |

-----------------------------------Cut here-------------------------------------
$!AUTO-DISPLAY.COM
$!
$!Define DECW$DISPLAY (if undefined), based on the TT_AccPorNam field. 
$!
$!Transport:   TT_AccPorNam returns:         Method:
$!---------------------------------------------------------
$!LAT          LAT_<EtherNetAddress>         Use as is
$!TCP/IP       Host: <Node> Port: <Number>   Extract <Node>
$!DECnet       <Node>::<User>                Extract <Node>
$!
$!Bernhard Fabricius, 1-October-1992
$!------------------------------------------------------------------------------
$!
$!Check first to see if display is defined (if so exit).
$if f$trnlnm("DECW$DISPLAY").nes."" then EXIT
$!
$!No, it's not. Try to get node info:
$node=f$getdvi("TT","TT_AccPorNam")
$!
$!If we get a blank then exit
$if node.eqs."" then goto FAIL
$!
$!Check for LAT
$if f$extract(0,4,node).eqs."LAT_" 
$then 					!Use node name as is
$ node=node+"/TRANSPORT=LAT"		!Append transport qualifier
$else
$!
$!Check for TCP/IP
$ if f$extract(0,5,node).eqs."Host:" 
$ then 
$  node=f$element(1," ",node)		!Get node name (after first space)
$  node=node+"/TRANSPORT=TCPIP"		!Append transport qualifier
$ else
$!
$!Must be DECnet
$  node=f$element(0,":",node)		!Get node name (before first colon)
$ endif					!DECnet transport is default
$endif
$!
$!Do it and announce the fact
$set display/create/node='node
$write sys$output "DECW$DISPLAY defined to be ''node'"
$exit
$!
$FAIL:
$write sys$output "DECW$DISPLAY is undefined"
$exit
From: FOXS@AXE.HUMBOLDT.EDU
Newsgroups: comp.os.vms
Subject: (none)
Date: 5 Oct 92 19:04:00 GMT
Organization: The Internet

UNSUBSCRIBE INFO-VAX

Newsgroups: comp.os.vms
From: oddjob@oz.plymouth.edu (Andrew C. Stoffel)
Subject: Attaching a signature file to mail.....
Reply-To: oddjob@oz.plymouth.edu (Andrew C. Stoffel)
Organization: Plymouth State College - Plymouth, N.H.
Date: Mon, 5 Oct 92 03:02:15 GMT


Thanks to one of the Info-vax postings I can now use TPU as my default
editor when in mail... 

However... I'd like to be able to attach a signature file to outgoing
mail (preferably only mail going off-site) and to mark in some way
other people's messages if included in mine....

Someone posted something called mail_reply.tpu in comp.os.vms at some
point to do this but I have no idea how to use it..... where do I use
it ?

Even better, is there some command that will have mail attach some
text to an outgoing mail message based upon some preset condition being
met ? This is JUST in VMSmail..... I won't even as if anyone has ever
set up all-in-1 to do this (though it would be easier for me,
unfortuantely I don't have the time right now...)
-- 
|"The Snark WAS a Boojum, you see!"   |                                |
|"Reality !?! Isn't that something    |     andys@psc.plymouth.edu     |
|    you sprinkle on ice ??"          |     oddjob@oz.plymouth.edu     |
Newsgroups: comp.os.vms
From: nigelc@cognos.com (Nigel Campbell)
Subject: intercepting calls
Organization: Cognos Incorporated, Ottawa CANADA
Date: Sun, 27 Sep 1992 18:00:38 GMT

On MpeXL it is possible to create user exits or
fiddle with the order that libraries are searched
to resolve routine calls and a similar thing is
possible on SUNOS. Is there such a beastie for VMS ?

Original-prog <----> my-simple-trap-routine
                          ^
                          |
                          |
                          V
                      routine that Original-prog
                      thought it was calling

I want to be able to add some tracing logic to binaries
where I do not have the source dynamically. As an
example, I would like to be able to record to a file
all the enq/deq calls being posted to the lock manager
or perhaps the invocation of VMS/sort etc.
-- 
Nigel Campbell          Voice: (613) 738-1338 ext 3016    P.O. Box 9707
Cognos Incorporated       FAX: (613) 738-0002             3755 Riverside Dr.
Database and Connectivity MCI: nigel campbell || 307-4729 Ottawa, Ontario
UUnet: nigelc@cognos.COM                                  CANADA  K1G 3Z4
From: LARRY%TROPIQ@VAXF.COLORADO.EDU
Newsgroups: comp.os.vms
Subject: Re: Help for ZMODEM
Date: 29 Sep 92 15:53:20 GMT
Distribution: world
Organization: The Internet

>I am not sure what you are trying to do or what version of ZMODEM you are
>trying to run. If it is RZ or SZ from Owen Technology, then it will ONLY
>talk to a PC running DSZ or GSZ from Owen Technology. This "feature" is
>explained in the VAX versions of RZ.DOC and SZ.DOC.

I've been using Omen Technology's VAX version of ZModem for years with
Crosstalk Mk.4.

Newsgroups: comp.os.vms
From: wilson@b11.b11.ingr.com (Jon Wilson)
Subject: Re: TP_SERVER
Summary: DECdtm NOT required for batch on standalone system
Organization: Intergraph Corp. Huntsville, AL
Date: Tue, 6 Oct 1992 13:29:36 GMT

In article <1992Oct5.124401.1@bbs.mdcbbs.com>, rief@bbs.mdcbbs.com writes:


> > TP_SERVER, along with ICPACP, controls the Transaction Processing
> ...
> > $ DEFINE/SYSTEM/EXEC SYS$DECDTM_INHIBIT TRUE
> ...
> >> 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!
> 
> With this logical definition, TP_SERVER will not start, but ICPACP will, since
> it is required for the queue manager.

Not true, at least for a standalone, non-clustered VAX. My 8530 is running
5.5 nicely (and in batch) without ICPACP. 



Jonathan Wilson
DEC Systems Support
Intergraph Corporation
wilson@b11.b11.ingr.com
From: poling@dayton.saic.com (Steve Poling)
Subject: test message
Newsgroups: comp.os.vms
Organization: Science Applications Intl Corp - Dayton, Ohio
Summary: 
Keywords: 
X-Newsreader: Tin 1.1 PL5
Date: Wed, 30 Sep 1992 06:18:51 GMT

this is a test message

Pleae disregard.....  Steve
From: JLW@PSULIAS.PSU.EDU ("J.Lance Wilkinson, 814-865-1818")
Newsgroups: comp.os.vms
Subject: Callable Mail and the New Mail Count
Date: 5 Oct 92 20:41:00 GMT
Organization: The Internet

I have an application which uses the Callable Mail API to send a message to
users, perhaps as often as every hour or so.  In order to prevent the users
from having multiple copies of these messages (the mail tells them how many
unseen notes are waiting for them in VAX Notes, based on their NOTES$NOTEBOOK),
the program also uses the Callable Mail API to determine if there are any
messages from earlier runs of itself (it uses a special sender address) in the
user's NEWMAIL folder which are still flagged as unexamined.  If there are, it
*DELETES* these messages before sending the latest incarnation.

Unfortunately, this messes up their new mail count, since apparently the API's
MAIL$MESSAGE_DELETE() function does *not* decrement the new mail count.  If the
user comes in on Monday after the application has posted and deleted messges
for Friday, Saturday, Sunday and Monday (leaving only Monday AM's message in
the NEWMAIL folder), their new mail count includes the earlier, deleted
messages.

Obviously, if I'm using the Callable Mail API, I should be able to reset the
new mail count.  But if I read it, decrement it and write it, I have a good
size window where VMS mail might deliver a message (the user would then be at
-1, rather than +1, from the *real* count).  Is there some resource I could
Enqueue, or some way to tell the Callable MAIL API to use exclusive access
to the file for the (New Mail Count Fix/Delete Outdated Message) operation,
that would cause any impending delivery to wait its turn?

+-"Never Underestimate the bandwidth of a station wagon full of mag tapes"--+
| J.Lance Wilkinson ("Lance")            BitNet:    JLW@PSULIAS.BITNET      |
| Systems Design Specialist - Lead       InterNet:  JLW@PSULIAS.PSU.EDU     |
| Library Computing Services             AT&T:      (814) 865-1818          |
| E8 Pattee Library                      "I'd rather be dancing..."         |
| Penn State University         A host is a host from coast to coast,       |
| University Park, PA 16802     And no one will talk to a host that's close |
| <POSTMAST@PSULIAS.BITNET>     Unless the host that isn't close            |
| <POSTMAST@PSUCES.BITNET>      Is busy, hung or dead.                      |
+------"He's dead, Jim. I'll get his tricorder. You take his wallet."-------+
From: whd0675@ritvax.isc.rit.edu
Newsgroups: comp.os.vms
Subject: CD-ROM drives on VAX/VMS Systems
Date: 2 Oct 92 02:12:05 GMT
Reply-To: whd0675@ritvax.isc.rit.edu
Organization: Rochester Institute of Technology

How compatable are the RRD40 and RRD42 SCSI based CD-ROM drives with other
SCSI based systems.  In other words, can I use them on other SCSI based 
machines with any reasonable amount of success?  In addition, what is the
difference between an RRD40 and RRD42?  Thanks in advance!

Walter H. Dick, III
WHD0675@RITVAX.ISC.RIT.EDU