HDTenEightyP/NetNews huggingface dataset:
From: cordelkj@ucunix.san.uc.edu (Kevin John Cordell)
Newsgroups: comp.os.vms
Subject: Re: TK50 vrs.TK70
Date: 12 Oct 92 01:19:01 GMT
Organization: University of Cincinnati

In article <9210112202.AA19860@uu3.psi.com> leichter@lrw.com (Jerry Leichter) writes:
>
>	>>Can you write to TK50 tapes in a TK70 drive, or does its
>	>>compatibility only extend to being able to *read* TK50 tapes?
>	>>
>	>>[...]
>	>
>	>the TK70 drive can only *read* TK50 tapes. it *can't* write them.
>	>
>	Actually, isn't it that the TK70 can write to the TK50 tape but not in
>	TK50 format?  So if you already have something on the TK50, don't
>	write to it, but if it's blank, and you only use it in a TK70, go
>	ahead and read/write?  
>
>Almost.  TK50 and TK70 tapes, unlike reel-to-reel tapes (and several other
>magnetic tape technologies) have a pre-written synchronization track on them.
>Normally, when you get a tape the sync track is already there, and writes to
>the tape don't touch it.  However, both kinds of drives can write the sync
>tracks - and will do so automatically if you insert a writeable tape with no
>sync track on it.  This takes a LONG time (15 minutes or more - I don't recall
>ever actually going through the process).  After the sync track is written,
>the tape can be used.
>
>The sync tracks for TK50-format and TK70-format tapes are different.  The
>TK50 cannot do anything with a TK70-format tape.  The TK70 is capable of
>reading a tape in either format, and will sense the format from the sync
>track it sees.  However, the TK70 cannot write onto a TK50-format cartridge.
>
>If you bulk-erase cartridge and insert it into either kind of drive, the
>drive will notice and format it (write a sync track) for its native mode.
>Hence, you can re-use a cartridge that was formatted for TK50 use by bulk
>erasing it, then sticking it into a TK70 drive.  That's the ONLY way you'll
>be able to get the TK70 drive to write on it.
>
>There is no difference in design between TK50 cartridges (TK50-K's) and
>TK70 cartridges (TK52-K's) except for the format they come from the factory
>in.  However, tolerances on the TK52-K's are tighter; some cartridges that
>work perfectly well in a TK50 drive may be unusable in a TK70.  I'm told by
>people who've tried it that, in practice, most TK50-K's work fine, with
>perhaps a slightly higher error rate, so if you have a supply of TK50-K's
>and a new TK70 drive, you can save some dollars.
>
>							-- Jerry
>

I have done just this.  I have a TK70 drive and lots of old TK50
tapes, plus the old distrubution tapes.  By erasing them and
reinitializing them, I have been using several of them.  I have not
noticed any problems in doing so, so far..

kevin
-- 
-----------------------------------------------------------------------------
Kevin J. Cordell
Cordelkj@ucunix.san.uc.edu
Newsgroups: comp.os.vms
Subject: Re: VI for VMS. Want it. Bad.
From: tas@alpha.dasd.honeywell.com (Todd A Sorensen)
Date: 9 Oct 92 15:19:44 MST
Organization: Honeywell Flight Management Systems
Nntp-Posting-User: tas

In article <1992Oct2.003750.19760@ucsu.Colorado.EDU>, knapp@spot.Colorado.EDU (David Knapp) writes:
> 
> I've serched through what appears to be the FAQ for the group and did subject
> searches for 'vi'. Nothing.
> 
> Do you any of you fine folks in vax-land know where I might be able to ftp
> a vi editor for vms?
> 
> Help!
> 
> 
> -- 
> David Knapp                                      University of Colorado, Boulder
> Perpetual Student                                   knapp@spot.colorado.edu

As a  perpetual student, you would be wise to learn TPU if you are going to
spend any amount of time on a VMS system.  As a former user of vi, I have found 
TPU (or LSE) to be far superior in many ways, but to each his own.

-- 
-------------------------------------------------------------------------------
Todd A Sorensen               Honeywell Defense Avionics Systems Division
(505) 828-5611                internet: tas@dasd.honeywell.com
                              fax: (505) 828-5500
------------------------------------------------------------------------------- 
America: Land of Freedom - but are you really free?
-------------------------------------------------------------------------------
Newsgroups: comp.os.vms
Subject: VAX BASIC AST's and incomplete io question
From: kyle@yogi.hsc.ucalgary.ca (Kyle Maschmeyer)
Date: 8 Oct 92 14:59:30 GMT
Organization: Sharecom Ind.
Nntp-Posting-User: kyle

Read this if you: (a) know anything about VAX BASIC (b) know
anything about AST's.

After figuring out how to set up control Y AST's in VAX BASIC, I
wrote an AST that would do a CAUSE ERROR 28 every time a control Y
was typed (to turn control Y's effect into the same effect as a
control C).

It works great, except for one thing. If the error handler causes a
resume to the line where input was solicited, a "Fatal system io error"
occurs because the file (ie the terminal) is still in the middle of
the read operation that was interrupted by the control Y. I get a message
that the FAB is still busy or some such nonsense. For example:
10	Call Setup_AST				! Enable a control Y ast
						!  that will CAUSE ERROR 28
	On error goto 7000
20	LInput "Type something";Inp$
	Print "You typed '";Inp$;"'"
	Goto 32767
7000	! ERR HANDLER
	Resume 20
32767	End

If you type a control Y when it asks you for input, you end up in
an infinite loop because the error 28 causes you to go to line 20,
where a fatal sys io error occurs because LInput tries to do more
input on a file that's already busy. I can't wait for the io operation
to complete because this is BASIC io, not QIO system calls over which I
have more control. The solution, if there is one, has to be something
I can do within the AST routine because there are 50 or more programs that
all call it and I can't afford to do fancy customization of all their
input statements. How can I cancel the current read operation on
channel 0 (if there is one - there may not be one!) from within the AST
routine?

You guys were really helpful once before on BASIC AST's. Any ideas on this
one?

-- 
| Kyle Maschmeyer, B.Sc.        | Internet address:                          |
| Programmer/linguist           |  "animal::kyle"@yogi.hsc.ucalgary.ca       |
| c/o Sharecom Industries, Box 8| To specify on VAX/VMS:                     |
| DeWinton, Alberta, Canada     |  "'animal::kyle'@yogi.hsc.ucalgary.ca"     |
| Tel. (403) 256-4766 days MST  | Alternate, if the quotes are a problem:    |
|                               |  kyle@yogi.hsc.ucalgary.ca                 |
Xref: sparky comp.os.vms:16340 vmsnet.sources.d:641
From: kent@loral.cts.com (Kent Yang)
Newsgroups: comp.os.vms,vmsnet.sources.d
Subject: QIO and XA driver
Date: 8 Oct 92 21:39:47 GMT
Organization: Loral Instrumentation

Does anybody out there have C source code that will use the QIO system
services to read data from XA port (XAA0).  I just need to be able to
read data from the port.  I would appreciate someone sending me the
source code (it doesn't have to be complicated, just something that
demostrate it) or if you can point out the ftp site where I can get
this, that would be great.  I would prefer Emailing all replys.

Thanks in advance

Kent
--
Kent Yang -  Design Engineer -  kent@loral.cts.com
Engineering, Loral Instrumentation (San Diego, CA)
Phone: (619)674-5100 ext 4180 Fax:   (619)674-5145
--
Kent Yang -  Design Engineer -  kent@loral.cts.com
Engineering, Loral Instrumentation (San Diego, CA)
Phone: (619)674-5100 ext 4180 Fax:   (619)674-5145
From: CXNHJP@manadon-engineering-college.ac.uk
Newsgroups: comp.os.vms
Subject: (none)
Date: 8 Oct 92 07:14:00 GMT
Distribution: world
Organization: The Internet

More details for those of you interested in my watcher problem, the machine 
I am ruunning it on is a 4000-300, running VMS 5.5-1, I have not tailored 
the default startup files much yet, but here they are ;

This is the watcher startup routine

$! WATCHER_STARTUP.COM
$!  Starts the WATCHER program.
$!
$ SET NOON
$!
$ DEFINE := DEFINE/SYSTEM/EXEC/NOLOG
$!
$ IF F$TRNLNM ("WATCHER_DIR") .EQS. "" THEN -
    DEFINE WATCHER_DIR SYS$SYSROOT:[WATCHER]
$ IF F$TRNLNM ("WATCHER_CONFIG") .EQS. "" THEN -
    DEFINE WATCHER_CONFIG WATCHER_DIR:WATCHER_CONFIG.WCFG
$ IF F$TRNLNM ("WATCHER_TRACE") .EQS. "" THEN -
    DEFINE WATCHER_TRACE  WATCHER_DIR:WATCHER_TRACE.LOG
$!
$ RUN/DETACHED/OUTPUT=NL:/PROCESS="Watcher"-
    /AST_LIMIT=10/BUFFER=2048/ENQUE=10/EXTENT=512-
    /FILE_LIMIT=10/IO_BUF=32/IO_DIR=32/JOB_TABLE=0-
    /MAXIMUM=512/TIME_LIMIT=0/PAGE_FILE=4096-
    /PRIV=(NOSAME,TMPMBX,NETMBX,OPER,WORLD,SHARE,SYSNAM,PRMMBX,SYSPRV,-
    	SHARE,CMKRNL,PSWAPM)-
    WATCHER_DIR:WATCHER
$ EXIT 1

This is the watcher_config.wcp file :

!++
!--

SET VERIFY

SET INTERVAL=00:05:00

SET WATCH_DEFAULT/WARNING=00:25:00/DISCONNECT=00:30:00


SET EVENT/OPER=OPER1

SET BELL

WATCH *$RT*/MEASURE=PROCESS_IO/LOGOUT

SET DECWINDOWS
WATCH *$WSA*/MEASURE=PROCESS_IO/NOWARNING/LOGOUT

WATCH *

EXCLUDE TAPMGRDB
EXCLUDE TAPMGRRQ
EXCLUDE TAPESYS
EXCLUDE TAPESYSNP
EXCLUDE SYSTEM

EXCLUDE FIELD/TERMINAL=*$OPA0 

The process has put itself at a priv of 6, and is constantly taking 72% of 
cpu time up when I can run it ! Does the program have an initial 30 mins of 
setting up time or do the basic startup files need tailoring.


Neil James-Pearson - cxnhjp@uk.ac.manadon
From: su@SMUP7.ITODYS.JUSSIEU.FR
Newsgroups: comp.os.vms
Subject: post office protocole on vax?
Date: 7 Oct 92 07:39:17 GMT
Organization: The Internet


 A mail server is running at our university on VAX/VMS. It provides
BITNET, INTERNET and DECnet mailing facilities. Some users would like
to be warned of the arrival of messages in their mailboxes while working
on a Mac or PC, without having a permanent telnet connection to the
mail server. They use on the mac a program called Eudora, which is known
to work in cooperation with another program called popper running on a
Unix mail server. Is there a program similar to popper and running under
VMS?
 Thanx for any help.
 kbs

--------------------------------------------------------------------
Khac Binh SU                                   
Laboratoire d'Electrochimie  Univ. Paris 7           FAX. (33)(1) 47 27 69 64
Tour 44-45 4eme Et. 2 place Jussieu                   TEL. (33)(1)  47 27 57 17
75251 Paris Cedex 05                     SU@FRP7UN51 ou su@paris7.jussieu.fr
---------------------------------------------------------------------

Newsgroups: comp.os.vms
From: moroney@ramblr.enet.dec.com
Subject: Re: How do you determine   DECterm != vt300  ?
Organization: Digital Equipment Corporation
Date: Mon, 12 Oct 1992 21:54:31 GMT

In article <1992Oct12.162840.10120@saifr00.cfsat.honeywell.com>, schall@swtech06.cfsat.honeywell.com (Loren Schall) writes...
>I'm having a problem distiguishing between a DECterm and a vt340.
> 
>I use the folowing code, in my LOGIN.COM, to determine what kind of
>terminal I'm logging in at.

...

>GETDVI reports a DECterm as a vt300.  The problem is, now, sometimes
>I'm using a vt340.  What's the right way to distinguish between a
>vt300 and a DECterm?

That's most likely the wrong way to go about doing what you are doing.  You
should be looking at the terminal characteristics to see if the terminal
is able to do what you want it to do.  For example, if you want to see if the
terminal is able to handle sixels you should test the SIXEL Graphics bit that
gets set/cleared depending on whether the terminal is sixel-capable or not, not
whether it's a VT100 or VT300 series.

Notice the type is reported as an VTxxx_SERIES rather than a specific type,
this is because you should be going by specific capabilities rather than
what an individual type is.  Both the DECterms and the VT340 are listed as
VT300_Series since they both do at least the minimum functions defined by
the VT300_Series but don't have the next level VT400_Series. Old terminals
(VT100 etc.) are listed explicitly for backward capability, however.  Other
differences are in the characteristics bits.

Having said all that, if you are doing DECwindowsy things that have nothing
to do with the terminal itself, see if the DECW$DISPLAY logical exists.

-Mike
From: jis@gnv.ifas.ufl.edu
Newsgroups: comp.os.vms
Subject: slip for vms?
Date: 15 Oct 92 13:50:32 -0500


Does anyone know where to get dialup SLIP for VMS? I would prefer to 
use a DECserver LAT application port as a SLIP full-function router.

Thanks in advance,
jennifer
jis@gnv.ifas.ufl.edu
Newsgroups: comp.os.vms
From: sethg@dcatlas.dot.gov (Seth Grimes)
Subject: Re: vms posix
Keywords: posix
Organization: U.S Dept. of Transportation
Date: Thu, 8 Oct 1992 12:39:06 GMT


Yes, the VMS Posix shell is very slow.  I saw one trade rag article that
said 2800% slower than the equivalent DCL.  But you can bet that DEC is
working on an implementation that doesn't sit on top of DCL (if, in fact
the current implementation does) but is down there in the OS layers so
that it gives much better performance.  Develop now... the OS will catch
up later.

Seth Grimes, dcatlas!sethg@uunet.uu.net
From: laut@alien.gici.com (Bill Laut)
Newsgroups: comp.os.vms
Subject: Re: HELP undelete: Programs
Date: 14 Oct 92 16:47:58 GMT
Organization: Gull Island Consultants, Inc.

In article <1bepmhINN96g@darkstar.UCSC.EDU>, koehler@secs.ucsc.edu writes:
> Hi -I inadvertantly delted about two weeks worth of C code with the del
> command!  I notice that the delete command has the /noerase qualifier as
> the default -so my files are still around until written over?
> Is there a recovery command or utility to rescue my lost files?
> Any help will be much appreciated!
> Thanks, Ryan

If you can prevent further file writes or extends to the disk, you might
try scrounging through the INDEXF.SYS file, and see if you can find each
individual file by name in the file headers.  From there, you'll have the
retrieval pointers so that you can retrieve the stuff using logical I/O
(eg, IO$_READLBLK) to the disk.

Be forewarned, however, that those file headers can be reused at any time,
as can be the disk space those files previously utilized.  Best to scrounge
in a hurry, before you lose too much...

I don't know of a program per se to recover deleted files, although I'm
certain it's been written and re-written numerous times.  If there is no
such thing, perhaps we can get a discussion group going on it, and then
nominate somebody to write the thing and distribute it.  :)

