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

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2882.0. "VTX and writing to the scratchpad" by TINNIE::SETHI (Ahhhh (-: an upside down smile from OZ) Fri Jun 18 1993 08:18

    G'day All,
    
    A customer has ALL-IN-1 IOS 2.4 and VTX text retrival system version
    1.0, OpenVMS 5.5-2.
    
    The customer wants to be able to do a {GOLD 7} SAVE {RETURN} and when
    he does a {GOLD *} R nothing is found in the scratchpat. The text is
    stored in VIDEOTEX.TXT not PAST.TMP, I looked for VTX* logicals that
    would change the default to PAST.TMP, I could't find any.
    
    How (for those of us from the UK, HOW type of question :-}) can you
    have the text written to scratchpad by default ?
    
    Regards,
    
    Sunil
T.RTitleUserPersonal
Name
DateLines
2882.1Long time agoUTRTSC::SCHOLLAERTYou name, we support it...Fri Jun 18 1993 10:4263
    Hum,
    
    Sounds familiar. Have a look at this...
    
$!----------------------------------------------------------------------
$! VTX.COM                  October 1986                    Vidyut Desai
$! This is the command procedure used to invoke videotex from the
$! VTX.SCP script.
$!			    January 1992		    MJG
$! Modified for the VTX V5.1 client
$!
$!----------------------------------------------------------------------
$!
$! shut up
$!
$       mess = f$environment("MESSAGE")
$       set message/nofac/nosev/noid/notext
$!  
$!  assign sys$input back to the terminal for VTX
$!  
$	assign/user 'f$logical("SYS$OUTPUT")' SYS$INPUT
$	assign/user 'f$logical("SYS$OUTPUT")' TT
$! ADD code for ALL-IN-1 scratchpad
$  define /job a1vtx "TRUE"
$! END code for ALL-IN-1 scratchpad
$	vtx/init=vtx$library:vtxallin1.ini
$! ADD code for ALL-IN-1 scratchpad
$  deass /job a1vtx 
$! END code for ALL-IN-1 scratchpad
$!
$ END:
$       set message 'mess'
$       exit 
$!                                 	

===========================================================================
! OA$APPL_SPMENU.SCP
!
! Created:      23-Sep-1986             Vidyut Desai
!
! Standard ALL-IN-1 Interface to call the scratch pad.
!

! add code for VTX 5.1

.if LOG$A1VTX EQS "TRUE" and -
    OA$DIR:"[]*.*".%WHOLE["PASTE.TMP"] NES "" -
        then append "paste.tmp" "paste.tmp.-1" \ -
             rename "paste.tmp" "pastevtx.tmp" \ -
             purge pastevtx.tmp,3

! Remove next "!" to disable the display of the Scratchpad Screen 
! .exit

! end code for VTX 5.1
	get #sp_type_ahead = oa$menu_remainder
	get oa$menu_remainder = ""
	oa$menu_level_push\clear
	get oa$menu_remainder = #sp_type_ahead
    	form oa$clear/pre="form spmenu" 
	close_prior\clear form
	.exit
!
2882.2the fixRDGENG::POVEYTom, REO-D3/3G, DTN: 830-4263Fri Jun 18 1993 12:5414
the fix is actually simpler than -.1

in vtx.com, add the line:

$       define videotex oauser:paste.tmp/nolog

before running VTX/ini=....

You should be aware that the integration between ALL-IN-1 and VTX is
undergoing some improvements right now. The next field test kit of
VTX will contain the updated files. This is V5.2 FT5 and is expected 
next week.

Tom
2882.3OA$APPL_SPMENU.SCP - OA$PRVAPP needed?COPCLU::ELINElin Christensen @DMO, DTN 857-2406Tue Aug 31 1993 10:1919
    
    When activating the scratch pad from VTX, VTX calls
    OA$DO:OA$APPL_SPMENU.SCP, but only programmers have access to that
    script, and unprivileged users get an error message when exiting VTX.
    
    Directory A1$DISK:[ALLIN1.DO_SHARE]
    
    OA$APPL_SPMENU.SCP;1
                         [ALLIN1]              (RWED,RWED,,)
              (IDENTIFIER=OA$PRVAPP,ACCESS=READ)
    
    Why don't unprivileged users have access to OA$APPL_SPMENU.SCP ?
    The content of the script is almost identical with named data for
    OA$_MO_SCRATCH_PAD in form DEFAULT.
    
    Are there any reasons for not having WORLD READ access on
    OA$APPL_SPMENU.SCP? 
    
    Elin
2882.4SIOG::T_REDMONDThoughts of an Idle MindTue Aug 31 1993 11:405
    There's no reason for people to access scripts in the DO area. These
    should be compiled into the TXL, and VTX should be calling
    OA$APPL_SPMENU.SCP rather than stating the explicit OA$DO.  
    
    T