zsh as ksh in 5.3

William H. Magill magill at mcgillsociety.org
Fri Jan 7 20:06:11 PST 2005


On 07 Jan, 2005, at 15:43, William H. Magill wrote:
> Is there anything "strange" about zsh as ksh in 5.3 on the Alpha?
> (or maybe with the term configurations ... TERM=xterm-color or vt100)
>
> I'm trying to stick a newline in my prompt.
>
> With "set -x" on, the prompt string displays correctly as a two line 
> prompt.
> However, after being set, the actual screen prompt displays only the 
> second
> line; as if the newline is being eaten by termio. ("set" displays the 
> prompt,
> PS1, correctly as a 2 line prompt.)
>
> I'm evoking zsh as ksh from /etc/passwd as my login shell.
>
> The prompt string works as expected (2 line output) in ksh under Tru64.

In partial answer to my own question.

The prompt string I'm trying to use works as expected when zsh is used 
as the login shell, but not when zsh is evoked as ksh for a login 
shell.

So the issue is clearly with zsh itself. ... off to zsh-users.

T.T.F.N.
William H. Magill
# Beige G3 [Rev A motherboard - 300 MHz 768 Meg] OS X 10.2.8
# Flat-panel iMac (2.1) [800MHz - Super Drive - 768 Meg] OS X 10.3.7
# PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg] Tru64 5.1a
# XP1000  [Alpha 21264-3 (EV6) - 256 meg] FreeBSD 5.3
# XP1000  [Alpha 21264-A (EV 6.7) - 384 meg] FreeBSD 5.3
magill at mcgillsociety.org
magill at acm.org
magill at mac.com
whmagill at gmail.com



More information about the freebsd-alpha mailing list