-- 
Bill Laut			Internet:  laut@alien.gici.com
Gull Island Consultants, Inc.	Phone:     (616) 780-3321
Muskegon, MI  49440		>> "Usual disclaimers, apply within" <<
From: laut@alien.gici.com (Bill Laut)
Newsgroups: comp.os.vms
Subject: KERBEROS as replacement for SYSUAF
Date: 8 Oct 92 20:22:50 GMT
Organization: Gull Island Consultants, Inc.


	I am dealing with a client site that has a couple of fairly large
VAXClusters, and bunches and bunches of MicroVAXes spread throughout its
domain.  Owing to consolidation efforts, we've been assigned technical and
administrative responsibility for all of these machines.

	In order to ease the burden of creating/maintaining/deleting user
accounts and SYSUAF entries, we are contemplating the possibility of
replacing the $GETUAF/$SETUAF system services with custom implementations that
will use the Kerberos authentication scheme.

	Our design goal is to get all the usernames, passwords, etc., down
to one central site, where they can be administered with relative ease.  Our
reason for selecting the $SETUAF/$GETUAF services is to make the Kerberos
port as transparent to the rest of VMS as is possible.  We don't want the users
to see or know any difference in hos the machines are operating.

	"With that said," (climbs into his suit of armor, zippers over it a
flame-proof insulated firesuit, and prepares to open Pandora's Box), "would
anyone care to comment on the idea, or offer suggestions?"

-- 
Bill Laut			Internet:  laut@alien.gici.com
Gull Island Consultants, Inc.	Phone:     (616) 780-3321
P.O. Box 627
Muskegon, MI  49440		>> "Usual disclaimers, apply within" <<
From: moroney@ramblr.enet.dec.com
Newsgroups: comp.os.vms
Subject: Re: How do you determine   DECterm != vt300  ?
Date: 15 Oct 92 22:10:54 GMT
Organization: Digital Equipment Corporation

In article <1bd4i2INNcn6@gap.caltech.edu>, carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) writes...
>Fine.  Using what you propose, how does one determine whether or not the
>terminal is capable of doing things that DECterms can do but VT300_Series
>terminals can't?  For example, If I'm using a DECterm, I generally
>	$ SET TERM/WIDTH=132/PAGE=48
>Not such a great idea on a VT300_Series terminal, is it?  No, there ARE good
>reasons for wanting to know whether or not you're using a DECterm.

