From owner-freebsd-stable Fri Dec 20 19:32:59 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E61537B401 for ; Fri, 20 Dec 2002 19:32:57 -0800 (PST) Received: from zircon.seattle.wa.us (dsl231-043-165.sea1.dsl.speakeasy.net [216.231.43.165]) by mx1.FreeBSD.org (Postfix) with SMTP id B0CCC43EDE for ; Fri, 20 Dec 2002 19:32:55 -0800 (PST) (envelope-from joe@zircon.seattle.wa.us) Received: (qmail 13196 invoked from network); 21 Dec 2002 03:32:54 -0000 Received: from localhost (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; 21 Dec 2002 03:32:54 -0000 Subject: Re: vi, ksh93, XFree86 and FreeBSD-stable 4.7#1 From: Joe Kelsey To: redjupiter Cc: FreeBSD Stable In-Reply-To: <1040440694.62467.1.camel@BYBLOS.pheonicia> References: <3E03C351.6070209@ntlworld.com> <1040434366.461.55.camel@zircon> <1040435799.1230.13.camel@BYBLOS.pheonicia> <1040438719.461.63.camel@zircon> <1040440694.62467.1.camel@BYBLOS.pheonicia> Content-Type: text/plain Organization: Message-Id: <1040441574.461.73.camel@zircon> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 20 Dec 2002 19:32:54 -0800 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 2002-12-20 at 19:18, redjupiter wrote: > On Sat, 2002-12-21 at 02:45, Joe Kelsey wrote: > > On Fri, 2002-12-20 at 17:56, redjupiter wrote: > > > > > The version of ksh93 I get from the port is 2002-09-22. > > > > When I type C-V at a shell prompt, I get: > > > > Version M 1993-12-28 n- > > > > or you can type: > > > > echo ${.sh.version} > > > > The out of resources message is usually a file limit or possibly some > > other soft resource limit. Please paste in the output of the limits > > command from both your console login and from a terminal window within > > X. Also, the output of the ksh ulimit -a command might be useful. > > > > /Joe > > > > > OK, here are the results. If you need something more sophisticated > you'll have to spell out for me - as I have jsut started learning :-) > > Version M 1993-12-28 n I cannot recall offhand what the change was between n and n-, so I don't recall if it is important. Here is how I build and install ksh93: portupgrade -m '-DWANT_STATIC PREFIX=/usr' ksh93 cp /usr/bin/ksh93 /bin If you do not have portupgrade, you really should install it. The equivalent make command is cd /usr/ports/shells/ksh93 make clean make -DWANT_STATIC PREFIX=/usr install If you intend to make ksh93 your system shell, it is important to use the static libraries. I just do it on general principles. There have been several bugs fixed in the last couple of months in the ksh sources, although I don't recall seeing anything about resource exhaustion on the ast mailing list. There will be a new version out in a week or so, at least according to Glenn Fowler and David Korn. Usually, resource exhaustion is related to some random piece of misconfigured software. What is the process list just before you try to run vi? Are there any left0over X proceses that might have tied up some resource? How do you exit from X? It is probably worth your while to go through the effort of installing gdm so that you have a stable way to keep X running without switching in and out from the console. At least, I find it easier. YMMV. /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message