Setting up windows on login

Zer Dwagon dwagon at monu6.cc.monash.edu.au
Wed May 1 12:41:09 AEST 1991


eesnyder at boulder.Colorado.EDU (Eric E. Snyder) writes:

>This is probably an easy question but, be nice, I am a biologist...:-).

>I have an SGI Iris 4D and would like to know how to set up windows
>automatically when I log in.  I am a little familiar with doing this
>on an X-windows system but there do not seem to be the equivalent
>.xsession, etc. files on the Iris.  Any pointers would be appreciated.
>I have a full set of manuals and just need to be pointed in the 
>right direction.  

>Thanks!

>...and thanks again to everyone who replied re: Iris .gif viewers...

The way I do it is to have in my .login something like the following:

if( ${OPSYS} == "irix" ) then
	if( `tty` == "/dev/console" ) then
		wsh -f Screen10 -m 140,67 -p 10,10 -E -s 80,63 -t SGI -c /edp/edp/edp328j/bin.irix/tcsh
		wsh -f Screen10 -v -m 140,67 -p 695,350 -E -s 67,40 -t Pyramid -c /usr/bsd/rlogin monu6
		wsh -f Screen10 -m 140,67 -p 695,10 -E -s 67,20 -t SGI -c /edp/edp/edp328j/bin.irix/tcsh
	endif
endif

which checks to see that I am logged into the console, and then forks off
three windows, and runs the shells I like in each of them, including rloging
into our main machine here.

Hope that helps.
-- 
Dougal Scott  - dwagon at monu6.cc.monash.edu.au  Faculty of Computing & Info Tech
Hell hath no fury like a woman born.               Monash University, Caulfield
                             -Admiral Korg                  Victoria, AUSTRALIA 



More information about the Comp.sys.sgi mailing list