You have a point.

This is one of the "DECwindowsy" things I mentioned.  Check to see if upon
startup if the DECW$DISPLAY logical is defined.  If not then you have a
fixed screen size.  If it exists when LOGIN.COM is executed you have a DECterm.

Perhaps you may wish to enter a suggestion SPR to have a SOFT_TERMSIZE
terminal function to provide a better way to see if a terminal deals with
something like $ SET TERM/WIDTH=132/PAGE=48 correctly.

-Mike
Newsgroups: comp.os.vms
From: storrs@eos.ncsu.edu (JERRY STORRS)
Subject: Re: Capturing data from rs232 port ?
Originator: storrs@c20002-121rd.che.ncsu.edu
Reply-To: storrs@eos.ncsu.edu (JERRY STORRS)
Organization: North Carolina State University, Project Eos
Date: Mon, 12 Oct 1992 18:25:09 GMT


I have interest in this question as well.  With two (major) differences.
A lab conntected to my VAXserver has a piece of equipment (microscope) that
collects data and sends it to a serial printer port.  The data comes from the
port and offers a carriage return, but no line-feed.  Is there a method 
(preferably in DCL) to capture the data and to insert a line-feed so as to 
create a new record in an opened file?  The first difference is that I'm 
working with a microscope not a modem.  The second difference is that I am 
working through a LAT.  (Oh NO!! Not a LAT!!)  Thanks for the reponse in 
advance.         JLS
-- 
===============================================================================
Jerry L. Storrs, System/Network Manager || Jesus said, "..He who believes in me
Dept of Chemical Engineering, NCSU      ||  will live, even though he dies, and
   storrs@che.ncsu.edu (preferred)      ||  whoever lives and believes in me
   storrs@eos.ncsu.edu                  ||  will never die..."  
                                        ||                    John 11:..25-26..
