From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14672 invoked from network); 14 Apr 1997 18:54:05 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 14 Apr 1997 18:54:05 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id OAA09630; Mon, 14 Apr 1997 14:46:14 -0400 (EDT) Resent-Date: Mon, 14 Apr 1997 14:43:59 -0400 (EDT) Date: Mon, 14 Apr 1997 11:42:40 -0700 Message-Id: <9704141842.AA24958@elk.stl.ibm.com> From: "Tom Howland" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Stefan Monnier Cc: zsh-users@math.gatech.edu Subject: Re: strange behaviour with .zsh and su Newsgroups: lists.zsh.users In-Reply-To: <5lencd5uvc.fsf@tequila.systemsz.cs.yale.edu> References: <19970414103243.56053@retriever> <5lencd5uvc.fsf@tequila.systemsz.cs.yale.edu> X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Reply-To: X-Url: http://www.rahul.net/tom/ X-Face: 2<@OlwU0YqouXG7?!=Q=lx~)YoN}fk.i#|j;,kMe1i;%8IAc#iV+ASc!|8kt!eU1xbt>|Mx b)h2&C{Lqn5BX0M)O/1)!)*4c_h-{bqoP*"Cm:&5-[`j#VI`WFK%p@[P@3?s~Uv@l:F{:P_9(/^gYH traa"@ Resent-Message-ID: <"J3KBE.0.pJ2.khdKp"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/811 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Stefan Monnier writes: > Timothy Luoma writes: > > The zshenv file includes a loop which sources any file found in > > $HOME/Unix/zsh/source, so I have several files in there: > > I don't know why shell writers insist on using several init files. > The .login/.zshprofile/.zshlogin file isn't sourced every time you'd need it > (typically, it's not sourced from an XDM login), so you need to move stuff from > there into zshenv. I agree. There are already plenty of initialization files for zsh. > On another hand, a variable indicating whether the shell is a login shell is > necessary (and sadly missing from tcsh). Its not all that necessary. The following seems to work tty -s [ $? -eq 0 ] && stty -parenb -istrip cs8 erase "^H" intr "^C" susp "^Z" start "^Q" stop "^S" quit "^\\" dsusp "^Y" -ixany echoe