HDTenEightyP/NetNews huggingface dataset:
From: sjs@sbphy.physics.ucsb.edu (Steve J. Schmidhauser)
Newsgroups: comp.os.vms,comp.windows.x.motif
Subject: How to set system defaults for session manger
Summary: I want the session manager to default to autostart decterm
Date: 10 Nov 92 02:58:56 GMT
Followup-To: comp.os.vms

I upgraded from Decwindows to Decwindow/motif on Friday. I would like to
set the system defaults so that session manager autostarts Decterm not
linkworks or window manager. We are running VMS 5.5-1, Decwindow/Motif
1.1, Infoserver based VXT 2000 X-terms. Also would like to know how to
change fonts, the big fonts are much too large, would like some thing 
similar to what we had under Decwindows. Performance seems to have
sufferd as well. LSEditor will quit unexpectedly. Any help would be much
welcomed. TIA

--
Steve Schmidhauser               |  INTERNET: sjs@sbphy.physics.ucsb.edu
LTA Santa Barbara City College   |  Backup: 2209schm@ucsbuxa.ucsb.edu
721 Cliff Dr, S.B.,CA 93109      |  PHONE: (805)965-0581 x2401
Newsgroups: comp.os.vms,comp.sys.dec,sub.os.vms,comp.lang.c
From: sca@gese.ge14.mdadv.gv.at (Petzi Schweda)
Subject: How to generate VMS-bookreader-doc's ???
Originator: sca@gese0n.ge14.mdadv.gv.at
Organization: MD-ADV, Vienna, Austria
Date: Fri, 13 Nov 1992 06:32:25 GMT


We're currently having c-written programs generating our docu's
under VMS as TXT, HLP, and PS. 
Anybody an idea how to get bookreader-docs ???
... without using VAX-DOCUMENT ????

thanks, Petzi
-- 
----------------------------------------------------
Petzi Schweda (sca@gese.ge14.mdadv.gv.at)
MD-ADV, Municipality of the City of Vienna, Austria
-- 
----------------------------------------------------
Petzi Schweda (sca@gese.ge14.mdadv.gv.at)
MD-ADV, Municipality of the City of Vienna, Austria
Newsgroups: comp.os.vms
From: mitcham@easy.enet.dec.com ()
Subject: Re: How to set system defaults for session manger
Reply-To: mitcham@easy.enet.dec.com ()
Organization: Digital Equipment Corporation
Date: Tue, 10 Nov 1992 12:16:35 GMT


I strongly suggest referencing Chapter 13 (Changing the Startup Environment)
of the VMS DECwindows Motif User's Guide (AA-PGZ5A-TE) for information on
how to modify what is executed when logging into your workstation.  I believe
this should get you off to a good start.
--
  +---------------------------------------------------------------------+
  | Andrew Mitcham			|  The opinions expressed here  |
  | Digital Equipment Corporation	|  are my own and not those of  | 
  | Customer Support Center		|  my employer unless otherwise |
  | Alpharetta, Georgia			|  stated.                      |
  | email: mitcham@rhett.enet.dec.com	|                               |
  +---------------------------------------------------------------------+
Newsgroups: comp.os.vms
From: jbs@rti.rti.org
Subject: Re: Getting terminal width from VAX-C ?
Keywords: terminal_width
Organization: Research Triangle Institute, RTP, NC
Date: Thu, 12 Nov 92 15:28:52 GMT

In article <1992Nov11.101009.87@front.se> samuel@front.se writes:
>
>Does anybody out there know how to get the TERMINAL WIDTH from VAX-C ?
>
>How do I implement the function "terminal_width()" ?


#include <stdio.h>
#include <ttdef.h>
#include <descrip.h>
#include <iodef.h>
#include <ssdef.h>

/* I/O status block information. */
struct {
	short iosb_cond, iosb_count;
	int iosb_dev;
       } iosb;

short chan;

int status, i;

/* characteristics buffer */
struct {
	unsigned char class, type;
	short page_width;
	int rest;
       } termchars;

$DESCRIPTOR(terminal,"TT:");


int terminal_width()
{
	if(((status = SYS$QIOW(0,chan,IO$_SENSEMODE,&iosb,0,0,&termchars,
			       8,0,0,0,0))&1)!=1)
		LIB$STOP(status);
	if ((iosb.iosb_cond &1)!=1)
		LIB$STOP(status);
	return(termchars.page_width);
}


main()
{
	/* Assign a channel to the terminal */
	if (((status = SYS$ASSIGN(&terminal,&chan,0,0))&1)!=1)
		LIB$STOP(status);

	printf("Current terminal page width = %d\n",terminal_width());
}
From: Dave@usppc.abb.com
Newsgroups: comp.os.vms
Subject: Re: User limit in VS4000
Date: 11 Nov 92 14:51:23 GMT
Organization: The Internet

Andres Molnar has a VS 4000 VLC on which he'd like to have more than
two logins.  His local DIGITAL sales office says this can't be done.

Hi, Andres.  DIGITAL is not telling the whole truth about VAXstations.
True, VMS does look at the hardware, notice that it is a VAXstation,
and refuse to do more than two logins no matter what story you tell it
about maximum interactive logins or the size of the license which you
install.  However, there is a license option which you may purchase (at
least in the USA) from DIGITAL which will let you have up to 8 logins
on a VAXstation.  To purchase this option, you need to have the
regional sales manager's approval.  I imagine that will be a lot easier
to get when you buy your first Sun SPARCstation since Sun doesn't
count.  This policy was announced in a CSO published in July, 1992.  It
has not been widely promoted since desk-side machines produce more revenue.

Good luck,
Dave Hamby                      Dave.Hamby@Usppc.Abb.Com	
ABB Power Plant Controls        NEARnet -- Internet


----- End Included Message -----
From: dwight@geohub.gcn.uoknor.edu (Dwight D. Moore)
Newsgroups: comp.os.vms
Subject: Re: DCL Help: Starting a remote DCL file & knowing when it's done
Date: 6 Nov 92 15:42:33 GMT
Article-I.D.: constell.1992Nov6.154233.24247
Reply-To: dwight@geohub.gcn.uoknor.edu
Organization: Geosciences Computing Network, Univ. of Oklahoma
Originator: usenet@kittyhawk.ecn.uoknor.edu

In article <1992Nov5.212240.9749@rtpnc.epa.gov>, rbn@ralph.rtpnc.epa.gov (Bob Boyd) writes:
|>Newsgroups: comp.os.vms
|>Path:
|
constellation!mimbres.cs.unm.edu!ncar!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!concert!
!epa-rtp!ralph.rtpnc.epa.gov!rbn
|>From: rbn@ralph.rtpnc.epa.gov (Bob Boyd)
|>Subject: Re: DCL Help: Starting a remote DCL file & knowing when it's done
|>Message-ID: <1992Nov5.212240.9749@rtpnc.epa.gov>
|>Sender: usenet@rtpnc.epa.gov
|>Nntp-Posting-Host: ralph.rtpnc.epa.gov
|>Reply-To: rbn@ralph.rtpnc.epa.gov
|>Organization: Unisys/EPA
|>References:  <a725911.12@bugs.mc.ti.com>
|>Date: Thu, 5 Nov 1992 21:22:40 GMT
|>Lines: 41
|>
|>It's relatively easy to set up DCL code that uses transparent task-to-task 
|>DECnet to do this.  The basics are that there are two command procedures:
|>
|>1.  The local procedure:
|>
|>      Opens for read/write a file specification that causes the remote task  
|>      command procedure to be invoked.
|>
|>      This looks something like:
|>
|>       OPEN_LINK:
|>            open/read/write remote_link 
|>'remote_node'::"0=''remote_task'"/error=open_failed
|>      
|>       Then issue a read against the link.  
|>
|>        WAIT_FOR_REMOTE:
|>             read/end=remote_done/error=remote_died remote_link remote_record
|>
|>2.     The remote procedure:
|>            Must be defined to NCP by the same name as used in procedure 1, or be a
|>command
|>            procedure by the same name.  It could also be a logical name that points to
|>the 
|>            command procedure.
|>
|>           opens SYS$NET for read/write to complete the network link:
|>
|>            open/read/write net_link SYS$NET/error=net_died
|>  
|>            Then it invokes whatever other commands/images that it is supposed to do.
|>
|>             When it is done, it can simply issue a 
|>
|>              close/nolog net_link
|>
|>If you want examples of stuff like that there are several around.  I have some if you
|>want.
|>Let me know by e-mail if you do.
|>
|>--
|>Bob Boyd                 
|>rbn@ralph.rtpnc.epa.gov 
|>Unisys/EPA               
|>
|>

If you have system priviledges, setting up a DECnet object is another way
of making a "known" DECnet task so that the DCL file can reside in the SYS$SYSTEM
directory.  This is good for typical remote batch jobs. 
----------------------------------------------------------------------------
Dwight D. Moore
Geosciences Computing Network
University of Oklahoma

dwight@geohub.gcn.uoknor.edu (129.15.40.10)
These opinions do not necessarily represent the opinions of OU or the GCN.
----------------------------------------------------------------------------
Xref: sparky comp.os.vms:17873 vmsnet.sysmgt:339
From: mcdonald@dallas.sil.org
Newsgroups: comp.os.vms,vmsnet.sysmgt
Subject: Re: HELP: how to stop and prevent break in?
Date: 12 Nov 92 14:40:16 CST
Organization: Summer Institute of Linguistics, Dallas Center

In article <1ds5eqINN185@merak.usc.edu>, ttytst@merak.usc.edu (Guess what)
writes: 
> We got very strange things happened on one account where we found
>the owner of files are not only the owner of the account but also another
>one.   
>  
> 	OWNER=[my,WHO] 
               ^^ ^^^
      Group ---|  |
      user--------|

If the user's numeric uic is [yyy,xxx], and there is a value in
RIGHTSLIST.DAT for [yyy,17777777], then VMS will display the group name as
well. 

> All the files and directories under that account have two owners and we
>are sure that the other one is illegal. What we need to know right now is
>how to prevent this kind of things happened again and how to remove the
>illegal one from the ownership without SYSTEM ADMINSTATROR's Privilage. 
>Thanks in advance.

Can't be done, since it's only owned by one person, and anyway ownership is
always controlled by people with SYSPRV or GRPPRV.  If the system manager
wants to get rid of the [group,member] format, he can do that in authorize
with:

uaf> remove/id group

>Please don't reply to this account and I am just helping them to
>forward the mail. 

if you do this again, please put returns at the end of the lines...