===============================================================================
Any statement made is the explicit belief of the writer and not the employer.

Newsgroups: comp.os.vms
From: brent@uwovax.uwo.ca (Brent Sterner)
Subject: Re: How much to charge for CPU time?
Organization: University of Western Ont, London
Date: Fri, 16 Oct 1992 18:08:16 GMT

   I've stayed out of this until now.  Since no one has bothered to
   publish thier rates, here are our's.

   The system is a 4500 (~24 Vups, +/- many salt grains) with 128 meg
   of memory and 12 gig of disk.  Our base rate, in *internal* Canadian
   dollars is $98 per hour of CPU in prime time, with shift, holiday,
   and batch job discounts of either 50% or 75%.  (The rates are usually
   fiddled each year near the beginning of our fiscal year.)

   Disk space is charged at $ .000049 per block per day (ie 10,000 blocks
   cost 49 cents a day).  We charge for allocated space as reported by
   diskquota.

   Printing charges are $ .34 per 1000 lines printed,
                          .25 per page (b&w laser),
                         1.00 per page (colour laser on paper),
                         3.55 per sheet (colour laser on transparency),

   Hope this is helpful.  b.
--
Brent Sterner                       Manager, Academic Technical Support
Fast:       <BRENT@uwo.ca>          <129.100.2.13>
Telephone:  (519)661-2151 x 6036    Fax:   (519)661-3486
Slow:  Computing & Communications Services, Natural Sciences Building
       The University of Western Ontario, London, Ontario, Canada  N6A 5B7
