zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Clint Olsen <olsenc@ichips.intel.com>, zsh-workers@sunsite.auc.dk
Subject: Re: Zsh 3.1.9 on HP-UX 10.20/11.0
Date: Wed, 18 Oct 2000 17:16:48 +0000	[thread overview]
Message-ID: <1001018171648.ZM4506@candle.brasslantern.com> (raw)
In-Reply-To: <20001018093716.A20977@ichips.intel.com>

On Oct 18,  9:37am, Clint Olsen wrote:
} Subject: Zsh 3.1.9 on HP-UX 10.20/11.0
}
} I recently downloaded 3.1.9 and built it on 10.20 (for forward
} compatibility). I can now login with this version of Zsh (thanks!).
} However, the cursor is behaving a little strangely. When I hit
} backspace, the cursor advances as if I typed a <space>. ^U doesn't
} seem to clear the line either (well, it does, but the clear isn't
} reflected visually in the tty).

It sounds as though the terminal description (terminfo or termcap) doesn't
have the correct codes for some cursor motions.  Both of the symptoms you
described could be explained if zsh were emitting the wrong code for "move
cursor left" and then emitting either spaces (to cover up one character) or
clear-to-EOL (for ^U).  A simple "typescript" capture of a brief session
would show what's being emitted by ZLE.

} I was wondering if anyone could offer any suggestions?

My guess would be that there's some incompatibility in termcap and terminfo 
on the two versions of the OS.  Either zsh's configure is choosing the
"wrong one" when you build on the older HP-UX, or the one it finds is not
working properly with the terminal description database on the new machine,
or both.

You say:

} I have my own TERMINFO database I'm using for Thomas Dickey's color
} xterm.

Are you sure zsh is successfully reading that database on both platforms?
HP-UX probably has some utilitity equivalent to "strace" ("truss" on Sun)
that would let you examine the system calls to see which terminfo files
are actually being opened.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


  reply	other threads:[~2000-10-18 17:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-18 16:37 Clint Olsen
2000-10-18 17:16 ` Bart Schaefer [this message]
2000-10-18 21:23   ` Clint Olsen

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=1001018171648.ZM4506@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=olsenc@ichips.intel.com \
    --cc=zsh-workers@sunsite.auc.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).