HDTenEightyP/NetNews huggingface dataset:
From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Newsgroups: comp.os.vms,vmsnet.sources.d
Subject: Re: Utility-Log session escape sequence filter
Date: 23 Jan 1993 00:47:41 GMT
Organization: HST Wide Field/Planetary Camera
Distribution: world
Reply-To: carl@SOL1.GPS.CALTECH.EDU
NNTP-Posting-Host: sol1.gps.caltech.edu

In article <1993Jan22.171051.581@dymaxion.ns.ca>, bg@dymaxion.ns.ca writes:
=Freebie utility follows.
=
=Here's what should be a fairly common problem.  Many packages log
=sessions.  Few of them filter ANSI escape sequences so that the logs
=may be printed.  Non-DEC printers are particularly awful at printing
=such logs.  Many non-DEC printers do unpredictable things with the
=escape sequences.  Some simply refuse to print further until someone
=manually clears each invalid sequence using front-panel buttons. 
=Manually editing the logs is cumbersome.
=
=I'd like to see how people handle this situation.  I am aware of PHOTO
=and its control-sequence filtering capability, but PHOTO cannot be
=used in all situations (e.g. I don't believe it handles SET HOST
=sessions).

Well, since I don't run PHOTO here, this is just a guess, but couldn't you:
	1)  SET HOST/LOG
	2)  After you've returned to the local system, use PHOTO and the
	    command TYPE/NOPAGE SETHOST.LOG to filter out the control sequences
	    in SETHOST.LOG?
--------------------------------------------------------------------------------
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: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Newsgroups: comp.os.vms
Subject: Re: DCL quirk (fwd)
Date: 28 Jan 1993 02:34:19 GMT
Organization: HST Wide Field/Planetary Camera
Distribution: world
Reply-To: carl@SOL1.GPS.CALTECH.EDU
NNTP-Posting-Host: sol1.gps.caltech.edu

In article <1k6h39INNq3f@lynx.unm.edu>, dgalb@carina.unm.edu (David Galbraith CIRT) writes:
>I got this from a friend... Can somebody give a good explanation as to
>why it doesn't give an error? 

What error did you have in mind?

>Why does the following command not give an error?
>
>$ '''''''''''''''
>
>(any number of apostrophes will work.)

Basically, DCL interprets the null symbol, gets a null answer, so there's
nothing on the line for it to complain about.
--------------------------------------------------------------------------------
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: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Newsgroups: comp.os.vms
Subject: Re: Problem with editing a file. wrong charset?
Date: 22 Jan 1993 11:03:38 GMT
Organization: HST Wide Field/Planetary Camera
Reply-To: carl@SOL1.GPS.CALTECH.EDU
NNTP-Posting-Host: sol1.gps.caltech.edu

In article <C15p1E.Bs0@micrognosis.co.uk>, nreadwin@micrognosis.co.uk (Neil Readwin) writes:
=ORAKEL@rzmain.rz.uni-ulm.de (Framstag) writes:
=|> The logfile which is produced looks very wired (or at least I don't
=|> know what it means. :-) ):
=
=A seemingly random selection of the characters have the top bit set. For
=example, both 0x20 and 0a0 are used for space characters.
=
=|> Now my questions: - why can I type (and read) it on a vt100 but not on a
=|>                     vt220?
=
=Maybe the vt100 is connected via a 7 bit data-path.

Good guess, but wrong.  I took a quick look at the file he included, and, using
my VT220 clone, the file looked fine in VT100 mode, but was gibberish in VT200
mode (no commands to change the terminal settings on the VAX between the
tests).
--------------------------------------------------------------------------------
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: lionel@quark.enet.dec.com (Steve Lionel)
Newsgroups: comp.os.vms
Subject: Re: fortran/nohpo?
Date: 25 Jan 93 14:21:05 GMT
Reply-To: lionel@quark.enet.dec.com (Steve Lionel)
Organization: Digital Equipment Corporation, Nashua NH


In article <1993Jan25.063529.15242@iscnvx.lmsc.lockheed.com>, 
marshall@NEBULA.SSD.LMSC.LOCKHEED.COM (Bob Marshall) writes:
|>
|>One of the FAQs at my site is "what does it mean when I compile my
|>program and I get the message 'COMMON block not naturally aligned'?".
|>After attempting to explain what it means, if the querant does not
|>appear to be satisfied (which is usually the case), my next response is 
|>"if it bothers you, just use the /NOHPO switch". In many cases they are 
|>compiling on a uniprocessor system in our system which has no vector 
|>processor, anyway.
|>
|>So, there's at least one situation where the /NOHPO switch makes sense,
|>even when the FORTRAN-HPO compiler is available.
|>

I'd think that /WARNINGS=NOALIGNMENT would be a better suggestion.  That's
one thing I've changed in V6, though - you won't get alignment warnings by
default.  We do recommend that you specify /WARNINGS=ALIGNMENT if you're
using vector processing, considering porting to Alpha AXP, or just want the
best performance on the VAX (as unaligned memory accesses are slower on VAX.)

--

Steve Lionel                    lionel@quark.enet.dec.com
SDT Languages Group
Digital Equipment Corporation
110 Spit Brook Road
Nashua, NH 03062
From: jhwelch@ecs.umass.edu
Newsgroups: comp.os.vms
Subject: Alpha AXP setup "gotchas"
Date: 26 Jan 93 14:51:56 GMT

Here are a few "gotchas" you might want to watch out for when setting
up an Alpha AXP machine:

Don't submit SYS$UPDATE:libdecomp to a batch queue without any
parameters.  One can do this on an OpenVMS system but the AXP version
has an INQUIRE which will go into a loop and fill up your disk.  This
is mentioned in the manuals but it was such a slight difference that
I must have skipped by it.

To boot into sysgen you have to >>> SET BOOT_OSFLAGS 0,1 - I read
all the manuals that I received but if it was in one I missed it.
Don't forget to reset this at the next shutdown.

In SYSGEN if you want to clear a setting, say STARTUP_P1
you have to do a SET STARTUP_P1 "".  A long time ago under
VMS I had the impression that a null string wasn't allowed
and had got into the habit of putting a blank in a field
to clear it.  If you try this under AXP the initial setting is kept.

Well, that's all I've found out in my first 3 hours setting up
our new machine.  You'll probably be hearing from me again!

Jonathan Welch  VAX Systems Manager  Umass/Amherst  JHWELCH@ecs.umass.edu
From: powers@ELROS.STG.TRW.COM
Newsgroups: comp.os.vms
Subject: RE: "Beat the Buzzer" Game
Date: 21 Jan 93 07:50:43 GMT
Distribution: world
Organization: The Internet


Ken Bosward (webosk@itwol.bhp.com.au):
> Any ideas for a "beat the buzzer" game to make a training class more
> interesting?  There will be around 8 users in the same group with VT100/220
> terminals and OPER privilege. I have trialled a program using $BRKTHRU to
> send messages to my terminal, which works ok although occasionally some
> messages get lost if they all arrive in quick succession.
>
> I would like ideas to achieve the following:
  ... [stuff deleted] ...
> - ensuring that the first person to press his button really *is* the first
>   to get through to my terminal.
> 
> Are there better methods than using $BRKTHRU (e.g. Common Event Flags and
> Global Sections)?

Think about using BRKTHRU in combination with the lock manager (or "lock
management services" -- I'm at home late at night and don't remember the
official name -- it's in the System Services docs).

It's been several years since I did programming with locks, so I do not
remember the details, but the basic idea is that the program that a student
would run to ring the bell would grab an exclusive lock on a named resource,
say, "WINNER," then use BRKTHRU to bong the bell, then wait awhile to ensure
that the competing students are foiled, and finally release the lock.
Identical programs run by the losers would fail when they try to lock the
WINNER resource, and could then write a "You lose" message to their terminals
without bonging anything (except themselves or the other losers, depending on
how mean you want to be to the losers).  The neat thing here is that the
programs run by the losers would know that they lost the game internally, and
you could use that knowledge for any purpose, from silence to flames, as you
see fit.

This is vintage 1985 knowledge.  Then, anyway, the system services of interest
were ENQ and DEQ.  You may or may not need to install the programs with SYSLCK
privilege, in addition to OPER for BRKTHRU, depending on your circumstances.
Also see the system service GETLKI.  As I recall, the only difficult thing
about ENQ/DEQ in 1985 was getting used to the idea that the lock was on a
name, not a thing.

Time check:  It is January 20.  Last time I sent a response to the group,
my post was marooned somewhere (sri.com?) for three days before distribution,
and I was criticised for being out-of-touch with the thread.

Apologies for my 1985 recollections, but this is just a suggestion about where
to look for a winner-takes-all enforcer in the system services manual anyway.
Supposing that this post isn't marooned again, someone who has worked with
locks recently might be inspired to post some modern 1993 poop on the subject,
which might be more helpful.

      Lester Powers
      powers@elros.stg.trw.com
From: david@ittpub.nl (David P. Morgan)
Newsgroups: comp.os.vms
Subject: Re: How to repeat "new Mail message" ?
Date: 21 Jan 93 22:10:42 GMT
Organization: ITT Publitec R+D BV, Amsterdam

In article <1jm4nnINN59b@urmel.informatik.rwth-aachen.de>, jogl@merry.imib.rwth-aachen.de (Joachim Glaubrecht  #Alwd#) writes:
> 
> so, in brief words:
> is there a procedure like "NEW_MAIL.COM" i can call, that repeats
>         ~~~~~~~~~~~~~                               ~~~~~~~~~~~~~~
> the 'You have 1 new Mail message.' message ?
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Here's a "NEW_MAIL.COM" for ya:

$
$ MAIL
$

In this case MAIL is taking its input from the command procedure and, not
finding any, exits after printing your desired message. You should investigate
the logicals SYS$INPUT, SYS$OUTPUT and SYS$COMMAND (and SYS$ERROR for
completeness) in the manuals to understand how DCL works like this.

--------------------------------------------------------------------------------
David P. Morgan                        Internet: david@ittpub.nl        |ucannot
ITT Publitec R+D BV                    UUCP:     ...!sun4nl!ittpub!david|readdis
Amsterdam                              PSI:      020412905761212::DAVID |onavt52
From: tp@mccall.com (Terry Poot)
Newsgroups: comp.os.vms
Subject: Re: Remotely rebooting vms
Date: 21 Jan 93 15:32:20 GMT
Reply-To: tp@mccall.com (Terry Poot)
Organization: The McCall Pattern Co., Manhattan, KS, USA
Nntp-Posting-User: tp


In article <1993Jan20.173011@mccall.com>, tp@mccall.com (Terry Poot) writes:
> ... halt-enable switch. ...
> ... (it's on the back panel,
>upper left, ...

*sigh* I meant upper right (the other left).
--
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
Newsgroups: comp.os.vms
Subject: Re: SYSUAF.DAT access?
From: Stafford@Vax2.Winona.MSUS.EDU (John Stafford)
Date: 21 Jan 93 11:01:26 -0600
Followup-To: comp.os.vms
Distribution: world
Organization: MSUS

In article <C17HBt.Eyz@nmrdc1.nmrdc.nnmc.navy.mil>,
dsc3pzp@nmrdc1.nmrdc.nnmc.navy.mil (Philip Perucci) wrote:
> 
> In article <Stafford-200193094234@stafford.winona.msus.edu> Stafford@Vax2.Winona.MSUS.EDU (John Stafford) writes:

> >You will get the technical answer you need, but I have to ask
> >what the rationalization is to grant this person such access?
> 
> He works for the department that bought the system.
> I am simply System Manager :-).
> 

Phil, you have my sympathies.  IMHO, the comptroller has no
business whatsoever having the ability to modify SYSUAF.DAT
under any circumstances whatsoever.  That's what you have
system managers for.  Isn't there a security officer around?  Tell
that comptroller to stick it.  (Or show him this message.)
From: nreadwin@micrognosis.co.uk (Neil Readwin)
Newsgroups: comp.os.vms
Subject: Re: Need C program to get default directory
Date: 27 Jan 93 20:38:35 GMT
Organization: Micrognosis, a division of CSK(UK) Ltd

rforster@galaxy.gov.bc.ca (Russ Forster) writes:
|> 	I am looking for a very small VAXC routine to find the default
|> 	directory given a username.  All the GETUAI examples I've seen
|> 	have been ~100 lines.

One HUNDRED lines? Sheesh! Five lines to do it, one line to test it...

#include <descrip.h>
#include <string.h>
#include <uaidef.h>

char*g(char*u){char q[64];int retlen,st;struct dsc$descriptor_s u_d =
{0,DSC$K_DTYPE_T,DSC$K_CLASS_S,0}; struct {short i,bl;int ba,ra,z;}it={64,
UAI$_DEFDIR,q,&retlen,0};u_d.dsc$w_length=strlen(u); u_d.dsc$a_pointer=u;
st=sys$getuai(0,0,&u_d,&it,0,0,0);if(!(st&1))return 0;u=malloc(q[0]);
return u?(u[q[0]]=0,strncpy(u,&q[1],q[0])):u;}

main(int ac,char*av[]){if(ac>1){char*d=g(av[1]);printf("%s\n",d?d:"Unknown");}}

Run it using "MC SYS$DISK:[]foo.EXE username". Neil
-- 
 Phone: +44 71 815 5283  E-mail: nreadwin@micrognosis.co.uk
 Anything is a cause for sorrow that my mind or body has made
From: CXNHJP@manadon-engineering-college.ac.uk
Newsgroups: comp.os.vms
Subject: PATHWORKS
Date: 26 Jan 93 13:21:00 GMT
Distribution: world
Organization: The Internet

We have just recently installed PATHWORKS and are having great difficulties in
trying to get aspects of the PCSA MENU to work from any other account that the 
system account. After copying the system account to another account and using
that account with all privs except bypass functions from the User Options
menu still come back with %SYSTEM-F-NOPRIV, no privilege for attempted operation
error message.

Can any body out there shed some light on this black art of getting a perfect
pathworks installation.

Any notes on how to install /setup CorelDraw over PATHWORKS.
Newsgroups: comp.os.vms
Subject: Re: TALK command problem
From: bamon@ocvaxc.cc.oberlin.edu
Date: 26 Jan 93 11:44:57 EDT
Distribution: world
Organization: Oberlin College

In article <01GTWUKZCBNK000N1O@MSUS1.MSUS.EDU>, TS117%BSU.DECNET@MSUS1.BITNET (Tandi Sunarto) writes:
> Date sent:  24-JAN-1993 21:40:39 
> 
> I tried to call a friend of mine, but I got an error message :
> 
>    $ TALK <username@address>
> 
>    Can't open a connection to <address>
>    Domain service : no address found for host-name.
> 
> This is strange to me, since I have no problem at all everytime
> I send a mail to him, which means I could reach him.
> I am calling from Bemidji State Univ., MN and my friend is at 
> University of Kentucky.

TALK is an INTERNET facility.
From your address, it looks like you sending mail via BITNET.
It is entirely possible for one to work properly and not the other.
Your friend may have only BITNET and not INTERNET access.

_____________________________________________________________________
Jennifer R. Amon     FREENET: aa1190@freenet.lorain.oberlin.edu
Oberlin College      FREENET: cc312@cleveland.freenet.edu
Oberlin, OH 44074   *INTERNET: bamon@ocvaxc.cc.oberlin.edu
PH: (216) 775-6987   BITNET: bamon%ocvaxc.cc.oberlin.edu@ocvaxc.bitnet
FAX: (216) 775-8573  *use the internet address if possible        
_____________________________________________________________________

Newsgroups: comp.os.vms,vmsnet.tpu
From: hawks@seq.uncwil.edu (David Hawks)
Subject: Re: HELP!! String search and replace
Organization: Univ. of North Carolina @ Wilmington
Date: Thu, 28 Jan 1993 02:50:42 GMT

Hi all the helpful people who helped me,
	I am using Carl J. Lydick's com file which he both e-mailed me and
has posted to the net.  The com file was the first thing I looked at and 
easy to use.  I will look at all the other solutions so as to increase
my knowledge of VMS and VMS tools.  I will especially look at the string
search and replace solution written in C.  I was planning on writing it in
C myself thinking perhaps it would run faster?  Although speed at the present 
time is not quite a problem because I am running the com file on files that
reside on a 32 meg ram disk.  I will definitely being looking at the 
editor solutions as I want to improve my efficiency at using editors on
a VMS machine.  Once again thank all of you and please know that I thank
each and everyone of you.  I am sorry I haven't posted all your names here
but you know who you are and I am very thankful for your help.  It is 
good to know that not everyone out there is a flamethrower wielding netter.
Those of you who posted com file solutions have also added to my knowledge
of DCL and being a big fan of com files I am very grateful.
-- Dave
hawks@seq.uncwil.edu
From: JBP@HCACAD.HOLYCROSS.EDU (Father Pomeroy)
Newsgroups: comp.os.vms
Subject: UCX TELNET using .com file???
Date: 27 Jan 93 00:20:04 GMT
Organization: The Internet


 Using UCX 2.0, VMS 5.5-2, it would helpful for a project to be able to
use TELNET via a .com file. Something along the lines of:
$ Telnet whereve.node.edu
myusername
mypassword


 The above works, of course, if typed manually (unless I goofed).
If the above three lines are in a .com file then the TELNET line
executes properly; one then sees the usual welcoming material followed
by a username:   prompt. One must then manually enter the username and
password. 

 Any suggestions about how this 'automated login' might be accomplished?
Reply to me, if you wish. I will summarize to the list if it seems
appropriate.

 Thanks,

 Joe

 Joseph Pomeroy,S.J.
 Vax Sys Mgr
 Holy Cross College
 Worcester, Mass. 01610

 JBP@HLYCROSS    on BITNET
 JBP@HCACAD.HOLYCROSS.EDU  on Internet
From: lionel@quark.enet.dec.com (Steve Lionel)
Newsgroups: comp.os.vms
Subject: Re: VMS Version 6 - when ?
Date: 24 Jan 93 21:46:25 GMT
Article-I.D.: dbased.1993Jan24.215216.12387
Organization: Digital Equipment Corporation


In article <1993Jan25.025907.1@cc.curtin.edu.au>, 
zrepachol@cc.curtin.edu.au writes...
>In article <2426@sousa.tay.dec.com>, anderson@funyet.enet.dec.com (Paul Anderson) writes:
>> 
>> This is not an official answer or a commitment from Digital, but OpenVMS V6.0
>> is scheduled to ship in June.  When a particular customer gets a copy on CD is
>> anyone's guess.
>> 
> 
>I take it this means that 5.6 and 5.7 have/will be dumped and we will go 
>from 5.5-? to 6.0?
> 

The only VMS version I can think of that ever got as high as a .7 was
V4.7.  The units digit changes when there's a LOT of new stuff, and
there is in V6.0.  Is there something that would require using up
all the tenths digits?  (I must admit that I had little choice after
releasing VAX FORTRAM V5.9...)  There never were plans for a VMS
V5.7, and there was only brief discussion of using V5.6 for what will
be V6.0.

Steve Lionel                    lionel@quark.enet.dec.com
SDT Languages Group
Digital Equipment Corporation
110 Spit Brook Road
Nashua, NH 03062
Newsgroups: comp.os.vms
Subject: Re: LIB$SPAWN and privileges...
From: tp@mccall.com (Terry Poot)
Date: Tue, 26 Jan 1993 14:11:00 CST
Reply-To: tp@mccall.com (Terry Poot)
Distribution: world
Organization: The McCall Pattern Co., Manhattan, KS, USA
Nntp-Posting-User: tp


In article <1k2kdtINNs62@gap.caltech.edu>, carl@SOL1.GPS.CALTECH.EDU (Carl J
Lydick) writes:
>In article <01GTXJV9AHTU000EP7@SCI.WFEB.EDU>, MACRIDES@SCI.WFEB.EDU (Foteos
>Macrides) writes:
>=	Has anybody written a SYS$PURGE and/or SYS$RENAME system service?  I
>=want to do some file cleanup operations from a CtrlY-trapping AST, and can't
>=use LIB$SPAWN or system() cuz the child process can't bring the parent back
>=out of hibernation.
>
>Do you have any idea what system services *ARE*?  Why don't you also ask for a
>C compiler system service?

Yeah, or a system service to format text, or format time values, ACLs, or
security events into pretty ascii strings, or encrypt passwords! Oh, I guess it
has those. They'll put anything in there, won't they? Of course, since it does
file I/O, the C compiler would have to be an RMS routine, not a system service.
(Of course the difference is academic if you aren't an internals hacker, so we
should probably cut Carl some slack on this one.)

Fote - system() or lib$spawn without the nowait flag should wait till the
subprocess exists and then return. You can do purge and rename calls through
RMS. You can roll your own purge in C by explicitly deleting lower versions of a
file, but that'd be harder (you'd definitely want to start with Rich Salz's
reddir package). There is a rename() in the C rtl. Of course, if your problem is
lack of privileges to do these things, this isn't going to help, and you really
wouldn't want a system service lying around that'd let a user do these things
without privilege.
--
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
Newsgroups: comp.os.vms
From: brydon@asl.slb.com (Harvey Brydon (918)250-4312)
Subject: Re: Problems with EXABYTE tape drive
Reply-To: brydon@dsn.SINet.slb.com
Organization: Dowell Schlumberger, Tulsa, Oklahoma
Date: Sat, 23 Jan 93 12:45:19 GMT

In article <1993Jan22.200938.22220@das.harvard.edu>, chen@speed.uucp (Lilei
Chen) writes:
>On our site we use EXABYTE tape drive for backup purpose.  But we
>can not get more than 500MB on a 112M tape which is supposed to be
>able to hold more than 2GB according to the specification.  We have
>about five drives and all behave the same way.  We even tried it on
>a PC with an ADAPTEC SCSI controler, but the result is the same.
>EXABYTE claimed that they don't know anything about the possible
>cause.  So I am asking the net if anyone has encountered similar
>problems with EXABYTE tape drive and/or knows its possible cause.
>Thanks.

This is a helical scan tape drive that works in 'stream' mode.  What that
means is that as long as you are feeding it data, it will write to tape (no
surprise there) but if you stop feeding it data and the drive needs more to
write, it writes filler info to the tape.  You therefore get less capacity on
the tape if you can't keep the drive busy.  This will happen for example if
you have a highly fragmented disk (image or incremental backup) or if the
backup process runs at a low scheduling priority on a busy system.  Backing up
(image) a compressed disk should give you better tape usage, as will a
physical backup.  Incrementals will give you the least efficient tape usage.

HTH
_______________________________________________________________
Harvey Brydon         | Internet:   brydon@dsn.SINet.slb.com
Dowell Schlumberger   | P.O.T.S.:   (918)250-4312
 Backup my system disk?  Okay, where's the reverse switch?