From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17788 invoked from network); 29 Mar 1999 14:31:36 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Mar 1999 14:31:36 -0000 Received: (qmail 23476 invoked by alias); 29 Mar 1999 14:30:02 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2256 Received: (qmail 23461 invoked from network); 29 Mar 1999 14:30:01 -0000 From: "Andrej Borsenkow" To: "Stefan Monnier" , Subject: RE: zsh startup files Date: Mon, 29 Mar 1999 18:29:17 +0400 Message-ID: <002501be79f0$86c54620$21c9ca95@mowp.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-reply-to: <5ln20wgz57.fsf@tequila.cs.yale.edu> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 > > [ passing note: if someone could tell me in which case terminal setup > is useful, I'd be happy to learn. Our tty driver defaults to DEL for interrupt. Some of our terminals (notably, vt-like ones) don't have DEL at all (they have Delete that sends escape sequence). So, intr is remapped to ^C for such terminals. > > Could you give examples of zshrc (zlogin is irrelevant to me: you > either use > zlogin or zprofile, not both) settings that might depend on > TERM/LINES/COLUMNS? Setting truncation for {R,L}PROMPT. I'd probably would like to set this for all interactive shells (if at all), and for this reasin this should go into zshrc. Setting bold/standout etc attrs (depending on which is uderstood by terminal). Resetting of some terminal attrs in precmd (in our case, FMLI resets am attr if terminal has capabillity to do it. It leads to all sorts of side effects, as all programs expect, that if am is listed, it is set -( Hey, I can imagine binding to func keys as well. > > The /etc/z* files should be *minimal*. Anything that is not strictly > necessary should be moved to /etc/user/foo and explicitly sourced > from ~/.z* Entirely agreed. cheers /andrej