From: leichter@lrw.com (Jerry Leichter)
Newsgroups: comp.os.vms
Subject: Re: CMKRNL as an image priv: Security problem?
Date: 11 Oct 92 02:32:47 GMT
Distribution: world
Organization: The Internet


	[I wrote:]
	>VMS is very careful to ensure that, when an image with amplified
	>privileges exits, the process's privileges are restored to what they
	>were.  Further, it is careful to make sure that the image remains
	>intact.  For example, such an image can't be patched with DEPOSIT,

	but i can patch _any_ image, as long as i have READ access.

No, you can't.  Try it!

	i must be misunderstanding you --- are you trying to say that you
	need WRITE access to create a new version, and CMKRNL to
	"install/replace"?

No.  I'm saying you can't use the DCL DEPOSIT command to modify an image
with amplified privileges.

(Actually, what's really happening is more general.  After a CTRL/Y that
interrupts an executing image run directly from the terminal, DCL enters a
special state that allows you to type CONTINUE to continue execution.  You
can also issue a number of additional commands without losing the current
image.

When the image that was interrupted was running with amplified privileges,
DCL is MUCH more restrictive.  In fact, the only things it will let you do
is CONTINUE or SPAWN (and perhaps DISCONNECT - I'm not sure about that one).
DEPOSIT, EXAMINE, DEBUG, even ASSIGN all "work", but the image is run down
first before DCL acts on them - so EXAMINE, for example, can't be used to
see stuff that a privileged image may have read that you are not allowed to
see.  By the time EXAMINE executes, the privileged image is gone.)

							-- Jerry
Newsgroups: comp.os.vms
Subject: Longest record length in STREAM file?
From: rolff@scotty.eurokom.ie (Anders Rolff)
Date: 7 Oct 92 13:06:23 CET
Reply-To: rolff@scotty.eurokom.ie
Distribution: world
Organization: EuroKom conferencing services
Nntp-Posting-User: rolff


Hello!

I have an application that will read a text file that may contain very
long lines. My problem is basicly to allocate a big enough buffer for
the longest line/record in the file. If the file has a variable length
record format, I can just get the XAB$W_LRL value and use that as the
size of the buffer, but what to do if it's a STREAM file?

Anders.
From: ARNE@ko.hhs.dk (Arne Vajhxj)
Newsgroups: comp.os.vms
Subject: Re: Longest record length in STREAM file?
Date: 8 Oct 92 19:17:38 GMT
Distribution: world
Organization: The Internet

> I have an application that will read a text file that may contain very
> long lines. My problem is basicly to allocate a big enough buffer for
> the longest line/record in the file. If the file has a variable length
> record format, I can just get the XAB$W_LRL value and use that as the
> size of the buffer, but what to do if it's a STREAM file?

To handle stream files and variable line length files with incorrect
longest line (typical 0) I would suggest you always allocate the
maximum line-length 32767. Even then you  can be bitten by incorrect
stream files with longer records.

                                                          Arne

Arne Vajhxj                             local DECNET:  KO::ARNE
Computer Department                     PSI:           PSI%23831001304030::ARNE
Business School of Southern Denmark     Internet:      ARNE@KO.HHS.DK
From: TKENNETT@BENTLEY.BITNET
Newsgroups: comp.os.vms
Subject: Re: Looking for code to simulate another user
Date: 7 Oct 92 12:50:00 GMT
Organization: The Internet

Hello,

        We use the DECUS utility BECOME.  It works great and its
        cheap/free.

Ted Kennette
Systems Manager
Bentley College
tkennett@Bentley.Bitnet