Subject: Re: zsh
To: Valtteri Vuorikoski <vuori@sci.fi>
From: Julian Bean <jules@mailbox.co.uk>
List: port-mac68k
Date: 03/04/1996 21:11:49
At 10:55 pm 4/3/96, Valtteri Vuorikoski wrote:
>On Mon, 4 Mar 1996, Julian Bean wrote:
>
>> Has anyone managed to get zsh working on a Mac with 1.1?
>
> Yes. I think I had 2.5.x working, and now I run 2.6b8.
>
>> There appear to be some display glitches, e.g. when scroll back through
>> history, although they only seem to happen when the prompt is more complex
>> than simply '#'.
>
> Never seen these, and I like complex prompts (-:
>
>> I know there used to problems with termcap, but these went away when i
>> rebuilt userland recently.  For example, in my previous set-up I couldn't
>> ^B to scroll back in the console.  This now works well.  I now use dt
>> anyway, which seems to have termcap all sorted - certainly man works
>> nicely, and so does tcsh.
>
> The console vt emulation is/was rather broked.
>
>> The up and down keys don't work, even though the relevant command is bound
>> to "^[[A" and "^[[B" which is what I thought our arrows keys gave.
>> Presumably, I was wrong.  Tcsh works fine.
>
> In dt, they send ^[OA and such. Define PRESENTATION in config.h if you
>want ^[[A (I think with O it's actually called presentation mode, but oh
>well). I think the termcap entry says ^[OA though.

Hmmm... bindkey'ing the appropriate commands to ^[OA fixes that, then.  I
am still unsure as to why zsh couldn't get this from termcap.  I wonder if
it using termcap, or if my termcap lib is up-to-date...

I still have the display glitches though.  Could you a) ftp your binary to
me or b) put it up for ftp ???

Cheers,

Jules


/----------------+-------------------------------+---------------------\
|  Jelibean aka  | jules@mailbox.co.uk           |  6 Evelyn Road      |
|  Jules aka     |                               |  Richmond, Surrey   |
|  Julian Bean   |(jelibean@jmlbhome.demon.co.uk)|  TW9 2TF    *UK*    |
+----------------+-------------------------------+---------------------+
|  The Other Place - n. (pop.) Depending on the affiliation of the     |
|  speaker, one of Oxford, Cambridge, The House of Lords, The House of |
|  Commons, Hell.  Draw your own conclusions.                          |
\----------------------------------------------------------------------/