Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!zaphod.mps.ohio-state.edu!sunybcs!boulder!hartzell From: hartzell@boulder.Colorado.EDU (George Hartzell) Newsgroups: comp.sys.sgi Subject: Re: PI Problems Keywords: cshrc /etc/motd /etc/cshrc xterm-logins Message-ID: <17463@boulder.Colorado.EDU> Date: 27 Feb 90 04:04:38 GMT References: <9002220905.aa28986@VAT.BRL.MIL> <51649@sgi.sgi.com> <2836@umbc3.UMBC.EDU> <51830@sgi.sgi.com> Sender: news@boulder.Colorado.EDU Reply-To: hartzell@boulder.Colorado.EDU (George Hartzell) Organization: MCD Biology, University of Colorado, Boulder Lines: 18 In-reply-to: brendan@illyria.wpd.sgi.com (Brendan Eich) In article <51830@sgi.sgi.com>, brendan@illyria (Brendan Eich) writes: >It seems xterm doesn't start a login shell (one with an initial "-" in >its argv[0] basename). Only a login C-shell reads /etc/cshrc and .login, >similarly for sh and /etc/profile & .profile. I don't know much about X; >perhaps there's an xterm option for logging in (creating a login shell, >updating /etc/utmp). From the xterm man page on my MIPS: -ls This option indicates that the shell that is started in the xterm window be a login shell (i.e. the first character of argv[0] will be a dash, indicating to the shell that it should read the user's .login or .profile). g. George Hartzell (303) 492-4535 MCD Biology, University of Colorado-Boulder, Boulder, CO 80309 hartzell@Boulder.Colorado.EDU ..!{ncar,nbires}!boulder!hartzell