Subject: Re: zsh
To: None <port-mac68k@NetBSD.ORG>
From: Julian Bean <jules@mailbox.co.uk>
List: port-mac68k
Date: 03/05/1996 09:23:40
>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 ???
>

(Replying to myself again... tut tut tut)

Everything works fine when I telnet in from another machine, I have just
discovered.  Conclusion:  Our terminal emulation is broken.  I use vt220.
What iis the ite 'driver' supposed to be emulating?

Has anoyone else noticed that terminal emulation is broken?  Or is it just
my termcap file?  Although i think my termcap is pretty new...

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.                          |
\----------------------------------------------------------------------/