[vox-tech] starting screen from shell startup script

Mark K. Kim vox-tech@lists.lugod.org
Wed, 21 May 2003 00:54:21 -0700 (PDT)


So now I'm ready to learn screen.  So I'm about to put screen in my
startup script.  Except...

Once I login, it'll execute screen, which will run screen again, which
will run screen again, then again, etc. and it'll be caught in an infinite
loop.  Or does it detect itself somehow?  Or do I play with my
bash_profile vs. bashrc thing?  How do I prevent it from running itself
recursively?

Thanks!

-Mark

-- 
Mark K. Kim
http://www.cbreak.org/
PGP key available upon request.