Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!munnari.oz.au!bruce!monu0.cc.monash.edu.au!monu6!dwagon From: dwagon@monu6.cc.monash.edu.au (Zer Dwagon) Newsgroups: comp.sys.sgi Subject: Re: Setting up windows on login Message-ID: <1991May1.024109.26761@monu6.cc.monash.edu.au> Date: 1 May 91 02:41:09 GMT References: Organization: Monash University, Caulfield Campus Lines: 34 eesnyder@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@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