From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17823 invoked from network); 16 Jan 2003 16:23:05 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 16 Jan 2003 16:23:05 -0000 Received: (qmail 28595 invoked by alias); 16 Jan 2003 16:22:13 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5733 Received: (qmail 28551 invoked from network); 16 Jan 2003 16:22:12 -0000 Message-ID: <20030116162212.4935.qmail@web12301.mail.yahoo.com> Date: Thu, 16 Jan 2003 11:22:12 -0500 (EST) From: Le Wang Subject: Re: terminfo, cygwin troubles To: Zsh users list In-Reply-To: <17712.1042728051@csr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Peter Stephenson wrote: > Le Wang wrote: > You will need to restart the shell after setting > TERMINFO, since the > shell only examines it when starting up --- > thereafter, it recognises > changes to the terminal type, but not to the > location of the terminal > database. Test that this works by starting a > subshell after setting the > variable. If it does work, you could set it in the > Windows `environment > variables' dialogue which on XP at least is in the > `Advanced' tab of the > system properties. (I haven't actually tried this.) I should clarify my problem. It works fine in windows, and I run rxvt like so: "C:\cygwin\bin\rxvt.exe -tn rxvt-cygwin-native -e zsh --login -i". However when I ssh into a Linux box, the 'rxvt-cygwin-native' descriptor is only in $TERMINFO, and I can't get ZSH to look in there to get it. I set $TERMINFO in ~/.zshenv, so it might be too late. I don't know how I can tell ssh to set it before loading Zsh... -- Le ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca