Zsh Mailing List Archive
Messages sorted by:
Re: Zsh 3.1.9 on HP-UX 10.20/11.0
- X-seq: zsh-workers 13031
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Clint Olsen <olsenc@xxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Zsh 3.1.9 on HP-UX 10.20/11.0
- Date: Wed, 18 Oct 2000 17:16:48 +0000
- In-reply-to: <20001018093716.A20977@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20001018093716.A20977@xxxxxxxxxxxxxxxx>
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,
} I have my own TERMINFO database I'm using for Thomas Dickey's color
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
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by: