zsh-users
 help / color / mirror / code / Atom feed
* TERM problem under OSF
@ 2001-09-24 11:24 Vincent Lefevre
  2001-09-24 13:02 ` Peter Stephenson
  0 siblings, 1 reply; 4+ messages in thread
From: Vincent Lefevre @ 2001-09-24 11:24 UTC (permalink / raw)
  To: Mailing-list zsh-users

It seems that zsh takes the wrong terminfo data under OSF:

greux:~> rl lepois                                                    <13:20:06
Last login: Mon Sep 24 13:19:10 from greux.loria.fr

Digital UNIX V4.0F  (Rev. 1229); Sat May 29 07:00:55 Local time zone must be set
--see zic manual
La machine lepois vient d'etre installee. Si vous constatez des
dysfonctionnements, me les signaler. -- Guillaume
cshrc...
.cshrc.opts
.cshrc.term
.cshrc.local
tcsh: No entry for terminal type "rxvt"
tcsh: using dumb terminal settings.
.cshrc.env
.cshrc.aliases
zshenv...
zshrc...
The tty is frozen
:~> TERM=$TERM
lepois:~>                                                             <13:20:19

Setting TERM=$TERM after TERMINFO is changed should solve the problem,
but why doesn't zsh detect when TERMINFO is changed?

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: TERM problem under OSF
  2001-09-24 11:24 TERM problem under OSF Vincent Lefevre
@ 2001-09-24 13:02 ` Peter Stephenson
  2001-09-24 13:42   ` Vincent Lefevre
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Stephenson @ 2001-09-24 13:02 UTC (permalink / raw)
  To: Mailing-list zsh-users

Vincent Lefevre wrote:
> Setting TERM=$TERM after TERMINFO is changed should solve the problem,
> but why doesn't zsh detect when TERMINFO is changed?

It doesn't know anything about curses, nor termcap, and there are a whole
load of different implementations which might be linked in, as we've been
seeing recently.  So there's no simple way of knowing whether TERMINFO is
relevant at all.

I suppose there's nothing to stop us doing some more
implementation-specific probing, now we have separate termcap and terminfo
modules, and shovelling some extra code into those, linking in the
appropriate version when necessary (echotc and echoti already depend on the
respective modules).

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 392070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: TERM problem under OSF
  2001-09-24 13:02 ` Peter Stephenson
@ 2001-09-24 13:42   ` Vincent Lefevre
  2001-09-24 15:02     ` Peter Stephenson
  0 siblings, 1 reply; 4+ messages in thread
From: Vincent Lefevre @ 2001-09-24 13:42 UTC (permalink / raw)
  To: Mailing-list zsh-users

In article <8944.1001336551@csr.com>,
   Peter Stephenson <pws@csr.com> wrote:

> It doesn't know anything about curses, nor termcap, and there are a whole
> load of different implementations which might be linked in, as we've been
> seeing recently.  So there's no simple way of knowing whether TERMINFO is
> relevant at all.

Even when zsh is compiled with --with-curses-terminfo?

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: TERM problem under OSF
  2001-09-24 13:42   ` Vincent Lefevre
@ 2001-09-24 15:02     ` Peter Stephenson
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Stephenson @ 2001-09-24 15:02 UTC (permalink / raw)
  To: Mailing-list zsh-users

Vincent Lefevre wrote:
> In article <8944.1001336551@csr.com>,
>    Peter Stephenson <pws@csr.com> wrote:
> 
> > It doesn't know anything about curses, nor termcap, and there are a whole
> > load of different implementations which might be linked in, as we've been
> > seeing recently.  So there's no simple way of knowing whether TERMINFO is
> > relevant at all.
> 
> Even when zsh is compiled with --with-curses-terminfo?

That just changes the order in which the curses and termcap libraries are
searched for to prefer curses.  The code still uses plain old termcap
calls, as it always has.  It still doesn't know anything about the
underlying library.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 392070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-09-24 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-24 11:24 TERM problem under OSF Vincent Lefevre
2001-09-24 13:02 ` Peter Stephenson
2001-09-24 13:42   ` Vincent Lefevre
2001-09-24 15:02     ` Peter Stephenson

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).