[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

361.0. "Questions on remote mail, CYCLE, VWSLAT, DECWRITE" by NCCODE::PEREZ (Out Dancing with Bears!) Wed Mar 08 1989 14:51

    CAUTION!  NEW USER ALERT!!!!!!!!
    
    I'm going through the old DECWINDOWS notes (I'm up to 1300) so if these 
    answers are somewhere there feel free to aim me.  I also don't see what
    I'm looking for in the current file...  Or, if they're in the FM 
    great, but could you tell me which FM to read.  I can't find any of
    this in  the DECWINDOWS users guide, and haven't printed the other
    manuals yet.

    I've checked ALL the sys$specifics for all the nodes in the cluster,
    and  there aren't any DECW$* files in any of them.  I'm lost...

    1.  Can I get fonts of various sizes and pitches for DECWindows like we
    had for  VWS?  I used to use a 19X11 font with VWS, and liked being
    able to put various windows up in different fonts.

    2.  When I run VWSLAT and create a window into another machine, the
    created window doesn't automatically get input focus.  The same thing
    happens when I create a window from the session manager.  How do I get
    created windows  to automatically become "current"?

    3.  How do I get the session manager to automatically create a window
    at  startup that has VWSLAT running and the header for VWSLAT on the
    window and  icon?  I've tried starting it from the DECW$LOGIN with

    $ SPAWN/NOWAIT/OUT=VWSLAT.OUT/input=nl:/process=VWSLAT -
    	RUN sys$system:VWSLAT

    but it doesn't get a window, and seems to sit there doing tons of I/O. 
    When I attempt to start VWSLAT from fileview I get a window that says

VWS/LAT - Version of 22-NOV-1988 11:21
Copyright, )1986,1987 Digital Equipment Corporation
For Digital INTERNAL USE ONLY

