[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

297.0. "HELP WITH CHILD/DECW$LOGIN.COM PLEASE!" by HORSEY::GENTILE () Fri Feb 24 1989 09:55

HI,
	I aam pretty new to DECwindows and need some help. I just read note 111.0 
and copied the CHILD program to my area. Can anyone please help me with examples 
of using CHILD and examples of their DECW$login.com. I have a VS2000 with 6 MEG
so I have my server on the VAX 8530 in my cluster and run FileView there. How
do I put this in my startup file so it always does this? 
	Also I need to start 3 DECterm windows, VAXnotes, Bookreader, Cardfiler,
Mail and Clock. I would like the applications to come up as icons.
	Thanks very much for any help I can get form anyone.
		Sam

T.RTitleUserPersonal
Name
DateLines
297.1Here's minePRNSYS::LOMICKAJJeff LomickaFri Feb 24 1989 13:5943
I start two DECTerm sessions from DECW$LOGIN.COM, one is a new job with
Emacs running in it, and the other is a subprocess running VWSLAT.

I also make sure that DECW$LOGIN.COM runs my LOGIN.COM and SYSLOGIN.COM,
one of which does a:
    $ NEWSESSION :== CHILD/IMAGE=SYS$SYSTEM:LOGINOUT.EXE/DETACH/NOPASSWORD

Here's the entire file.  I don't start anything automatically on remote
systems, so I don't have any examples of that.

$!	Jeff Lomicka's DECW$LOGIN.COM
$!
$!	Execute all the relevant LOGIN.COM files
$!
$ IF f$trnlnm( "SYS$SYLOGIN") .EQS. "" THEN -
	DEFINE SYS$SYLOGIN SYS$SYSTEM:SYSLOGIN.COM
$ @sys$sylogin no_notice	! Some systems are missing this logical name
$ @login ! Some systems do this in syslogin.com
$!
$!	Force the default process name to be in use, so that CHILD/PROC
$!	will work for detached jobs.
$!
$ set noon
$ set proc/name="''f$edit( f$getjpi( 0,"USERNAME"), "TRIM")'"
$ set on
$!
$!	Start a few processes and subprocesses
$!
$ NEWSESSION/SHRINK/PAGE=40/y=0/PROC="@EMACS" -
	/ITITLE=EMACS/TITLE="Emacs editing window" -
	/custom="*.fontSetSelection: 0"
$ CHILD/SHRINK/PAGE=24/PROC=vwslat -
	/ITITLE=vwslat/TITLE="VWSLAT control terminal" -
	/DECTERM/LINE/INSERT -
	"r vwslat"
$!
$!	Start other things
$!
$ spawn/nowait/input=nl:/proc=decw$mail run sys$system:decw$mail
$ spawn/nowait/input=nl:/proc=decw$calendar run sys$system:decw$calendar
$ spawn/nowait/input=nl:/proc=decw$bookreader run sys$system:decw$bookreader
$ spawn/nowait/input=nl:/proc=notes notes