Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2005 23:06:07 -0500
From:      "William H. Magill" <magill@mcgillsociety.org>
To:        freebsd-alpha@freebsd.org
Subject:   Re: zsh as ksh in 5.3
Message-ID:  <9FB260AA-612A-11D9-AB6E-000393768D2C@mcgillsociety.org>
In-Reply-To: <D3713959-60EC-11D9-AB6D-000393768D2C@mcgillsociety.org>
References:  <D3713959-60EC-11D9-AB6D-000393768D2C@mcgillsociety.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@mcgillsociety.org
magill@acm.org
magill@mac.com
whmagill@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9FB260AA-612A-11D9-AB6E-000393768D2C>