From owner-freebsd-alpha@FreeBSD.ORG Sat Jan 8 04:06:11 2005 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 494DD16A4CE for ; Sat, 8 Jan 2005 04:06:11 +0000 (GMT) Received: from spacecat.mcgillsociety.org (adsl-216-158-26-62.cust.oldcity.dca.net [216.158.26.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id A89B343D31 for ; Sat, 8 Jan 2005 04:06:10 +0000 (GMT) (envelope-from magill@mcgillsociety.org) Received: from [10.0.1.2] (abase.mcgillsociety.org [216.158.26.165]) j08448l346789 for ; Fri, 7 Jan 2005 23:04:08 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <9FB260AA-612A-11D9-AB6E-000393768D2C@mcgillsociety.org> Content-Transfer-Encoding: 7bit X-Image-Url: http://www.mcgillsociety.org/magill.jpg From: "William H. Magill" Date: Fri, 7 Jan 2005 23:06:07 -0500 To: freebsd-alpha@freebsd.org X-Mailer: Apple Mail (2.619) Subject: Re: zsh as ksh in 5.3 X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jan 2005 04:06:11 -0000 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