From: Le Wang <lewang@yahoo.com>
To: Zsh users list <zsh-users@sunsite.dk>
Subject: Re: terminfo, cygwin troubles
Date: Thu, 16 Jan 2003 11:48:53 -0500 (EST) [thread overview]
Message-ID: <20030116164853.10900.qmail@web12305.mail.yahoo.com> (raw)
In-Reply-To: <20030116162212.4935.qmail@web12301.mail.yahoo.com>
--- Le Wang <lewang@yahoo.com> wrote:
>
> --- Peter Stephenson <pws@csr.com> 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...
Okay, I've unset the TERMINFO variable and symlinked
my terminfo directory to ~/.terminfo. But Zsh still
won't look in there...
Here is another thought: maybe Zsh can be changed to
delay loading the terminfo descriptor until it has to
display something? This way TERMINFO can be set as
the first thing in ~/.zshenv. Regardless, ~/.terminfo
should be searched, no?
--
Le
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
next prev parent reply other threads:[~2003-01-16 16:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-15 19:33 Le Wang
2003-01-16 14:27 ` Oliver Kiddle
2003-01-19 23:28 ` Le Wang
2003-01-20 15:55 ` Oliver Kiddle
2003-01-16 14:40 ` Peter Stephenson
2003-01-16 16:22 ` Le Wang
2003-01-16 16:48 ` Le Wang [this message]
2003-01-16 16:48 ` Borzenkov Andrey
2003-01-16 17:14 ` Oliver Kiddle
2003-01-16 18:46 ` Le Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030116164853.10900.qmail@web12305.mail.yahoo.com \
--to=lewang@yahoo.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).