******************************************************************************
Dan McDonald                    * UUCP      ...utacfd!dalsil!mcdonald
Dallas Computer Services	* Internet  mcdonald@dallas.sil.org
Summer Institute of Linguistics * ATTmail   sil!mcdonald
7500 W Camp Wisdom Rd           * SILnet    MCDONALD@AM@DALLAS
Dallas, TX 75236                * FAXnet    (214)709-3387
USA                             * POTSnet   (214)709-3389
******************************************************************************
x.400: C=US; ADMD=WESTERN UNION; O=SIL; DDA.ELN=62897168
      include "VMS MAIL: DAN.MCDONALD" in text for automated delivery :-(
******************************************************************************
From: 00mjstum@leo.bsuvc.bsu.edu (Matthew J. Stum)
Newsgroups: comp.os.vms
Subject: Help!  SMG$GET_TERM_DATA/VAX PASCAL
Date: 11 Nov 92 14:19:00 GMT
Organization: Widget Enterprises

I'd _really_really_ appreciate it if someone could get the VAX PASCAL code
below my sig to work properly (and send me a copy... <grin>).  Basically,
I'm having difficulties passing the buffer address to SMG$GET_TERM_DATA...
who's bright idea was it to define "Address - Unsigned Longword" as an
[UNSAFE] ^[UNSAFE] INTEGER????

Thanx...

-- 
Matt Stum                    Gwydion ap Myrddin       Ball State University
00mjstum@leo.bsuvc.bsu.edu   Shire of Afonlyn, MK     Muncie, IN  USA

{------------------ CUT HERE ---- DO NOT DAMAGE MONITOR ----------------}
[inherit('sys$library:starlet','sys$library:pascal$smg_routines')]
program termtab(input,output);
type
  $DEFTYP = [UNSAFE] INTEGER;   {as found in pascal$smg_routines.pas}
  $DEFPTR = [UNSAFE] ^$DEFTYP;  {ditto}

var
  stat : integer;
  termadr : unsigned;
  bufadr : $DEFPTR;
  line : varying [12] of char;  {arbitrary length string}
  junk : integer;
  i : integer;

begin
  stat := SMG$INIT_TERM_TABLE(%descr 'VT200_Series',termadr);
  if not(odd(stat)) then $exit(stat);

  line := zero;
  bufadr := iaddress(line.body); {this is what gives me problems, I think}

  {should return 4 character string "<esc>[2J"}
  stat := SMG$GET_TERM_DATA(termadr,SMG$K_ERASE_WHOLE_DISPLAY,12,junk,bufadr);
  if not(odd(stat)) then $exit(stat);
  line.length := junk;

  writeln('length = ',junk:1);  {this works okay... returns '4'}
  writeln('"',line.body,'"');   {... but this doesn't}

  {display the entire string for debugging purposes}
  for i:=1 to 12 do
    writeln(i:2,' "',line.body[i],'" (',ord(line.body[i]):1,')');
end.
{------------------ CUT HERE ---- DO NOT DAMAGE MONITOR ----------------}
Newsgroups: comp.os.vms
From: mookherj@serss0.fiu.edu (The Conqueror)
Subject: C on VAX
Organization: Florida International University, Miami
Distribution: na
Date: Fri, 13 Nov 1992 22:12:14 GMT

The records we create using editor on VAX are stored as variable
length records. But from C program when we use fseek or ftell
it counts the record header which contains the number of records in that record.
Now I want a program whick takes a variable lenghth record file and
converts it into a stream file.

Please forward all responses to lingaman@fiu.edu

Thanks in advance,
Jay Mookherje
From: dfilip@colorne.UUCP
Newsgroups: comp.os.vms
Subject: Re: MIPS vs. VUPS
Keywords: mips vups
Date: 7 Nov 92 13:58:32 GMT
Distribution: world
Summary: MIPS == VUPS ???
Organization: ColorNet Information Systems

George S. Chapman writes :
>>Ronald Becker Williams writes :
>>We've been told by DEC Ultrix Personnell that plus or
>>minus a few, that VUPS = MIPS, and vice versa.  Is
>>this reasonable?

>Absolutely.  That was what the original equivalence standard was.
>I've been using it for years when comparing to other vendors.

The problem with this is that, once you jump machine architectures, this
number becomes mostly (if not completely) useless. The reason that DEC
stopped quoting MIPS was that they were beating up IBM a few years back
(circa 1985 ?) about how their price per MIP beat the pants off of IBM
by something like a factor of 2 to 1. Then IBM came back with some benchmarks
and proved that you could get twice as many 'transactions' processed with
an IBM MIP than you could with a DEC MIP. To which DEC responded that IBM's
numbers were invalid because they represented batched transactions and not
online, to which IBM responded that large systems are measured in transactions
and not interactive access, to which ...

VUPS does make a lot of sense in comparing a VAXen, since the VAX
architecture is still somewhat the same (although the implementation has
varied quite a bit from processor line to processor line). However, DEC
generally gives VUP's in ranges (particularly on their larger systems)
because a VUP started out as an 11/780 (which they used to call a MIP)
and there have been enough changes in the VAX implementation since
then that your rating will vary depend on specifically what you are
trying to doing. Case in point is that some of the old 8xxx series
could easily beat some of the earlier 6xxx series machines which had
a much higher VUP rating, primarily because of some instructions which
were emulated (the older 6xxx series actually used the uVAX chip set,
although I am not sure if the 64xx/65xx still do).

An of course, I/O intensive applications will run much better on an XMI
attached RF-series disk than a Unibus attached RA-series disk, regardless
of the VUP rating ! 

IMHO, VUP/MIP ratings between completely different machine architectures
are relatively useless. VUP/MIP ratings between the same architecture
machines gives a close ballpark for comparison, but are still not
concrete, unless you take other differences in the machines implementation
into effect (i.e., I/O bus, memory bus, emulated instructions, etc.)

Regards,

Dave.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=   David E. Filip                UUCP   : dfilip@colornet.com              =
=   ColorNet Information Systems  CIS    : 76430,3111                       =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=     Standards are wonderful 'cause there are so many to choose from !     =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Newsgroups: comp.os.vms
From: thomas@lkg.dec.com (Matt Thomas)
Subject: Re: 3100/90 or 4000/90 what's better?
Reply-To: thomas@lkg.dec.com
Organization: Digital Equipment Corporation
Date: Fri, 6 Nov 1992 19:54:31 GMT


In article <1992Nov6.115522.20180@netnews.alf.dec.com>, mitcham@easy.enet.dec.com () writes:
|>For the record, there is no such animal as a VAXstation 3100 Model 90 (unless
|>we came out with a workstation product that I am unaware of).  The standard
|>flavors of VAXstation 3100 were: Model 30, Model 38, Model 40, Model 48, and
|>Model 76.  There was, of course, the VT1300 (whose hardware platform was 
|>based upon the VAXstation 3100) but it was intended as an Xterminal only.
|>
|>The VAXstation 4000 Model 90 is our latest VAXstation 4000 product and is 
|>superior to any VAXstation 3100 model we manufactured in terms of performance. 

The latest MicroVAX 3100 is the model 80 which is similar to a VS4000/90
without being a workstation.
--
Matt Thomas                     Internet:   thomas@lkg.dec.com
DECnet-ULTRIX Development       UUCP:       ...!decwrl!thomas
Digital Equipment Corporation   Disclaimer: This message reflects my own
Littleton, MA                               warped views, etc.
From: simons/G=Colin/I=CB/S=Sewell/O=H.A.Simons.Ltd/OU=CORP@mhs.attmail.com
Newsgroups: comp.os.vms
Subject: Re: PROBLEM: SET COMMAND UTILITY
Date: 12 Nov 92 20:19:24 GMT
Article-I.D.: ucbvax.9211122249.AA29917
Organization: The Internet

Carl J Lydick writes:

|In article <BxCnK7.KE1@didymus.rmi.de>, andreas@didymus.rmi.de (Andreas Fassl) writes:
|>Hi,
|>
|>any pointers/solutions to the following problem?
|>
|>Software product successfully installs via VMSINSTAL, runs fine.
|>After logout all new command definitions are gone.
|>A dump of the file DCLTABLES.EXE shows a correct installation.
|>Setting the command files via SET COMMAND directly will make
|>the commands available, a definition via
|>SET COMMAND/TABLE=DCL.../OUT=DCL.. command NOT.
|>What other locations are possible, how can I determine the other
|>command tables. A look in authorize gives no hint.
|
|Sounds like you've got two versions of DCLTABLES on your system, one in
|SYS$SPECIFIC and one in SYS$COMMON.

    you may also want to check that the SYS$SHARE:DCLTABLES.EXE
    have been re-installed. If they haven't, you're mapped to the
    old version without the new verb. the installation procedure
    re-installs it on the current node; check also if you aren't logging
    into another node of the same cluster that doesn't have the tables
    re-installed.
From: jackson@pravda.enet.dec.com
Newsgroups: comp.os.vms
Subject: Re: VAXstation 3100/76 as an X-terminal?
Date: 9 Nov 92 19:44:42 GMT
Article-I.D.: engage.1992Nov9.194442.14311
Reply-To: jackson@pravda.enet.dec.com ()
Organization: Digital Equipment Corporation


In article <1992Nov4.145536.21694@bnlux1.bnl.gov>, rarback@bnlux1.bnl.gov (harvey rarback) writes:
|>I got two replies, one suggested that this should work (but it doesn't) and a
|>reply from Michael Miano (miano@helix.enet.dec.com):
|>
|>>I'm afraid not. EWS does not support this hardware.

Michael should certainly know.  He's one of the people who worked on the VAXeln
window server.  (I don't know if he still does)



The Model 76 is not supported as a VAXeln window server for a variety of
reasons that I won't go into at this point.   However, what you can do is
to make the Model 76 with VMS (barebones VMS by the way) behave as if it
is an X terminal.  Here's how you do it:


1:	Fix your startup to call some procedure that behaves and works
	with the VAXeln window server DCL script that starts the remote
	session.  Take a look at the  VAXeln DCL and you should have a 
	pretty good idea of how to make your DCL talk to its DCL.  You will
	probably have to hard-wire the "server" name since you won't 
	be booting from that server

2:	edit DECW$STARTUP.COM and remove (or comment out) the line that
	runs DECW$STARTLOGIN.EXE.  That's the piece that puts the login
	box up on the screen.  You won't need it. 

3:	Create the file DECW$SERVER_ACCESS_TRUSTED.DAT   and 
	insert HOSTNAME::SYSTEM as one of the trusted clients that will
	be able to use and change the security of the server on your 
	machine.  SYSTEM will run the  login box, and change the secuirity
	list during the login process.  (There is also a 
	DECW$SERVER_ACCESS_ALLOWED.DAT, that allows access, but not 
	allow changes to the security list)

Reboot the machine.



You won't have all of the features.    You could use the same server to boot
the machine into a VMScluster and use that bootnode info to find the name of
the node where you want to start the session, but that's an exercise for the
reader.



--


William M. Jackson
Workstation Product Marketing Manager
Workstation Engineering
Digital Equipment Corporation
146 Main Street
Maynard, MA 01754

Mail:	Jackson@pravda.enet.dec.com
From: brydon@asl.slb.com (Harvey Brydon (918)250-4312)
Newsgroups: comp.os.vms
Subject: Re: EMACS as default mail editor?
Date: 6 Nov 92 12:12:56 GMT
Reply-To: brydon@dsn.SINet.slb.com
Organization: Schlumberger/Anadrill Sugar Land, TX

In article <1992Nov4.162506.13620@synapse.bms.com>, kaz@bms.com writes:
>Does anyone know if it's possile to specify EMACS as as the default
>editor in MAIL?
>
>The documentation for SET EDITOR in MAIL says to specify any callable
>editor.  I don't beleive that EMACS is callable, but I'm not sure about
>that.
>
>I'm running EMACS v18.58.1 on VMS 5.4-2.

If it has an executable in sys$share of the form xxxSHR.EXE with some required
entry points, it can be considered callable by mail and other applications.
Do:

$ dir sys$share:*shr.exe

If Emacs shows up in the list, you're in business.  If not, you're not.  There
are a legion of other files matching this filespec that are not editors, by
the way.  UISSHR.EXE is not an editor...
_______________________________________________________________
Harvey Brydon         | Internet:   brydon@dsn.SINet.slb.com
Dowell Schlumberger   | P.O.T.S.:   (918)250-4312
If 'pro' is the opposite of 'con', what is the opposite of 'progress'?