%SYSTEM-F-FILNOTACC, file not accessed on channel
                                      


    4.  When I run BANNER from fileview it generates several lines of
    messages that say 

		failed to assign the session manager's terminal 

    Any problem?  I don't get this (at least I don't think so) when I start
    banner from DECW$LOGIN. 

    5.  I've installed NOTES020 and DECWRITEFT2010.  Neither will run. 
    With notes,  the first time I run it from the workstation (either by
    selecting it from  fileview or running in a DECTERM window, it puts up
    a done window with the  notes headers in it.  Any time after that I get

	ident mismatch with shareable image message


    When I run DECwrite from a DECterm window I got the message

%DCL-W-ACTIMAGE, error activating image DECW$XLIBSHR -
CLI-E-IMGNAME, image file $1$DUA0:[SYS1.SYSCOMMON.][SYSLIB]DECW$XLIBSHR.EXE 
-SYSTEM-F-SHRIDMISMAT, ident mismatch with shareable image 


    6.  I'm using the CYCLE program to let me cycle through windows.  When
    I  spawn it from DECW$LOGIN 


          $ SPAWN/NOWAIT/OUT=cycle.OUT/INPUT=NL:/PROC=CYCLE run CYCLE

    I get the following in the .out file

%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=00000012, PC=00001249, PSL=03C00
%TRACE-F-TRACEBACK, symbolic stack dump follows
module name     routine name                     line       rel PC    abs PC

LIST            Find                             4002      0000000F  00001249
CYCLE           SetInputFocus                    4727      00000012  00000BAB
CYCLE           main                             4483      00000171  00000571

    but from my session if I give the same command it works fine.  However,
    after a little while CYCLE disappeared and I had the following output
    in the file...  

X error event received from server: not a valid window ID
  Failed request major op code 15 X_QueryTree
  Failed request minor op code 0 (if applicable)
  ResourceID 0x2000d0 in failed request (if applicable)
  Serial number of failed request 785
  Current serial number in output stream 785
%XLIB-E-ERROREVENT, error event received from server
%TRACE-E-TRACEBACK, symbolic stack dump follows
module name     routine name                     line       rel PC    abs PC

                                                           00071D53  00071D53
                                                           00071B9C  00071B9C
                                                           0007310F  0007310F
                                                           00072606  00072606
                                                           00092858  00092858
CYCLE           NameOf                           4969      0000001E  00000FF2
CYCLE           main                             4563      000003E1  000007E1
%SYSTEM-F-ACCVIO, access violation, reason mask=01, virtual address=21FC0004, PC=00000FF7, PSL=03C00
%TRACE-F-TRACEBACK, symbolic stack dump follows
module name     routine name                     line       rel PC    abs PC

CYCLE           NameOf                           4972      00000023  00000FF7
CYCLE           main                             4563      000003E1  000007E1
    
    any ideas what I've done this time?
    
    
    7.  I want to run DECwindows mail on another node in the cluster.  At
    startup.  Automatically.  I have my own SYSUAF and I know when I get
    new mail, but I can't read it from my satellite.  When I log into the
    session manager I'd like to have whatever I need started up on the boot
    node of the cluster with the window and display and whatever on my
    workstation.  I can set host to the other node and run mail.  But I
    don't know exactly what to do to get things to work automatically at
    startup.  
    
    
    thanks for the help,
    D

T.RTitleUserPersonal
Name
DateLines
361.1Answers to 1, 2, 3, and 7, but not 4, 5, or 6.PRNSYS::LOMICKAJJeff LomickaThu Mar 09 1989 11:0468
>    1.  Can I get fonts of various sizes and pitches for DECWindows like we
>    had for  VWS?  I used to use a 19X11 font with VWS, and liked being
>    able to put various windows up in different fonts.

Many applications allow you to change fonts in an unsupported way via
definitions in the resource files.  Look at the DECW$XDEFAULTS.DAT
examples note in this conference.  For DECTerms, try the "Big Font"
option in the "Customize Window" form.   You can select this font when
creating terminal emulators with CHILD by saying:

		CHILD/CUSTOM="*.fontSetSelection: 0"

>    2.  When I run VWSLAT and create a window into another machine, the
>    created window doesn't automatically get input focus.  The same thing
>    happens when I create a window from the session manager.  How do I get
>    created windows  to automatically become "current"?

Seems to be a case of DECWindows and DECTerm enforcing an opressive policy that
prevents applications from changing input focus.  If I could find a way
to fix this in VWSLAT and CHILD, I would.  You get used to it after a while.

>    3.  How do I get the session manager to automatically create a window
>    at  startup that has VWSLAT running and the header for VWSLAT on the
>    window and  icon?  I've tried starting it from the DECW$LOGIN with

VWSLAT does not work with a non-terminal input device or output device,
you need to have CHILD installed and say in DECW$LOGIN.COM:

	    $ CHILD/SHRINK/PAGE=24/PROC=vwslat -
		    /ITITLE=vwslat/TITLE="VWSLAT control terminal" -
		    /DECTERM/LINE/INSERT -
		    "r vwslat"

CHILD can be obtained by copying PRNSYS::RELEASED_TOOLS:[CHILD]*.*, and
following the instructions in CHILD.TXT.

I can't help you with 4., 5., and 6.  Sorry.

>    7.  I want to run DECwindows mail on another node in the cluster.  At
>    startup.  Automatically.  I have my own SYSUAF and I know when I get
>    new mail, but I can't read it from my satellite.  When I log into the
>    session manager I'd like to have whatever I need started up on the boot
>    node of the cluster with the window and display and whatever on my
>    workstation.  I can set host to the other node and run mail.  But I
>    don't know exactly what to do to get things to work automatically at
>    startup.  

Submit a batch job to a batch queue on the boot member that does a:

	$ SET DISPLAY/CREATE/NODE=yournode
	$ RUN/DETACH/OUTPUT='f$logical("DECW$DISPLAY")'/INPUT=NL: -
		SYS$SYSTEM:DECW$MAIL
	$ SET DISPLAY /NOPERM

I haven't tried it to be sure it works, but it sounds reasonable.  You
might also look into using proxy access to the TASK object.  With the
following file CH.COM on CADSYS, I can say:

	$ TYPE CADSYS::"task=ch.com"

and get a CADSYS emulator created on my workstation, logged in as me. 
I'm not even part of the cluster, but I have proxy access.  CH.COM is:

	$ define child uti:child.exe
	$ set commmand uti:child.cld
	$ set display/node=prnsys/create
	$ child/image=sys$system:loginout.exe/detach/nopass

361.2VWSENG::KLEINSORGEToys 'R' UsThu Mar 09 1989 11:4216
    
    DECterm does not (and is not planning on) supporting dynamic changing
    of fonts except through the SETUP menu.  It is possible to fool
    DECterm into using a user-defined font by supplying a font on the
    server with the appropriate name (and perhaps by modifying the
    resource file).  The font must be monospaced and have a specific
    layout since presently it contains more that a single character
    set and encodes ASCII and MCS (it may also encode ISO Latin-1 and
    VT100 line drawing -- I don't know if they changed that yet).
    
    Some early baselevels of DECterm used the 19x11 font from VWS, but
    it was changed to the Bitstream Courier 100 dpi font for the BIG
    font... So I know it's *possible*.
    
    

361.3Well, I think I'm on the way!NCCODE::PEREZOut Dancing with Bears!Fri Mar 10 1989 12:0413
    RE all
    
    Thanks for the help.  I'll try the mail from the remote node.
    
    As far as 3,4,5...  I think I found the problem.  I knew it was going
    to be embarassing.  I made the assumption that when the folks here
    upgraded to VMS SDC 5.1 they ALSO upgraded DECwindows to the DECW051
    kit.  WRONGO MOOSE FACE!  My XLIBSHR was from FT2U and I've now
    installed the DECW051 kit.  Notes sort of works now.  DECdecision sort
    of works now.  I'm going to have to reinstall them.
    
    Thats what I get for assuming.

361.4Well, I'm closer but still no cigar! Well, almost but no cigar yet! NCADC1::PEREZOut Dancing with Bears!Wed Mar 22 1989 20:0326
I've tried some of the things I got from y'all, but I'm still goofing something
up.  

I mentioned this in the base note, and I had hoped that when I fixed DW it 
would go away, but it didn't.  When I start up the session manager, I'm trying
to get it to run CYCLE automatically.  But when I do, I get the following log 
file...

%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=00000012, PC
=00001249, PSL=03C00004
%TRACE-F-TRACEBACK, symbolic stack dump follows
module name     routine name                     line       rel PC    abs PC

LIST            Find                             4002      0000000F  00001249
CYCLE           SetInputFocus                    4728      00000012  00000BAB
CYCLE           main                             4484      00000171  00000571
  PEREZ        job terminated at 20-MAR-1989 14:56:03.86
                                                                   
Also, now that I have gotten NOTES to work...  I can run notes just fine from
a DECTerm window, but when I defined the verb for fileview and ran it as an
application I got a window showing it being "done"...  The notes screen was 
there, but the application was done.  The command I'm associating with my
NOTRES verb is "NOTES" and it is selected from the applications menu.  What 
am I missing?


361.5I hate to be a burden, but...NCADC1::PEREZOut Dancing with Bears!Wed Mar 22 1989 20:4525
I just got through trying the mail method shown in .1 and I'm having a few
problems.  

$ RUN/DETACH/OUTPUT='f$logical("DECW$DISPLAY")'/INPUT=NL:/proc=dave_mail -
        SYS$SYSTEM:DECW$MAIL
$! SET DISPLAY /NOPERM

First, I had to comment out the SET DISPLAY/NOPERM.  Every time I try to run
it interactively or from batch with this statement in, the process that gets
created disappears.

Second, once the process is out there I can read mail fine, but I can't reply
or send.  If I try to reply, when I SEND, it cancels by telling me that it
can't create SYS$SCRATCH:[PEREZ]MAIL...TMP.  When I try to send, first it won't
let me use the CHANGE EDITOR function.  It says I don't have a CLI.  Then, 
when I attempt to SEND, it cancels again.  Same message as above.  Do I need
to change this thing so it runs LOGINOUT instead and give it this file as
the input?

And while I'm asking, how do I change the editor in notes?  Say, to a nice
EDT or EVE.

thanks,
D

361.6maybe some answersROCKO::GRAZIANOSDML - Roll your own DocumentationWed Mar 22 1989 22:053
my "Notes" menu option translates to "Notes/DECWindows", and works just fine...


361.7GOSOX::RYANDECwindows MailThu Mar 23 1989 09:0028
	Re .5: Yes, you need a CLI to use another editor, and you need
	to have SYS$SCRATCH defined in your mail process to send (since
	a temp file must be created). I use a variation on the following
	command files to run Mail (@RUNDWMAIL):

----------------------------- RUNDWMAIL.COM ----------------------
$ scratch = f$trnlnm("SYS$SCRATCH")
$ run/detached sys$system:loginout.exe -
	/input=mail.com -
	/error='scratch'decw$mail.log   -
	/output='scratch'decw$mail.out  -
	/process="Mail" -
	/buffer_limit=30000 -
	/enqueue_limit=800 -
	/extent=4096 -
	/io_buffered=100 -
	/io_direct=100 -
	/maximum_working_set=2048 -
	/page_file=20000 -
	/file=32 -
	/working_set=512
---------------------------- MAIL.COM --------------------------
$ IF F$TRNLNM("SYS$LOGIN") .EQS. "" THEN DEFINE/NOLOG SYS$LOGIN GOSOX$DUA0:[RYAN]
$ IF F$TRNLNM("SYS$SCRATCH") .EQS. "" THEN DEFINE/NOLOG SYS$SCRATCH GOSOX$DUA0:[RYAN.TEMP]
$ set display/create/node=gosox
$ @sys$sysdevice:[dwmail]logicals
$ RUN SYS$SYSTEM:decw$mail