From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18106 invoked from network); 8 Aug 2003 19:38:00 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 8 Aug 2003 19:38:00 -0000 Received: (qmail 20544 invoked by alias); 8 Aug 2003 19:37:47 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6460 Received: (qmail 20533 invoked from network); 8 Aug 2003 19:37:47 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 8 Aug 2003 19:37:47 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [217.160.134.217] by sunsite.dk (MessageWall 1.0.8) with SMTP; 8 Aug 2003 19:37:46 -0000 Received: (root@lyta.akte.de) by lyta.akte.de id convert rfc822-to-8bit; Fri, 8 Aug 2003 21:37:34 +0200 Received: from condor.int.spiegl.de (really 80.184.147.149 [D9395.pppool.de]) by lyta.akte.de via kasmail (2.4) id 2003-08-08 21:37:32 KRecCount: 1 Received: from condor.int.spiegl.de (spiegl@localhost [127.0.0.1]) by condor.int.spiegl.de (8.12.6/8.12.6/Debian-6Woody) with ESMTP id h78JbGpe004910 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Fri, 8 Aug 2003 21:37:16 +0200 Received: (from spiegl@localhost) by condor.int.spiegl.de (8.12.6/8.12.6/Debian-6Woody) id h78JbG2F004908 for zsh-users@sunsite.dk; Fri, 8 Aug 2003 21:37:16 +0200 X-Authentication-Warning: condor.int.spiegl.de: spiegl set sender to zsh.Andy@spiegl.de using -f Date: Fri, 8 Aug 2003 21:37:16 +0200 From: Andy Spiegl To: ZSH User List Subject: Re: how to find out who I am Message-ID: <20030808193716.GA3263@spiegl.de> Mail-Followup-To: ZSH User List References: <20030804194344.GA30657@spiegl.de> <20030804231842.GA15136@spiegl.de> <1030808173501.ZM20832@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8BIT In-Reply-To: <1030808173501.ZM20832@candle.brasslantern.com> User-Agent: Mutt/1.4i X-PGP-GPG-Keys: mail -s "send pgp" auto@spiegl.de Organization: KasCada Gbr Bart Schaefer wrote: > You might prefer > ssh root@somehost -t REALME=andy exec zsh -l > to run zsh as a login shell. That's what I did anyway. :-) I'm really happy with that solution and so far I haven't noticed any negative sideeffects. > Another trick that I've used in the past is to modify the TERM variable, > which is automatically passed across rsh, rlogin and ssh connections, > and then set it back again in the shell startup files. Great idea, too! Just have to ignore the first line with the warning: zsh: can't find terminal definition for spiegl/xterm > and it is propagated automatically > in the event you need to do something like > > ssh -t user@firstremote ssh other@secondremote Very nice. Thanks for the tipp! Andy. -- http://peru.spiegl.de Our project http://radiomaranon.org.pe Radio Marañón, Jaén, Perú o _ _ _ ------- __o __o /\_ _ \\o (_)\__/o (_) -o) ----- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ /\\ ---- (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ _\_v ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cogito ergo sum, bibo ergo sum, cogito ergo bib, bibo ergo bib?